Some shows cannot find anything when sources return results

Hey mate, for some reason some sources cannot find anything but looking on the actual site it works fine. This is the case with over ten providers that I have in my real installation, but it's got the same issue on a clean install. On the clean install I've only enabled rarbg in the logs below.
Looking at the torrent api url, it's the apostrophe in the name. Elementum searches for marvel's+guardians+of+the+galaxy+s03e16, whereas without apostrophe (marvels+guardians+of+the+galaxy+s03e16) works fine.
17:01:59.731 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  main         ▶ Notification     Got notification from xbmc/Playlist.OnClear: {"playlistid":1}
17:01:59.818 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  main         ▶ Notification     Got notification from xbmc/Playlist.OnAdd: {"item":{"episode":16,"season":3,"showtitle":"Marvel's Guardians of the Galaxy","title":"Black Vortex, Part Three","type":"episode"},"playlistid":1,"position":0}
17:02:00.001 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  api          ▶ showEpisodeLinks  Searching links for TMDB Id: 63181
17:02:00.001 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  api          ▶ showEpisodeLinks  Resolved 63181 to Marvel's Guardians of the Galaxy
17:02:00.004 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  linkssearch  ▶ processLinks     Resolving torrent files...
17:02:00.891 T:139658065258240  NOTICE: [script.elementum.burst] Loading definitions took 0.009025s
17:02:00.922 T:139658065258240  NOTICE: [script.elementum.burst] Burstin' with RARBG
17:02:00.968 T:139658073650944  NOTICE: [script.elementum.burst] Processing rarbg with episode method and payload {u'proxy_url': u'', u'episode': 16, u'silent': False, u'internal_proxy_url': u'http://<IP_ADDRESS>:65222', u'title': u"marvel's guardians of the galaxy", u'season': 3, u'tvdb_id': 293614, u'imdb_id': u'tt4176370', u'elementum_url': u'http://<IP_ADDRESS>:65220', u'titles': {u'el': u'\u03c6\u03cd\u03bb\u03b1\u03ba\u03b5\u03c2 \u03c4\u03bf\u03c5 \u03b3\u03b1\u03bb\u03b1\u03be\u03af\u03b1', u'en': u"marvel's guardians of the galaxy", u'zh': u'\u94f6\u6cb3\u62a4\u536b\u961f\u52a8\u753b\u7248', u'cn': u'\u94f6\u6cb3\u62a4\u536b\u961f\u52a8\u753b\u7248', u'cz': u"marvel's guardians of the galaxy", u'il': u'\u05e9\u05d5\u05de\u05e8\u05d9 \u05d4\u05d2\u05dc\u05e7\u05e1\u05d9\u05d4', u'cs': u"marvel's guardians of the galaxy", u'es': u'marvel guardianes de la galaxia', u'gr': u'\u03c6\u03cd\u03bb\u03b1\u03ba\u03b5\u03c2 \u03c4\u03bf\u03c5 \u03b3\u03b1\u03bb\u03b1\u03be\u03af\u03b1', u'ru': u'\u0441\u0442\u0440\u0430\u0436\u0438 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0438', u'pt': u'guardi\xf5es da gal\xe1xia da marvel', u'source': u"Marvel's Guardians of the Galaxy", u'pl': u'stra\u017cnicy galaktyki', u'fr': u'les gardiens de la galaxie', u'bg': u'\u043f\u0430\u0437\u0438\u0442\u0435\u043b\u0438 \u043d\u0430 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0430\u0442\u0430', u'de': u"marvel's guardians of the galaxy", u'br': u'guardi\xf5es da gal\xe1xia da marvel', u'he': u'\u05e9\u05d5\u05de\u05e8\u05d9 \u05d4\u05d2\u05dc\u05e7\u05e1\u05d9\u05d4', u'us': u"marvel's guardians of the galaxy origins", u'original': u"marvel's guardians of the galaxy", u'uk': u'\u0432\u0430\u0440\u0442\u043e\u0432\u0456 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0438', u'ua': u'\u0432\u0430\u0440\u0442\u043e\u0432\u0456 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0438', u'mx': u'marvel guardianes de la galaxia'}, u'absolute_number': 0, u'year': 2019, 'has_special': True}
17:02:00.980 T:139658073650944  NOTICE: [script.elementum.burst] [rarbg] Using translated 'original' title u"marvel's guardians of the galaxy"
17:02:01.013 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [38] --> GET https://torrentapi.org:443/pubapi_v2.php?get_token=get_token&app_id=script.elementum.burst
17:02:01.133 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [38] <-- 200 https://torrentapi.org:443/pubapi_v2.php?get_token=get_token&app_id=script.elementum.burst
17:02:01.137 T:139658073650944  NOTICE: [script.elementum.burst] >                RARBG search URL: https://torrentapi.org/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s03e16&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:01.411 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [40] --> GET https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s03e16&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:01.477 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [40] <-- 429 https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s03e16&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:01.480 T:139658073650944  NOTICE: [script.elementum.burst] [rarbg] Using translated 'original' title u"marvel's guardians of the galaxy"
17:02:01.481 T:139658073650944  NOTICE: [script.elementum.burst] [rarbg] Reusing existing token
17:02:01.481 T:139658073650944  NOTICE: [script.elementum.burst] >                RARBG search URL: https://torrentapi.org/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+03x01%7CS03&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:01.782 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [42] --> GET https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+03x01%7CS03&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:02.074 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [42] <-- 200 https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+03x01%7CS03&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:02.081 T:139658073650944  NOTICE: [script.elementum.burst] [rarbg] Using translated 'original' title u"marvel's guardians of the galaxy"
17:02:02.084 T:139658073650944  NOTICE: [script.elementum.burst] [rarbg] Reusing existing token
17:02:02.084 T:139658073650944  NOTICE: [script.elementum.burst] >                RARBG search URL: https://torrentapi.org/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s3&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:02.356 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [44] --> GET https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s3&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:02.681 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [44] <-- 200 https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s3&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:02:02.688 T:139658073650944  NOTICE: [script.elementum.burst] >>               RARBG returned  0 results in 1.8 seconds
17:02:02.723 T:139658065258240  NOTICE: [script.elementum.burst] Providers returned 0 results in 1.8 seconds
17:02:02.776 T:139658109384448  NOTICE: [plugin.video.elementum] [GIN] 2019/05/14 - 17:02:02 | 200 |       9.728µs |       <IP_ADDRESS> | POST     /callbacks/5791027879925211428
17:02:02.790 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  linkssearch  ▶ processLinks     Received 0 unique links.
17:02:02.796 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  linkssearch  ▶ func1            Closing progressupdate
17:02:02.837 T:139658109384448  NOTICE: [plugin.video.elementum] [GIN] 2019/05/14 - 17:02:02 | 200 |  2.801894687s |       <IP_ADDRESS> | GET      /show/63181/season/3/episode/16/links/Marvel's Guardians of the Galaxy S3E16?doresume=false
17:02:02.886 T:139660154721216   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.elementum/show/63181/season/3/episode/16/links/Marvel%27s%20Guardians%20of%20the%20Galaxy%20S3E16]
17:02:15.894 T:139660154721216 WARNING: CGUIWindowManager - HandleAction - ignoring action 0, because topmost modal dialog closing animation is running
17:02:16.144 T:139658109384448 WARNING: Previous line repeats 2 times.
17:02:16.144 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  main         ▶ Notification     Got notification from xbmc/Playlist.OnClear: {"playlistid":1}
17:03:21.352 T:139659624929024 WARNING: Previous line repeats 2 times.
17:03:21.922 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  main         ▶ Notification     Got notification from xbmc/Playlist.OnAdd: {"item":{"episode":15,"season":3,"showtitle":"Marvel's Guardians of the Galaxy","title":"Black Vortex, Part Two","type":"episode"},"playlistid":1,"position":0}
17:03:22.716 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  api          ▶ showEpisodeLinks  Searching links for TMDB Id: 63181
17:03:22.716 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  api          ▶ showEpisodeLinks  Resolved 63181 to Marvel's Guardians of the Galaxy
17:03:22.718 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  linkssearch  ▶ processLinks     Resolving torrent files...
17:03:23.623 T:139659326498560  NOTICE: [script.elementum.burst] Loading definitions took 0.006484s
17:03:23.653 T:139659326498560  NOTICE: [script.elementum.burst] Burstin' with RARBG
17:03:23.672 T:139658055288576  NOTICE: [script.elementum.burst] Processing rarbg with episode method and payload {u'proxy_url': u'', u'episode': 15, u'silent': False, u'internal_proxy_url': u'http://<IP_ADDRESS>:65222', u'title': u"marvel's guardians of the galaxy", u'season': 3, u'tvdb_id': 293614, u'imdb_id': u'tt4176370', u'elementum_url': u'http://<IP_ADDRESS>:65220', u'titles': {u'el': u'\u03c6\u03cd\u03bb\u03b1\u03ba\u03b5\u03c2 \u03c4\u03bf\u03c5 \u03b3\u03b1\u03bb\u03b1\u03be\u03af\u03b1', u'en': u"marvel's guardians of the galaxy", u'zh': u'\u94f6\u6cb3\u62a4\u536b\u961f\u52a8\u753b\u7248', u'cn': u'\u94f6\u6cb3\u62a4\u536b\u961f\u52a8\u753b\u7248', u'cz': u"marvel's guardians of the galaxy", u'il': u'\u05e9\u05d5\u05de\u05e8\u05d9 \u05d4\u05d2\u05dc\u05e7\u05e1\u05d9\u05d4', u'cs': u"marvel's guardians of the galaxy", u'es': u'marvel guardianes de la galaxia', u'gr': u'\u03c6\u03cd\u03bb\u03b1\u03ba\u03b5\u03c2 \u03c4\u03bf\u03c5 \u03b3\u03b1\u03bb\u03b1\u03be\u03af\u03b1', u'ru': u'\u0441\u0442\u0440\u0430\u0436\u0438 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0438', u'pt': u'guardi\xf5es da gal\xe1xia da marvel', u'source': u"Marvel's Guardians of the Galaxy", u'pl': u'stra\u017cnicy galaktyki', u'fr': u'les gardiens de la galaxie', u'bg': u'\u043f\u0430\u0437\u0438\u0442\u0435\u043b\u0438 \u043d\u0430 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0430\u0442\u0430', u'de': u"marvel's guardians of the galaxy", u'br': u'guardi\xf5es da gal\xe1xia da marvel', u'he': u'\u05e9\u05d5\u05de\u05e8\u05d9 \u05d4\u05d2\u05dc\u05e7\u05e1\u05d9\u05d4', u'us': u"marvel's guardians of the galaxy origins", u'original': u"marvel's guardians of the galaxy", u'uk': u'\u0432\u0430\u0440\u0442\u043e\u0432\u0456 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0438', u'ua': u'\u0432\u0430\u0440\u0442\u043e\u0432\u0456 \u0433\u0430\u043b\u0430\u043a\u0442\u0438\u043a\u0438', u'mx': u'marvel guardianes de la galaxia'}, u'absolute_number': 0, u'year': 2019, 'has_special': True}
17:03:23.693 T:139658055288576  NOTICE: [script.elementum.burst] [rarbg] Using translated 'original' title u"marvel's guardians of the galaxy"
17:03:23.733 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [46] --> GET https://torrentapi.org:443/pubapi_v2.php?get_token=get_token&app_id=script.elementum.burst
17:03:23.766 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [46] <-- 200 https://torrentapi.org:443/pubapi_v2.php?get_token=get_token&app_id=script.elementum.burst
17:03:23.777 T:139658055288576  NOTICE: [script.elementum.burst] >                RARBG search URL: https://torrentapi.org/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s03e15&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.050 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [48] --> GET https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s03e15&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.159 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [48] <-- 200 https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s03e15&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.164 T:139658055288576  NOTICE: [script.elementum.burst] [rarbg] Using translated 'original' title u"marvel's guardians of the galaxy"
17:03:24.167 T:139658055288576  NOTICE: [script.elementum.burst] [rarbg] Reusing existing token
17:03:24.167 T:139658055288576  NOTICE: [script.elementum.burst] >                RARBG search URL: https://torrentapi.org/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+03x01%7CS03&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.461 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [50] --> GET https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+03x01%7CS03&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.518 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [50] <-- 200 https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+03x01%7CS03&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.526 T:139658055288576  NOTICE: [script.elementum.burst] [rarbg] Using translated 'original' title u"marvel's guardians of the galaxy"
17:03:24.528 T:139658055288576  NOTICE: [script.elementum.burst] [rarbg] Reusing existing token
17:03:24.528 T:139658055288576  NOTICE: [script.elementum.burst] >                RARBG search URL: https://torrentapi.org/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s3&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.824 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpRequest      [52] --> GET https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s3&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.926 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  proxy        ▶ dumpResponse     [52] <-- 200 https://torrentapi.org:443/pubapi_v2.php?mode=search&search_string=marvel%27s+guardians+of+the+galaxy+s3&category=1;18;41;49&format=json_extended&app_id=script.elementum.burst&token=uqltw2o07v
17:03:24.932 T:139658055288576  NOTICE: [script.elementum.burst] >>               RARBG returned  0 results in 1.3 seconds
17:03:24.942 T:139659326498560  NOTICE: [script.elementum.burst] Providers returned 0 results in 1.29 seconds
17:03:24.948 T:139658109384448  NOTICE: [plugin.video.elementum] [GIN] 2019/05/14 - 17:03:24 | 200 |      56.091µs |       <IP_ADDRESS> | POST     /callbacks/8656736680530197031
17:03:25.042 T:139658109384448  NOTICE: [plugin.video.elementum] INFO  linkssearch  ▶ processLinks     Received 0 unique links.
17:03:25.046 T:139658109384448  NOTICE: [plugin.video.elementum] DEBU  linkssearch  ▶ func1            Closing progressupdate
17:03:25.087 T:139658109384448  NOTICE: [plugin.video.elementum] [GIN] 2019/05/14 - 17:03:25 | 200 |  2.926894371s |       <IP_ADDRESS> | GET      /show/63181/season/3/episode/15/links/Marvel's Guardians of the Galaxy S3E15?doresume=false

Goto Providers -> General and at the bottom check "Remove quotes from query"

@hoshsadiq as noted in such issues, raised for Burst, there is no perfect solution, because some providers search fine with apostrophe and does not without it, other providers work in an opposite way.

Embarrassing! I've seen that option before but forgot about it. Thanks!

By the way, might be worth setting that option on a per provider basis since it's the providers that are behaving different. That is, as long as they are consistent with their apostrophe use.

Oh, one last thing, it seems rarbg accepts both, however, it's the torrent api that doesn't

A quick fix, Open "addons/script.elementum.burst/provider.py" and search for "# MagnetDL fix..."
then add this below. Delete "provider.pyo" file
Add any other providers to the list that have the same problem.
'''
# Remove apostrophe from query
if provider.lower() in ['rarbg']:
query = query.replace('%27', '')
log.debug("[%s] removing apostrophe from query" % provider)
'''
It took me a while to find "Guardians of the galaxy" to try a fix because kodi was giving me no results when i searched for it.
Maybe @elgatito can add it to the next update?

@danny1990 That is a very bad practice to insert modifications for specific providers. Sorry, will never add anything like that.
@hoshsadiq you have a great chance to get involved into Burst development. Just try every provider and make a spreadsheet or just modify providers.json and add some column for every provider with marking whether quote should be removed :)

It was only a temporary solution.
I don't know how big the problem is as i have not had this this myself, I don't use rarbg.

@elgatito I've been working on creating a separate provider that integrates with https://github.com/Jackett/Jackett. Nothing concrete yet (still trying to figure out the quirks of the what the provider needs to return among other things), but I was hoping it could get further developed under ElementumOrg organisation once I've got a working version.
@danny1990 noticed the commit you pushed, might be worth making that replacement before uri encoding. If you'll make a PR, I'm happy to try and compare the definitions with the Jackett definition to see if I can check which other providers might need it.

@hoshsadiq is that ok?

Sorry the code i pushed before didn't check if the key existed and caused an exception from other providers that didn't have the key. I updated it.

I've been working on creating a separate provider that integrates with https://github.com/Jackett/Jackett. Nothing concrete yet (still trying to figure out the quirks of the what the provider needs to return among other things), but I was hoping it could get further developed under ElementumOrg organisation once I've got a working version.

Hi @hoshsadiq . Have you ever got a chance of completing this? I am looking for a jackett provider for my local selfhosted jackett server.

Interested too to use Jackett on elementum. Do you think it's possible ?

I started it out but didn't end up continuing after @elgatito stopped development of Elementum. In addition, it's not easy to do the actual development as there's not a lot of documentation. The only thing I have to go by is the Burst plugin, which, on top of having a lot code that isn't relevant to Jackett, isn't the easiest code to follow.
I'm not really in a position to dedicate a lot of time on it due to time constraints, but I will if I can continue developing it. Alternatively, I could push what I've got so far (which isn't a lot), if you want to contribute.

Also, this issue should really be closed. Happy to continue the conversation, but the original issue was resolved.

@hoshsadiq As long as I understand, Jackett is able to search for torrents.
So you should not look at Burst code at all.
Elementum is sending all the information about search object (TMDB id as well, in the latest versions of Elementum), so you can proxy request from Elementum to Jackett and just return result to Elementum.

how can we do that ? Is that possible to give us a « tutorial » ?
Thanks a lot
Cordialement,
Daniel Guedj

@hoshsadiq quick google search took me to this project: https://github.com/Gabisonfire/raincoat/
So some example of interacting with Jackett can be taken from there.

Cheers @elgatito I guess my issues were around what the data structures looked like, and what it was meant to return. Since I've no way of using a debugger when the plugin runs (not that I'm aware of anyway?), it took me a while to just figure out the structure for movies lol.

As long as I understand, Jackett is able to search for torrents.

Correct, but it also doesn't do any sorting on relevance for example, so trying to extract that from Burst as well (and also trying to see if it can be extracted as a library).

quick google search took me to this project: https://github.com/Gabisonfire/raincoat/

Nice find! I struggled to find a client but if the client they use is good enough, I could potentially reuse it.

I guess my issues were around what the data structures looked like, and what it was meant to return.

As far as i know, jacket return its answers in torznab format.... unfortunately I couldn't find any torznab integration for Kodi

This is Elementum integration, not Kodi.

Nice find! I struggled to find a client but if the client they use is good enough, I could potentially reuse it.

OMG if you can do that, I'll give you a donation for a beer 😎

A quick fix, Open "addons/script.elementum.burst/provider.py" and search for "# MagnetDL fix..."
then add this below. Delete "provider.pyo" file
Add any other providers to the list that have the same problem.
        # Remove apostrophe from query
        if provider.lower() in ['rarbg']:
            query = query.replace('%27', '')
            log.debug("[%s] removing apostrophe from query" % provider)

EDIT The code doesn't show well on here, The indention is spaces NOT TABS. Match them with the rest of the code or you'll have problems. EDIT

Unfortunately this does not work, at least for EZTV.

@danny1990 That is a very bad practice to insert modifications for specific providers. Sorry, will never add anything like that.

Is there a good practice way to manually edit providers so that they remove the apostrophe and do not insert %27?

@dairefagan Not as it stands. You'd need to make changes to the providers to add a new column, then handle said column in the code. But you may not be able to get it merged since the elementum/burst developer has stopped development.
Anyway, someone has started and finished the project I wanted to do, which is a provider for Jackett. You can run Jackett on a pi, configure it, and point the provider to it. Jackett handles searches a lot faster and better than Burst.
Be warned, I've not seen any development for a while on the provider either, so it may be that the developer has abandoned it already. The provider is working for me flawlessly though so you're good to use it for now.


Refactor constructor to reduce signature to minimum.

Reduces constructor to fit other languages and keep simple.


#3241 UX/UI - change PrivateSend and balance location

Apply the changes suggested on #3241

Looks good code-wise but I don't like the new layout tbh.

@UdjinM6 agree with you. Another suggestion that i thought is use the old layout, remove the PrivateSend checkbox and add the option in confirmation dialog Yes (PrivateSend). It will be cleaner and the user will always see the option before send

Simply removing PS checkbox won't work because:

it also switches "Balance" from "All" to "PS only" numbers, you'd have to show both balances if you remove it;
it affects numbers in CoinControl labels (PS txes can't have change, "fee"/"after fee" are adjusted accordingly), duplicating these would be a mess.

IMO the GUI is already pretty clear + there is another label about funds you are going to use (mixed/no-mixed) in confirmation box. The only possible tweak I can think about is that we could add another button "PrivateSend" right next to "Send" which would internally call the same on_sendButton_clicked() but would be disabled if PS checkbox is off (and "Send" would be disabled if PS checkbox is on). Not sure if that would it make things clearer or the other way around though.

@UdjinM6 PrivateSend changes the available balance and inputs, so it should be the first step the user should choose. I thought 2 possibilities:

Create a new PrivateSend tab between Send and Receive that will use the same UI (sendcoinsdialog.ui) and behind will act "as the checkbox is activated"
Ask the user when enter the Send tab if want to Send or PrivateSend using a confirmation dialog, the checkbox could stay at the same place, but the user will always be asked the option

Personally i prefer the first option, it will be clear and simple and give us more possibilities if we want to add more PrivateSend features in the future

Hmm.... yeah, I would probably go with (1) assuming it's going to reuse the same code/ui.

@UdjinM6 implemented the number 1 solution, reusing the same UI

Could we get some screen-shots of the new format etc?

@PastaPastaPasta code formating updated
Screenshots:

New PrivateSend tab, shows only the mixed balance and mixed outputs in coin control

This way will be clear for the user that is using PrivateSend in his first action selecting the type of sending. Also before this change, the user could select PrivateSend checkbox and select a not mixed output in coin control, that could cause confusion too

Also before this change, the user could select PrivateSend checkbox and select a not mixed output in coin control, that could cause confusion too.

We have a warning for this case https://github.com/dashpay/dash/blob/develop/src/qt/coincontroldialog.cpp#L430-L436 (which I think can be dropped now btw since this should be no longer possible) but it's much better to hide non-mixed inputs completely, I like that.

Hmm... Interesting. So switching from Send to PrivateSend tab with non-mixed inputs selected via CoinControl on the former results in some new confusing situation when it says N inputs selected but you can't see them cause they are not in the list. 🤔 PS would still fail as it should saying "not enough mixed funds" so it's not that bad but maybe we could also clear non-mixed inputs from selection when CoinControl is opened via PS tab?

@UdjinM6 great! I will check to clear the selections when changing the tab and remove the unnecessary warning

@UdjinM6 reviewed the points about clear selected outputs and warning message

Hmm... clear() is pretty disruptive (imagine filling 10 recipients and then switching tabs accidentally). I was thinking about smth like 803f029a8c (and maybe smth like a00c2e98 on top cause silently dropping coins from selection feels kind of weird).

@UdjinM6 thanks for the contribution, tested and agreed with the better UX. Added the suggested commits

test failure looks unrelated, can you force-push and hopefully CI will be happy

@PastaPastaPasta passed CI check now

Found another issue - when running with --enableprivatesend=0 the PS tab shows "Balance: 0" yet it allows to send PS txes. I think it makes sense to disable the tab (and the corresponding icon/tray menu item) in this case i.e. ef3f107344.

@UdjinM6 good catch! also tested with -litemode and it's ok. Added the suggestion

Will review in the next few days

Started a review, when clicking on "PrivateSend" it doesn't become bold and unbold the prior.

Also, "Use available balance" button doesn't work properly

@PastaPastaPasta fixed both bugs

The 13 test failures we are seeing in the pull request is very likely due to the fact that this PR is based on  de931a25a3fa7ac76aaad17de4517224dbf90de7 (#3433), between #3433 and current develop #3438 #3456. A rebase on latest develop would likely fix this instability, as we aren't seeing these test failures in other PRs.

@PastaPastaPasta rebase done :+1:

Man you must be really unlucky, cause there are still test failures...

test passed this time :+1:

Lucky now :laughing:


Work for Philly Sprint

Hi @melissahilldees and @mkolodner! Just a heads up that we are now surfacing past Sprint projects in the pre-sprint survey. As such, a few folks who are registered for Philly have expressed interest in working on this project.
I'm in chat's with the team working on this on our end to see what could be done in Philly, but wanted to loop you both in just in case you wanted to continue this work.
See you soon!

Love to help!
Sent from my iPhone

On Sep 27, 2019, at 6:10 PM, coriobriensfdo<EMAIL_ADDRESS>wrote:
Hi @melissahilldees and @mkolodner! Just a heads up that we are now surfacing past Sprint projects in the pre-sprint survey. As such, a few folks who are registered for Philly have expressed interest in working on this project.
I'm in chat's with the team working on this on our end to see what could be done in Philly, but wanted to loop you both in just in case you wanted to continue this work.
See you soon!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Great @melissahilldees! I'll let the team know :)


Range example from guide throws error

I took this example from the potassco guide.
#script (python)

def rng(a, b):
    return range(a, b+1)

#end.

p(1,3).
p(5,10).
rng(X,Y,@rng(X,Y)) :- p(X,Y).

When I run it, I get the following error.
clingo version 5.2.1
Reading from experiments/range-py.lp
*** ERROR: (clingo): experiments/range-py.lp:10:9-18: error: error calling python function:
  Traceback (most recent call last):
    File "<experiments/range-py.lp:1:1-6:6>", line 4, in rng
  TypeError: unsupported operand type(s) for +: 'clingo.Symbol' and 'int'

UNKNOWN

Models       : 0+
Calls        : 1
Time         : 0.051s (Solving: 0.00s 1st Model: 0.00s Unsat: 0.00s)
CPU Time     : 0.036s

The guide is a bit outdated. It should be:
def rng(a, b):
    return range(a.number, b.number+1)

Thank you @rkaminsk. Will there be an updated version of the guide?

At some point probably. There is quite a lot of material we still want to include. So this will take some time. There might be a release addressing smaller issues earlier. I cannot give you an exact date.


Dev Home Settings: Breadcrumb title text and chevron glyph out of spec

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Description
Currently, (Build 102.130) The Settings title text has the improper color on the first title text 'Settings' when in an L2 page. The first title in the breadcrumb trail 'Settings' Should be shown in the Secondary text color, when viewing a settings L2 page. Additionally, the right chevron glyph is too small and not center aligned with the text.
Expected result
No response
Actual result
No response
Included System Information
No response
Included Extensions Information
No response

Duplicate of #1143


[MPWG Members Logo required] Oracle = Add to MPWG website page

https://drive.google.com/drive/u/0/folders/1T8-qm8q0vb-94g4J2JifCEkM8FlaV0Hk

Oracle_cmyk_03_91_86_12.zip
SVG with the Oracle corporate logo

Oracle_cmyk_03_91_86_12.zip
SVG with the Oracle corporate logo

Great Ed!

ADDED


CookieJar.add() sometime cause high cpu & memory usage when long term run

How it happens?
I can see this problem when:

multiple set-cookie with the same key name.
the domain of cookie sometime is "dot prefix form" (e.g., .example.com) and sometime is "exact form" (e.g., example.com)

What's the problem?
It will cause CookieJar.cookies array enlarge continually (full of duplicate things) and cause high CPU usage when crawler create each new request in CookieJar.prototype.getAsHeader() -> this.cookies.filter() function.
The test case
I also write a test case to reproduce this problem, see here:
https://github.com/civalin/node-simplecrawler/tree/repeatedly-cookies
You can checkout the repeatedly-cookies branch and run the npm run test to check it out.
Personal Opinion
I think this bug may cause by Cookie.prototype.matchDomain. Because this function cannot fulfill both "this cookie should be update a old one or should push into cookiejar as a new one?" and "is this cookie should be sent with the current request?" in single logic.
Those two questions are not the same, and may need to split Cookie.prototype.matchDomain into two function to deal with it.

Thanks for the detailed issue report, @civalin! I hope to be able to have a closer look this weekend


Fix transition fail on tailsitter

Describe problem solved by this pull request
To fix: https://github.com/PX4/Firmware/issues/15037
Describe your solution
ensure input quaternions are exactly normalized because acosf(1.00001) == NaN
Test data / coverage
Test tomorrow
Additional context
@sfuhrer  Is my solution the best? Or should we start with acosf functions?

Ground test log : https://logs.px4.io/plot_app?log=fe37c1fa-2c53-48d1-8efa-7487e60b44a6
@sfuhrer  I conducted at least 50 tests on the ground and the problem did not appear.
Good to merge? :smiley:

Ground test log : https://logs.px4.io/plot_app?log=fe37c1fa-2c53-48d1-8efa-7487e60b44a6
@sfuhrer I conducted at least 50 tests on the ground and the problem did not appear.
Good to merge? smiley

Cool! Yes I don't see a reason why not :+1:

@sfuhrer  done here : https://github.com/PX4/Firmware/pull/15352/commits/7cd4bfd28b86fa5f6a8d3de30c9be28581ec28de :smiley:

@sfuhrer  thanks for your help :heart:  :smiley:


Restore severity thresholds documentation

It was brought to my attention that Kubernetes users were relying on our severity thresholds for interpreting severity ratings (e.g. https://cloud.google.com/kubernetes-engine/docs/resources/security-patching#how_vulnerabilities_are_classified). These aren't perfect, but I didn't see anything too misleading. I recast these as heuristics for interpreting severity ratings, and clarified that we generally use CVSS.
I'd still prefer to switch to a guide oriented around CVSS (https://github.com/kubernetes/committee-security-response/issues/147), but I think this is acceptable until we get that written.

/lgtm thanks for putting it back. I think this is useful community content.

Agreed, this may not be perfect but I didn't notice anything egregiously wrong when I skimmed it; if it provides value to the community it's good to put it back.
/lgtm


License

Hi,
I was just wondering if any license was applied to this project. I took some pieces of code to add import ordering to my Gradle format plugin (https://github.com/youribonnaffe/gradle-format-plugin/issues/4) and I wondered if it would be ok to do so. It is mostly ImportsSorter and ImportSorterAdapter classes.
Thanks

Hi, take whatever you need. I pushed an Apache 2 license file.

Thanks


Replace Print Statements with Logging

Currently, there are a lot of print statements that prints outputs into the console. Due to the usage of print, it is not controllable what is printed. Thus, I would propose to use logging or loguru to enable more control here.
Thereby, it should be paid attention on setting an appropriate logging level. I suppose most of the prints should be log level debug.
from sktime.transformations.bootstrap import TSBootstrapAdapter

from sktime.datasets import load_airline
from sktime.forecasting.model_selection import temporal_train_test_split

data = load_airline()
train, test = temporal_train_test_split(data, test_size=24)

adapter = TSBootstrapAdapter(BartlettsBootstrap())

result = adapter.fit_transform(test)

hm, these are not too informative to the user imo?
For informative statements, the standard is to introduce a verbose: bool argument, and only print if verbose=True.

I agree with Franz

Since they are not that informative, I used logging.debug. We can also couple the verbose statement with the logging by changing the log level depending on the set verbose level or flag.

Year I'd recommend this approach.
On Mon, Apr 1, 2024, 4:01 AM Benedikt Heidrich @.***>
wrote:

Since they are not that informative, I used logging.debug. We can also
couple the verbose statement with the logging by changing the log level
depending on the set verbose level or flag.
—
Reply to this email directly, view it on GitHub
https://github.com/astrogilda/tsbootstrap/issues/116#issuecomment-2029348885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFTOOHSTT4QS5RDRNPYJUSLY3EH47AVCNFSM6AAAAABFOQEYH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGM2DQOBYGU
.
You are receiving this because you commented.Message ID:
@.***>

Year I'd recommend this approach.
…
On Mon, Apr 1, 2024, 4:01 AM Benedikt Heidrich @.> wrote: Since they are not that informative, I used logging.debug. We can also couple the verbose statement with the logging by changing the log level depending on the set verbose level or flag. — Reply to this email directly, view it on GitHub <#116 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTOOHSTT4QS5RDRNPYJUSLY3EH47AVCNFSM6AAAAABFOQEYH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGM2DQOBYGU . You are receiving this because you commented.Message ID: @.>

@benHeid could you let us know when the PR is ready to be reviewed?


Vulkan: Random meshes vanish in large scenes with lights that have a projector texture.

Godot version
4.0.beta3
System information
Windows 11, AMD Vega64 Driver 22.8.1, Vulkan
Issue description
When a scene has a large number of MeshInstance3D nodes (more than 980 in the MRP) and a Spotlight3D or Omnilight3D with a projector texture is added to the scene and moved around, Godot will randomly stop drawing meshes. Reloading the scene will restore them. This occurs within the editor as well as at runtime.
https://user-images.githubusercontent.com/117487773/200084568-f2694824-ea7f-40ef-ac85-e4bebecfff0b.mp4
Steps to reproduce

Add at least 980 MeshInstance3D nodes with a BoxMesh.
Add a Spotlight3D or Omnilight3D, enable shadows, and assign a texture to the projector.
Move the light around the scene.

Minimal reproduction project
Light_Projector_Test.zip

I can confirm this on 4.0.beta 282e50ac8 (Fedora 36, Radeon RX 6900 XT with RADV). This only occurs on Vulkan Clustered, not Vulkan Mobile.

I'm seeing almost identical behaviour in my project on Beta 4 (Windows 10. NVIDIA GTX 2070 super) Vulkan mobile.
Moving the player causes random tiled meshinstance3Ds to vanish.
Behaviour stops when I:

move the tiles further away from player
turn off the omni light on the player
drop the number of 3d tiles in the scene.

I'm not using a projector texture. Just a vanilla omnilight3d.
Sorry to barge into your thread but it looks like the same issue and may help clarify the underlying bug.
Project (20Mb, sorry)
VanishingMeshes.zip

@73v3 Your issue occurs when using Vulkan Mobile, so it is unrelated. Please open a separate issue with the minimal reproduction project attached.

Apologies. Renderer was actually set to forward_plus. Switching to mobile fixes the issue.

I'm getting this error when closing the editor after observing the behavior:
ERROR: Pages in use exist at exit in PagedAllocator: N33RendererSceneRenderImplementation22RenderForwardClustered32GeometryInstanceSurfaceDataCacheE
   at: ~PagedAllocator (./core/templates/paged_allocator.h:140)

It looks like the issue is coming from here:
https://github.com/godotengine/godot/blob/e25d9281d4f6f0b5b4d972b25cddaa1009ad1d26/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp#L3732-L3736
_mark_dirty() is called which frees the surface data, but then for some reason, the surface isn't being reallocated. This will take a bit of investigation to figure out.
We need to check why the surface isn't being reconstructed in some cases (it appears totally random, so maybe some undefined behaviour has snuck in).


Crashing at startup 1.19.3

The game is crashing at startup in 1.19.3,
Mods :

3dskinlayers-fabric-1.5.2-mc1.19.3.jar
BetterF3-5.0.0-Fabric-1.19.3-pre2.jar
DynamicSurroundings-RemasteredFabric-1.19-0.1.1.jar
fabric-api-0.69.1+1.19.3.jar
fallingleaves-1.14.0+1.19.3.jar
lazydfu-0.1.3.jar
lithium-fabric-mc1.19.3-0.10.4.jar
modmenu-5.0.2.jar
phosphor-fabric-mc1.19.x-0.8.1.jar
PresenceFootsteps-1.7.0.jar
smoothboot-fabric-1.19-1.7.1.jar
sodium-fabric-mc1.19.3-0.4.6+build.20.jar

here is the log file https://paste.ee/p/NZjBQ
Tell me if anything else is needed

Any news on the issue ?

At right now I work at version of mod for 1.19.3

Can reproduce https://pastebin.com/p5Gg4kkx

Any news on the issue ?

At right now I work at version of mod for 1.19.3

is the 1.19,3 branch ready for release or are there still some things that need to be worked on still?

Any news on the issue ?

At right now I work at version of mod for 1.19.3

is the 1.19,3 branch ready for release or are there still some things that need to be worked on still?

1.19.3 branch it's not ready for release, there are a few more critical bugs that I'm fixing now

1.19.3 branch it's not ready for release, there are a few more critical bugs that I'm fixing now

And when will it be ready to use?

Доброго времени суток)
Как продвигается работа над 1.19.3/4 версией?
Могу ли я чем-то помочь Вам?

Any news ?

Does any version of dynamic surroundings work for 1.19.4 yet?

Who have issue with this mod please provide next set of information:
Java version including vendor, like that OpenJDK Runtime Environment (build 11.0.18+10).
Operating system what you use, like that Windows 11.
Fabric version with Fabric API version.
Specific mods.
And 12 lines of stacktrace from startup log where application stops.
This issue might appear on 1.19.4 and should be addressed.

Who have issue with this mod please provide next set of information: Java version including vendor, like that OpenJDK Runtime Environment (build 11.0.18+10). Operating system what you use, like that Windows 11. Fabric version with Fabric API version. Specific mods. And 12 lines of stacktrace from startup log where application stops. Right after description.
This issue might appear on 1.19.4 and should be addressed.

We already know why the current version v0.1.1 don't work on 1.19.3. Fixed version place at 1.19.3 branch, and it's works apart from a few bugs.
Also, a similar branch is being prepared for Minecraft 1.19.4 version
The problems described in this task should be fixed with the release of versions for 1.19.3 and 1.19.4

Thank you!!! 🎉

Who have issue with this mod please provide next set of information: Java version including vendor, like that OpenJDK Runtime Environment (build 11.0.18+10). Operating system what you use, like that Windows 11. Fabric version with Fabric API version. Specific mods. And 12 lines of stacktrace from startup log where application stops. Right after description.
This issue might appear on 1.19.4 and should be addressed.

We already know why the current version v0.1.1 don't work on 1.19.3. Fixed version place at 1.19.3 branch, and it's works apart from a few bugs. Also, a similar branch is being prepared for Minecraft 1.19.4 version
The problems described in this task should be fixed with the release of versions for 1.19.3 and 1.19.4

how do i download or use the 1.19.3 branch, is it like an extension for the jar 0.11version of the mod? (srry dont know coding stuffs)


Replace deprecated use of convention with extension

Fix for https://github.com/jfrog/artifactory-gradle-plugin/issues/43
I ran the unit tests with ./gradlew clean build -x test. I could not run functional tests against a local Artifactory instance. It seems like Artifactory OSS doesn't offer a darwin distribution anymore? I assume you are running those tests on CI anyway? Optimally, your functional tests should download Artifactory automatically and install it as a fixture for running functional tests. You could probably use Testcontainers for that purpose.

recheck

@bmuschko
The tests are failing. Maybe give running the plugin on a local project a shot before making changes to this PR.
Could you also sign the CLA as well?
Thanks!

Hi @bmuschko
To speed up the resolution of this problem, we've opened https://github.com/jfrog/artifactory-gradle-plugin/pull/72, which eliminates the reliance on conventions. Please feel free to review it at your convenience.

Thanks for making the change. The main reason why I didn't pursue the PR was the CLA. I would have needed to understand it more deeply to feel comfortable with signing it.


Cannot Tween Gradient Properties

Godot version:
Godot 3.2.1 (Stable)
OS/device including version:
Windows 10
Issue description:

Cannot tween either the offsets or colors properties of a gradient using either interpolate_property() or interpolate_method()
I got the error:
_calc_delta_val: Invalid parameter type. Supported types are: bool, int, float, Vector2, Rect2, Vector3, Transform2D, Quat, AABB, Basis, Transform, Color.
with both initial_val and final_val
After some digging, I noticed that this case is very similar to Issue #34575 where the Rect2 Variant type was not supported.
Steps to reproduce:
Create Sprite and Tween node
Attach gradient resource to texture property of sprite node
Add following script to root node:
var gradient_Offset_Start = PoolRealArray([0, 1])
var gradient_Offset_End = PoolRealArray([1, 1])

func _ready():
	$Tween.interpolate_property($Sprite, "texture:gradient:offsets", gradient_Offset_Start, gradient_Offset_End, 1, Tween.TRANS_BACK, Tween.EASE_IN_OUT)

Minimal reproduction project:

Tweening Gradient.zip

I think #41794 may solve this issue.

Not really, #41794 doesn't change interpolation.

Well, we can use the set_offset method with interpolate_method and pass more than one argument

Yeah the new Tweens just got merged, so you can solve this with method interpolation (3.x also has this available, but slightly less convenient)


Open Editors shows vertical scrollbar when horizontal scrolling enabled

Issue Type: Bug
Testing #67275
It appears to grow/shrink with the number of entries, but forgets to disable the vertical scrollbar:

VS Code version: Code - Insiders 1.31.0-insider (acc7365e41f9cb380e79bf78d7d102184f1ffe0d, 2019-01-29T06:14:22.700Z)
OS version: Linux x64 4.15.0-39-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (2 x 2194)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
0, 0, 0

Memory (System)
5.77GB (0.47GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
100%

Extensions (7)

Extension
Author (truncated)
Version

tslint
eg2
1.0.42

beautify
Hoo
1.4.7

theme-karyfoundation-themes
kar
18.2.1

azure-account
ms-
0.8.0

lsp-inspector
oct
0.0.1

vscode-open-in-github
sys
1.10.1

ayu
tea
0.17.0

Bumping this old issue because I'm seeing the effects in stable v1.33.1 on Win 10, and it's really noticeable / bad when only one editor/file is open:

As you can see, the total vertical space is big enough for exactly 1 file, which is correct, but the reserved space for the horizontal scrollbar takes up about half of that space, and the file's entry ends up getting pushed up and effectively cut in half. This makes the file name difficult to read.
VS Code version: 1.33.1 (user setup)
OS: Windows 10

This is because we need to reserve x pixels of space in the bottom, so the horizontal scrollbar doesn't overlap the last element

The scroll bar still overlaps content (as visible in the screenshot in this bug report). So, it's introducing a new bug without solving the bug it's meant to solve :P
To solve both issues, what needs to grow by the height of the scroll bar is the container not the content.

FIX: Set  "workbench.list.horizontalScrolling": false


Not serializing LocalDateTime correctly

I used java.time.LocalDateTime, I had added Java8Bundle in bootstrap:
	@Override
	public void initialize(Bootstrap<Configuration> bootstrap) {
		super.initialize(bootstrap);
		bootstrap.addBundle(new Java8Bundle());
	}

In my web application, it is serializing all the LocalDateTime fields:
  "created": {
    "dayOfYear": 363,
    "dayOfWeek": "TUESDAY",
    "month": "DECEMBER",
    "dayOfMonth": 29,
    "year": 2015,
    "monthValue": 12,
    "hour": 17,
    "minute": 17,
    "second": 59,
    "nano": 0,
    "chronology": {
      "id": "ISO",
      "calendarType": "iso8601"
    }
  }

What am I missing?I expect to see created serialized  as follows:
"created" : "2015-12-29 17:17:59"

Sorry, it's our basis framework bug. I close this issue.

@xyalan Thanks for the update!


feat: Add support for Giphy API's in lexical

Changelog:

Added react-giphy-searchbox to the codebase
Remove the hard-coded cat gif
Added a component to display the giphy plugin in the modal
Insert a gif on select

Relates to #1820
Screenshot:

@trueadm @zurfyx - While testing locally, I noticed that the GIF is not getting seen on the editor, but the node has been added. Since the GIF is using an image node, I tried to insert an image using an Unplash URL, which has the same result. I don't know if this is a bug or not.
Attached is a screen recording for reference -
https://user-images.githubusercontent.com/10229595/168484624-ee8c8b91-3adb-4595-8044-77a4e0d87d51.mov

That's looking awesome! Thank you for working on this.

While testing locally, I noticed that the GIF is not getting seen on the editor, but the node has been added.

The page URL itself won't work, it's not a renderable image, just a page link. You have to point it to a specific image. For example:
onSelect({
          altText: item.title,
          src: item.images.original.url,
        })

You may want to read over the item payload, there's quite a lot of interesting data in there!

Hey @rimildeyjsr are you working on this?

@im-adithya - I am!

@zurfyx - Hey I am still working on this, sorry for the delay! Hit a snag with the giphy react components, I will try to resolve and get this to a close! :)
Sorry for the delay!

Opened an issue here for giphy react components, once I get pointers I will resume work here
https://github.com/Giphy/giphy-js/issues/301

@zurfyx @trueadm - I am done with the integration, let me know what you think!

Thanks for this PR! Looks like we have some issues with the tests. Can you try rebasing and resolving the conflicts? In the meantime, I will look at the code :)

@acywatson - I have made the changes to package-lock.json, should be fine now!

@acywatson - I have made the changes to package-lock.json, should be fine now!

Thanks - I think the package lock is still causing issues in the vercel deployment. Can you please try:
delete package-lock.json locally
run npm install
commit the new generated package-lock.json
That should fix it.

@acywatson - I deleted the package-lock JSON again in local and ran npm install and committed after rebasing, but still, the vercel deployment is failing. Is there any issue on the deployment side? The PR is rebased against main as well

Oh can you try moving these dependencies to the package.json in packages/lexical-playground? Make sure to regenerate the package-lock again after. Sorry for all the back and forth.

@acywatson - followed the steps and moved dependencies to packages/lexical-playground and regenerated the package-lock.json but I can see that the lexical playground deployment is still failing. Anything else I need to do here? The branch is rebased against main

Closing this as the diff as it is pretty stale now. On reflection, I think we should close the related issue as well. Since it was created, we've added a lot of additional functionality to the playground, and I'm concern that the UX is becoming unwieldy and overwhelming for newcomers. Adding in Giphy doesn't necessarily show how to do anything new that isn't in another rich text media example, like image, Excalidraw, YoutTube or Twitter nodes.


Small changes for KVH CRDS processing

Adds in some metadata so the CRDS module can process data from the instrument at Killearn Village Hall for COP26.

Codecov Report

Merging #157 (5b87422) into devel (eaafe20) will increase coverage by 0.10%.
The diff coverage is 88.18%.

@@            Coverage Diff             @@
##            devel     #157      +/-   ##
==========================================
+ Coverage   75.68%   75.79%   +0.10%
==========================================
  Files         118      123       +5
  Lines        7078     7340     +262
==========================================
+ Hits         5357     5563     +206
- Misses       1721     1777      +56

Impacted Files
Coverage Δ

openghg/util/_hashing.py
100.00% <ø> (ø)

tests/conftest.py
64.28% <0.00%> (-7.72%)
:arrow_down:

openghg/dataobjects/_searchresults.py
78.03% <22.22%> (-4.09%)
:arrow_down:

openghg/modules/_glasgow_picarro.py
34.78% <34.78%> (ø)

openghg/util/_time.py
91.17% <57.14%> (-2.51%)
:arrow_down:

tests/modules/test_datasource.py
95.63% <71.42%> (ø)

openghg/util/_export.py
90.38% <88.63%> (-9.62%)
:arrow_down:

openghg/modules/_beaco2n.py
95.55% <93.75%> (-4.45%)
:arrow_down:

openghg/modules/_obs_surface.py
93.70% <95.55%> (+1.25%)
:arrow_up:

tests/modules/test_obssurface.py
97.01% <95.65%> (-2.99%)
:arrow_down:

... and 23 more

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 f41aecc...5b87422. Read the comment docs.


Protocol assumes editors work uniformly wrt file encoding and newlines.

See https://github.com/Microsoft/TypeScript/issues/2343 for more details.
The protocol is Line/Column based.  So the server produces results that include line/character information from the perspective of the server which may not correspond to actual lines/character from the perspective of the client.
For example, say the file contents are:
"fooparagraph separatorbarnew linequux".   TSServer will interpret this as two lines, whereas a client may only view it as a single line.  If TS server then reports an issue with the 'b' in 'bar' it will report the issue at "Line 2, column 1".  However, the client will intepret that as being an the line with 'quux'.

Agree on the problem. For now I speced that valid end of line squences are:
export const EOL: string[] = ['\n', '\r\n', '\r'];

On a protocol level there is not more I can do than specing this. I will close the issue. If we need to support additional end of line sequences or different document types we need to extend the protocol.


White space at left of comments area, with nothing but profile pictures

The comments section has around 60 pixels to the left of the actual comments, which is empty except for profile pictures. This causes the comments section to appear misaligned with the page body. Is there a workaround to disable or move the pictures?
Screenshot of issue:

I tried using CSS to add a negative margin to the .utterances element, but it would end up off-screen when I shrank my window.

@nyanpasu64 it's intentional, to match github's issue comment timeline.

The difference is that GitHub's issue comment timeline isn't aligned with a centered blog post (neither the original report nor replies are centered without avatars), and has an extra side bar on the right, so the layout doesn't look out-of-place. However in my blog, the horizontally aligned post body just above the comments makes the comment bodies look noticeably offset.

Can you include a screenshot?

I already had a screenshot in my original post, but I just edited it to make it more obvious. If you want a wider picture, you can visit my blog at https://nyanpasu64.github.io/blog/an-unsafe-tour-of-rust-s-send-and-sync/.
I've taken a new screenshot that includes more of the white space to the left/right of the blog and comments:


Low camera framerate with ViewRenderable ImageView

I'm using a ViewRenderable that has an ImageView and I noticed that with certain kinds of images, for example the mipmap/ic_launcher icon and the one I below:

The camera framerate drops considerably when I display the renderable.  Any idea what might be causing this?
Other images work fine though.  For example the default sceneform hand scanning image, when displayed on that same view renderable seems to be ok.

Is this the actual image you are using? Could you please let me know how large (in pixels) the images you've tried are?

ViewRenderable's are inherently a performance sensitive feature because of how it requires the Views to be drawn and then copied to an OES texture. ViewRenderable's with large images or particularly complex view hierarchies will cause performance issues.
However, there is a performance improvement coming in an upcoming release that will significantly improve the performance of static content in views. It should solve this issue for large static images, though if the ViewRenderable is also displaying animation the performance benefit will be small.
In the meantime, if all you are doing is displaying a static image, then you could work around this by creating an SFB of a quad with this image as the texture, which will be more performant.

@romainguy - The embedded image is what I used.  It's a 600x527px, 32bit JPEG.  I've tested reducing the size 50% and while there is an improvement, the choppiness of the camera is still noticeable.  This is my view hierarchy and it's not very complicated:
CardView
|- Linear Layout
|- TextView
| - ImageView
I've tested a ViewRenderable with just an ImageView and same choppiness.
In my testing, using the same view hierarchy  the default android launcher icon created which is a 144x144 32 bit PNG also causes this issue.  The other image I tested is a the default image used plane finding controller (drawable/sceneform_hand_form) which is a 192x192 16-bit PNG has way better performance.  I'll do some tests later when I get back to the office if it's the color depth that's causing the problem.
@dsternfeld7 - yeah I've tried displaying that same image as a texture in a quad that I just imported in as an asset and it was ok.  Unfortunately, I'm prototyping an indoor location/points of interest using AR for a client so the content is meant to be dynamic.  ViewRenderable makes this extremely easy since I found that manipulating the View objects also conveniently updates the renderable.
Anyway looking forward to any update you may have.  I'd much rather do this prototype in Kotlin/Sceneform rather than Unity given other features I'm being asked to build.

Thanks! I'll investigate the performance characteristics of those specific images. Regardless, I believe this problem will go away with the next release.

Sceneform 1.4 was just released, which I believe should help resolve this performance problem for you. Can you try it out and let us know if it helps?

Hi @dsternfeld7  - I tried the exact app with the original image I linked at the start of this thread and the performance is significantly improved. There are a few dropped frames when the ViewRenderables are first spawned, but after that the frame rate stabilises.  I think we can consider this item closed.
Thanks!


docs(contributors) add contributor terrystrachan

What:

Adding contributor terrystrachan

Issue number: N/A

Hmm, running npm run contributors:generate should have added new contributor also to the about.component.html template ?

It could be I added the wrong command, in the PR template it's defined as npm run contributors:add.

@timdeschryver both commands are important, first do npm run contributors:add -- <contributor-name> <comma-separated-contributor-contributions> and the run npm run contributors:generate

apologies - i didnt run npm run contributors:generate

Got it, this is all my fault then 😅
I'll update the PR template and will also add a default issue template.


preparation for release 1.2

Do not merge this.
This PR is so that people can start checking for erros

PR updated, take care there is an extensive pep8 commit in there (sorry about that!).

This is looking good. Do you want think about merging this and tackle other items on the #129 list in separate PRs?

there isn't much more to be done in #129, we may do it in this PR.

Sounds good. But let's do the doc building in a separate PR given the large number of files generated.

ok, in this case you can merge.


adding messageformat-validator

Note: base branch is my fix-localizations branch since otherwise this would conflict with it. This will stay draft until that merges.
This integrates @bearfriend's excellent messageformat-validator into core. It caught a few problems with how we're using the zero and one options in the plural format, which I was able to resolve pretty easily. It also caught a few untranslated strings, which I'll follow up on with the localization team.
Unfortunately we can no longer have our localize-core-element.js inside the lang directory since the validator tries to validate it, so I've moved it out into helpers.

Should we get this repo into BrightspaceUI? Or maybe we'd talked about this fully living in actions, I forget

Yeah that's a good question -- I'll start a thread to discuss.


Use a custom scraper in sphinx-gallery for animations

This reduces the size of the docs by 10 MiB (there where two 5MiB copies of the base64-encoded HTML video), and the rendering time went from 20s to 10s for the ase-md example.
Contributor (creator of pull-request) checklist

[ ] Tests updated (for new features and bugfixes)?
[ ] Documentation updated (for new features)?
[ ] Issue referenced (for PRs that solve an issue)?

Reviewer checklist

[ ] CHANGELOG updated with public API or any other important changes?

📚 Documentation preview 📚: https://metatensor--610.org.readthedocs.build/en/610/

Actually we could ask Sofiia to start figuring out the chemiscope/sphinx-gallery integration so we get nicer viz and much smaller size

I assume you tested this locally and it works?

I assume you tested this locally and it works?

Yes!


[UI] No proper alignment in hero section text

Description
No proper alignment in hero section text
Current Behavior
Text is shifted right
Proposed Behavior
Text must be aligned to left and button too
Screenshots

@nishtha-902
Someone is already working on this


Command

Add tag color #47

Coverage decreased (-3.3%) to 71.593% when pulling 18276e2b960623935bc342730af04745f52d7c80 on command into c30bf3bddac5840a7278b40981a492db7cd04650 on master.

Coverage decreased (-3.5%) to 71.593% when pulling 7e89c7768b2016aeef6c45b2b7cc0de539ee7cdf on command into<PHONE_NUMBER>bfaa8108252695c4ba1ae07a96e451 on master.


Use tags for releases

Hello, I think @itizarsa means that: https://git-scm.com/book/en/v2/Git-Basics-Tagging
(It's really useful for us to be able to "pin-point" a version with tags

I've just uploaded all the tags, and will make it part of the process going forward. Closing this.


[Feature Request] Allow to spread another union in named union

We are reviewing the union and enum cases in pr and doc.
And one scenario for customers is useful that we have existing unionA, then we want to expand more members for unionB based on A. Currently we could implement that for Enum by leveraging the spread operator.
enum ProvisioningState {
  ...ResourceProvisioningState,
  Provisioning,
  Updating,
  Deleting,
  Accepted,
}

I was wondering if we could allow to do this for named union also.
union BaseUnion {
  "a",
  "b"
}

// Case 1: union contains another union
// This union has two members, one is string literal, the other is union
union HasUnionMembers {
  "c",
  BaseUnion
}

// Case 2: union extends/spreads from another union
// This union has three members, "a", "b" and "c"
union SpreadUnion {
  "c",
  ...BaseUnion
}

Closing as won't fix


[BUG] không vào được bloxstrap nó hiện --------------------------- Bloxstrap-v2.8.1.exe --------------------------- You must install or update .NET to run this application.  Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)  Would you like to download it now?  Learn about framework resolution: https://aka.ms/dotnet/app-launch-failed

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?

Bloxstrap Log
N/A

cần trợ giúp cái này

bro cannot follow instructions

follow the damn instructions!!!

bruh


Feature cell link

Add anchor links to sections and cells.
It adds the tooltip icon in the cell actions when content type is markdown or elixir.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The placement of the link looks good to me, I just wonder about the desired behaviour. What I'd imagine is that the icon actually copies link to the clipboard, rather than changing the URL, and then when someone enters the link we focus and scroll to the given cell and remove the hash from current URL. @josevalim what's your take on this?

Alright, let's stick with that. We do however need to improve the behaviour when entering such link, because currently the page jumps to the given cell immediately, but then cell contents are loaded and everything shifts, so we are no longer in the proper place. I suggest we wait for everything to load and then focus/scroll to the given cell. I attempted this in https://github.com/elixir-nx/livebook/commit/d74fc65ecef940ffbec3aefc96073ae34263e798, let me know if there's anything wrong with using phx:page-loading-stop this way.

@jonatanklosko looks good to me. I assume if there is no such cell, the code still handles it fine, right?

Whoops missed that, fixed!
@jgoday feel free to merge https://github.com/elixir-nx/livebook/commit/1a5a7032e193839f3bf0a40c6a0cbfbadef2ddbc to your branch and test if it works fine for you too :>

Thanks @jgoday! :rocket:

Whoops missed that, fixed!

@jonatanklosko it works perfect, thank you so much !


fix: Plugin creation throws PathNotFoundException in Windows

Description
Creating a flutter plugin throws PathNotFound Exception. These exceptions must be handled by some error statements.
Steps To Reproduce

Upgraded flutter from 3.7.3 - 3.7.12
Install vgv CLI
very_good create flutter_plugin sky_client

Now you see this error.
PS C:\Users\yaswa\Desktop> very_good create flutter_plugin sky_client
Unhandled exception:
PathNotFoundException: Directory listing failed, path = 'C:\Users\yaswa\AppData\Local\Mason\Cache\bundled\very_good_flutter_plugin_0.3.3_22878f28a4fe654485c306b2b7c238e94c4ec37c\__brick__\{{project_name.snakeCase()}}\{{#android}}{{project_name.snakeCase()}}_android{{\android}}\android\src\main\kotlin\{{org_name.pathCase()}}\*' (OS Error: The system cannot find the path specified.
, errno = 3)
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:42:24)
#1      _Directory.listSync (dart:io/directory_impl.dart:233:5)
#2      MasonGenerator._fromBrick (package:mason/src/generator.dart:91:14)
#3      MasonGenerator.fromBundle (package:mason/src/generator.dart:70:27)
<asynchronous suspension>
#4      CreateSubCommand.run (package:very_good_cli/src/commands/create/commands/create_subcommand.dart:199:23)
<asynchronous suspension>
#5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:211:18)
<asynchronous suspension>
#7      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:148:14)
<asynchronous suspension>
#8      main (file:///C:/Users/yaswa/AppData/Local/Pub/Cache/hosted/pub.dev/very_good_cli-0.13.1/bin/very_good.dart:5:24)
<asynchronous suspension>
Unhandled exception:
PathNotFoundException: Directory listing failed, path = 'C:\Users\yaswa\AppData\Local\Mason\Cache\bundled\very_good_flutter_plugin_0.3.3_22878f28a4fe654485c306b2b7c238e94c4ec37c\__brick__\{{project_name.snakeCase()}}\{{#android}}{{project_name.snakeCase()}}_android{{\android}}\android\src\main\kotlin\{{org_name.pathCase()}}\*' (OS Error: The system cannot find the path specified.
, errno = 3)
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:42:24)
#1      _Directory.listSync (dart:io/directory_impl.dart:233:5)
#2      MasonGenerator._fromBrick (package:mason/src/generator.dart:91:14)
#3      MasonGenerator.fromBundle (package:mason/src/generator.dart:70:27)
<asynchronous suspension>
#4      CreateSubCommand.run (package:very_good_cli/src/commands/create/commands/create_subcommand.dart:199:23)
<asynchronous suspension>
#5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:211:18)
<asynchronous suspension>
#7      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:148:14)
<asynchronous suspension>
#8      main (file:///C:/Users/yaswa/AppData/Local/Pub/Cache/hosted/pub.dev/very_good_cli-0.13.1/bin/very_good.dart:5:24)
<asynchronous suspension>

Expected Behavior
Should create a federated plugin code.
Additional Context

very_good_cli - 0.13.1

Edition	Windows 11 Pro Insider Preview
Version	22H2
Installed on	20-01-2023
OS build	25281.1000
Experience	Windows Feature Experience Pack 1000.25281.1000.0

Verbose logs

PS C:\Users\yaswa\Desktop> very_good create flutter_plugin sky_client --verbose
Argument information:
  Top level options:
  - verbose: true
  Command: create
    Command options:
    Command sub command: flutter_plugin
Running with analytics enabled.
Building generator from brick: very_good_flutter_plugin ^0.3.3
Building generator from brick failed: PathNotFoundException: Directory listing failed, path = 'C:\Users\yaswa\AppData\Local\Mason\Cache\hosted\registry.brickhub.dev\very_good_flutter_plugin_0.3.3\__brick__\{{project_name.snakeCase()}}\{{project_name.snakeCase()}}\example\{{#android}}android{{\android}}\app\src\main\kotlin\com\example\{{project_name.snakeCase()}}\*' (OS Error: The system cannot find the path specified.
, errno = 3)
Building generator from bundle very_good_flutter_plugin 0.3.3
Unhandled exception:
PathNotFoundException: Directory listing failed, path = 'C:\Users\yaswa\AppData\Local\Mason\Cache\bundled\very_good_flutter_plugin_0.3.3_22878f28a4fe654485c306b2b7c238e94c4ec37c\__brick__\{{project_name.snakeCase()}}\{{#android}}{{project_name.snakeCase()}}_android{{\android}}\android\src\main\kotlin\{{org_name.pathCase()}}\*' (OS Error: The system cannot find the path specified.
, errno = 3)
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:42:24)
#1      _Directory.listSync (dart:io/directory_impl.dart:233:5)
#2      MasonGenerator._fromBrick (package:mason/src/generator.dart:91:14)
#3      MasonGenerator.fromBundle (package:mason/src/generator.dart:70:27)
<asynchronous suspension>
#4      CreateSubCommand.run (package:very_good_cli/src/commands/create/commands/create_subcommand.dart:199:23)
<asynchronous suspension>
#5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:211:18)
<asynchronous suspension>
#7      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:148:14)
<asynchronous suspension>
#8      main (file:///C:/Users/yaswa/AppData/Local/Pub/Cache/hosted/pub.dev/very_good_cli-0.13.1/bin/very_good.dart:5:24)
<asynchronous suspension>
FINE: Pub 2.19.6
Argument information:
  Top level options:
  - verbose: true
  Command: create
    Command options:
    Command sub command: flutter_plugin
Running with analytics enabled.
Building generator from brick: very_good_flutter_plugin ^0.3.3
Building generator from brick failed: PathNotFoundException: Directory listing failed, path = 'C:\Users\yaswa\AppData\Local\Mason\Cache\hosted\registry.brickhub.dev\very_good_flutter_plugin_0.3.3\__brick__\{{project_name.snakeCase()}}\{{project_name.snakeCase()}}\example\{{#android}}android{{\android}}\app\src\main\kotlin\com\example\{{project_name.snakeCase()}}\*' (OS Error: The system cannot find the path specified.
, errno = 3)
Building generator from bundle very_good_flutter_plugin 0.3.3
Unhandled exception:
PathNotFoundException: Directory listing failed, path = 'C:\Users\yaswa\AppData\Local\Mason\Cache\bundled\very_good_flutter_plugin_0.3.3_22878f28a4fe654485c306b2b7c238e94c4ec37c\__brick__\{{project_name.snakeCase()}}\{{#android}}{{project_name.snakeCase()}}_android{{\android}}\android\src\main\kotlin\{{org_name.pathCase()}}\*' (OS Error: The system cannot find the path specified.
, errno = 3)
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:42:24)
#1      _Directory.listSync (dart:io/directory_impl.dart:233:5)
#2      MasonGenerator._fromBrick (package:mason/src/generator.dart:91:14)
#3      MasonGenerator.fromBundle (package:mason/src/generator.dart:70:27)
<asynchronous suspension>
#4      CreateSubCommand.run (package:very_good_cli/src/commands/create/commands/create_subcommand.dart:199:23)
<asynchronous suspension>
#5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:211:18)
<asynchronous suspension>
#7      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:148:14)
<asynchronous suspension>
#8      main (file:///C:/Users/yaswa/AppData/Local/Pub/Cache/hosted/pub.dev/very_good_cli-0.13.1/bin/very_good.dart:5:24)
<asynchronous suspension>
IO  : Writing 584 characters to text file C:\Users\yaswa\AppData\Local\Pub\Cache\log\pub_log.txt.
MSG : Logs written to C:\Users\yaswa\AppData\Local\Pub\Cache\log\pub_log.txt.

This happens with all the versions.

I @yahu1031 thanks for opening an issue 💙 !
I've been unable to reproduce this issue. In other words, very_good create flutter_plugin sky_client succeeds.
Do you mind sharing the output of flutter doctor -v?

Thanks @yahu1031 for the quick reply! I look forward to the update.
Regarding your question, the file here is not being generated. There is only a single file under my_plugin_android/android/src/main/ and that is the AndroidManifest.xml. Although this file is not being generated, the Unhandled exception is not reached on create.
The brick does have this file and there is no post hook. This should definitely be looked into 👀 .

Possibly related: https://github.com/felangel/mason/issues/676

I can confirm that this is reproducible in Windows.

@alestiago Sorry about not responding so quickly. I'm away from my Windows machine. So can't give you more info. But LMK if anything is needed and I will try providing it somehow.

This is still happening in windows

This is still happening in windows


TypeError: reshape total size must be unchanged

Hi, while training  using google colab, I'm facing the following Type Error:

What could be the reason? and possible solutions please.

Can you try padding the input images to be divisible by 2?

Hi closing since it's been a while. Feel free to re-open if it's still an issue.


IndentationRule inserting unnecessary line break after assignment followed by any continuation

$ echo $'fun test() {
    val variable = first
        ?: second
}' > test.kt

$ ./ktlint -F --experimental test.kt

Expected:
fun test() {
    val variable = first
        ?: second
}

Actual:
fun test() {
    val variable =
        first
            ?: second
}

Seems to have something to do with the elvis operator; I haven't gotten it to break otherwise. Also works fine if the elvis operator is on the same line. Also,
fun test() {
    val variable = first
        second
}

produces
fun test() {
    val variable = first
    second
}

as expected.

Also occurs with:
$ echo $'fun test() {
    val variable = first
        ?: second
}' > test.kt

$ ./ktlint -F --experimental test.kt

Output
fun test() {
    val variable =
        first
            .function()
}


1kv incorrectly marks a node as not having a validate intention

1kv is inaccurately determining that a node does not have a validate intention: https://kusama.w3f.community/candidate/GG1fakzTavhuof7CVaZU7SJxeK1r4ndoxcCrzbgPcZ7sQDx
"INFRASTRUCTURE CORPORATION/01 does not have a validate intention."
In actuality the node is a currently elected validator:

Entire backend output at the time of the issue:
{"slotId":206,"kyc":false,"discoveredAt":1617687296825,"nominatedAt":6249,"offlineSince":0,"offlineAccumulated":0,"rank":1711,"faults":4,"unclaimedEras":[],"inclusion":20.238095238095237,"name":"INFRASTRUCTURE CORPORATION/01","stash":"GG1fakzTavhuof7CVaZU7SJxeK1r4ndoxcCrzbgPcZ7sQDx","kusamaStash":"","commission":0,"identity":{"name":"INFRASTRUCTURE CORPORATION","address":"JKupaoCtkRzMjCDQJbVMbG1jmEr8ebtoRG7cmxWkc8vM2uZ","verified":true,"subIdentities":[{"name":"01","address":"GG1fakzTavhuof7CVaZU7SJxeK1r4ndoxcCrzbgPcZ7sQDx","_id":"65e2af5fc3e846676314d227"},{"name":"02","address":"D5aAp1y8XfkrmtPqsGFZtCjJrPZqKrsG2ceSha846jy6RMU","_id":"65e2af5fc3e846676314d228"}],"display":"02","email":"support@infrastructure-corp.com","judgements":["Reasonable","Reasonable"],"_id":"65e2afc8c3e846676315283b"},"active":true,"bonded":155.969486925105,"valid":true,"validity":[{"valid":true,"type":"ONLINE","details":"","updated":1709526742827,"_id":"65e54ed6f00682f18dccb49a"},{"valid":true,"type":"VALIDATE_INTENTION","details":"","updated":1709526743096,"_id":"65e54ed7f00682f18dccb4b8"},{"valid":true,"type":"CLIENT_UPGRADE","details":"","updated":1709526743103,"_id":"65e54ed7f00682f18dccb4d6"},{"valid":true,"type":"CONNECTION_TIME","details":"","updated":1709526743110,"_id":"65e54ed7f00682f18dccb4f4"},{"valid":true,"type":"IDENTITY","details":"","updated":1709526743260,"_id":"65e54ed7f00682f18dccb512"},{"valid":true,"type":"ACCUMULATED_OFFLINE_TIME","details":"","updated":1709526743270,"_id":"65e54ed7f00682f18dccb530"},{"valid":true,"type":"COMMISION","details":"","updated":1709526743327,"_id":"65e54ed7f00682f18dccb54e"},{"valid":true,"type":"SELF_STAKE","details":"","updated":1709526743434,"_id":"65e54ed7f00682f18dccb56c"},{"valid":true,"type":"BLOCKED","details":"","updated":1709526743491,"_id":"65e54ed7f00682f18dccb58a"},{"valid":true,"type":"PROVIDER","details":"","updated":1709526743519,"_id":"65e54ed7f00682f18dccb5a9"},{"valid":true,"type":"BEEFY","details":"","updated":1709526743528,"_id":"65e54ed7f00682f18dccb5c8"}],"score":{"updated":1709525952431,"session":37378,"address":"GG1fakzTavhuof7CVaZU7SJxeK1r4ndoxcCrzbgPcZ7sQDx","total":972.4213682779466,"aggregate":885.8987661338567,"spanInclusion":220,"inclusion":220,"discovered":26.720735335391243,"nominated":100,"rank":26.15262321144674,"unclaimed":0,"bonded":50,"faults":3.888888888888889,"offline":2,"location":37.69230769230769,"region":9.423076923076923,"country":9.44954128440367,"provider":99.0909090909091,"nominatorStake":81.4806837074323,"randomness":1.0976664664763927},"total":972.4213682779466,"location":"Vilnius","provider":"UAB "Baltnetos komunikacijos"","matrix":["@yayoi-v:matrix.org"],"version":"1.8.0-ec7817e5adc","implementation":"Parity Polkadot","queuedKeys":"0x1aaa2ade8b232bdfb06b79152e1f25fc98e08fb8f1ce0336c65d61e4dd5916bc72b0a89eae93ef0d669f4a063fd569cc918fda9a069ec0d07baf0eef67b6632e7ac7705aee720a35d5fa66627d24c8885a38844c5b82fca1175117821e7e7b496adb3c5dd398fa3e05c5551753f9526a6c088cdb3e090114ae4b6ccb5576ad6bc89bef0e0906d71b1be47c305856942c548d795febc566f220f2cd78ff3c37197a98073eccead14909f8b53125e6e08d3da8de7333866261a421fdd0c434b95d03527df61eb47b700c2b76b9dc959acb1a4118daaf81c820c497c185e197123c89","nextKeys":"0xd8cd0558ef84db0cf7ded3349c5b4d2c222e997662b88c0aaf8003936f4ee81cb67889cef7a91e155097e6bfae1a54ff81c810855d7c292d547f97824f162154a6f375173d85d0d7c07e34ddd343224c85abf1f72f7dad8894baa90995e2dc0b04297f321f231d359cb0d67af09825578c0e4b78f230a6b70e3973616f03275f505707ef103cf2e390302574524a2439a5fb14cc2e99cc0c59760e7567df8111742637295a34e9043e80254e04cf82d15b22db5389a2bb5f41e4810a03464757026da2c655953eb3d381a2d6ab2aff476ac0d73412cb6155f29e6cb87eb3df1562","rewardDestination":"Staked","cpu":"13th Gen Intel(R) Core(TM) i9-13900K","memory":"33409736704","coreCount":"24","vm":false,"region":"Vilnius","country":"LT","nominations":{"totalStake":12137.129508734335,"inactiveStake":134782.98988698487,"activeNominators":3,"inactiveNominators":328}}

After a few minutes this issue cleared, and the node is valid again.


riscv32: Define O_LARGEFILE

Some applications (e.g. nix) use this define and expect it to come from libc
Signed-off-by: Khem Raj<EMAIL_ADDRESS>

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 08e03530a160c895c41cd9634dfc725aaad4db3c has been approved by Amanieu

:hourglass: Testing commit 08e03530a160c895c41cd9634dfc725aaad4db3c with merge d47792a2d2ba63de36c7ad75e0f4ae0e7d4a60b3...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing d47792a2d2ba63de36c7ad75e0f4ae0e7d4a60b3 to master...


Jumble solver using Python

Can I be assigned this issue??

@Crazycoder122 Assign to you
Give a star ⭐, if you like the repo


refactor: update preamble rules and mixin

Updating current preamble, rules, and prompt mixin with new findings from https://github.com/sourcegraph/cody/pull/907.
Issue 1: Cody hallucinates about file path and code
One of the main issues we saw in Chat is Cody hallucinating about files and code that do not exist in the shared context.
I noticed this is mainly because of how we phrased our context, as Cody do not understand the relationship between each code snippet we share with them. For more information, see https://github.com/sourcegraph/cody/pull/907#discussion_r1320490212
One of the many prompts I've tried to prevent hallucination is to add Do not make any assumptions about the code and file names or any misleading information to the question, which has been working well for me. This is also the prompt we added to all our commands. A customer has also confirmed that adding this to their questions stopped Cody from hallucinating and received better responses from Chat, this is why I propose adding it to PromptMixin, which will be added to the start of every question (instead of Preabmle, which is added to the start of the session and will get left out as the conversation gets longer.)
I don't think this will be 100% hallucination-proof, but it works a lot better than what we currently have.
Before

lib/share/ui/src/components/CodeBlock is not the correct path

After

make well-informed answers

Issue 2: The current preambles need to be updated, and not working as intended most of the times.
Addressed by this PR with the following changes:

Simplified the preamble actions and rules text to be more concise.
Removed redundant rules that will always be false, e.g. Cody never has direct access to your file or repository even when we tell them they do.
Removed detailed instructions about code formatting and limitations, leaving just the essential rules
Shortened the preamble answer to focus on the core assistant persona and capabilities

Issue 3: Cody will not answer in language that is not the default language of the editor
CLOSE https://github.com/sourcegraph/cody/discussions/1011 && https://github.com/sourcegraph/cody/issues/988
Many users have complained that they cannot get Cody to answer their questions because Cody refused to answer questions that is not the same as the default language of the editor.
Addressed by this PR with the following changes: Remove languagePromptMixin from the activate event for editors, which allows Cody to answer in the same language as the question
Before

After

Test plan

Ask Cody a question in another language that is not the same as your editor. Cody should still be able to answer your question in the same language.
Ask Cody a question in editor, and then ask the same question in Web to compare the quality. Questions where Cody hallucinates on Web should not happen in the editor when using the updated prompts.

Example question to ask in the cody repo: Do we format the completion item before we suggest them?

This is a massive win for our users. Thanks, @abeatrix for digging in!


Pointer.reserveForKeyboardDrag doesn't work with listeners that change focus

In a keydown listener that reserves the PDOMPointer to prevent other work (such as in AnimatedPanZoomListener), reserveForKeyboardDrag doesn't work as expected if the listener follows by immediately changing focus. This is exemplified in the keydown listener of ComboboxListBox, where an arrow keydown event moves focus to the next item in the list. reserveForKeyboardDrag does not successfully prevent arrow key panning.

Example workaround for this issue is at https://github.com/phetsims/sun/blob/b3d9f30fba6fc8aefe2cc6f9d29e2387388c648f/js/ComboBoxListBox.ts#L254-L255


[tests] add ipv6 source selection test

travis fail is expected before #4377 gets merged
verified pass with #4377 locally.

I just merged #4377 and rebased this PR on top.

@jwhui Thanks :)


Provide help text for commands

Provide help text that is shown when, for instance, a --help option is passed to a command. I believe argparse makes this very easy.

Once this is done, I can remove detailed documentation (about flags, etc.) from the README. I may still want to list the commands, though.


Hash.apply provides the same hash for all directories

See here.
When a file is a directory, you get a FileNotFoundException when instantiating a FileInputStream with it. This makes it harder to write SBT tasks that need to invalidate some cache upon a file being added/removed from a directory.

Not sure if I have the full context on what situation would require directory hash, but as a reference Bazel also behaves in a similar way wherein if you use directory as input or output you get a warning saying "we're not gonna invalidate correctly for directory" or something along the lines.
See also https://www.scala-sbt.org/1.x/docs/Caching.html#Tracking+file+attributes and other example regarding caching.

Sorry for the late reply.

Not sure if I have the full context on what situation would require directory hash.

There's various reasons why you'd want it. Smithy4s, a library I maintain, abstracts the business logic away from SBT, as we also provide a CLI and a Mill plugin. Therefore, we essentially have a CodegenArgs => Seq[GeneratedFiles] function that build tools can delegate to.
Now the thing is that we want to use whole CodegenArgs datatype as a a cache key, because a change in any of the data it contains may impact the code rendering, and therefore any change should invalidate the cache. This CodegenArgs datatype contains a bunch of things, including reference to files that may be indiscriminately files or folders. Because it doesn't JUST contain files, FileFunction doesn't cut it for us.
We naively thought files via the functions provided by SBT would hash folders, like it happens in Mill's PathRef, turns out it wasn't the case.
Now whether Mill's way of hashing folders is actually desirable in SBT is not my place to say, but silently accepting folders and recovering by hashing an empty string is definitely not great, as it very much gives a false-positive behaviour. I think throwing an exception would be better, as at least the implementor could be made aware (via testing) of the problem, and take action. Logging a warning would be also acceptable, though easier to miss.


How to debug this code?

In which IDE i can  debug this repo?
Thanks for the good code.

same question... can you help please?

Closing this issue as dupe. Debugging work tracked in #134


Interface still makes validator panic

Validator still crashes when passing struct with interface{}.
2015/07/09 11:44:48 Panic recovery -> Invalid validation tag on field C
/usr/local/Cellar/go/1.4.2/libexec/src/runtime/panic.go:387 (0x13ee8)
	gopanic: reflectcall(unsafe.Pointer(d.fn), deferArgs(d), uint32(d.siz), uint32(d.siz))
/Users/manu/repos/go/src/gopkg.in/bluesuncorp/validator.v5/validator.go:686 (0x207ce8)
	(*Validate).fieldWithNameAndValue: panic(fmt.Sprintf("Invalid validation tag on field %s", name))
/Users/manu/repos/go/src/gopkg.in/bluesuncorp/validator.v5/validator.go:531 (0x204b51)
	(*Validate).structRecursive: if fieldError := v.fieldWithNameAndValue(top, current, valueField.Interface(), cField.tag, cField.name, false, nil); fieldError != nil {
/Users/manu/repos/go/src/gopkg.in/bluesuncorp/validator.v5/validator.go:387 (0x203ac2)
	(*Validate).structRecursive: return v.structRecursive(top, current, structValue.Elem().Interface())
/Users/manu/repos/go/src/gopkg.in/bluesuncorp/validator.v5/validator.go:378 (0x203910)
	(*Validate).Struct: return v.structRecursive(s, s, s)
/Users/manu/repos/go/src/github.com/gin-gonic/gin/binding/default_validator.go:20 (0xb6ca7)
	(*defaultValidator).ValidateStruct: if err := v.validate.Struct(obj); err != nil {
/Users/manu/repos/go/src/github.com/gin-gonic/gin/binding/binding.go:62 (0xb6bf9)
	validate: return Validator.ValidateStruct(obj)
/Users/manu/repos/go/src/github.com/gin-gonic/gin/binding/json.go:24 (0xb820e)
	jsonBinding.Bind: return validate(obj)
<autogenerated>:6 (0xb8927)
/Users/manu/repos/go/src/github.com/gin-gonic/gin/context.go:270 (0x400c2)
	(*Context).BindWith: if err := b.Bind(c.Request, obj); err != nil {
/Users/manu/repos/go/src/github.com/gin-gonic/gin/context.go:259 (0x3ff7e)
	(*Context).Bind: return c.BindWith(obj, b)
/Users/manu/test2/main.go:18 (0x2168)
	Create: c.Bind(&a)
/Users/manu/repos/go/src/github.com/gin-gonic/gin/context.go:95 (0x3f2b0)
	(*Context).Next: c.handlers[c.index](c)
/Users/manu/repos/go/src/github.com/gin-gonic/gin/logger.go:56 (0x4f532)
	func.008: c.Next()
/Users/manu/repos/go/src/github.com/gin-gonic/gin/context.go:95 (0x3f2b0)
	(*Context).Next: c.handlers[c.index](c)
/Users/manu/repos/go/src/github.com/gin-gonic/gin/recovery.go:43 (0x4ff12)
	func.010: c.Next()
/Users/manu/repos/go/src/github.com/gin-gonic/gin/context.go:95 (0x3f2b0)
	(*Context).Next: c.handlers[c.index](c)
/Users/manu/repos/go/src/github.com/gin-gonic/gin/gin.go:292 (0x45493)
	(*Engine).handleHTTPRequest: context.Next()
/Users/manu/repos/go/src/github.com/gin-gonic/gin/gin.go:273 (0x45167)
	(*Engine).ServeHTTP: engine.handleHTTPRequest(c)
/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1703 (0x7e45a)
	serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1204 (0x7bcd7)
	(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/local/Cellar/go/1.4.2/libexec/src/runtime/asm_amd64.s:2232 (0x3e0b1)
	goexit:

code:
package main

import "github.com/gin-gonic/gin"

type MyStruct struct {
	A, B string
	C    interface{}
}

func main() {
	router := gin.Default()
	router.POST("/post", Create)
	router.Run(":8080")
}

func Create(c *gin.Context) {
	var a MyStruct
	c.Bind(&a)
	c.JSON(200, gin.H{
		"bind": a,
	})
}

I will take a look at this as tonight

ok... this is so weird. now it does not panic. I need to investigate as well.

@joeybloggs ok, never mind! yes it panics:
this HTTP request for example:
POST /post HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Connection: close
User-Agent: Paw/2.2.2 (Macintosh; OS X/10.10.4) GCDHTTPRequest
Content-Length: 22

{"A":"value","C":"nu"}

thanks @manucorporat I was having trouble making it panic myself, looking into this now.

hey @manucorporat I've corrected this issue and have published release 5.10.1
the panic was an edge case where the the interface had a value and no validation tag, was a simple fix.
based on your comment in the gin issue, I hope you aren't too disappointed with my library because of a couple issues.
P.S. based on the question in #99 I would love your opinion, if you have time

@joeybloggs well, it is disappointing because there is not very stable validation library out there. yours is still improving and the rest are not good or abandoned.

@joeybloggs we are working in very a complete suite of unit tests. can you connect to Skype?

Yes will connect in a minute


Invalid DN

Hi,
I'm using:
addict --url ldaps://192.168.x.x --user<EMAIL_ADDRESS>--pass xxxxxxxxxxx
But I'm getting
{ InvalidDnSyntaxError: invalid DN     at messageCallback (/home/binky/.nvm/versions/node/v9.7.1/lib/node_modules/addict/node_modules/ldapjs/lib/client/client.js:1419:45)     at Parser.onMessage (/home/binky/.nvm/versions/node/v9.7.1/lib/node_modules/addict/node_modules/ldapjs/lib/client/client.js:1089:14)     at Parser.emit (events.js:127:13)     at Parser.write (/home/binky/.nvm/versions/node/v9.7.1/lib/node_modules/addict/node_modules/ldapjs/lib/messages/parser.js:111:8)     at TLSSocket.onData (/home/binky/.nvm/versions/node/v9.7.1/lib/node_modules/addict/node_modules/ldapjs/lib/client/client.js:1076:22)     at TLSSocket.emit (events.js:127:13)     at addChunk (_stream_readable.js:269:12)     at readableAddChunk (_stream_readable.js:256:11)     at TLSSocket.Readable.push (_stream_readable.js:213:10)     at TLSWrap.onread (net.js:598:20) lde_message: 'invalid DN', lde_dn: null }
what do I need to ensure a "valid" DN? Sorry if this is a completely n00b question, it is because I am a n00b :) Anyone got any pointers?
Thanks!

Have you got it working with regular ldap yet? if not then I think you might have the wrong version of node installed? (though I'm a bit of a n00b at this too.)
These are the steps i ran on a blank ubuntu 16.04 to get it working with regular ldap:
sudo apt-get install npm
sudo apt install nodejs-legacy
sudo apt-get install nodejs
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
LOGOUT
LOGIN
nvm install 8.9.4
sudo npm i addict -g
addict --url ldap:// . . .
for LDAPS i know you need to enable LDAPS in AD before it works, but I never figured out how myself.

Thanks for the tip, unfortunately still does not work, so I'm probably doing something badly wrong
RE: SSL, you can enable it like this:
Create the certificates:
openssl req -config /etc/pki/tls/openssl.cnf -new -x509 -extensions v3_ca -keyout /etc/openldap/certs/ca.key -out /etc/openldap/certs/ca.crt -days 3650
openssl req -new -x509 -nodes -out /etc/openldap/certs/ldap.mysite.com.pem -keyout /etc/openldap/certs/ldap.mysite.com.key.pem -days 720 -subj "/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/CN=ldap.mysite.com"
Edit ldap.conf and add the following at the bottom:
TLSCACertificateFile /etc/openldap/certs/ca.crt
TLSCertificateFile /etc/openldap/certs/ldap.mysite.com.pem
TLSCertificateKeyFile /etc/openldap/certs/ldap.mysite.com.key.pem
then
slaptest to ensure the config parses OK
and
systemctl restart slapd
to restart and it should work - I've tested under Centos 7, hope this helps!

I have same problem.
I start dockers with docker-compose with following containers:
  ldap:
    restart: always
    image: osixia/openldap
    environment:
      - LDAP_ORGANISATION=36node
      - LDAP_DOMAIN=36node.com
      - LDAP_ADMIN_PASSWORD=mypassword
    ports:
      - 389:389
      - 636:636

  addict:
    restart: always
    image: dthree/addict
    environment:
      - ADDICT_URL=ldap://ldap-host
      -<EMAIL_ADDRESS>      - ADDICT_PASS=mypassword
    links:
      - ldap:ldap-host
    ports:
      - 3000:3000

  phpldapadmin:
    restart: always
    image: osixia/phpldapadmin
    links:
      - ldap:ldap-host
    environment:
      - PHPLDAPADMIN_LDAP_HOSTS=ldap-host
      - PHPLDAPADMIN_HTTPS=false
    ports:
      - 8889:80

phpldapadmin works, but addict keep saying invalid DN

Also focusing this problen. Pretty sure, it's smoething with the authentification schema in openldap (also using the docker version here). I'm pretty stuck and can't find a solution. So if somebody could give a hint, i would be verry happy


Fixed the segmentation fault I detected while creating my luaJIT bind…

…ings. To be consistent with the function description, _n+1 does not make sense. I don't know if the math is valid by changing this, but it fixes the segmentation fault.

Thanks, Paul. I'll look into this. Few people actually use the Bessel filter, so I'm not surprised it hasn't come up earlier.


Development

not tested or anything, just some forms, just opening a PR so everyone has latest

Hmm should we wait before merging anything to Master? Everything should live on Development and Staging branches right now, right?


project abandoned?

project abandoned?
and license?

This project is now under massive, top secret development at the moment
Stay tuned :)
License is freer than free - go wild!