Allow length greater than 10m

Fix #10

Hi @alfredocarella, thanks for the kind words.  Now I understand the reason of the limit. However, the suggestion you made is exactly what it was before, will limit to 10m. Could we keep at 100m? I can change to:
---  x_vec = np.linspace(self._x0, self._x1, int(min((self.length) * 1000 + 1), 1e4))
+++  x_vec = np.linspace(self._x0, self._x1, min(int((self.length) * 1000 + 1), 1e5))

Would it be ok? I agree that not having a limit is not ideal (as I initially proposed).
About the new example, is there something you would like me to change? The numbers were quite random.

Sorry @PedroBern, I made a mistake with the parenthesis in my suggestion. Let me try to be more precise:
ORIGINAL CODE (with bug):
x_vec = np.linspace(self._x0, self._x1, min(int((self.length) * 1000 + 1), 1e4))
When length exceeds 10m, the value 1e4 (float) is picked as the number of points in the graph, which is the source of the original error (1e4 should have been properly cast to an integer)
MY FIRST (incorrect) PROPOSAL:
x_vec = np.linspace(self._x0, self._x1, int(min((self.length) * 1000 + 1), 1e4))
There is one misplaced parenthesis (plus one too many)
A POTENTIAL FIX:
x_vec = np.linspace(self._x0, self._x1, int(min(self.length * 1000 + 1, 1e4)))
Notice that int() and min() swap places compared to the original. When length exceeds 10m, the value 1e4 is cast to integer and picked as the number of points in the graph, thereby limiting an arbitrarily high number of points while lengths over 10m are allowed.
10k points should result in more than enough resolution for any weird curve IMO.

I was misunderstanding the code. Now I see that x_vex is about the resolution, not the actual length! My bad. Thanks for explaining to me.
Ok, Already did the changes locally, it is passing the tests, but before I send the PR, about the example 4, would you like me to change something?

I think example 4 is ok. You can leave it as is, or remove it if you don't believe it adds much information on top of example 1. I can accept both options, so I will leave it up to you.


How to know the old state when _Enter()

How to know the old state when _Enter(), like Play_Enter(State oldState)

StateMachine.LastState
StateMachine.State
StateMachine.NextState


fix: Network is not started if inactive #1095

Includes network activity status in terraform state, thus allowing terraform to update network resource in case it is inactive (e.g. after hypervisor reboot or virsh net-destroy)
Network activity is checked in Update method, but not in Read, its not recorded in local state. This makes terraform think that network should not be updated (since the state matches recorded one). Then, VM initialization fails, since it depends on an inactive network.
First brought up in #1095.

Uh, actually referenced here with explanation why this isn't yet fixed: #947
I've just copy-pasted running variable from libvirt_domain schema. My reasoning is that they are semantically equivalent, so if this variable config is correct for libvirt_domain it should be correct for libvirt_network. What's the catch?
Full disclosure: only user-level experience with terraform, no experience with libvirt. My assumptions may be horribly wrong.

Thanks for the attempt.
It is more complicated than that. It requires on acting on the status based of what you read to bring the network up if it was up last time and it is now down.

I understand that I can be and most probably is wrong, but I do not understand why. Network state is checked in Update and Update brings it up if its not up: https://github.com/dmacvicar/terraform-provider-libvirt/blob/f5a8334bbecd7ca778739f34d50b71e9c479e795/libvirt/resource_libvirt_network.go#L313-L323
We just have to signal to terraform that network state is not the expected one. My (manual and naive) tests show that it works - if the network is up, it won't be updated, if it is down, it will be. What case I fail to see?


Use scikit-build for building sparse_operation_kit

Use skbuild for building the sparse_operation_kit extension. This avoids some of the custom
code we had for building the extensions, and also fixes the error we had with needing to update
the PYTHONPATH after installation.

@benfred Thank you for your contribution! @EmmaQiaoCh could you review the change and work with Ben to enable our regular release? FYI @minseokl @kunlunl


Still crashing says ComputerCraft isn't installed when it is. 1.11.2

https://gyazo.com/9cbe20419b16cd2b0d8a510a3c4efd7d
Here's the error.

 If so, can you provide your full logs, as well as a mod list?
Thanks, sorry about this.

In response to the above, you should probably use this version of ComputerCraft as the later builds have a couple of issues.

As said before, I'm pretty sure this is a problem with your install. I'm closing this for now but, if you are still encountering problems, do comment - I'm happy to help/reopen this.


Support offline builds

Modifiy code to facilitate offline builds.
Changes include:

re-generate package json after clean in flutter-app.inc
make clean cache as a task in flutter sdk
keep necessary files in flutter sdk

Currently an offline pubcache is stored in DL directory before compilation.  Which prevents needing network access for compile, which is required for LTS support.  See:  https://github.com/meta-flutter/meta-flutter/blob/kirkstone/conf/include/flutter-app.inc#L51-L118
Can you describe what your proposed change affects?  Yocto SDK build, or?

Currently an offline pubcache is stored in DL directory before compilation. Which prevents needing network access for compile, which is required for LTS support. See: https://github.com/meta-flutter/meta-flutter/blob/kirkstone/conf/include/flutter-app.inc#L51-L118
Can you describe what your proposed change affects? Yocto SDK build, or?

Currently pubcache cannot make the flutter built successfully without network access, I am not sure current "offline build" is tested under setting 'BB_NO_NETWORK = "1" ', or really tested under a no network environment.  Task network access is enabled by do_[network] = "1" in some places so we can not test "offline build" only by setting "BB_NO_NETWORK"
In my side, I cannot build pass only with the pubcache and I need no network access at all.
I achieve the goal but because no suitable function hook point, I need copy full function in bbappend and modify in my local. It is not well for further maintain, so I submit current patch which not break current meta-flutter status but let I can maintain modification in independent function.
For current patch,

modification in flutter-sdk_git.bb is for a complete cache for sdk build. Current do_compile remove cache before precache which make it must access network.  And remove necessary files for app build in do_install to make app must access network.
modification in flutter-app.inc(moved in common.inc in lastest version) is because if a "flutter pub get --offline" not after clean, it seems to access network for something.

Thank you

There is much more than your PR addresses to enable offline building.  It's a good start and I appreciate your PR.

AUTOREV
building without a network connection all cases of ${AUTOREV} fail:  https://github.com/meta-flutter/meta-flutter/pull/377
do_cleanall - stale pub caches are not helpful when debugging offline support:  https://github.com/meta-flutter/meta-flutter/pull/378
all instances of do_compile[network] = "1" need removal

this involves downloading addition deps and adding to flutter-sdk-native; such as material fonts.

SDK install testing needs to happen, as this change breaks SDK build scenarios:

rm -rf ${S}/bin/cache/pkg/sky_engine/
rm -rf ${S}/bin/cache/artifacts/*

My approach for testing is to remove the network connection (air gap) on my machine.

I looked at this further, and your change is acceptable.  Thank you for your PR!


Change PK module preprocessor check on word size

Description
There were preprocessor directives in pk.c and pk_wrap.c that cheked
whether the bit length of size_t was greater than that of unsigned int.
However, the check relied on the MBEDTLS_HAVE_INT64 macro being defined
which is not directly related to size_t. This might result in errors in
some platforms. This change modifies the check to use the macros
SIZE_MAX and UINT_MAX instead making the code more robust.
NOTE:

This change is related to https://github.com/ARMmbed/mbedtls/pull/900

Status
READY
Requires Backporting
Yes
Which branch?

mbedtls-2.1
mbedtls-1.3

Migrations
NO
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[x] Backported

I'm happy with the changes this PR introduces.
A side-issue - which we could fix while at it, noted it while going through the uses of hashlen - is that the computation of nb_pad in mbedtls_rsa_rsassa_pkcs1_v15_sign (which involves hash_len) seems faulty and might lead to an unnoticed integer underflow (https://github.com/ARMmbed/mbedtls/blob/development/library/rsa.c#L1190; the subsequent check nb_pad > olen does not fully cover the case nb_pad > olen - 3 [ - 10 + oid_size ] which would lead to a buffer overwrite).

HI @andresag01 Should the Changelog be modified?

See CI not run. Oh oh! This is not fun for me.

CI failed only due to known issues (timing test, slow start in compat.sh) so ok to merge.


classCallCheck is included even though its not used

The following snipped is included in the final bundle, even though it is not used in the bundled code at all:
  var babelHelpers = {};

  babelHelpers.classCallCheck = function (instance, Constructor) {
    if (!(instance instanceof Constructor)) {
      throw new TypeError("Cannot call a class as a function");
    }
  };

Ah, interesting. Do you have a class somewhere in your code that is being stripped out? Hadn't considered that case. Do you have a repro I can take a poke at?

Sorry, its closed source.
I actually build two different entry files with gobble-rollup, one has a class, the other does not. I share the same plugin "instance" for both. Probably thats the problem, I will try to initialize it fresh for both calls.

Ok yes that was indeed the problem. Sorry for the inconvenience.
But now that file (without the class) generates an empty sourcemap when run through uglify, but that is probably an uglify problem.


add eligibility link for PR + unit tests

This PR adds an eligibility URL for Puerto Rico (using the link from the CDC: How Do I Get a Vaccine? section. The target link shows the vaccination phases for Puerto Rico (in Spanish).
I also added unit tests to check that we have the eligibility URL for all the states, and removed the hardcoded check that was hiding that section specifically for Puerto Rico. The tests will show up per state, that way if one ever fails, we will know the state that needs to be fixed:
 PASS  src/cms-content/vaccines/index.test.
  vaccination information
    eligibility links
      ✓ AK has eligibility url (2ms)
      ✓ AL has eligibility url
      ✓ AR has eligibility url
      ...

We should add tests for the vaccination phases as well, but we might restructure the CMS so all the vaccination information is in one place, so I think it makes more sense to add tests then.

 CMS - Add eligibility link for PR

Closing in favour of https://github.com/covid-projections/covid-projections/pull/2825


Add acceptance scenarios

Adding some acceptance high level e2e scenarios that can be used as part of release acceptance testing.
Also added draft for release checklist -> https://github.com/input-output-hk/offchain-metadata-tools/blob/piotr/acceptance-tests/docs/index.org

Thanks @piotr-iohk - I moved the release checklist into the main docs, rather than having a wiki with just one document.


Convert all laws to take Equiv instances, deprecate Equiv versions

This PR converts all laws (and all tests!) to take Equiv instances by default. This is a binary-incompatible change, but in functions that take lots of implicit arguments that shouldn't be passed by default anyway.
All LawsEquiv versions have a deprecation warning and point to the actual Laws.
This also adds .jvmopts to, hopefully, speed up the build.

Current coverage is 79.68% (diff: 39.58%)

Merging #595 into develop will decrease coverage by 0.03%

@@            develop       #595   diff @@
==========================================
  Files           114        114
  Lines          4951       4947     -4
  Methods        4562       4582    +20
  Messages          0          0
  Branches        388        365    -23
==========================================
- Hits           3947       3942     -5
- Misses         1004       1005     +1
  Partials          0          0

Powered by Codecov. Last update c1ede45...7eb49d5

Holy shit... those jvm opts dropped the build time from 40something minutes to 7 minutes on the 2.11 build.

@ianoc looks like these started running out of permgen space. Probably need to redo them one at a time.

@sritchie Yeah looks like that. Lets not worry about it in this PR. The last one failed though. is that test reasonably flaky?

Thanks for running the tests you did btw!

@ianoc ah, yes, that one is, and we have an issue for it, I believe. kicking it off again

here we go: https://github.com/twitter/algebird/issues/508

💥  tests pass @ianoc @johnynek.

💯


Support synchronous APIs

It'd be useful if synchronous versions of the provided APIs were supported too.

👋 again. You mean the lock ones? I don't think that's too hard if you wanna try a PR.

Hey 😃 Yeah, exactly. I'm unfamiliar with native modules and C++ in general, I'd probably just mess it up if I tried 😅 No hurry though, just an idea.
I was looking for flockSync/funlockSync APIs, with support for both shared and exclusionary locks, which apparently is what sqlite needs under mac/linux, but if somebody made a node module for that I don't think I've seen it.

Yea we use flock here. Will add it at some point the sync ones, but would strongly consider using the async ones if you can.

Unfortunately I'd need the sync versions for a virtual filesystem for sqlite compiled to wasm (https://github.com/dyedgreen/deno-sqlite/blob/86d43a331238bd870bcd021bd22b970af6aa6334/build/vfs.js#L73-L82). Maybe it could be made to work somehow with async locking, but I've no idea how.

For the record, the platform APIs are all synchronous so to surface them to JavaScript you'd just call them directly rather than go through the thread pool: https://github.com/holepunchto/fs-native-extensions/blob/main/src/platform.h


The same comments will be loaded two times

DiscuzQ Flutter info

Cloned on 12,5,2020

Logos and  domain
Steps to Reproduce

The same comments will be loaded two times.

Open the app
Click to enter a post
View comments

Logs

Screen shoot: Link
Screen record; Link
HTTP Logs: Link

https://github.com/virskor/DiscuzQ/commit/666084871a39a2a61cf33720e606c29783ce9ed9
DONE


DailyMotion : <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. 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 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably 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

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 -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
URL: http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle

C:\>youtube-dl.py -v "http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.5.1 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[dailymotion] xnipke: Downloading webpage
[dailymotion] xnipke: Downloading m3u8 information
[debug] Invoking downloader on 'https://www.dailymotion.com/cdn/H264-512x384/video/xnipke.mp4?auth=1473351352-2562-nadhmusx-e79beba40c902ef19d75bb097f615d2
ERROR: unable to download video data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
Traceback (most recent call last):
  File "C:\Program Files\Python35\lib\urllib\request.py", line 1240, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "C:\Program Files\Python35\lib\http\client.py", line 1083, in request
    self._send_request(method, url, body, headers)
  File "C:\Program Files\Python35\lib\http\client.py", line 1128, in _send_request
    self.endheaders(body)
  File "C:\Program Files\Python35\lib\http\client.py", line 1079, in endheaders
    self._send_output(message_body)
  File "C:\Program Files\Python35\lib\http\client.py", line 911, in _send_output
    self.send(msg)
  File "C:\Program Files\Python35\lib\http\client.py", line 854, in send
    self.connect()
  File "C:\Program Files\Python35\lib\http\client.py", line 1237, in connect
    server_hostname=server_hostname)
  File "C:\Program Files\Python35\lib\ssl.py", line 376, in wrap_socket
    _context=self)
  File "C:\Program Files\Python35\lib\ssl.py", line 747, in __init__
    self.do_handshake()
  File "C:\Program Files\Python35\lib\ssl.py", line 983, in do_handshake
    self._sslobj.do_handshake()
  File "C:\Program Files\Python35\lib\ssl.py", line 628, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1696, in process_info
    success = dl(filename, info_dict)
  File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1638, in dl
    return fd.download(name, info)
  File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\downloader\common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\downloader\http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1998, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 471, in open
    response = meth(req, response)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 581, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 503, in error
    result = self._call_chain(*args)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 443, in _call_chain
    result = func(*args)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 686, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 465, in open
    response = self._open(req, data)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 483, in _open
    '_open', req)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 443, in _call_chain
    result = func(*args)
  File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\utils.py", line 1004, in https_open
    req, **kwargs)
  File "C:\Program Files\Python35\lib\urllib\request.py", line 1242, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>

---

Thanks
Ringo....

Could you visit https://www.dailymotion.com/ in Internet Explorer and try again?

Same Result after opening in IE (with python 3.5.1)...BUT I discovered it does work correctly with Python 2.7.5
**
C:>youtube-dl.py -v "http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.5.1 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[dailymotion] xnipke: Downloading webpage
[dailymotion] xnipke: Downloading m3u8 information
[debug] Invoking downloader on 'https://www.dailymotion.com/cdn/H264-512x384/video/xnipke.mp4?auth=1473441348-2562-v23gq8r0-0e3a3fb7679e783d3a0ffc8bd9b48e64
ERROR: unable to download video data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
Traceback (most recent call last):
File "C:\Program Files\Python35\lib\urllib\request.py", line 1240, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "C:\Program Files\Python35\lib\http\client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "C:\Program Files\Python35\lib\http\client.py", line 1128, in _send_request
self.endheaders(body)
File "C:\Program Files\Python35\lib\http\client.py", line 1079, in endheaders
self._send_output(message_body)
File "C:\Program Files\Python35\lib\http\client.py", line 911, in _send_output
self.send(msg)
File "C:\Program Files\Python35\lib\http\client.py", line 854, in send
self.connect()
File "C:\Program Files\Python35\lib\http\client.py", line 1237, in connect
server_hostname=server_hostname)
File "C:\Program Files\Python35\lib\ssl.py", line 376, in wrap_socket
_context=self)
File "C:\Program Files\Python35\lib\ssl.py", line 747, in init
self.do_handshake()
File "C:\Program Files\Python35\lib\ssl.py", line 983, in do_handshake
self._sslobj.do_handshake()
File "C:\Program Files\Python35\lib\ssl.py", line 628, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1696, in process_info
success = dl(filename, info_dict)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1638, in dl
return fd.download(name, info)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\downloader\common.py", line 354, in download
return self.real_download(filename, info_dict)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\downloader\http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1998, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Program Files\Python35\lib\urllib\request.py", line 471, in open
response = meth(req, response)
File "C:\Program Files\Python35\lib\urllib\request.py", line 581, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python35\lib\urllib\request.py", line 503, in error
result = self._call_chain(*args)
File "C:\Program Files\Python35\lib\urllib\request.py", line 443, in _call_chain
result = func(*args)
File "C:\Program Files\Python35\lib\urllib\request.py", line 686, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "C:\Program Files\Python35\lib\urllib\request.py", line 465, in open
response = self._open(req, data)
File "C:\Program Files\Python35\lib\urllib\request.py", line 483, in _open
'_open', req)
File "C:\Program Files\Python35\lib\urllib\request.py", line 443, in _call_chain
result = func(*args)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\utils.py", line 1004, in https_open
req, **kwargs)
File "C:\Program Files\Python35\lib\urllib\request.py", line 1242, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
C:>"C:\Program Files\Internet Explorer\iexplore.exe" "http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle"
C:>youtube-dl.py -v "http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.5.1 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[dailymotion] xnipke: Downloading webpage
[dailymotion] xnipke: Downloading m3u8 information
[debug] Invoking downloader on 'https://www.dailymotion.com/cdn/H264-512x384/video/xnipke.mp4?auth=1473441391-2562-3tx2l62p-b8b78508d85c682a56624b2e162540ea
ERROR: unable to download video data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
Traceback (most recent call last):
File "C:\Program Files\Python35\lib\urllib\request.py", line 1240, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "C:\Program Files\Python35\lib\http\client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "C:\Program Files\Python35\lib\http\client.py", line 1128, in _send_request
self.endheaders(body)
File "C:\Program Files\Python35\lib\http\client.py", line 1079, in endheaders
self._send_output(message_body)
File "C:\Program Files\Python35\lib\http\client.py", line 911, in _send_output
self.send(msg)
File "C:\Program Files\Python35\lib\http\client.py", line 854, in send
self.connect()
File "C:\Program Files\Python35\lib\http\client.py", line 1237, in connect
server_hostname=server_hostname)
File "C:\Program Files\Python35\lib\ssl.py", line 376, in wrap_socket
_context=self)
File "C:\Program Files\Python35\lib\ssl.py", line 747, in init
self.do_handshake()
File "C:\Program Files\Python35\lib\ssl.py", line 983, in do_handshake
self._sslobj.do_handshake()
File "C:\Program Files\Python35\lib\ssl.py", line 628, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1696, in process_info
success = dl(filename, info_dict)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1638, in dl
return fd.download(name, info)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\downloader\common.py", line 354, in download
return self.real_download(filename, info_dict)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\downloader\http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1998, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Program Files\Python35\lib\urllib\request.py", line 471, in open
response = meth(req, response)
File "C:\Program Files\Python35\lib\urllib\request.py", line 581, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python35\lib\urllib\request.py", line 503, in error
result = self._call_chain(*args)
File "C:\Program Files\Python35\lib\urllib\request.py", line 443, in _call_chain
result = func(*args)
File "C:\Program Files\Python35\lib\urllib\request.py", line 686, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "C:\Program Files\Python35\lib\urllib\request.py", line 465, in open
response = self._open(req, data)
File "C:\Program Files\Python35\lib\urllib\request.py", line 483, in _open
'_open', req)
File "C:\Program Files\Python35\lib\urllib\request.py", line 443, in _call_chain
result = func(*args)
File "C:\TRANSMOGRIFIER\youtube-dl.py\youtube_dl\utils.py", line 1004, in https_open
req, **kwargs)
File "C:\Program Files\Python35\lib\urllib\request.py", line 1242, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
**
This time with Python 2.7.5 it does work (I did not have to first open in IE)

youtube-dl.py -v "http://www.dailymotion.com/video/xnipke_hidd
en-victims-of-mental-illness_lifestyle"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.dailymotion.com/video/xnipke_hid
den-victims-of-mental-illness_lifestyle']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.5 - Windows-2008ServerR2-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[dailymotion] xnipke: Downloading webpage
[dailymotion] xnipke: Downloading m3u8 information
[debug] Invoking downloader on u'https://www.dailymotion.com/cdn/H264-512x384/vi
deo/xnipke.mp4?auth=1473441574-2562-ghbj9ota-2e82344d0312645254969ea2d64fd433'
[download] Destination: Hidden Victims of Mental Illness-xnipke.mp4
[download] 100% of 45.35MiB in 11:06

Thanks
Ringo

Python < 2.7.9 does not verify SSL certificates, so it's just OK.

Possibly a duplicate of #7309. Could you check whether there are expired certificates in Windows Certificate Store? See https://github.com/rg3/youtube-dl/issues/7309#issuecomment-172354527 for detailed steps. DailyMotion uses certificates from DigiCert:

You are on the right track....
I can't find any expired certificates:

...but #7309  mentioned the --no-check-certificate flag...that DOES work (with 3.5.1):
C:>youtube-dl.py --no-check-certificate -v "http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--no-check-certificate', '-v', 'http://www.dailymotion.com/video/xnipke_hidden-victims-of-mental-illness_lifestyle']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.5.1 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[dailymotion] xnipke: Downloading webpage
[dailymotion] xnipke: Downloading m3u8 information
[debug] Invoking downloader on 'https://www.dailymotion.com/cdn/H264-512x384/video/xnipke.mp4?auth=1473445291-2562-vbagh945-0ed51a00184bd09a8f30198692d17033'
[download] Destination: Hidden Victims of Mental Illness-xnipke.mp4
[download] 100% of 45.35MiB in 19:28

Having the same issue here running on Linux with ca-certificates installed.
Workaround include changing config, see https://access.redhat.com/articles/2039753.
The real fix for me was setting environment variable: SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
I'd suggest to use "requests" instead if possible, see https://github.com/lepture/flask-oauthlib/issues/200

For anyone still searching for this: I had the same issue for a different reason in version 2019.03.01. youtube-dl expects 'python' in the PATH to point to a python3 executable. Mine pointed to a python2 version from a manual change I did before. Changing that resolved the issue.


Error 501: Search is no longer supported in anaytics v2.0 api.

I am trying to search for elements on a single Sharepoint site, but it seems like this is not supported anymore. Am I using the wrong endpoint?
Request:
https://{tentant}-my.sharepoint.com/_api/v2.0/sites/root/search/query?querytext='text'
Response:
{ 	"error": { 		"code": "notSupported", 		"message": "Search is no longer supported in anaytics v2.0 api." 	} }

When you say you're "trying to search for elements" what kind of object are you wanting to find?
The sites API supports searching for sites (but not personal sites):
https://{tenant}.sharepoint.com/_api/v2.0/sites?search='text'
The drive API supports searching for drive items:
https://{tenant}-my.sharepoint.com/_api/v2.0/drive/root/search?q='text'

Thank you for pointing me in the right direction. I am not too familiar with the terminology used to describe certain elements, but I was trying to search for drive items.


deleteBy...And... is not deleting records in Dynamo

repo.deletByKeyAndOtherKey(key, otherKey) throws EmptyResultDataAccessException when no matching records exists, but works without exception if there is one match.
In both cases no records actually deleted from database

The deleteById is fixed in v5.0 and v4.5.5.
Other half still needs investigation

Fixed with #143


Cached discovery.yml manifest version not updated

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2501
Originally created by @umutykaya on 2021-01-12 17:34:21

We are running Meltano in production.

Meltano version: 1.64.1
MELTANO_DISCOVERY_URL=false

I just realised early today a warning message:
[2021-01-12 15:48:15,411] [7|MainThread|root] [WARNING] The cached `discovery.yml` manifest has version 1, while this version of Meltano requires version 16.

Thank to @DouweM for the quick support.

Removed files in the cache location .meltano/cache/discovery.yml. Then, run meltano discover. However, there is no file in the root project and cached file is the same with default cached file.

To summarize, I want to be sure that discovery.yml will be automatically updated by the Meltano releases.

View 1 previous comment from the original issue on GitLab


camera module

Functions required

[x] overlay
[ ] capture
[ ] zoom
[ ] replay

Currently working on replay

Related:
https://github.com/brilliantlabsAR/monocle-fpga/issues/4

Closed as this issue has been split into the individual parts


Explore content layer

Context: https://github.com/arcjet/arcjet-docs/issues/55#issuecomment-2379834926
Experiment: https://github.com/arcjet/arcjet-docs/pull/118

Ref https://5-0-0-beta.docs.astro.build/en/guides/content-collections/
and https://docs.astro.build/en/reference/configuration-reference/#creating-a-loader

I created a non-working prototype of some changes at https://github.com/arcjet/arcjet-docs/tree/phated/everything-is-broken. My findings were mostly that content layer doesn't work well with things that need to b analyzed statically (such as frontmatter, mdx, etc) since the static analysis happens before rendering.
The branch is useful because it explored some techniques with writing our own remark plugins to augment the static analysis.


libp2p doesn't always clean up connections

I've created a minimal repo with a test case demonstrating an issue with libp2p cleaning up connections:
https://github.com/dirkmc/simultaneous-connection-test
It seems like when a connection is made between two peers, each dialing the other at the same time, libp2p loses track of some of the connections. Consequently, when one of the peers is shut down, only one half of the connection is closed. This means that any pull stream that is waiting on the end of the connection will never terminate.
Note: I'm not sure if this is an issue with libp2p, libp2p-switch or libp2p-mplex or websocket-star so I created a separate repo in which to test it out.
To try it out, clone the repo above, npm install and then run
DEBUG=conn-test,conn-test:* yarn test:node
Sample output:

@daviddias can you help us route this more appropriately? I think @dirkmc is right to not jump to conclusions as to the exact culprit repository, but I'm concerned that this might get overlooked without direct maintainer attention 😄

Thanks for the reproduction case @dirkmc, this is great! This is an issue with libp2p-switch. Currently switch keeps track of connections in a hash map with the peerId as the key, which creates this problem. Dialing out is easy to resolve because we know the peerid in advance and can check the existence of the connection. When we receiving an incoming connection, we don't know the peerid until crypto has completed. Right now, switch isn't properly managing those different connections. On incoming connections once switch knows the peerid it should be checking for an existing connection and then switching over to that. There's more we can be doing with that in the future to determine the best connection and switch over to that.
We need to be keeping track of more than 1 connection per peerid, so we can properly handle this scenario. In the future we can look at improving how we handle multiple connections to a single peer.
I've created https://github.com/libp2p/js-libp2p-switch/issues/288 to track this there since I can't move the issue.

@dirkmc this should be resolved in the latest version of<EMAIL_ADDRESS>I ran it against your test repo with a clean npm install and the tests are passing. Let me know if you see any issues.

@jacobheun yes it works, thanks for the quick work!


Mystery black border flash when dropping down Docs menu

I went to the docs homepage and moved the mouse over the Docs drop-down.  When I did this, the background gradually blurred, and a strange blurry black border started to appear around the edges of the (visible area of the) page.  After a moment the blur reached its maximum blurriness at which point the black border suddenly vanished.
MS Edge on Windows 10.

cc @karthik2804 @flynnduism since this has the stench of CSS about it

@karthik2804 told me this was some sort of hardware acceleration bug in the blur effect and there's nothing we can do about it.  Should we:

Close this issue because can't fix won't fix
Leave this open so it's visible next time I go "what's this ugly black border"
Replace the blur effect with something that doesn't have a hardware acceleration bug
Something else

I'm gonna check on this again to make sure I did not gloss over it and try alternative effects in case the blur causes issues.


ionic start [name] tutorial --v2 fail because of wrong github repo URL

Running the command provided here http://ionicframework.com/docs/v2/getting-started/tutorial/
ionic start MyIonic2Project tutorial --v2
outputs :
Downloading: https://github.com/driftyco/ionic-starter-tutorial/archive/master.zip
 ✗ Not found: https://github.com/driftyco/ionic-starter-tutorial/archive/master.zip (404)
 ✗ Please verify the url and try again.

I believe the url https://github.com/driftyco/ionic-starter-tutorial/archive/master.zip should be replaced by https://github.com/driftyco/ionic2-starter-tutorial

Looks like you need the beta version of the CLI, npm install -g ionic@beta: http://ionicframework.com/docs/v2/getting-started/installation/.
Let me know if you're still having issues, thanks!

Works like a charm thanks !


fix typos in README.txt

Merged into master https://github.com/droolsjbpm/jbpm-console-ng/commit/b8badef9bece7c88384592e7f4745c9086332b34. Thanks!


Subclass Hooks

This adds two methods on the base element class. One is for setting the element name and the other is for attributeElementKeys.
Additionally, I've added a primitive method for knowing what primitive type the sub class came from.
When reviewing this, it is probably helpful to go through each commit one by one. We can use parts of this functionality if it's too much of a departure from our current design.

cc @danielgtaylor

Found no issues :+1:

@danielgtaylor @JackuB You all have convinced me. I moved element to be a getter/setter and then moved the attribute keys as elements functionality back to constructor.

Would like to have these last three commits reviewed.

[ ] https://github.com/refractproject/minim/commit/31751160d1755e154b92b188afcd311a31889c7f
[ ] https://github.com/refractproject/minim/commit/f35b32abc40b24fe6c841deef0287d20fa1bffe3
[ ] https://github.com/refractproject/minim/commit/779393ee71dad3bd49ce5e1abe07f262aa347f9d

:+1:


Using dependencies via spack

When is the spack unload done?

When is the spack unload done?

fixed

Should we check for exit code after spack load?

Should we check for exit code after spack load?

Error checking added.

There will be no CI testing for this currently. I manually tested the builds. That will have to suffice for now.


Swift Package Manager support

What?

Add Package.swift that defines SPM package.
Add instructions on how to integrate using SPM to README.md.
Exclude local SPM files from the git repository.

Why?
Swift Package Manager support

CC @pusher/mobile

Codecov Report

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

@@           Coverage Diff           @@
##           master     #146   +/-   ##
=======================================
  Coverage   90.25%   90.25%
=======================================
  Files          57       57
  Lines        3326     3326
=======================================
  Hits         3002     3002
  Misses        324      324

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 158975d...6387390. Read the comment docs.


v1.8 hybrid search changes

Implements the search changes from the usage page
⚠ Breaking changes in an experimental feature:

Removed the _semanticScore. Use the _rankingScore instead.
Removed vector in the response of the search (output was too big).
Removed all the vectors from the vectorSort ranking score details

target vector appearing in the name of the rule
matched vector appearing in the details of the rule

Other user-facing changes

Added semanticHitCount, indicating how many hits were returned from the semantic search. This is especially useful in the hybrid search.
Embed lazily: Meilisearch no longer generates an embedding when the keyword results are "good enough".
Graceful embedding failure in hybrid search: when doing hybrid search (semanticRatio in ]0.0, 1.0[), an embedding failure no longer causes the search request to fail. Instead, only the keyword search is performed. When doing a full vector search (semanticRatio==1.0), a failure to embed will still result in failing that search.

bors merge


"pub get" enters endless loop

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Create a new Dart project

Add the following dependencies to pubspec.yaml:
  polymer: ">=0.15.1+3 <0.16.0"
  paper_elements: ">=0.5.0 <0.6.0"
  args: any
  crypto: ">=0.9.0 <0.10.0"
  file_utils: ">=0.0.22 <0.1.0"
  logging: ">=0.9.1+1 <0.10.0"
  mongo_dart: ">=0.1.42 <0.2.0"
  objectory: ">=0.3.21 <0.4.0"
  shelf: any
  stack_trace: any
  watcher: ">=0.9.2 <0.10.0"
  redstone: any

Run "pub get"

What is the expected output? What do you see instead?
Pub should get all dependencies, but instead it enters an endless loop while matching dependencies.

MacOS 10.10
What browser (if applicable)?
Please provide any additional information below.

This issue has been moved to dart-lang/pub#1187.


When hardware (bluetooth) keyboard is connected, collection view contentInset.bottom is wrong

Connect apple bluetooth keyboard on iPad
send messages
Note that contentInset.bottom and scrollIndicatorInsets.bottom are incorrect (too large)

I looked into this but did not see anything wrong with the way it displayed. Are there any other steps to get it in the state in question or could we add a screen shot. I am on a iPhone 6s+

Ah, sorry. Tested on iPad. Might be iPad-only

Ok Ill take a look on there then. 👍🏼

😄  hey guys, just want to follow up some small issues a little bit. Do you guys think #1737 will fix it? Or, let's wait until @jessesquires to finish the review.

@Lucashuang0802 -- i don't think so. i don't think these are related

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


[Wallet] Retry verification with forno if it fails using geth

Description
Verification has been occasionally failing due to a geth timeout (#3747 ). Since this does not occur in forno mode, users who experience a verification failure are prompted to retry using forno. This is only for failures that occur before requesting attestations, which requires a transaction, so users may not have sufficient balance to reverify. Behavior remains the same for failures that occur after requesting attestations.
Other changes
Created modal component (not yet updated with new design)
Tested
On Android emulator, tested that modal throws when failure happens before requesting attestations, and that verification is retried in forno mode.
Will send Ankit a build so he can test that this addresses the verification issue he was observing, as I can't reproduce his problem locally.
Related issues

Part of epic #3644

Backwards compatibility
Yes

(One other case with "enter codes" text, unchanged from before)

Based on my understanding, users will only ever get one shot at verifying in forno mode given the initial state is true and every call to setRetryVerificationWithForno passes in false as an argument.  Should we consider resetting the value to true after every non-forno verification fail so that users always have the option to try forno again?

The idea here is to have users switch to forno if verification fails, and stay in forno as the observed failures (https://github.com/celo-org/celo-monorepo/issues/3747) seem to be non-verification specific (thanks for raising, added a comment clarifying this). Once a user retries with forno, they would have had to manually toggle forno off in order for them to need the prompt again, so I think it makes sense to only show the modal once

It looks like we are avoiding the forno reprompt after a transaction fails to be conservative about not prompting the user to undergo another transaction they may not have a balance for. Would it be worth it to do a quick check of their balance and make the prompt conditioned on that?

We have seen verification fail for a few different reasons after a transaction fails, and only some of them would be fixed in forno mode. I agree if we could know that the failure was light-client specific then it would be nice to check the balance, but for now I want to avoid having users retry and see another failure- updated the comment to clarify this

Waiting on tests from Ankit after phone number privacy changes

Confirmed with Ankit that this resolves the verification failure he was seeing!


fix: Check for active server in Int. Mgmt.

Fixes #2977

isn't the check in NetworkServer.DestroyObject enough?

I put the checks all over since these methods are public and virtual, and could be called from any number of places now and in future, to prevent future regression bugs.

the one in networkserver should be enough. redundant code usually indicates that it should only be in one place

Closed in favor of #2982


Check for bad datetime when loading data

Uploading for comments.  Addresses #87.
If pandas.errors.OutOfBoundsDatetime occurs during file load, does not return data.  Functionally acts as if file is missing (ie, continues with a data gap, but returns a 'Bad datetime for...' rather than a 'No data for...' message to the screen to alert user of a problem.
Ideally, this should scan for the xarray equivalent as well.

Coverage decreased (-0.7%) to 75.449% when pulling 5e27736bf2dc9d33bb19c75bfb5f2af6be109c57 on #87-fix into 7ab3cfbd67818e83460777db1e404aef369e92ab on develop.

Open question:  I'm not sure how we would test for this.  Building the data that would trigger the test produces a value error.

Related Issue Updated:

Removed lines in data access routines (setitem, getitem) designed to force np.array to integer.  np.array is tested for in both, and self.data.loc[self.data.index[key[0]], key[1]] works well with it already.
Leaving commented for now in case we find a bug not accounted for in unit testing.

As a general comment, I'm not sure we should trap this particular error. A bad time in the file needs to be dealt with. I think sometimes errors may need to stop things.
If we do want to trap for more errors on the load, then I think we should probably start with a more systematic process. Once we start, I think the list of trapped errors may grow.

Some users may not be able to modify the files on the system they are using, thus if there is an error pysat needs some mechanism to deal with it. Consensus is while it is important for a bad time in a file to get fixed, in the meantime, there is data analysis to do.


'An error occurred. undefined'

First of all, I would like to say a huge thank you to @sarah-widder, @iseabock and everyone else that works on this project. This project has been transformative for our organisation.
I’d like to share an error that we have noticeably seen over the last month.
Describe the bug
'An error occurred. undefined' and 'An error occured. Answers can't be saved at this time. if the problem persits, please contact the site administrator.'
We regularly hit ‘undefined’ error messages, the console shows a 'failed to load resource' ERR_INCOMPLETE_CHUNKED_ENCODING and 500 error (screenshot below). Following the error you’re able to get back into the conversation by prompting again. Sometimes the error occurs midway through the response being generated on screen, the response is then hidden and the error shows. Sometimes the error shows as an immediate response to the question asked.
In our experience the error will occur regardless of network, device, browser or time - Any advice on where to start troubleshooting this would be highly appreciated, thank you.
To Reproduce
Steps to reproduce the behavior:

Go to 'Frontend of App Service'
Click on 'Type a new question'
Initiate a dialogue or continue existing dialogue
See error at approx 1 in 10 conversations

Expected behavior
Preferable behavior would be that the incomplete answer is shown to the user, and/or the service automatically attempts to try again.
Screenshots

Configuration: Please provide the following

Azure OpenAI model name and version - gpt-4, 1106-Preview
Is chat history enabled? Yes
Are you using data? If so, what data source? Azure AI Search 'keyword' indexing Blob Storage
App Service - Premium v2 P1V2
Max Tokens 2000

Additional context
Overall the service works really well, the error appears to occur regardless of number of concurrent users, and appears whether a citation is used or not.
Our setup follows the guidance here - https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/use-your-data-securely#resources-configuration

Same problem here "An error occurred. undefined" some solution for that error?


Minimize,maximize Issue

if you minimize and maximize the spinning cube or particles samples, an exception is thrown

Reproduced on windows and fixed in #22

This can probably be closed.


Suggestion for orientation fixing

Already posted this on the YT vid but I'll repeat it here anyways.
For fixing orientation you 1st want to determine the longest or shortest section of the shape, doesn't matter what way it's rotated at this point, you just set that section as the central axis. Next you find the opposite (so if set longest as central then now you want shortest) and set that as the next axis to orientate around. Now you do the basic √(A² * B²) to find the shortest or longest hypotenuse between those 2 lengths and set that as "up" or "down". You should have a fixed orientation at this point, if not then some more calculations based on the remaining length are needed but that you should be able to work out yourself.
As for the probable number of unique shapes, start with W * H * D of the total area available for orienting in and then apply whatever formula it was for calculating the number of variants in sequences of length N like 2=2(XY,YX) & 3=6(XYZ, XZY, YXZ, YZX, ZXY, ZYX), that will give you a suitable amount of shapes to potentially store.
Finally you can speed up the search for same by just using a list of offsets to that pre-allocated array, the offsets will be for the start of the shapes containing the same number of cubes and a length of said array. From there I have no further ideas for optimal searching.

Fixing orientation can be done more simply by taking the bit array representation, pad it to a cube, creating all 24 rotations of it, translate each to a fixed corner, interpreting each bit array as a number, and then going with the smallest number. This method can be implemented as a constant number of bitshifts and a final series of 24 comparison operations.
For example, in 2d with only 2 shapes, you can consider these two orientations of an L shape:
100     110
100 and 010
110     010

and interpret them as numbers 100100110 and 110010010, and consider the larger number, 110010010, to be the  "canonical" orientation of an L shape.

Finally you can speed up the search for same by just using a list of offsets to that pre-allocated array, the offsets will be for the start of the shapes containing the same number of cubes and a length of said array. From there I have no further ideas for optimal searching.

Searches within a Python set() are constant time.  It's not the same as comparing the needle to every item in the haystack.

Fixing orientation can be done more simply by taking the bit array representation, pad it to a cube, creating all 24 rotations of it, translate each to a fixed corner, interpreting each bit array as a number, and then going with the smallest number.

The fastest speedup thus far is to store all of the rotations of a newly-found unique polycube, rather than rotating every candidate 24x and looking for each.  Any rotation-independent hashable representation will need to out-do not rotating a candidate at all while also cutting down the number of rotations for a found unique polycube below 24x.

Well mine doesn't actually rotate the object, just defines what order to compare the cells in by using traits the various orientations of each shape would share in a unique enough way to fixate the relative order so for example a calculated orientation could result in separate references being set to different lists like this
getx = getabsz
gety = getabsx
getz = getabsy
The comparison would then not care about the underlying orientation because it's just reading the cells in the same relative order. Additionally I suspect that formula for N numbers to arrange would likely get the same counts anyways, I personally refuse to use python and am working on a more time consuming project anyways so I'll leave testing that theory to you lot.

I think the original implementation used a depth first search without the need of a hash table: http://kevingong.com/Polyominoes/ParallelPoly.html

The idea is to generate the objects using these inner/outer numbered cells, which allows you to generate all polysquares (and cubes), including rotational and transitional equivalent ones. But you can filter out all the rotational equivalent ones by rejecting every shape where the root element isn't the left most square at the bottom of the polysquare:

So now you have an algorithm that allows you to visit every polysquare ones, without needing to store them.
I'm not sure how the accounted for the rotational equivalent ones, I can see two approaches working:

Just have different counters for rotational symetric polysquares/cubes, this would result in a larger search space

fix the orientation of non-rotational symmetric polysquares/cubes using a method as described in this thread above, and hash every rotational symmetric polysquare, to canonicalize those.

the paper suggests that

[...] However, the cost of checking for symmetry probably outweighs the potential gain in speed. In fact, as is evidenced by Lunnon's results, and proven theoretically, the number of polyominoes with no symmetry divided by the number of polyominoes approaches 1 as the size of polyominoes grows larger.

This seems to suggest that 2. is the way to go, as we wouldn't expect to many entries, and drastically reduce the search space at the start.

Well I don't know if your method really is the best but I can say with certainty that I like my method better. It's easy to understand that a shape in any orientation will occupy the same volume of space, so using the dimensions of that space to get the fixed perspective to start comparing in is much easier than trying to rotate it until it matches one that already exists. Sure when it drops down to programming level hash tables are probably of use, but it still likely helps cause the desired collisions by fixing the perspective.


Mutation to store the data dictionary filename

We need to store the uploaded data dictionary's filename when one is uploaded on the index page. This is so that it can be used in the filename of the outputted, newly annotated data dictionary on the download page.
The filename of an uploaded file was already being passed by the file-selector component, but nothing was being done with it.

[x] Create a store field filename in the store's dataDictionary object
[x] Create a new mutation, setDataDictionaryFilename, that will take a filename and store it in the above new field
[x] This mutation will be called inside the processDataDictionary action

This new mutation will be used for issues #406, #407, #408.

This new mutation will be called inside the processDataDictionary action.

Addressed by commit https://github.com/neurobagel/annotation_tool/commit/4d364ca361665bb452c029fee80a1480c4684a87

Done, but blocked until #427 is complete.
(See branch https://github.com/neurobagel/annotation_tool/tree/restore-download-functionality)

Closed by #433


Testimonials Section

Hey @mudit023

Please Approve or mention me, do anything

You don't need to tag me every time you create a Pull Request.

Create a new PR without updating this project's main readme.
And add a readme in your template with screenshots.

Create a new PR without updating this project's main readme. And add a readme in your template with screenshots.

You don't need to tag me every time you create a Pull Request.

Ok I am sorry


BCI-1224.rewrite example contracts

This PR refactors both example folders.
Because all our cairo contracts are compiled on cairo-rc-0, they are not deployable to starknet goerli alpha. Therefore, the aggregator consumer examples are only tested on devnet.
I had to rework the functionality of the examples/ for the price consumer with sequencer check because it didn't make sense in the last revision. So for now, I eliminated the tests since they were testing defunct logic. (i.e. it takes longer than 60 seconds to deploy the contracts so the reports will always be stale)

yarn compile should be replaced here similarly to build-contracts:
https://github.com/smartcontractkit/chainlink-starknet/blob/cfd1e36e2e566f60af5fa5a2466b02f0ee15b8a8/Makefile#L91-L103
https://github.com/smartcontractkit/chainlink-starknet/blob/cfd1e36e2e566f60af5fa5a2466b02f0ee15b8a8/Makefile#L261-L263
I'm not sure what the difference between build-contracts and build-ts-contracts is. I guess the latter one still needs yarn compile:solidity

I think this needs a merge/rebase? The diff includes changes that are already on develop


Update JSON Test Data to fix bug

This updates to JSON Test Data 1.1.3 and increments version to 0.2.3.

Coverage remained the same at 99.522% when pulling 7d0500526f4e1b94b88b85532990f66e97f46cb9 on update-json-test-data into e09e95ffc0fbc85b34b85488c01e8cefe4c5c0c4 on master.


RtOverridenTest.java:32-32: Improve test coverage and mutation...

The puzzle 8-f03e0f96 (from #8) in atom-codegen/src/test/java/oo/atom/r/RtOverridenTest.java (lines 32-32) has to be resolved: "Improve test coverage and mutation coverage for {@link RtOverriden}"
The puzzle was created by Sergey Kapralov on 07-Sep-17.
Estimate: 15 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@skapral please pay attention to this new issue.


(chore) add mdn link for let and const

Add further reading section and included mdn link for let and const

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Return EINVAL when alignment is not a power of 2 to match posix standard

Solve the todo in alloc-override.c

If the considerations mentioned by TODO is resolved, the comments should be updated accordingly.

I see. I'll keep this in mind!


Add state bucket replication.

Add state bucket replication.
Modify template to replicate state bucket to a different region.

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add Columbus State University

Computer Science B.S.:
https://www.columbusstate.edu/academics/degrees-and-programs/bs-computer-science.php
School contact email listing:
https://www.columbusstate.edu/admissions/contact.php
Student portal to email access:
https://login.microsoftonline.com/0f04a099-6dc7-44fd-a875-00922906fc9b/saml2?SAMLRequest=jZLNbtswEITveQqBd0mkzFgWIStwaxQ1kLZG7PTQS0FSVEKUPy6XDJq3L%2BU0aE5GroPdnW92t7%2F5Y03xpAJo79aIVBjdDFf9JsVHd6d%2BJwWxyBUO1igFxzwHDcxxq4BFyQ6bL7esqTA7BR%2B99AYVu%2B0a%2FZRETFxMyyUhTasoEQvaiHGBJ0qvFR7FipLFimCCW1R8f%2FXOc3I7QFI7B5G7mCXc0BK3JcHHhrAFZpT%2BQMU2Q2nH47nrMcYTsLo2%2FkG7ymoZPPgpeme0U5X0tsYTphx3XbkcZVtSOo0lX7XXJcZd03R4OclO1MCtaVCx%2F5fjg3ajdg%2BXQ4uXImCfj8d9uf92OKJiA6DCTPbRO0hWhYMKT1qq%2B7vb%2F6z2WULKbCZZkSBnjapSY6p53notuTGCy19o6Gcodt5IeDkCm5XLUPwVAA3vsjsH7%2Bs3VkP%2FNU%2FdbffeaPlcfPLB8njZdFb0WE7nUnaaLwpRuYjqoa%2Ff%2FtJw9Rc%3D

@imdavidy First stage of verification passed, official domain for Columbus State University is columbusstate.edu as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@imdavidy Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Adds pluggable wait strategy, and HTTP(S) implementation.

Purpose
This PR adds a pluggable wait strategy, to enable containers to be checked for readiness using arbitrary logic.
It also adds an HTTP(S) wait strategy to wait for a particular endpoint to be available.
Implementation

Refactored existing waitForListeningPort(...) logic into its own class.
Adds new HTTP(S) wait implementation

Examples
Wait for 200 OK:
@ClassRule
public static GenericContainer elasticsearch =
    new GenericContainer("elasticsearch:2.3")
               .withExposedPorts(9200)
               .waitingFor(Wait.forHttp("/all"));

Wait for arbitrary status code on an HTTPS endpoint:
@ClassRule
public static GenericContainer elasticsearch =
    new GenericContainer("elasticsearch:2.3")
               .withExposedPorts(9200)
               .waitingFor(Wait.forHttp("/all")
               .forStatusCode("301)
               .usingTls());

Thanks for this! Just a few comments so far, but looking good!
Please can you add some tests some time ;) ?
BTW the CI builds have both failed on the Virtuoso container module - it's possibly unrelated but I'm looking into it...

@rnorth the tests failed because I rebased after pushing ;-) Have switched to pushing additional commits now to track comments above.

Aha! No worries then :)

On 18 Apr 2016, at 21:16, Pete Cornish<EMAIL_ADDRESS>wrote:
@rnorth https://github.com/rnorth the tests failed because I rebased after pushing ;-) Have switched to pushing additional commits now to track comments above.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/testcontainers/testcontainers-java/pull/133#issuecomment-211556984

Ah, no, on second thought that would break chaining, as the container ref isn't initialised yet when declaring the class rule field. Might just make the forContainer method private and remove it from the interface. The call from within GenericContainer will still work because AbstractWaitStrategy is an inner class.

FWIW I'll accept this PR with only Travis CI passing, as the CircleCI builds are not receiving the patch on master to disable Virtuoso build. FYI @outofcoffee, when you're ready.

Tests failing because of https://github.com/testcontainers/testcontainers-java/pull/140

@rnorth as discussed; Travis build is passing, but Circle still having issues.

Looks good to me - will merge.


Duplicated records on Addresses PopUp

It looks like the table is duplicating records here. I don't know why, it looks fine on the DB.

This task is done Please take look on it

Done. Thnx


Fixed an image for dark mode

Description
Fixed an image background that was white and not looking good in dark mode.

Issue Ticket Number
Fixes #307

Type of change

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

Checklist:

[X] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[X] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes needed to the documentation

Screenshots 👇

Congrats @durgeshm01722 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

My Profile URL - https://www.clueless.tech/profile/103863839958922066506
PR merged by - @Debajyoti14


GT 540M (nvc1): thread lockup, high CPU utilization

I am trying to get gdev run on my laptop with nVidia GT 540M which has Optimus features.
I had some success with porting the gdev-nouveau patch for a recent kernel (v3.5-rc5), as some older kernels seem to suffer from a regression that prevents nouveau from correctly loading the VBIOS of Optimus card.
I can get gdev load and initialize scheduling on my card.
[19399.565352] [drm] nouveau 0000:01:00.0: Detected an NVc0 generation card (0x0c1a00a1)
[19399.571400] [drm] nouveau 0000:01:00.0: Checking PRAMIN for VBIOS
[19399.581142] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
[19399.581145] [drm] nouveau 0000:01:00.0: Checking PROM for VBIOS
[19399.581206] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
[19399.581207] [drm] nouveau 0000:01:00.0: Checking ACPI for VBIOS
[19400.109459] [drm] nouveau 0000:01:00.0: ... appears to be valid
[19400.109463] [drm] nouveau 0000:01:00.0: Using VBIOS from ACPI
[19400.109465] [drm] nouveau 0000:01:00.0: BIT BIOS found
[19400.109467] [drm] nouveau 0000:01:00.0: Bios version <IP_ADDRESS>
[19400.109469] [drm] nouveau 0000:01:00.0: TMDS table version 2.0
[19400.109804] [drm] nouveau 0000:01:00.0: MXM: no VBIOS data, nothing to do
[19400.109806] [drm] nouveau 0000:01:00.0: DCB version 4.0
[19400.109808] [drm] nouveau 0000:01:00.0: DCB outp 00: 02000300 00000000
[19400.109810] [drm] nouveau 0000:01:00.0: DCB conn 00: 00000000
[19400.109824] [drm] nouveau 0000:01:00.0: Adaptor not initialised, running VBIOS init tables.
[19400.109826] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xD5E7
[19400.131225] [drm] nouveau 0000:01:00.0: 0xD591: i2c wr fail: -6
[19400.171601] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xDC43
[19400.198693] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xEE49
[19400.198699] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xEE4D
[19400.198754] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xEF35
[19400.198756] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table at offset 0xEF9A
[19400.221127] [TTM] Zone  kernel: Available graphics memory: 4045146 kiB
[19400.221129] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[19400.221130] [TTM] Initializing pool allocator
[19400.221133] [TTM] Initializing DMA pool allocator
[19400.221150] [drm] nouveau 0000:01:00.0: Detected 512MiB VRAM (DDR3)
[19400.225943] [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture)
[19400.231122] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[19400.231123] [drm] No driver support for vblank timestamp query.
[19400.231125] [drm] nouveau 0000:01:00.0: ACPI backlight interface available, not registering our own
[19400.236646] [drm] nouveau 0000:01:00.0: 3 available performance level(s)
[19400.236649] [drm] nouveau 0000:01:00.0: 0: core 50MHz shader 101MHz memory 135MHz voltage 830mV
[19400.236651] [drm] nouveau 0000:01:00.0: 1: core 202MHz shader 405MHz memory 324MHz voltage 830mV
[19400.236653] [drm] nouveau 0000:01:00.0: 3: core 672MHz shader 1344MHz memory 900MHz voltage 980mV
[19400.236655] [drm] nouveau 0000:01:00.0: c: core 202MHz shader 405MHz memory 324MHz voltage 980mV
[19400.241476] [drm] nouveau 0000:01:00.0: MM: using COPY1 for buffer copies
[19400.318223] [drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0x120000, bo ffff88023e7e6c00
[19400.318307] fb1: nouveaufb frame buffer device
[19400.318310] [drm] Initialized nouveau 1.0.0 20120316 for 0000:01:00.0 on minor 1
[19400.794484] [drm] nouveau 0000:01:00.0: no native mode, forcing panel scaling
[19421.057854] [gdev] Loading module...
[19421.057864] [gdev] Found 1 physical device(s).
[19421.057869] [gdev] Configured 4 virtual device(s).
[19421.058054] [gdev] Gdev#0 compute scheduler running
[19421.058093] [gdev] Gdev#0 memory scheduler running
[19421.058132] [gdev] Gdev#0 compute reserve running
[19421.058172] [gdev] Gdev#0 memory reserve running
[19421.058209] [gdev] Gdev#1 compute scheduler running
[19421.058247] [gdev] Gdev#1 memory scheduler running
[19421.058286] [gdev] Gdev#1 compute reserve running
[19421.058298] [gdev] Gdev#1 memory reserve running
[19421.058321] [gdev] Gdev#2 compute scheduler running
[19421.058336] [gdev] Gdev#2 memory scheduler running
[19421.058351] [gdev] Gdev#2 compute reserve running
[19421.058367] [gdev] Gdev#2 memory reserve running
[19421.358632] [gdev] Gdev#3 compute scheduler running
[19421.358663] [gdev] Gdev#3 memory scheduler running
[19421.358695] [gdev] Gdev#3 compute reserve running
[19421.358725] [gdev] Gdev#3 memory reserve running

I added some printf statemets to the (user-mode) madd in order to trach exection but not interfere by using a debugger or similar tools.
When I try to run it, cuInit and cuDeviceGet runs successfully. Things start to get interesting with cuCtxCreate, the first call that actually "does something" with the GPU. Although it returns successfully, the following  dmesg output is produced:
*** [19435.092642] [gdev] Created context object on gdev0
[19435.092727] [drm] nouveau 0000:01:00.0: PFIFO: read fault at 0x0000000000 [PT_NOT_PRESENT] from PGRAPH/CTXCTL on channel 0x00004de000
[19435.092743] [drm] nouveau 0000:01:00.0: PFIFO: unknown status 0x40000000
*** [19435.092964] [gdev] Created DMA object on gdev0
*** [19435.092977] [gdev] Created scheduling entity on gdev0
[19435.092980] [gdev] Opened gdev0

Lines marked by *** were added by me, and complement the messages that would be printed in case of error. To sum up, the card gets into me sounknown state occurs, but some further memory allocations succeed and the CUDA context can be created.
The test program continues from this point. However, cuModuleLoad never returns and the CPU core on which madd runs gets stuck with 100% utilization. I cannot kill the test application with a SIGTERM, nor a SIGKILL, so I think it could be safely concluded that the kernel is stuck waiting for some spinlock.
Because what gdev_raw_ctx_new does is basically some buffer object allocation with gdev_drv_bo_alloc, I attempted fiddling with that method a bit. Setting an alignment value (0x1000) does not help. I haven't much knowledge about the inner workings of nouveau, nor implementation details of nVidia card, and the gdev_drv_bo_alloc -- comparing it with other code in v3.5-rc5's nouveau -- looked otherwise idiomatic to me, I cannot thing about anything else that could be done to fix this problem.
Do you have any idea how could I get gdev work on my machine? The other card I have access to is GTX 560 Ti (nvc3), which is even newer and I imagine has even... lighter support in nouveau. Although of course I will try gdev on that machine too: the lack of Optimus might help a bit. But currently I only have remote access to that machine and random kernel panics could annoy the system administrators deeply.
I also tried the pscnv driver, but had even less success: it loads an invalid VBIOS from PCIROM, thus a default: case with BUG(1) gets hit when pscnv tries to set the clock frequency for the card. (I wrote a patch for Bumblebee, the script that makes use of Optimus under Linux, to load pscnv. I will, for obvious reasons, only submit that patch to the Bumblebee git repo when I can actually load pscnv without a kernel panic.)

Could you post the commit which fixed this issue? I met the same problem when running an old version of gdev (605e69e70ce7b4c505be91696612e98649ec383f). For some reason, I can't move to a latest version. Thanks!


Irregular card display on user/playlists

This is a result of blanket caching of the group of playlists. We actually don't want this, as we show different results to the owner vs. normal user.


prometheus: fix double formatting to stringstream

Follow up fix to https://github.com/redpanda-data/seastar/pull/136
Fixes up an earlier commit which should have been a refactor commit but had an unintended change to the way double's were formatted on the prometheus response.
This unintended change was caught by the redpanda test suite indirectly (some test expectations were looking for a specific metric value which they could not find because the value got rounded to a different number in scientific notation). We now also add a test around the prometheus wire formatting to catch such bugs earlier inside the codebase.

Force-push: fix compiler warning in CI error: implicit conversion from 'long' to 'double' changes value from<PHONE_NUMBER>7654321 to<PHONE_NUMBER>7654320 [-Werror,-Wimplicit-const-int-float-conversion]

Force-push: address code review feedback


always use system clipboard in evil-mode

Observed behavior
when I use dd or yy command in evil，it always store result in system clipboard.
Can I turn this feature off by use doom config?  If so, how to turn this off.
Thank you.
Expected behavior
dd or yy in evil, don't store result in system clipboard.
Steps to reproduce

yy or dd in evil
paste outside emacs

System information
doom-emacs ( develop )
Mac os

I find it's because "osx-clipboard" .
So I add this to my confil.el.
(when IS-MAC (add-hook 'after-init-hook (lambda () (osx-clipboard-mode -1))))

then it close when startup.

A shorter, perhaps more elegant version would be:
(remove-hook 'doom-post-init-hook #'osx-clipboard-mode)

An IS-MAC check won't be necessary, since the above will do nothing if osx-clipboard-mode isn't in doom-post-init-hook.


correct a typo for mateusz-kozlowski

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/mateusz-kozlowski.yml
:white_check_mark:Succeeded

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


c-clique constraint option

Codecov Report

Merging #64 (73f44f6) into main (f92b6f5) will decrease coverage by 0.35%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   99.64%   99.28%   -0.36%
==========================================
  Files          10       10
  Lines         278      281       +3
==========================================
+ Hits          277      279       +2
- Misses          1        2       +1

Impacted Files
Coverage Δ

src/graph_kernels.jl
97.61% <83.33%> (-2.39%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Port scaffolding fix for nvarchar(4000) to 2.0.1

See full details here: https://github.com/aspnet/EntityFrameworkCore/issues/9188
Note: this still needs to be approved for patch, so it's not 100% for sure in 2.0.1 yet.

This patch bug is approved for the 2.0.x patch. Please send a PR to the rel/2.0.1 branch and get it reviewed and merged.

Hi, we have a public test feed that you can use to try out the ASP.NET/EF Core 2.0.3 patch!
To try out the pre-release patch, please refer to the following guide:

https://github.com/aspnet/Announcements/issues/274 (info)
https://github.com/aspnet/Home/issues/2254 (discussions and questions)

We are looking for feedback on this patch. We'd like to know if you have any issues with this patch by updating your apps and libraries to the latest packages and seeing if it fixes the issues you've had, or if it introduces any new issues. If you have any issues or questions, please reply on this issue to let us know as soon as possible.
Thanks,
Eilon

I have tried the ASP.NET/EF Core 2.0.3 patch and the scaffolding issue is still there.

@ksahota - Did you re-scaffold database or upgraded package in already scaffolded code?

@smitpatel , Upgraded package in already scafolded code .

This fix does not solve that issue. You manually have to edit generated file in existing files. Or you can delete scaffolded code and re-generate them. This fix stops producing incorrect code.

Seems to be working. Thanks @smitpatel


[feature request] add an API to execute arbitrary Z-Wave commands

Introduction
I have a bunch of Stelpro Ki thermostats that I installed few years ago when I was using SmartThings. Those thermostats were always working great.
The feature: display outdoor temperature
The have a feature to show outdoor temperature that works well with SmartThings the code for that is here.
The failure
I switched to Home Assistant (which is using OpenZWave) and I never found how to use this feature.
Specs
On SmartThings, it's using the sensorMultilevelV3.sensorMultilevelReport to send this information to the device.
spec sheet on z-wave alliance:
Outdoor Temperature

When connected to a Z-Wave network, the thermostat may display the outdoor temperature provided by an external sensor.
When available, the outdoor temperature is displayed instead of the set point, providing that the outdoor temperature display setting is set to on.
If no temperature is received within a 4 hours timeframe, the outdoor temperature will disappear and the set point will be displayed.
In order to display the outdoor temperature, an external sensor needs to be part of the Z-Wave network. It may be a physical sensor or a weather station app.
Refer to your Z-Wave hub controller instructions manual to find how to associate both devices. On some Z-Wave hub controllers, an app may be used to provide the outdoor temperature.

The hope
Is it possible to code something like this using zwavejs/zwavejs2mqtt ? I'm not afraid to code it (I did the exact same feature for the zigbee version of this thermostat on the Zigbee2Mqtt project).
I'll need some guidance...

@carldebilly You can try with https://github.com/zwave-js/zwavejs2mqtt/pull/360

@carldebilly You can try with https://github.com/zwave-js/zwavejs2mqtt/pull/360

I'll try this weekend...

I'll try this weekend...

@carldebilly Check the PR for more information. In your case the command to send will be sendReport and the args [sensorType, scale, value] like described here: https://github.com/zwave-js/node-zwave-js/blob/c695ee81cb2b1d3cf15e3db1cc14b1e41a911cc0/packages/zwave-js/src/lib/commandclass/MultilevelSensorCC.ts#L149
@AlCalzone how does he can identify the correct values to use as sensorType and scale ?

@carldebilly Check the PR for more information. In your case the command to send will be sendReport and the args [sensorType, scale, value] like described here: https://github.com/zwave-js/node-zwave-js/blob/c695ee81cb2b1d3cf15e3db1cc14b1e41a911cc0/packages/zwave-js/src/lib/commandclass/MultilevelSensorCC.ts#L149
@AlCalzone how does he can identify the correct values to use as sensorType and scale ?

sensor types are the first level keys here:
https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/sensorTypes.json
scales are the second level keys (or for the named scales the keys here https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/scales.json)

sensor types are the first level keys here:
https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/sensorTypes.json
scales are the second level keys (or for the named scales the keys here https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/scales.json)

Ok so the args could be in this case [1, 0, <value>] (air temperature, celsius, the value).
Topic: zwavejs/_CLIENTS/ZWAVE_GATEWAY-<yourName>/api/sendCommand/set
Payload:
{ "args": [
  {
    "nodeId": 4,
    "commandClass": 49,
    "endpoint": 0,
    "property": "Air temperature"
  },
  "sendReport",
  [1, 0, <value>]
  ]
}

Ok so the args could be in this case [1, 0, <value>] (air temperature, celsius, the value).
Topic: zwavejs/_CLIENTS/ZWAVE_GATEWAY-<yourName>/api/sendCommand/set
Payload:
{ "args": [
  {
    "nodeId": 4,
    "commandClass": 49,
    "endpoint": 0,
    "property": "Air temperature"
  },
  "sendReport",
  [1, 0, <value>]
  ]
}

Should be the correct one. Maybe another endpoint, but that must be mentioned in the manual in that case.

Should be the correct one. Maybe another endpoint, but that must be mentioned in the manual in that case.

@carldebilly Ok so try with the example I showed you with endpoint 1-2-3 until you see the desired outcome :)

@carldebilly Ok so try with the example I showed you with endpoint 1-2-3 until you see the desired outcome :)

It worked on the very first try!  Thanks good work!

It worked on the very first try!  Thanks good work!


examples: Fixes some examples EOF

Contribution description
This resolve some files without EOF  in the examples folder. Only add a little changes with clang format to fix some  'if' that need a space

Testing procedure

Issues/PRs references
Fixes #113

Squash completed :+1:  :v:


Please adapt to changes in iOS17 & macOS 14

https://github.com/SwiftUI-Plus/Connections/blob/b7a67d9001bfc8c41dbffcda4111cfacb37da863/Sources/Connections/Support/Identifiable.swift#L5
Please update this to work with upcoming changes:
id | Apple Developer Documentation

@objc
dynamic var id: UUID { get }
Relationships
From Protocol
Identifiable

I already fixed this in the latest release. Contributions always welcome btw, rather than demands ;)

I'm sorry, didn't realize I sounded demanding ;)
1.2.0 fails to compile:
Command SwiftCompile failed with a nonzero exit code

/Connections/Fetch/FetchContact.swift:23:31 'ID' is only available in iOS 17 or newer
/Connections/Fetch/FetchContactList.swift:118:33 'ID' is only available in iOS 17 or newer
/Connections/Fetch/FetchContainerList.swift:57:42 'ID' is only available in iOS 17 or newer
/Connections/Support/Identifiable.swift:4:1 Type 'CNContact' does not conform to protocol 'Identifiable'

I'll submit a PR later.

Appreciate it. I’m surprised as I saw this and thought I’d resolved. Perhaps the fix only worked in the previous beta. Thansk.


Make banner configurable

This pr makes the banner configurable. It converts the disclaimer endpoint into a generic config endpoint which serves a json of whatever ui configs are added to the settings file. The application component will get the json on mount and add the config to child contexts.
To test:
Rebuild httpd
Add values to the disclaimer and banner env vars in the docker-compose file
Ensure those changes are reflected in the ui.

Coverage increased (+0.1%) to 83.626% when pulling 03f67461e226f8cf256bc42fb3de9b8fa9a577d0 on 22371-ConfigurableBanner into 909cf6befd9dd75eadf2a1f01ea6b079787dd107 on master.

Coverage increased (+0.1%) to 83.64% when pulling 2981a918c09b02a0f9ebd60455aa546178294337 on 22371-ConfigurableBanner into b13ef69feab5ca4e5a15c7651b5086d132f247f7 on master.

Coverage increased (+0.1%) to 83.784% when pulling 0ebacc765ba971b24e0ebdd39c4193318aa34a4d on 22371-ConfigurableBanner into e5bbc0d6a095eb9b3a370d2ee45655a06ca5fe05 on master.


Shortcuts don't work if Alt is pressed before Shift

Godot version:
3.2.1.stable.official
OS/device including version:
Microsoft Windows [Version 10.0.17134.706]
Issue description:
A shortcut that uses both the Shift and Alt modifiers does not trigger its associated action if Alt is pressed before Shift.
Steps to reproduce:
Using the default shortcut mapping for Quick open, press Alt + Shift + O, in that order.
Minimal reproduction project:
N/A

Additionally I'm unable to create a new binding that both these modifiers if I press Alt before Shift. I believe that issue would be solved in the process of fixing this one, which is why I haven't created an issue for that.

If you press Ctrl+Alt+Shift+S in this order everything works. Please rename this to "Shortcuts don't work if Alt is pressed before Shift and Control isn't used"

The difference seems to be that when you press the SHIFT key first, the window messages look like this:

While in the second case the messages look like this:

Notice the VK_SHIFT in the second case beeing a WM_SYSKEYDOWN. The code does not handle this case. It only sets shift_mem on WM_KEYDOWN messages.


chore: change plot APIs to return figure object

Signed-off-by: takeshi.iwanari<EMAIL_ADDRESS>Why this change is needed

A user may want to modify graph appearance such as graph size by themselves, or may want to save the graph as image
However, currently most of graph settings are fixed in CARET_analyze, and plot APIs provide only two options: show or save as html

What is changed

Change plot APIs to return bokeh.figure object, so that a user can freely modify it later

Could you apply callback_sched.py as well?

I made the same change for callback_sched.py. Please review this PR again. Thanks.


issues #99

add option extractLink to load the page the link is loaded from the previous page

Can't you already manual define pathParse? Or am I missing the point of this change? What is it supposed to do?


User registration flag

Creating drupal users is complex and dumb.
The choice we've made is any third party app is responsible for knowing when a drupal user needs to be created.
Create a &create_drupal_user=1 that makes a drooops person

Dr00ps.


LogRocket initialized for every page through provider. Session are id…

LogRocket initializes for every page through provider. Session are identified using user object from useAuth()

I've invited you and James to the LogRocket account, so it should be possible to just use that for tests -- however having the option to change it at runtime makes a lot of sense down the line.

Hey Alex thanks for your patience so far.
So the casing issue has been a bit confounding -- e.g. I thought it had been resolved earlier.
After you brought that up I went back and found that sure enough the casing had reverted. When I tried manually changing the filename, the changes weren't acknowledged by the parser and provider.ts complained that it couldn't find the file. I ended up deleting logrocket.ts and creating a new file named logRocket.ts
So far, the changes seem to have stuck on my local repository. I pushed the changes to the LOG_ROCKET branch, however I can't see any difference when browsing the branch on Github. Am I missing something?
P.S. yarn fix threw an error so I need to look into that. The joys of Windev

I got 'yarn fix' to work -- the script was next lint --fix; prettify --write . which threw an error saying there's no --fix; flag so I changed it to next lint --fix && prettify --write .
So I did another commit, and the logRocket file now shows that it was updated in that commit when viewing it on Github, except... it is still spelled logrocket!?
What madness is this?

Deleting then recreating the file in two separate commits seemed to do the trick.
Would be nice to understand someday what was going wrong there.
Cheers and thanks for getting me oriented!


fix: Fix flaky flag

Fixes #2145
Test Plan

How do we know the code works?

run ./gradlew flankFullRun
build finish normally
start flank run with flaky tests
observe the flaky flag being added to the flaky cases (previously missing)

Checklist

[x] Unit tested

@flank-it


Uncaught TypeError: Cannot read property 'toString' of null

Uncaught TypeError: Cannot read property 'toString' of null
Atom Version: 0.158.0
System: linux 3.13.0-37-generic
Thrown From: travis-ci-status package, v0.11.0
Steps To Reproduce

...
...

Stack Trace
At /home/jarto/.atom/packages/travis-ci-status/lib/build-matrix-view.coffee:71

TypeError: Cannot read property 'toString' of null
  at BuildMatrixView.module.exports.BuildMatrixView.buildMatrix (/home/jarto/.atom/packages/travis-ci-status/lib/build-matrix-view.coffee:71:41)
  at /home/jarto/.atom/packages/travis-ci-status/lib/build-matrix-view.coffee:1:1
  at Request._callback (/home/jarto/.atom/packages/travis-ci-status/node_modules/travis-ci/lib/travis-http.js:36:13)
  at Request.self.callback (/home/jarto/.atom/packages/travis-ci-status/node_modules/travis-ci/node_modules/request/index.js:148:22)
  at Request.emit (events.js:110:17)
  at Request.<anonymous> (/home/jarto/.atom/packages/travis-ci-status/node_modules/travis-ci/node_modules/request/index.js:886:14)
  at Request.emit (events.js:129:20)
  at IncomingMessage.<anonymous> (/home/jarto/.atom/packages/travis-ci-status/node_modules/travis-ci/node_modules/request/index.js:837:12)
  at IncomingMessage.emit (events.js:129:20)
  at _stream_readable.js:907:16
  at process._tickCallback (node.js:378:11)

/cc @atom/core

@pariser I'm afraid I don't have a Travis CI Pro account in order to reproduce and fix this bug.

It would be nice to know what the parameters of https://github.com/tombell/travis-ci-status/blob/master/lib/build-matrix-view.coffee#L67 could be

Are you still experiencing this ?

Hey @magalhas I haven't seen this issue pop up in a while. I'll be sure to chime in if I see it again. I wish I knew exactly what I was doing to trigger the bug so I could try to reproduce it.

Thank you. I'm going to close this issue then.


Update _config.yml

:white_check_mark: Build POC-dotnet-Dijkstra 1.0.38 completed (commit https://github.com/GuilhermeStracini/POC-dotnet-Dijkstra/commit/c42bb50010 by @guibranco)


Waterloggable Railway Nodes

Is your feature request related to a problem? Please describe.
It's very niche lol but i've got a friend who wants to build a completely underwater railway and the air block surrounding nodes is annoying them. very stupid request i know
Describe the solution you'd like
be able to right click with a water bucket to waterlog the node :) very simple heh

Duplicate of #168


no way to tell up from down for plot overlay (PLOT/NOUSER?) on DEPTH (reversed) axes

Reported by andrew wittenberg on 8 Sep 2009 15:21 UTC
Would like to create a kind of "PLOT/NOUSER" go-file to easily overlay lines and/or polygons outside the plot window, in units relative to the plot axes (0=left/bottom of plot, 1=right/top).  I tried something like the following:
plot/vs/ov/nolab/line/color=1/thick=1% (($xaxis_min))+((($xaxis_max))-(($xaxis_min)))*(($1)), (($yaxis_min))+((($yaxis_max))-(($yaxis_min)))*(($2))

This works for regular axes, but not for reversed (depth) axes, where the overlay shows up on the wrong side of the plot (upside down).  Unfortunately, there doesn't seem to be a way to detect what sort of axes (regular or reversed) the overlay is going onto.  (I would've thought that YAXIS_MIN and YAXIS_MAX would have had a reversed order for depth axes, but apparently that is not the case.)  Would suggest new symbols, say X_REVERSED and Y_REVERSED, to indicate whether the axis is regular (0) or reversed (1).  Then a simple if-test could be used to do the overlay properly.
In case you're interested, the application here is to draw "buttons" and "toggles" for a GUI involving the WHERE command to get mouse clicks.  Works great for regular axes, but not yet for depth axes, where the buttons get flipped upside down...
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1682

Comment by ansley.b.manke on 8 Sep 2009 17:51 UTC
... And/or, just implement a PLOT/NOUSER as in ticket #164.  Then we could really get rid of ALINE once and for all.

Comment by ansley.b.manke on 10 Sep 2009 22:45 UTC
I've added symbols XAXIS_REVERSED and YAXIS_REVERSED, so that a SHOW SYMBOLS AXIS will find these. YAXIS_REVERSED is 1 if it's a depth axis that's shown upside-down.

yes? use levitus_climatology      1:360     1:180     1:20      ...

yes? shade/x=320:360/y=-10 temp

yes? sh sym *axis*
XAXIS_REVERSED = "0"
YAXIS_REVERSED = "1"
XAXIS_MIN = "320.00000"
XAXIS_MAX = "360.0000"
YAXIS_MIN = "0.0000000"
YAXIS_MAX = "5000.000"

! but with /trans the z axis is not reversed:
yes? fill/trans/x=320:360/y=-10 temp

yes? sh sym *axis*
XAXIS_REVERSED = "0"
YAXIS_REVERSED = "0"
XAXIS_MIN = "0.0000000"
XAXIS_MAX = "5000.000"
YAXIS_MIN = "320.50000"
YAXIS_MAX = "359.5000"


Image Conversion

Sorry for the delay, I have been travelling a lot. I am a beginner developer and tried my best to implement image conversion. Please suggest any changes to be made.
I have used multer to upload the file to a buffer and sharp to convert the format.
The only issue I am facing is when the user wants to change the format for the same image without re-uploading, the download doesn't work. It only works if the image is uploaded again. I am out of options on what to do.

File system access is required to upload and download images, but the check is failing. Please help


writing trt engine to file fails deserialization: TensorRT] ERROR: INVALID_ARGUMENT: getPluginCreator could not find plugin BatchedNMS_TRT version 1

Added this code to the build_engine function:
engine = builder.build_engine(network, config)
print("Completed creating Engine")
with open(engine_file, "wb") as f:
    f.write(engine.serialize())
    print(engine.serialize())
return engine

which gives correct results for the first time when engine file is generated. But when reading from written engine file cannot find plugin, deserialization gives this error:
[TensorRT] ERROR: INVALID_ARGUMENT: getPluginCreator could not find plugin BatchedNMS_TRT version 1
[TensorRT] ERROR: safeDeserializationUtils.cpp (293) - Serialization Error in load: 0 (Cannot deserialize plugin since
corresponding IPluginCreator not found in Plugin Registry)
[TensorRT] ERROR: INVALID_STATE: std::exception
[TensorRT] ERROR: INVALID_CONFIG: Deserialize the cuda engine failed.
Traceback (most recent call last):
File "main.py", line 379, in <module>
    trt_result = profile_trt(build_engine(onnx_path, using_half), batch_size, 10, 100)
File "main.py", line 282, in profile_trt
    assert(engine is not None)
AssertionError

LD_PRELOAD=/path/to/libnvinfer_plugin.so python xxx, could this help?

hey did you guys, solved it?

@pkraison Since yolov5 is not working in deepstream so I did not move forward with @TrojanXu 's suggestion. You can try

Okay, so you need to initialise the trt inference plugins. and the problem solved. I did it in build_engine function.
trt.init_libnvinfer_plugins(None, ' ')

@pkraison Great thanks! so the engine builds successfully and you are getting the correct output when reading from a prebuilt engine file?

@makaveli10 yes, it's working!

@makaveli10  Hello, may I ask what line is the code added to? Your build_engine function Can I see ？Thank you very much。