default split editors view

Is there a way to enable split editors view as default for all vue files?

Yes this is possible, but I think it's counterintuitive. 😅

@johnsoncodehk Would you consider to add it as a pref?
I understand having as default would be counter-intuitive, but if I want to use it, I have to click the icon every time, which is cumbersome.

yes, dear user
the original feature was added as it was thought that users may find being able to split code into multiple panes useful for their workflow
oh? you want to have an optional setting to have this extremely useful feature enabled by default?
it sounds like your wish is to always have single file components open in split view, to prevent you from having to click the button "every single time" you open that file...
no, that sounds counter intuitive
i think we'll just keep this useful feature that improves your workflow the way it is, and then detract from that positive workflow benefit by making you click that button every time
because providing an option that actually makes this a useful feature that can be used all the time sounds "counter-intuitive"

Volar is a great plugin, and i'm sorry for the sarcastic delivery of the above - but i really wanted to illustrate just how silly the above situation is
That was nearly half a year ago, and we've really not seen the benefit of this?
c'mon, i know we're all intelligent here, what's the issue?

@OhaiHFO Unfortunately VSCode doesn't provide an API to query editor group status, so there's no way to do that.
You can consider make a keybinding for it.


Issue #158 - Added test to ensure that watchers monitoring hardlinks are...

... notified when the original file is updated
I'm not quite sure what to do with this, so I decided to open a pull request anyway. I've created the test, and it works, but the behavior that it's testing does not. Hardlink watchers will time out when waiting for alerts to changes in the original file. Should I file this as a new bug?

Finishing this in https://github.com/filerjs/filer/pull/595.


Changing default view breaks site

Not sure if this is happening to anyone else, but when I create a custom view, or rename an existing view, then change the settings to show that view by default, it shows the Not Found page and throws:
Uncaught ReferenceError: PostsMost is not defined settings:1
Which is related to me changing the New view to "Most Recent". And these warnings:
pathFor couldn't find a route named "posts_new" iron_core.js:89
pathFor couldn't find a route named "posts_top" iron_core.js:89
pathFor couldn't find a route named "posts_pending" iron_core.js:89

Exception in template helper: TypeError: Cannot read property 'getName' of undefined
    at RouteController.lookupTemplate (http://we.ld:3000/packages/iron_router.js?c45f7b94d616b48432e190827a3ca76d48e51e9d:572:58)
    at getCurrentTemplate (http://we.ld:3000/lib/helpers.js?9f10c76bb199accb7b0af5bc296b7c732e49d0c6:6:27)
    at Object.Template.(anonymous function).helpers.pageName (http://we.ld:3000/client/views/common/layout.js?187f19e8f9d7d7a9d9f0fa9fd3dd6809b977a312:18:12)
    at http://we.ld:3000/packages/blaze.js?77c0809654ee3a10dcd5a4f961fb1437e7957d33:2693:16
    at http://we.ld:3000/packages/blaze.js?77c0809654ee3a10dcd5a4f961fb1437e7957d33:1602:16
    at Spacebars.call (http://we.ld:3000/packages/spacebars.js?3c496d2950151d744a8574297b46d2763a123bdf:169:18)
    at Spacebars.mustacheImpl (http://we.ld:3000/packages/spacebars.js?3c496d2950151d744a8574297b46d2763a123bdf:106:25)
    at Object.Spacebars.mustache (http://we.ld:3000/packages/spacebars.js?3c496d2950151d744a8574297b46d2763a123bdf:110:39)
    at Template.layoutWeld.HTML.DIV.HTML.DIV.class (http://we.ld:3000/packages/telescope-theme-weld.js?a42e837256de0c53e49f72a35516c200f7acd1ec:341:53)
    at Object.Blaze._withCurrentView (http://we.ld:3000/packages/blaze.js?77c0809654ee3a10dcd5a4f961fb1437e7957d33:2029:12)

iron_core.js:89
/**
 * Print a warning message to the console if the console is defined.
 */
Iron.utils.warn = function (condition, msg) {
  if (!condition)
    console && console.warn && console.warn(msg);
};

But I tried it with single-word changes like "Recent" and it doesn't throw a template error, but the default view seems to remain as Top. Let me know if I can provide any more helpful info.

V1.3.0 of tap:i18n now supports runtime translations overwriting.
You can now use the TAPi18n.loadTranslations() in the following way to change labels text:
TAPi18n.loadTranslations({
  en: {
    new: "Most Recent",
    top: "Most Liked"
  }
});

I didn't test the above example so let me know if it works well for you.
Note that we are translating the original labels and not the routes.
We have to wait for a new Telescope release that uses v1.3.0 of tap:i18n .
Thanks,
-Daniel Chcouri
Meteor Developer

Closing this for now.


map url and still use cacheFirst

I want more better looking urls so I want to show them /login.html but I want the url to be just /login I can't do this if i want to use toolbox.cacheFirst do you have any solution for this?

It's outside of the scope of sw-toolbox to perform URL rewriting. You also don't want that to be performed inside of a service worker in general, since the service worker won't be installed the first time a user visits your site, and not all browsers support service workers.
If you need URL rewriting, that should be done on the server to ensure that your URLs are consistent and behave properly independent of any service worker.


README: SVG badge

This PR changes the build badges to SVG for sharper readability ✨

@kares There!

:green_heart:

I appreciate your ever-positive presence in this project and elsewhere. Thank you for being there.


Add CUDA support

CUDA support should be added. It could be a parameter at the dataset generation, if true the tensors created are allocated to CUDA memory.

What is the best way to test this?

I checked and the source code seems to have already cuda support. If available, the model is loaded to the GPU, otherwise to the cpu. Could you confirm this? @cbaakman
My other question now is, do we need to move the data tensors as well to cuda? I'm not familiar with it, maybe @cbaakman and @DTRademaker know more?

I added this check:
https://github.com/DeepRank/deeprank-core/blob/fba1352c1c5bc204b5eac933707b3b5330272655/tests/test_nn.py#L61
It confirms that the model parameters are cuda, on a machine where torch.cuda.is_available is true.
Also torch tensors have a .to method, where the device can be set to "cuda", if available.

I added this check:
https://github.com/DeepRank/deeprank-core/blob/fba1352c1c5bc204b5eac933707b3b5330272655/tests/test_nn.py#L61
It confirms that the model parameters are cuda, on a machine where torch.cuda.is_available is true.
Also torch tensors have a .to method, where the device can be set to "cuda", if available.

Can we test this on a device that has cuda available? My Mac can't be used for this, since cuda is not supported at all by arm-based systems.

I added this check:
https://github.com/DeepRank/deeprank-core/blob/fba1352c1c5bc204b5eac933707b3b5330272655/tests/test_nn.py#L61
It confirms that the model parameters are cuda, on a machine where torch.cuda.is_available is true.
Also torch tensors have a .to method, where the device can be set to "cuda", if available.

Can we test this on a device that has cuda available? My Mac can't be used for this, since cuda is not supported at all by arm-based systems.

I did test it on my NVIDIA device. The test succeeds. I'm working on the data tensors now..


⚠ Samsung has degraded performance

In 79dd990, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1537 ms

Resolved: Samsung performance has improved in a8f7c43.


error: unable to dowload wepage: HTTP Error 503

youtube-dl https://youtu.be/n2tk2ctypUs --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://youtu.be/n2tk2ctypUs', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.12
[debug] Python version 2.7.12 - Linux-4.10.0-27-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] n2tk2ctypUs: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 502, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2129, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 467, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.08.06. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.08.06

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.08.06
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

same problem
$ youtube-dl https://www.youtube.com/watch\?v\=Toft6fMvByA --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=Toft6fMvByA', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.06
[debug] Python version 2.7.10 - Darwin-17.0.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.1, avprobe 12.1
[debug] Proxy map: {}
[youtube] Toft6fMvByA: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2166, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

youtube-dl https://www.youtube.com/watch?v=-k3qyjZNcX0 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=-k3qyjZNcX0', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.06
[debug] Python version 2.7.12 - Linux-4.10.0-27-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] -k3qyjZNcX0: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2166, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 467, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

youtube-dl -v https://www.youtube.com/watch?v=BaW_jenozKc --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=BaW_jenozKc', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.06
[debug] Python version 2.7.12 - Linux-4.10.0-27-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] BaW_jenozKc: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2166, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 467, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Hello all, could you run the following command and paste the output?
youtube-dl -v --print-traffic "https://www.youtube.com/watch?v=BaW_jenozKc"

@yan12125
$ youtube-dl -v --print-traffic "https://www.youtube.com/watch?v=BaW_jenozKc"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--print-traffic', u'https://www.youtube.com/watch?v=BaW_jenozKc']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.06
[debug] Python version 2.7.10 - Darwin-17.0.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.1, avprobe 12.1
[debug] Proxy map: {}
[youtube] BaW_jenozKc: Downloading webpage
send: u'GET /watch?v=BaW_jenozKc&gl=US&hl=en&has_verified=1&bpctr=9999999999 HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.youtube.com\r\nCookie: PREF=f1=50000000&hl=en\r\n\r\n'
reply: 'HTTP/1.1 302 Found\r\n'
header: Location: https://ipv4.google.com/sorry/index?continue=https://www.youtube.com/watch%3Fv%3DBaW_jenozKc%26gl%3DUS%26hl%3Den%26has_verified%3D1%26bpctr%3D9999999999&hl=en&q=EgQvNAXSGNarq8wFIhkA8aeDSxBLtA4muMnYpc_AdvopyZe4YKBOMgNyY24
header: Date: Wed, 09 Aug 2017 09:28:55 GMT
header: Pragma: no-cache
header: Expires: Fri, 01 Jan 1990 00:00:00 GMT
header: Cache-Control: no-store, no-cache, must-revalidate
header: Content-Type: text/html; charset=UTF-8
header: Server: HTTP server (unknown)
header: Content-Length: 425
header: X-XSS-Protection: 1; mode=block
header: X-Frame-Options: SAMEORIGIN
header: Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,36,35"
header: Connection: close
send: u'GET /sorry/index?continue=https://www.youtube.com/watch%3Fv%3DBaW_jenozKc%26gl%3DUS%26hl%3Den%26has_verified%3D1%26bpctr%3D9999999999&hl=en&q=EgQvNAXSGNarq8wFIhkA8aeDSxBLtA4muMnYpc_AdvopyZe4YKBOMgNyY24 HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: ipv4.google.com\r\n\r\n'
reply: 'HTTP/1.1 503 Service Unavailable\r\n'
header: Date: Wed, 09 Aug 2017 09:28:56 GMT
header: Pragma: no-cache
header: Expires: Fri, 01 Jan 1990 00:00:00 GMT
header: Cache-Control: no-store, no-cache, must-revalidate
header: Content-Type: text/html
header: Server: HTTP server (unknown)
header: Content-Length: 3269
header: X-XSS-Protection: 1; mode=block
header: X-Frame-Options: SAMEORIGIN
header: Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
header: Connection: close
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2166, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@yan12125

youtube-dl -v --print-traffic "https://www.youtube.com/watch?v=BaW_jenozKc"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--print-traffic', u'https://www.youtube.com/watch?v=BaW_jenozKc']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.06
[debug] Python version 2.7.12 - Linux-4.10.0-27-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] BaW_jenozKc: Downloading webpage
send: u'GET /watch?v=BaW_jenozKc&gl=US&hl=en&has_verified=1&bpctr=9999999999 HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7\r\nHost: www.youtube.com\r\nCookie: PREF=f1=50000000&hl=en\r\n\r\n'
reply: 'HTTP/1.1 302 Found\r\n'
header: Location: https://ipv6.google.com/sorry/index?continue=https://www.youtube.com/watch%3Fv%3DBaW_jenozKc%26gl%3DUS%26hl%3Den%26has_verified%3D1%26bpctr%3D9999999999&hl=en&q=EhAgAQ2ogAEgZVIFBIUq8RE-GJasq8wFIhkA8aeDS5Qg0U8RpyvchWg2C153Y7Gvj6e9MgNyY24
header: Date: Wed, 09 Aug 2017 09:29:58 GMT
header: Pragma: no-cache
header: Expires: Fri, 01 Jan 1990 00:00:00 GMT
header: Cache-Control: no-store, no-cache, must-revalidate
header: Content-Type: text/html; charset=UTF-8
header: Server: HTTP server (unknown)
header: Content-Length: 441
header: X-XSS-Protection: 1; mode=block
header: X-Frame-Options: SAMEORIGIN
header: Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,36,35"
header: Connection: close
send: u'GET /sorry/index?continue=https://www.youtube.com/watch%3Fv%3DBaW_jenozKc%26gl%3DUS%26hl%3Den%26has_verified%3D1%26bpctr%3D9999999999&hl=en&q=EhAgAQ2ogAEgZVIFBIUq8RE-GJasq8wFIhkA8aeDS5Qg0U8RpyvchWg2C153Y7Gvj6e9MgNyY24 HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7\r\nHost: ipv6.google.com\r\n\r\n'
reply: 'HTTP/1.1 503 Service Unavailable\r\n'
header: Date: Wed, 09 Aug 2017 09:29:59 GMT
header: Pragma: no-cache
header: Expires: Fri, 01 Jan 1990 00:00:00 GMT
header: Cache-Control: no-store, no-cache, must-revalidate
header: Content-Type: text/html
header: Server: HTTP server (unknown)
header: Content-Length: 3327
header: X-XSS-Protection: 1; mode=block
header: X-Frame-Options: SAMEORIGIN
header: Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,36,35"
header: Connection: close
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2166, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 467, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

I noticed that both @zhangxulong and @RenzHoly uses Chinese name on Github profiles. Are you connecting to YouTube from within Mainland China? Did you use any anti-censorship softwares? (proxies, VPNs, or "翻墙", "科学上网" in Chinese)
ping @junmuzi

@yan12125 I connect to YouTube using VPN in HongKong

Hi @yan12125,
I just use IPv6 to visit YouTube and do not use any proxies or VPN.
When use chrome browse visit this url, sometime it will give tips to make sure you are not a robot. Seems youtube-dl could automatically click "I am not a robot" is ok.
curl -v -L -6 "https://www.youtube.com/watch?v=5qVK7GIZ394"
...
Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?
...

@yan12125 I am using IPv6 visit youtube. without any vpns.

@junmuzi yes I have met the same condition with you

Hmm I guess some people are abusing IPv6 networks in China to connect to YouTube. A possible workaround is exporting cookies to a file and feed it to youtube-dl via --cookies.
There were similar issues on other websites and some Github users gave useful tips. See https://github.com/rg3/youtube-dl/issues/11572#issuecomment-270278924

Seems youtube-dl could automatically click "I am not a robot" is ok.

It's infeasible. youtube-dl is essentially a robot, and it's a bug for Google if youtube-dl can click it automatically.

Hi @yan12125 , @zhangxulong,
I double-check this issue, as I have use google to resolve the youtube IPv6 addr, and google will check whether this visit is an unusual traffic. As follow url show.
https://ipv6.google.com/sorry/index?continue=https://www.youtube.com/watch%3Fv%3DHZXhlKDKfVU%26spfreload%3D10&q=EhAgAQ2oAgMyAW4LhP_-ClGvGPmwrMwFIhkA8aeDS8eFzdO4lU37aL11CVcYQ5V6xGEPMgNyY24
So this issue do not due to youtube website, it is just due to the google dns resolve(as I have modify my hosts file in my computer).
Modify hosts:
#ping6 www.youtube.com
PING www.youtube.com(encrypted-tbn0.google.com) 56 data bytes
64 bytes from encrypted-tbn0.google.com: icmp_seq=1 ttl=41 time=66.3 ms
64 bytes from encrypted-tbn0.google.com: icmp_seq=2 ttl=41 time=66.4 ms
Before modify hosts:
# ping6 www.youtube.com
PING www.youtube.com(2001::8079:9264) 56 data bytes
As above show, I think we could close this issue(@yan12125).  This is due to we use google dns to resolve youtube, and google will check whether this visit is a robot or not(@zhangxulong).

@junmuzi modify the dns can resovle this problem?

@zhangxulong , I think so. But you should find the avail dns server(This is also the IPv6 proxy, I think).
Currently, I use encrypted-tbn0.google.com as IPv6 proxy via hosts, but this will check whether a robot or not.

@zhangxulong , you could stop download, and wait for 10 hours, it will resume, it just temporal block.

@junmuzi I have two server , and it all blocked by the robot verification. and I had used encrypted-tbn0.google.com as IPv6 proxy via hosts. you can down load directly by youtube-dl now?

Same condition. And I can't download after waiting for over 12 hours.

I'm able to download with another VPN

Mapping www.youtube.com to encrypted-tbn0.google.com sounds a misconfiguration for me. If I under it correctly, hosts is used to map domain names to IP addresses. Maybe mapping from www.youtube.com directly to 2404:6800:4008:802::200e (an IPv6 address for encrypted-tbn0.google.com) will work?

I am using the IPV6 dns 2001:470:20::2
and I use it for a long time,  when ping youtube.com it display (encrypted-tbn0.google.com) 56 data bytes, but it cannot help this problem any way.
without the youtube-dl , I can just the webpage for download now, and the  speed  is very low just about 1Mb/s. if youtube-dl can be used, the download speed could be 10MB/s. So I wish this problem could be resloved.

oh , it is normal now without any exception.

I can normally download a few hours ago, but this issue appear again. :(


Cyrillic characters are causing the importer to crash

A reference in GSD1201 had a the Cyrillic small letter о, which was causing the importer to crash:
Contribuciоnes al conocimiento de la flora del Gondwana Superior en la Argentina. XXXIII "Ginkgoales" de los Estratos de Potrerillos en la Precordillera de Mendoza.
This is one of the worst kinds of data bugs because о and o look nearly identical. This bug occurs somewhat frequently in data and is likely introduced by OCR readers. Ideally the importer needs to be able to handle those characters without crashing but report them as an issue. Here's a temporary test repo that can be used to test this bug. If the о on line 2 of references is replaced with o, the importer runs fine.
Here's the crash log:
org.col.importer.NormalizationFailedException: Failed to read ACEF files
	at org.col.importer.acef.AcefInserter.batchInsert(AcefInserter.java:101)
	at org.col.importer.NeoInserter.insertAll(NeoInserter.java:74)
	at org.col.importer.Normalizer.insertData(Normalizer.java:806)
	at org.col.importer.Normalizer.call(Normalizer.java:77)
	at org.col.importer.ImportJob.importDataset(ImportJob.java:184)
	at org.col.importer.ImportJob.run(ImportJob.java:113)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Key.hashCode() changed after serialization, make sure to use correct Key Serializer
	at org.mapdb.HTreeMap.put(HTreeMap.kt:315)
	at org.col.importer.neo.NeoDb.create(NeoDb.java:525)
	at org.col.importer.NeoInserter.lambda$insertEntities$2(NeoInserter.java:125)
	at org.col.importer.NeoInserter.lambda$processVerbatim$1(NeoInserter.java:100)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at org.col.importer.NeoInserter.processVerbatim(NeoInserter.java:98)
	at org.col.importer.NeoInserter.insertEntities(NeoInserter.java:119)
	at org.col.importer.acef.AcefInserter.batchInsert(AcefInserter.java:62)
	... 10 common frames omitted

Thats interesting and the same error as #391.
I am quite surprised it should be related to char encodings, but I did into this

Ha, it indeed is. The map is configured to expect an ASCII key only - because we normalise the reference citation and thereby also fold it to ASCII. But that does not seem to work for cyrillic. I guess I better change the map to allow any strings


Vertical scrollbar not visible in Dark Theme

Using DBeaver 5.0.4 CE connected to PostgreSQL DB.
I chose the Dark Theme (Windows > Preferences > General > Appearance). However, this makes the vertical scroll bar invisible. And I don't know which setting controls it.
The horizontal scrollbar is fine.
Also, in the Execution Log tab, successfully executed lines are unreadable, unless hoovered over. The background color's too light.

Vertical and horizontal bars hard to distinguish in dark theme. How to change?

Also lost visibility of vertical scroll bar in Dark theme (after update to 6.2.4, 6.2.5 did not fix either). Horizontal scrolling is visible, but only after hovering over the bottom of the pane (actually it is super thin, but it expands on hover).
Only affects SQL editor. All other panes, visibility is fine for both vertical and horizontal.
Using Windows 10.

Affects 6.3.5. Scrollbars are shown only on hover. In classic theme scrollbars are always shown

I was able to solve the problem of the nearly-invisible SQL editor scroll bars by selecting theme "Dark (Linux)" in properties (vs. "Dark").

not actual against 21.0.3


Remove all uses of report.ownerEmail and replace with ownerAccountID where appropriate

Details

Fixed Issues
$ Related to https://github.com/Expensify/Expensify/issues/294647
Tests
To cover our bases, let's create new accounts while performing these tasks:

New task assignee
Invite users to workspaces
New 1:1 & group chats
Send money, request money, split bill

For each of ^ tests, verify:

Avatars & tooltips appear correctly (these accounts should all show defaults)
Display names / logins show where they should (not showing as blank anywhere)

Finally, these two tests:

Log in to a brand new account, make sure everything works well
Also make sure archived report footer name looks fine (archived workspace reports)

[ ] Verify that no errors appear in the JS console

Offline tests
All of the above should be able to be done offline too, except logging in to a brand new account
QA Steps
Same as above

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Thanks for volunteering to review & test @rushatgabhane !

All you @chiragsalian (removing you @PauloGasparSv since chirag was already assigned - but feel free to review if you want!)

Looks like you've got a merge conflict to address.

@chiragsalian conflicts fixed!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.3.39-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@anmurali FYI we need to pay @rushatgabhane out $1k for internal PR review for this PR.

🚀 Deployed to production by https://github.com/francoisl in version: 1.3.39-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Installation issue on mac

I installed histomicstk using pip install histomicstk then get the following error message when I try to import the package
from histomicstk.features import compute_morphometry_features

~/anaconda3/envs/comp_onc/lib/python3.8/site-packages/histomicstk/__init__.py in <module>
      1 # import sub-packages to support nested calls
----> 2 from . import segmentation  # must be imported before features
      3 from . import utils  # must be imported before other packages
      4 from . import (annotations_and_masks, features, filters, preprocessing,
      5                saliency, workflows)

~/anaconda3/envs/comp_onc/lib/python3.8/site-packages/histomicstk/segmentation/__init__.py in <module>
      9
     10 # import sub-packages to support nested calls
---> 11 from . import label, level_set, nuclear, positive_pixel_count
     12 from .embed_boundaries import embed_boundaries
     13 from .rag import rag

~/anaconda3/envs/comp_onc/lib/python3.8/site-packages/histomicstk/segmentation/label/__init__.py in <module>
     16 from .shuffle import shuffle
     17 from .split import split
---> 18 from .trace_object_boundaries import trace_object_boundaries
     19 from .width_open import width_open
     20

~/anaconda3/envs/comp_onc/lib/python3.8/site-packages/histomicstk/segmentation/label/trace_object_boundaries.py in <module>
      1 import numpy as np
      2
----> 3 from ._trace_object_boundaries_cython import _trace_object_boundaries_cython
      4
      5

_trace_object_boundaries_cython.pyx in init histomicstk.segmentation.label._trace_object_boundaries_cython()

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

I'm using python version 3.8.12, numpy version 1.20.3, macOS Big Sur Version 11.1.

Thanks.  I'll see if I can narrow down the exact necessary version of numpy and just require that when on OSX.

@manthey I had the same issue when I installed histomicstk in a Singularity container built on debian, so I don't think it is OS-specific. I found this stack overflow thread which claims an update to the C API can cause problems when the build version of numpy is <1.20 and the installed version is >=1.20, but I'm not sure this is the same problem since I would expect upgrading to numpy 1.22.3 would not work if that were the case. I got the same ValueError trace using python 3.9.10 and numpy 1.21.2 but was also able to fix by upgrading to numpy 1.22.3. It looks like some other packages have had issues with the C binary change and numpy compatibility, there is additional info in this numpy issue thread that may be useful.


RE April 15 changes .. not clear if old dataset remains in current Github repo and will no longer be updated? Or will it be deleted entirely?

Curious to know if I can keep pointing to the old dataset Github repo even if it will no longer be updated? Or will it be deleted entirely and any references no longer valid? Thanks!

Postponed to April 30 now but yes, the old data will continue to be available at the same URLs.


Append to a section

How hard would it be to add the ability to append to a section, noted by a header reference like ###Section?

Available in new release!

Wow! Thanks for the great work you are doing.


Latex taylor

Re-wrote the introduction and parts of the previous work.

@jasonw247 make sure you merge the latest version of the latex branch into yours...


Failed to save account

Successfully authorized onedrived.
Failed to save account: No recommended backend was available. Install the keyrings.alt package if you want to use the non-recommended backends. See README.rst for details..
I don't know what to do. Help me please

for me it helps to authorize while im root
try this

@bwkiller getting the same error still :/

It's easy, just run this command:
$ sudo pip3 install -U keyrings.alt


IS this project avandobated?

It's starting to look like it.  See also: #401 and #391

It's starting to look like it.  See also: #401 and #391

Actually, it seems like there has been some infrequent commit activity.

Actually, it seems like there has been some infrequent commit activity.

Thanks

Thanks


Show/hide metadata information columns not showing

Describe the bug
The 'show/hide metadata information columns' button doesn't show metadata properties (besides 'name').
To Reproduce
Steps to reproduce the behavior:

Click on the button as mentioned above.
Just the 'name' shows. No other properties show.

Expected behavior
This used to show import/dq mode and other relevant metadata
Application specifics
TE 2.18.2

Ah it's due to the length of some columns/measures. There are measures which have a length of 65 characters. If I expand the pane then it shows fine. If not, it looks like this.

You should also see a scrollbar at the bottom, in this case:

Yes, I see the scrollbar. Thanks!


add manpage for dnstap(1)

This task is to write a manual for the dnstap executable.

Added a dnstap utility manual page in commit e0af500fd


If a "var" is set as password it should be masked on outputs and logs

vars:

name: DB_PASSWORD
password: true
name: DB_ROOT_PASSWORD
password: true

LOGS>>
info]   Execute hook 'sh -c while ! mysql -u root -p"db.root.password/" -e ";" >/dev/null 2>&1 ; do
echo "Waiting for database to be ready...";
sleep 3;
done
echo "CREATE USER IF NOT EXISTS 'laravel'@'%' IDENTIFIED BY 'db.password'; ALTER USER 'laravel' IDENTIFIED BY 'db.password';" | mysql -u root -p'db.root.password/'
'
[info]   Waiting for running containers for hook 'sh -c while ! mysql -u root -p"db.root.password/" -e ";" >/dev/null 2>&1 ; do
echo "Waiting for database to be ready...";
sleep 3;
done
echo "CREATE USER IF NOT EXISTS 'laravel'@'%' IDENTIFIED BY 'db.password'; ALTER USER 'laravel' IDENTIFIED BY 'db.password';" | mysql -u root -p'db.root.password/'
'
[info]   Execute hook 'sh -c while ! mysql -u root -p"db.root.password/" -e ";" >/dev/null 2>&1 ; do
echo "Waiting for database to be ready...";
sleep 3;
done
echo "CREATE USER IF NOT EXISTS 'laravel'@'%' IDENTIFIED BY 'db.password'; ALTER USER 'laravel' IDENTIFIED BY 'db.password';" | mysql -u root -p'db.root.password/'

@leventogut thanks for creating this issue! Yes makes sense, I think we can add this

The Devspace project currently lacks enough contributors to adequately respond to all issues. After 90d of inactivity,  the issue is closed. You can re-open this issue if you still want help.


Update Composer dependencies (2021-06-20-00-11)

Visual regression test passed!
View the visual regression test report


Add release history per release process

https://nsls-ii.github.io/scientific-python-cookiecutter/publishing-releases.html

Start a wiki page sequence for my automated release notes generated by create_release_notes.py.
Example, the notes for this milestone are created with this command:
create_release_notes.py --head=main v0.3.14 0.3.15 YOUR_PERSONAL_GITHUB_TOKEN

See: https://github.com/bluesky/hklpy/wiki/release-notes-0.3.15

Compare with similar pages for apstools: https://github.com/BCDA-APS/apstools/wiki/Release-Notes


Allow sending binary data without ArrayBuffer (e. g. IE8)

See https://github.com/Automattic/engine.io-parser/issues/35

This is waiting on a release of engine.io-parser module and an update of this module to that new version.

This should have already been fixed.


List - Multiple Drag and Drop card in Board View is not working

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
SPFx version
Node.js version
etc

Describe the bug / error
Microsoft List is releasing the capability to make drag and drop and multiple drag and drop in List View, but multiple drag and drop in List Board is not available.  Since List View has the feature I assume this option should be available in Board View.  Don't know if this is a bug or expected behavior?!

Steps to reproduce

Create List
Add Fields
Create multiple items
Add Board View with bucked field
Check 2 cards and try to drag and drop on other bucket, only one moves.

Expected behavior
Since List View has the feature of multiple item drag and drop,  I assume this option should be available in Board View.  Don't know if this is a bug or expected behavior?!

@tpodugu-ms, @arkogupta, @jgupta-msft for your consideration. I don't know if this expected behavior and if is under your umbrella of support tasks.
Thank you for your support.

@aaclage Thanks for pointing this out. This is not supported in board view yet and we do have this in our backlog.

@arkogupta Thank you for your input. I will close the ticket since is not on scope of current deliver features.


Completely ignore the gatherling-provided archetypes

The Gatherling scraper uses the similar_decks logic to make a best-guess at what the pre-review archetype should be.

Travis tests have failed
Hey @silasary,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.


feat(request):set body xml

Resolve #3

Thank you @bariscanyilmaz for PR. I will merge it. However I think I should reconsider about json and xml support. Maybe there should be more helper to convert structs to json and xml with methods like xml.Marshal etc. Also we should have som methods for response like resp.ToJSON and resp.ToXML.Thank you anyway.


merge package template from Kronos-Tools/npm-package-template-minimal

package.json

chore(package): correct github url
chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(engines): update<EMAIL_ADDRESS>from template
chore(package): set template repo
chore(npm): delete config

.gitignore

chore(git): updated from template

.npmignore

chore(npm): updated from template

Codecov Report

Merging #119 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   83.16%   83.16%
=======================================
  Files          11       11
  Lines         594      594
  Branches      181      181
=======================================
  Hits          494      494
  Misses        100      100

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 807c280...9d1097b. Read the comment docs.


Configuring Yazi through Home Manager

Describe the bug
I'm having trouble configuring the yazi file manager through Home Manager. Specifically, I can't enable Nushell integration despite following the instructions. If I add enableNushellIntegration = true;, I get:
Error:   × Deprecated command
    ╭─[/home/clover/.config/nushell/config.nu:26:1]
 26 │
 27 │ def-env ya [] {
    · ───┬───
    ·    ╰── `def-env` is deprecated and will be removed in 0.88.
 28 │   let tmp = (mktemp -t "yazi-cwd.XXXXX")
    ╰────
  help: Use `def --env` instead

If I do not add that line, I get:
× External command failed
   ╭─[entry #3:1:1]
 1 │ yazi
   · ──┬─
   ·   ╰── core dumped
   ╰────
  help: Aborted: child process 'yazi' core dumped

Steps To Reproduce

Enable yazi through home manager;
Run nixos rebuild switch;
Try to open yazi.

Expected behavior
It should open without any errors.
Additional context
In addition to resolving the current issue with Yazi and Nushell, it would be awesome to have the "extraConfig" option added for this package. This would allow for more customization and usability with its configuration.
Notify maintainers
@XYenon
@matthiasbeyer
Metadata
➜ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.1-zen1, NixOS, 23.11 (Tapir), 23.11.20231119.e4ad989`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This is a home-manager issue, not a nixpkgs issue, there is nothing that can be changed in this repo to resolve your issue. Please submit an issue to https://github.com/nix-community/home-manager/issues.
To add to the issue at hand, this is because home-manager's yazi module is using old nushell bindings (as stated by the error message).

As @kraftnix said, not our issue. Closing this therefore.


Missing [0] in SaveOutputEveryIteration

In Directives.py, line 581 missing + operator:

Line 586:
self.phi_m[self.opt.iter - 1][0],


Enhancement drop multi tables in one drop stmt

Proposed changes
Issue Number: https://github.com/apache/doris/issues/19418
Problem summary
Support drop multi tables in one drop stmt:
drop table t1, t2;

Checklist(Required)

[x] Does it affect the original behavior
[x] Has unit tests been added
[x] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.26 seconds
stream load tsv:          430 seconds loaded<PHONE_NUMBER>9 Bytes, about 165 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          61 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230514115338_clickbench_pr_143392.html

please add a regression case under regression-test.

please add a regression case under regression-test.

added regression-test

I have a question, what happens if a table fails while deleting multiple tables?

I have a question, what happens if some table fails while deleting multiple tables?

Currently, if dropping a table fails, the program will terminate the drop operation. For example, if you run drop table t1,t2,t3; and an error occurs while dropping table t2, both t2 and t3 tables will stop the drop operation.


Line is diagonal if yAxis options set

If no title is set for yAxis, it behaves correctly, there is an horizontal line

But if we set a title, the line becomes diagonal:

To reproduce,
Go on https://www.chartjs.org/chartjs-plugin-annotation/master/guide/types/line.html#configuration and add in the options:
scales: {
    yAxis: {
        title: {
            display: true,
            text: "My First Dataset"
        }
    }
},

Update: it's not only with a title, it's for everything that uses yAxis; it even works with
scales: {
    yAxis: {}
},

Update 2: it's because these options makes the Y axis ID become yAxis while chartjs-plugin-annotation expects it to be y.
Two solutions:

Use y as the ID:
scales: {
    y: {
        // ...
    }
},

Specify the name of your axis in chartjs-plugin-annotation's options:
plugins: {
    annotation: {
        annotations: {
            _: {
                yScaleID: 'yAxis'
            }
        }
    }
}

@victorbnl thank you very much for feedback.
As of Chart.js version 3, the default axes ids are x and y and this is the reason why the plugin is using x and y as default for x/yScaleID options.
I think x/yAxis is coming from Chart.js version 2 where the axes were defined in x/yAxes options as an array of axes.
As you can see from plugin documentation, https://www.chartjs.org/chartjs-plugin-annotation/master/guide/types/line.html#configuration, x/yScaleID have got a default and is reported in the documentation (see last column of the options table).

How do you think we can improve it that documentation?

I think we could improve the defaults to be the first axes in the chart, which would mean you only need to specify when more than two scales  are involved. That would be a breaking change, so something to consider for v2.

Maybe there is not a breaking change because if you are using it, you are already defining which axis you want, if not it will use the what it's defined in the chart and therefore it will be x/y and nothing should change.

I totally agree! And maybe chartjs' documentation should use x and y for the samples, maybe I could make them a pull request


Do not smoke test AspectJ plugin against JDK14 due to incompatible dependency

https://github.com/gradle/gradle/issues/10248
Latest AspectJ 1.9.5 is not compatible with JDK14.

Based on wrong branch. Will recreate from release.


Investigate how to prevent PlantUML from building too width diagrams

By setting left to right direction  the default orientation is changed: The diagrams are less wide but higher.
@startuml
left to right direction

...all the classes...

@enduml

Thank you for the idea, I will try to add this and check if it help for our cases


timeit loop?

I've recently created a short macro for profiling various changes, and thought it might be a good addition to spork. While poking around looking for an appropriate place to add it, I found that it already exists: test/timeit
Which is shockingly similar to what I wrote independently:
(defmacro timeit
  ``Similar to `loop`, but outputs performance statistics after completion.``
  [head & body]
  (with-syms [clk cnt elp run]
    ~(do
       (var ,cnt 0)
       (def ,clk (os/clock))
       (loop ,head (++ ,cnt) ,;body)
       (def ,elp (- (os/clock) ,clk))
       (def ,run (/ ,elp ,cnt))
       (cond
         (< ,run 1e-3) (printf "elapsed %fs, %.4gµs/body" ,elp (* ,run 1_000_000))
         (< ,run 1) (printf "elapsed %fs, %.4gms/body" ,elp (* ,run 1_000))
         (printf "elapsed %fs, %.4gs/body" ,elp ,run)))))

The primary difference is that this implementation piggy-backs off of the loop macro, and can give per body averages, where the current implementation executes a single form.
Current implementation:
(def ind (range 2000))
(timeit
  (repeat 5_000_000
    (take -1000 ind)))
# ->
Elapsed time: 2.03609 seconds

Above implementation:
(def ind (range 2000))
(timeit [:repeat 5_000_000]
  (take -1000 ind))
# ->
elapsed 2.025604s, 0.4051µs/body

which I find to be more useful, and could possibly make a good replacement / update / parallel function.

We can have both implementations in the spork, as someone can use the current version.

Cleaned up slightly:
(defmacro timeit-loop
  ``Similar to `loop`, but outputs performance statistics after completion.``
  [head & body]
  (def tag "Elapsed time:")
  (with-syms [start c elapsed per-body]
    ~(do
       (var ,c 0)
       (def ,start (os/clock))
       (loop ,head (++ ,c) ,;body)
       (def ,elapsed (- (os/clock) ,start))
       (def ,per-body (/ ,elapsed ,c))
       (cond
         (< ,per-body 1e-3) (printf "%s %fs, %.4gµs/body" ,tag ,elapsed (* ,per-body 1_000_000))
         (< ,per-body 1) (printf "%s %fs, %.4gms/body" ,tag ,elapsed (* ,per-body 1_000))
         (printf "%s %fs, %.4gs/body" ,tag ,elapsed ,per-body)))))

Two things I'd like to modify:

add a :timeout verb to prematurely break after a given number of seconds has elapsed
make tag somehow configurable, as it is with timeit
I'm not quite sure what the best approach is to achieve either of these. Suggestions welcome.

No good ideas about :timeout.
Couple of hacky ideas for tag:

Dynamic variable
Scan first part of body for a keyword to use as a tag

No good ideas about :timeout.

Patching it for an :iterate verb seems to work.
I suppose if the first form of the body is a bytes?, it could be assumed to be the tag?

Patching it for an :iterate verb seems to work.

Nice.

I suppose if the first form of the body is a bytes?, it could be assumed to be the tag?

That sounds like it might work [1].
If you ever wanted to support more / other things, a struct (no point in it being a table I guess) could be checked for perhaps.

[1] This kind of approach has been working for me in other places.  One example is for "tagging" jpm tasks.  There I look for a keyword followed by a tuple -- after (task "name" [...].  timeit-loop's case is safer because you control it :)

Patching it for an :iterate verb seems to work.

This is actually a really bad idea. From the performance stats, this is primarily timing the os/clock function. Seems like a os/sleep would need to be run in a separate thread.

That sounds like it might work [1].

I think it works great.
(defmacro timeit-loop
  ``Similar to `loop`, but outputs performance statistics after completion.
  Additionally defines a `:timeout` verb to iterate continuously for a given
  number of seconds. If the first form of `body` is a bytes, it will be taken
  as a custom tag.``
  [head & body]
  (var tag "Elapsed time:")
  (def head2 @[;head])
  (def body2 @[;body])
  (with-syms [c start elapsed per-body]
    (when (def i (index-of :timeout head2))
      (array/insert head2 i [])
      (set (head2 (+ i 1)) :iterate)
      (set (head2 (+ i 2)) ~(< (- (os/clock) ,start) ,(in head2 (+ i 2)))))
    (when (bytes? (get body2 0))
      (set tag (in body2 0))
      (array/remove body2 0))
    ~(do
       (var ,c 0)
       (def ,start (os/clock))
       (loop ,head2 (++ ,c) ,;body2)
       (def ,elapsed (- (os/clock) ,start))
       (def ,per-body (/ ,elapsed ,c))
       (cond
         (< ,per-body 1e-3) (printf "%s %.3fs, %.4gµs/body" ,tag ,elapsed (* ,per-body 1_000_000))
         (< ,per-body 1) (printf "%s %.3fs, %.4gms/body" ,tag ,elapsed (* ,per-body 1_000))
         (printf "%s %.3fs, %.4gs/body" ,tag ,elapsed ,per-body)))))

(timeit-loop [:repeat 200_000_000] ":repeat ")
(timeit-loop [:timeout 1] ":timeout")
# ->
:repeat  1.043s, 0.005214µs/body
:timeout 1.000s, 0.03572µs/body

About the :timeout, the os/clock adds about 0.03µs of overhead, which probably isn't a big deal for the purpose of comparison, but also seems like it could be avoided using an os/sleep in a separate thread?

Tried it out a bit:
  (do
    (def ds @{})
    (timeit-loop [:repeat 100_000] :label
      (put ds :a 1))
    ds)
  # printed: label 0.008s, 0.08157µs/body
  # =>
  @{:a 1}

  (do
    (def ds @{})
    (timeit-loop [:repeat 100_000] :label
      (set (ds :a) 1))
    ds)
  # printed: label 0.007s, 0.07186µs/body
  # =>
  @{:a 1}

  (timeit-loop [:timeout 1] :label
    (get {:a 1} :a))
  # printed: label 1.000s, 0.06712µs/body
  # =>
  nil

Looks like it's working :)

seems like it could be avoided using an os/sleep in a separate thread?

I'm not sure, but may be at 0.03µs, it's better to keep the implementation simple at least initially?

I'm not sure, but may be at 0.03µs, it's better to keep the implementation simple at least initially?

Agreed.

I'm not sure, but may be at 0.03µs, it's better to keep the implementation simple at least initially?

Actually ev/deadline or ev/with-deadline seem like they were intended for precisely this sort of thing. I can't figure out the proper usage, though.
(ev/with-deadline 1 (forever))

This never terminates.

Similar situation here.
Replacing (forever nil) with (os/sleep 3) seems to work though.
Admittedly, not so helpful for the intended use-case.

Janet has a way to interrupt the interpreter, but it's not accessible from Janet, only from C with janet_interrupt. You could insert (ev/sleep 0) every turn of the loop but that would have unacceptable perf cost for timing.
Ideal we could spawn a new thread, sleep for some time, and then set the interrupt flag in the original interpreter.

The task doesn't seem so complicated, though.

Start a thread.
Terminate it after seconds.

Everything I tried either fails to halt the thread, or terminates with a seemingly unrecoverable error.

True, there is some room for some more functionality in the ev library here - both the ability to   Send interrupts to other threads as well as just call pthread_cancel on them. Unfortunately this has some issues with memory management so we may not support pthread_cancel directly


linkify URLs in stream descriptions

If a stream description includes a URL, let's make sure it displays as a hyperlink to the user.

We quite possibly want to do this by just reusing our markdown processor code (which would also support emoji and stuff for free).

@timabbott can you please elaborate on what needs to be done ! I am interested in solving this ! Are we still having this trouble ?

Hi, @Diptanshu8! Yes, the feature I requested still does not exist in Zulip, so you could build it and submit a pull request. In https://zulip.tabbott.net/#subscriptions perhaps you can see that there are descriptions associated with most of the streams. In a few of those descriptions, there are URLs, but those URLs are not hyperlinks. I'd like for them to be clickable hyperlinks.

@Diptanshu8 Since you haven't updated this issue with any progress since your comment in October, I'm going to assume that you are not working on this, and that others should work on it instead. If you change your mind and start working on it, please speak up here and link a work-in-progress pull request. Thanks!

@brainwane I will work on this feature.

@chamathabeysinghe Are you still working on this or can i claim it?

@jajodiaraghav Hi I am still working. Trying to figure out things.

@brainwane I have prepared a patch for this issue but am having a hard time finding the method that's giving the info of the channels. I thought "json_response" in zerver/lib is feeding the data but actually it isn't.   Am I looking at it the wrong way or is there any other function which is explicitly used for this purpose ?

I guess there's a question about what the right design is.  There's 2 ways to do it:

Handle these with the backend markdown processor when saving a new description, which would mean all sorts of syntax becomes available (and all sorts of weirdness like how to handle a mention in there, etc.).
Just want handle this at the display layer (i.e. leave the descriptions on the network as plan text containing a link).  To do that, we'd just need to use a simple linkification library (possibly a piece of marked.js could do the trick) when rendering stream descriptions to the DOM.

I guess those both end up basically being "use a markdown processor"; in which case, probably we want to use the backend implementation and start sending description_raw and html_description for security reasons.  http://zulip.readthedocs.io/en/latest/markdown.html is useful reading for this...

@zulipbot claim


Steam fails to start, wrong permissions on bootstrap.tar.xz

Describe the bug
Steam fails to start with the following message
cp: cannot create regular file '/home/dag/.local/Steam/bootstrap.tar.xz': Permission denied

Steps To Reproduce
Steps to reproduce the behavior:

Run steam

Expected behavior
Steam starts properly.
Additional context
Removing the file allows Steam to start once, then fails with the same error on next startup.
Notify maintainers
@jagajaga @jonringer
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.4.11, NixOS, 23.11 (Tapir), 23.11.20230819.d680ded`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - nixpkgs: `/nix/store/s4jqyj35hii03rs7j5n6vn7gpgp6ja81-source`

This should be fixed by running steam again
https://github.com/NixOS/nixpkgs/blob/9e7b9ff8b5c00f4d9667d00dec7d9e1e836b6a79/pkgs/games/steam/fhsenv.nix#L51-L57

For context, steam will download that file, and either they or our sandboxing makes it read-only. So when it goes to delete the file, it's unable to and hard fails.

/home/dag/.local/Steam/bootstrap.tar.xz interesting that this doesn't use $HOME/.local/share/Steam though.... Do you have any $XDG_... variables set to non-standard paths?

Oh that’s totally my bad, I had my XDG_DATA_HOME set to $HOME/.local instead of $HOME/.local/share.

Re-opening this because the hardcoded ~/.local/share/Steam appears to be specific to certain environments - even if XDG_DATA_HOME is not changed.

I think, based on https://www.reddit.com/r/linux_gaming/comments/ar6llf/comment/egm8ec1/?utm_source=share&utm_medium=web2x&context=3 , that ~/.steam is a legacy location. Which makes sense given the non-XDG location.
Not sure how to move steam, but probably safe to extend the paths checked for bootstrap.tar.xz. Will try that.

something like:
https://github.com/coreyoconnor/nixpkgs/commit/5ef6b1647d01ba40d02dc495f9dee4c9bfb6a4e1

I'm struggling to find why my steam install insists to use ~/.steam. Everything that would determine this is at the defaults. shrug I'm guessing that fix is needed. I'll post a PR with the change proposed above.

Steam doesn't allow changing that directory, so there is nothing we can do.


Could not set / display time with HW_MODEL_D

Temperature and ligth measurement are working. Display is OK. Button 1 and 2 are working.
Time setting and display is not working. There is a 1F 7F constant display instead of time.

Is it working with the changes you made?

Everything is fine, except the clock.

I’m wondering if the data and clock lines of ds1302 have external pull-up resistors on them?   I recall some issue where we had to play with the pin mode registers to get pull-up (if so might check data sheet on this. )

RTC data IO has 7k6 pull-up.

Changed DS1302's CE to open-drain output
    //M1 M0
    // 0 0 Bidirectional
    // 0 1 Push-Pull
    // 1 0 Input
    // 1 1 Open-drain
    //          IO CE CK
    P1M1 = 0b00000010;
    P1M0 = 0b00000010;

Constant 1F 7F has been changed to constant 00 00, but still could not set time.

Did the clock work with the stock firmware before flashing to this custom one?
if there are no pullups on CE, CLK, and RST, you may want to try setting pinmode to push-pull, and on IO since it has pullup, open-drain.
Do you have access to a scope or logic analyzer to see what is happening on the ds1302 signal lines?

Yes, the original firmware worked.
Changed pin mode and everything is the same.
I will check it with logic analyzer.

I checked. CE and CLK is always low. Only IO is changing.

OK, I fixed.

All DS1302 pins set to bidirectional.
#if defined HW_MODEL_D does not work at the DS section of hwconfig, so the wrong pins have been used. Just commented out to test. I will clean that part.

Curious if you had to explicitly set P1M0 and P1M1 registers to 0. I understand from datasheet that this should be the default, and I don't recall where we were setting these otherwise.

I also get this error 1F 7F.  Please help me by sending Hex file because I dont know how to compile.  I have YD-020 model kit as per attached file

Here is a link to the STC15F204EA new firmware for you to try on your new model. the only difference is the your light sensor is on P1.3 but my ZM-907AA is on P1.5.  If your test is ok, I can recompiled the firmware for P1.3
https://github.com/pctong/STC15F204EA-clock


Debug rpc error handling

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


change componentWillUpdate() to componentDidUpdate()

...in accordance with yellow box deprecation warning.

+1 encountered this too


Added an introduction to the reshaping documentation

Closes #7091

@headtr1ck @TomNicholas
Please do review the pr!
Thanks!

I've made a final edit to remove the mention of a specific method in the intro, and remove some blanks lines. This looks good to me now so I'll merge it! Thanks @nishtha981 !

Hey @TomNicholas
I've found that the issue https://github.com/executablebooks/sphinx-book-theme/issues/711 is causing an issue with the test cases of my pr.
It has been merged now so I'll be making an empty push so that the test cases can run again.

Hi @nishtha981 - that's great that you identified what was causing the docs ci builds to fail! I was wondering why that was!
Fixing this for xarray may require more than just re-running the ci. For example it might require us to pin a particular version of a library (here sphinx_book_theme) in order to guarantee the CI works again. If it doesn't work immediately now, what we normally do is to open a new github issue on xarray's issue tracker to track the problem. That way if the problem comes up in multiple PRs we can just refer all of them back to the one issue, until it gets resolved completely.

I've also just told the readthedocs to rebuild just now

@TomNicholas
Do I pin the sphinx-book-theme version 0.3.0

I am not sure if pinning works as pydata-sphinx-theme  had some private function which sphinx-book-theme was using but now it cannot.
Will probably have to wait for a new release of sphinx-book-theme.

I am not sure if pinning works as pydata-sphinx-theme  had some private function which sphinx-book-theme was using but now it cannot.
Will probably have to wait for a new release of sphinx-book-theme.

See #7703

Hey! @TomNicholas
All the checks have passed.
Can you please merge the pr?

Thanks @nishtha981 !
I just realised after merging that this PR should in theory have had a corresponding entry in the what's new page, as all PRs are supposed to have.
We won't worry about that this time, but try and remember to add it next time! That way you will also be listed as a contributor on the what's new page.

Sure!
I'll keep that in mind next time!
Thank you


GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @robertwb

Python PreCommit failure is flake BEAM-12515

R: @udim

It'll be good to figure out more native support for datetimes eventually, but this is definitely a good step forward from rejecting them for now.

Agreed, we should sort this out as part of BEAM-12131, I'll add a note there.

Run Python PreCommit


MudTextField with Mask enabled has unexpected behavior on mobile browsers

Bug type
Component
Component name
MudMask MudTextField
What happened?
When we set up a MudTextField with a Mask, everything works fine on desktop browsers. If we go to a real mobile browser, it will not get the updated value as we fill. An example is this simple code :
<MudTextField T="string" Label="CEP" Variant="Variant.Outlined" HelperTextOnFocus="true" HelperText="Rua do titular da conta"
                                  InputType="InputType.Text" Mask="@(new PatternMask("00.000-000"))"
                                  Required="true" RequiredError="CEP é obrigatório">
 </MudTextField>

This makes the Required property not work correctly. This also impacts Validator behaviour. This is probably connected to events being handled.
Expected behavior
Expected behaviour is when using mask, even on mobile browsers at least the correct value is passed ahead for validators and MudBlazor actions. Ideal behaviour is Mask being applied at least when focus is out or value is detected as changed, since using ValueChanged works pretty OK.
Reproduction link
https://try.mudblazor.com/snippet/QuQmOymJeZQhVpOu
Reproduction steps

Create a MudTextField
Add PatternMask
Enable any validation, like Required or Validation func.
Open on real mobile browser
Fill the MudTextField

Relevant log output
No response
Version (bug)
6.0.10
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Android
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I have just given a try at the documentation on https://mudblazor.com/features/masking#multimask. The same behaviour applies when making usage of a mobile browser.

Any thoughts/progress/workarounds?

I have same problem or similar issue trying to use a mask on a MudTextField. Works perfectly fine when using Chrome on the PC, but when testing on Chrome or Safari on the iPhone the cursor jumps to the first position after every entry of text or number in my case, Example of the mask I'm using:
private PatternMask mobileMask = new PatternMask("#?0 000 00 00")
{
MaskChars = new [] { new MaskChar ('#', @"[0]"), new MaskChar ('?', @"[7]"), new MaskChar ('0', @"[0-9]")},
Placeholder = '_',
CleanDelimiters = true
};

From what I can see, there is something going wrong after setting the value, because when you debug it seems to come back empty in the credit card CVC example when filling in a letter. But the letter persists on mobile and not desktop. It does seem to go correctly through the key interceptor and the mask.

I also found this problem while playing with the demo on mobile (Chrome on Android). After some debugging on my mobile browser I found that the event provided to this method differs from what I see when debugging on Chrome desktop . For example, on this demo, if I press the letter A on mobile the args.key property value is Unidentified, whereas on desktop its value is A. The keyCode is also off...

The logic in the KeyInterceptor depends on the value provided by the key property of the event for it to work properly.
Additionally, on Chrome mobile the pressed key goes straight into the input before the keydown event gets fire.

I found this and this, which makes me think that the current approach taken by the key interceptor in MudBlazor is not suitable for mobile.
I'm going to dig more into this to confirm my findings. If I got something of the above wrong please let me know.
If I can find a solution I'll submit a PR with it.
CC @Mr-Technician @mckaragoz

Any update on this?

I'll see if I can grab an Android device to test this on. I am unable to reproduce this in Chrome on iOS so it does seem to be an Android issue as suggested by the linked issues.

I was able to reproduce this issue on a Samsung tablet before finding this: https://stackoverflow.com/a/41517115/14024210
It suggests that the issue is caused by the default Samsung keyboard, which seems odd but makes me wonder what devices were used to reproduce this.
@HGCollier @danielbichuetti @yv989c

I have same problem or similar issue trying to use a mask on a MudTextField. Works perfectly fine when using Chrome on the PC, but when testing on Chrome or Safari on the iPhone the cursor jumps to the previous position after every entry of text or number in my case, Example of the mask I'm using: private PatternMask mobileMask = new PatternMask("#?0 000 00 00") { MaskChars = new [] { new MaskChar ('#', @"[0]"), new MaskChar ('?', @"[7]"), new MaskChar ('0', @"[0-9]")}, Placeholder = '_', CleanDelimiters = true };

I have been unable to reproduce this on my iPhone in Chrome, could you send a try.mudblazor with the problematic code? Also, what version of iOS are you running?

@Mr-Technician for me, there isn't any problematic code. The input works fine on the docs but when I copy the exact code over to my project, I have an issue. So it seems there must be something that MudBlazor has on their website that I don't. Sorry I can't give any more insight, I wish I had more information myself

@Mr-Technician I am using an Honor 10 Lite. The input works fine on Chrome but not on the Firefox app.

@HGCollier Interesting, I can reproduce the issue from the Mudblazor docs on the Android tablet I'm using (Chrome). I'll test Firefox later and see if it's any different.

I've ended up just using IMaskJS with a little bit of custom configuration. Seems to work across all the browsers that I've tested: Firefox, Chrome, Safari.

I would be curious to know how IMaskJS is implemented to not have this underlying issue.

I wouldn't have a clue on how they've done it, feel free to take a look over the source code: https://github.com/uNmAnNeR/imaskjs/tree/master/packages/imask
For me, I implemented it by just looping over every input with [data-mask]:
var elementsWithMask = document.querySelectorAll('[data-mask]');
for (var i = 0; i < elementsWithMask.length; i++) {
    var element = elementsWithMask[i];
    IMask(element, {
        mask: element.dataset.mask,
        definitions: {
            '*': /[a-zA-Z0-9]/
        }
    });
}

The following link may be useful to help resolve the issue with MudTextField  mask functionality.
https://www.outsystems.com/blog/posts/create-input-mask-for-mobile/
https://codepen.io/glaubercorreaarticles/pen/JyPPor
I used Android emulator (Android Studio) to test the functionality of the MudTextField in Android Chrome.

Por favor, alguém sabe dizer se chegou a alguma solução definitiva para isto?

Looking at this issue: https://bugs.chromium.org/p/chromium/issues/detail?id=118639,
the GBoard don't send the keycode in the keydown event (except for special ones like "Delete","Backspace"). As can be seen in the above link, the GBoard Team consider it as a choice, not a bug. So the current Mud implementation should not rely on the keypress event to work properly in Android.
I think most js libs that works everywhere, like IMaskJS, ng-mask and v-mask, uses the input event. In this event, they sychronously check the new input value, compute the masked text, set it in the input value and adjust the cursor position.
It is important to be synchonous, otherwise will occur some underised flickering effects. Also, in my experiments, after an asynchonous call inside the input event handler the input.setSelectionRange calls won't work. This means that the implementation will have to use dotnetRef.invokeMethod instead of dotnetRef.invokeMethodAsync when computing the mask.
I'm currently using a workaround for this problem, with some custom script and Reflection.
Add the following script in the index.html:
<script>
        class MudMaskWorkaround {
            static applyFix(appTextFieldRef, maskId) {
                const maskElement = document.getElementById(maskId);
                const input = maskElement.querySelector('input');
                let justFoundUnidentifiedKey = false;
                input.addEventListener('keydown', (args) => {
                    if (args.key == 'Unidentified') {
                        justFoundUnidentifiedKey = true;
                    }
                });
                input.addEventListener('input', async (args) => {
                    if (justFoundUnidentifiedKey) {
                        justFoundUnidentifiedKey = false;
                        const mask = appTextFieldRef.invokeMethod('ApplyMask', input.value);
                        input.value = mask.text;
                        input.setSelectionRange(mask.caretPos, mask.caretPos);
                        await appTextFieldRef.invokeMethodAsync('SetTextFromJSAsync', input.value);
                    }
                });
            }
        }
        window.MudMaskWorkaround = MudMaskWorkaround;
</script>

Create a component that inhertir from MudTextField, ex: AppTextField.razor:
@using System.Reflection
@typeparam T
@inherits MudTextField<T>
@inject IJSRuntime JS
@{
    base.BuildRenderTree(__builder);
}
@code{
    private DotNetObjectReference<AppTextField<T>>? _ref;
    private MudMask? _maskReference;

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        await base.OnAfterRenderAsync(firstRender);
        if(firstRender){
            _ref = DotNetObjectReference.Create(this);
            _maskReference = (MudMask)GetType().BaseType!.GetField("_maskReference", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(this)!;
            var maskId = (string)_maskReference.GetType().GetField("_elementId", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(_maskReference)!;
            await JS.InvokeVoidAsync("MudMaskWorkaround.applyFix", _ref, maskId);
        }
    }

    [JSInvokable]
    public IMask ApplyMask(string text){
        Mask.SetText(text);
        return Mask;
    }

    [JSInvokable]
    public Task SetTextFromJSAsync(string text) => SetTextAsync(text, true);
}

Then use your custom inherited component instead of MudTextField:
<AppTextField Mask="..." etc.../>

In my app I had to adapt the MudDatePicker too. AppDatePicker.razor:
@using System.Reflection
@inherits MudDatePicker
@inject IJSRuntime JS
@{
    base.BuildRenderTree(__builder);
}
@code{
    private DotNetObjectReference<AppDatePicker>? _ref;
    private MudMask? _maskReference;

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        await base.OnAfterRenderAsync(firstRender);
        if(firstRender){
            _ref = DotNetObjectReference.Create(this);
            var inputReference = typeof(MudPicker<DateTime?>).GetField("_inputReference", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(this);
            _maskReference = (MudMask)inputReference!.GetType().GetField("_maskReference", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(inputReference)!;
            var maskId = (string)_maskReference.GetType().GetField("_elementId", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(_maskReference)!;
            await JS.InvokeVoidAsync("MudMaskWorkaround.applyFix", _ref, maskId);
        }
    }

    [JSInvokable]
    public IMask ApplyMask(string text){
        Mask.SetText(text);
        return Mask;
    }

    [JSInvokable]
    public Task SetTextFromJSAsync(string text) => SetTextAsync(text, true);
}

I think this kind of discussions only possible after .net7
https://github.com/dotnet/aspnetcore/issues/39837
MudMask already has some blinking in server-side due to async and bind processes not related directly to MudBlazor

What was the status regarding this problem?

hi any fix for this ???

This is a major issue for my app, any news on this?

@lufe70 @shorden Does this workaround help you? https://github.com/MudBlazor/MudBlazor/issues/4487#issuecomment-1253993630
Looping in @henon and @mckaragoz.

@lufe70 @shorden Does this workaround help you? #4487 (comment)
Looping in @henon and @mckaragoz.

Will take a deeper look into it when I can, but my first try did not work.

@lufe70 @shorden Does this workaround help you? #4487 (comment)
Looping in @henon and @mckaragoz.

Will take a deeper look into it when I can, but my first try did not work.

I haven't worked with blazor in a while since I posted this workaround.
Now I'm working with it again, on an update wasm project, and it didn't work for me either.
This is the solution that is working for me now:
<script>
    class MudMaskWorkaround {
        static applyFix(appTextFieldRef, maskId) {
            const maskElement = document.getElementById(maskId);
            const input = maskElement.querySelector('input');
            input.addEventListener('input', async (args) => {
                const mask = appTextFieldRef.invokeMethod('ApplyMask', input.value);
                input.value = mask.text;
                input.setSelectionRange(mask.caretPos, mask.caretPos);
                if(mask.text){
                    // fix label behaviour when using browser autofill
                    maskElement.classList.add('mud-shrink');
                }
                await appTextFieldRef.invokeMethodAsync('SetTextFromJSAsync', input.value);
            });
        }
    }
    window.MudMaskWorkaround = MudMaskWorkaround;
</script>

Custom Textfield:
@using System.Reflection
@using Microsoft.JSInterop;
@typeparam T
@inherits MudTextField<T>
@inject IJSRuntime JS
@{
    base.BuildRenderTree(__builder);
}
@code {
    private DotNetObjectReference<AppTextField<T>>? _ref;
    private MudMask? _maskReference;

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        await base.OnAfterRenderAsync(firstRender);
        if (firstRender)
        {
            _ref = DotNetObjectReference.Create(this);
            _maskReference = (MudMask)GetType().BaseType!.GetField("_maskReference", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(this)!;
            var maskId = (string)_maskReference.GetType().GetField("_elementId", BindingFlags.NonPublic | BindingFlags.Instance)!.GetValue(_maskReference)!;
            await JS.InvokeVoidAsync("MudMaskWorkaround.applyFix", _ref, maskId);
        }
    }

    [JSInvokable]
    public MaskData ApplyMask(string text)
    {
        Mask.SetText(text);
        return new MaskData{ Text = Mask.Text, CaretPos = Mask.CaretPos };
    }

    [JSInvokable]
    public Task SetTextFromJSAsync(string text) => SetTextAsync(text, true);

    public class MaskData
    {
        public string? Text { get; set; }
        public int CaretPos { get; set; }
    }
}

Wow, if that really works, wouldn't it be best to add it to MudMask. What would be the consequences, no autocompletion for textfields with a mask?

Wow, if that really works, wouldn't it be best to add it to MudMask? What would be the consequences, no autocompletion for textfields with a mask?

This is not compatible with Blazor Server.
I don't know how it would be solved for both Server and Wasm.
In my understanding, handling the mask and updating the input has to be synchronous (in the "input" event), which seems to me to be an impediment for the Blazor Server. Maybe the way out is to bring all the masking to javascript...I don't know for sure...

Wow, if that really works, wouldn't it be best to add it to MudMask? What would be the consequences, no autocompletion for textfields with a mask?

This is not compatible with Blazor Server.
I don't know how it would be solved for both Server and Wasm. In my understanding, handling the mask and updating the input has to be synchronous (in the "input" event), which seems to me to be an impediment for the Blazor Server. Maybe the way out is to bring all the masking to javascript...I don't know for sure...

MudMask already doesn't work properly with server-side.

Yes, on server side the whole masking logic must be in JS, so you can also just use Cleave.js or some other js lib.

Hi, @guimabdo!
Your workaround is great and works well on Blazor Wasm (thanks for that).
One thing, though: on my tests, when the field is blurred (i.e. is focused out), the floating label "floats" back to the input field, overlapping the text content.
Does this happen to you as well? If so, have you managed to figure out an workaround for this?

Hi, @guimabdo!
Your workaround is great and works well on Blazor Wasm (thanks for that). One thing, though: on my tests, when the field is blurred (i.e. is focused out), the floating label "floats" back to the input field, overlapping the text content.
After digging a bit I managed to find an workaround for this. Basically, you have to add an event handler to the input element in JS, right below the "input" handler:
input.addEventListener('blur', (args) => {
    const mask = appTextFieldRef.invokeMethod('ApplyMask', input.value);
    if (mask.text) {
        maskElement.classList.add('mud-shrink');
    }
});

I think I noticed similar behavior when the browser "autofills" the masked input. But in these cases it seems that the value is not really assigned.


Fixed typo error in contributing file

Fixes #2305
Fixed a small typo error in contributing file.
There was a spelling mistake for message word.
Looking forward for merging this PR.

Hey @RavindraP04 can you please review and merge my PR. :)

Hey @RavindraP04 can you please review and merge my PR. :)

This was already fixed in #2304


Suggestion for multiple account handling

Thank you for this very handy tool. The interface is really easy to use.
It would be welcome if you could have multiple accounts managed.
A lot of people have multiple mastodon accounts/identities. Moving between identities/list could be very useful.
Currently doing that is very cumbersome.
It would imply:

multiple authentication needed
follow / unfollow functionality

Thanks for the suggestion!


The optional values for 'alluxio.worker.evictor.class' are incorrect

Page
https://docs.alluxio.io/os/user/stable/en/reference/Properties-List.html
https://github.com/Alluxio/alluxio/blob/master/core/common/src/main/java/alluxio/conf/PropertyKey.java
Summary
The 'alluxio.worker.block.evictor.LRFUEvictor' for 'alluxio.worker.evictor.class' has been removed.  But, it is described as available on the official website and in the 'PropertyKeys.java' file.
Similarly, the 'alluxio.worker.block.evictor.GreedyEvictor' and '`alluxio.worker.block.evictor.PartialLRUEvictor' option have the same problem.

@yuyang733  thanks for reporting this issue!
Do you want to remove the invalidate options from https://github.com/Alluxio/alluxio/blob/master/core/common/src/main/java/alluxio/conf/PropertyKey.java ?

@yuyang733 thanks for reporting this issue!
Do you want to remove the invalidate options from https://github.com/Alluxio/alluxio/blob/master/core/common/src/main/java/alluxio/conf/PropertyKey.java ?

In fact, I was wondering if we could consider removing from PropertyKey.java or hiding it from the official document.
After all, the evictor is being emulated, and the option 'alluxio.worker.block.annotator.class' is used instead of it.
Do you have any good suggestions?

@ggezer  is the owner here. Gokturk, what's your input?

@yuyang733 we still don't want to remove the key to keep emulation layer functioning. However should definitely hide it from doc.

@yuyang733 we still don't want to remove the key to keep emulation layer functioning. However should definitely hide it from doc.

Okay. I close this issue.