An error occurs. If you use the requirejs.

An error occurs. If you use the requirejs (http://www.requirejs.org/)
error : ReferenceError: ol is not defined
thank you.
source
require.config({
paths: {
angular: '../../bower_components/angular/angular',
'angular-animate': '../../bower_components/angular-animate/angular-animate',
'angular-cookies': '../../bower_components/angular-cookies/angular-cookies',
'angular-mocks': '../../bower_components/angular-mocks/angular-mocks',
'angular-resource': '../../bower_components/angular-resource/angular-resource',
'angular-route': '../../bower_components/angular-route/angular-route',
'angular-sanitize': '../../bower_components/angular-sanitize/angular-sanitize',
'angular-touch': '../../bower_components/angular-touch/angular-touch',
'bootstrap': '../../bower_components/bootstrap/dist/js/bootstrap',
'ol': '../../bower_components/openlayers3/build/ol',
'angular-openlayers-directive': '../../bower_components/angular-openlayers-directive/dist/angular-openlayers-directive.min'
},
shim: {
angular: {
exports: 'angular'
},
'angular-route': [
'angular'
],
'angular-cookies': [
'angular'
],
'angular-sanitize': [
'angular'
],
'angular-resource': [
'angular'
],
'angular-animate': [
'angular'
],
'angular-touch': [
'angular'
],
'angular-mocks': {
deps: [
'angular'
],
exports: 'angular.mock'
},
'angularAMD': ['angular'],
'angular-openlayers-directive': {
deps: [
'ol',
'angular',
'angular-sanitize'
]
},
// 'ol': {
// expors: 'ol'
// }
},
priority: [
'angular'
],
packages: [
]
});

Hi,
yes, noticed that as well. Do you have a fix for this?
I currently expose ol publicly on the window object which is kinda hacky, but works. If you gave a better fix, I'd be happy to accept a PR :smiley:

Hi. :smiley:
Yes. I'll change the way I know.

@realrnjs I'm closing as this should be resolved with the merge of your PR, right? Reopen if necessary. Thx again!


Initialize suback_reason_code from qos

I'm working to migrate my broker from v6.0.0. to master to check #444.
I noticed that subscribe_options, qos, and suback_reason_code conversion in inconvenient.
When the broker receives subscribe, one of the parameter is subscribe_options. It's good.
I can get qos from subscribe_options using get_qos(). It's good.
When the broker sends to suback to the client, I need to create the argument suback_reason_code from qos, if subscribe is successfully accepted.
Now, I need to do
auto rc = static_cast<mqtt::suback_reason_code>(qos)

or
mqtt::suback_reason_code rc;
switch (qos) {
case mqtt::qos::at_most_once:
    rc = mqtt::suback_reason_code::granted_qos_0;
    break;
case mqtt::qos::at_least_once:
    rc = mqtt::suback_reason_code::granted_qos_1;
    break;
case mqtt::qos::exactly_once:
    rc = mqtt::suback_reason_code::granted_qos_2;
    break;
}

I think that if suback_reason_code has a constructor that has qos parameter, then I can implement the broker easier. What do you think?
In addition, when the broker receives publish message, then the broker needs to adjust qos level between publish qos and subscribed qos.  Lower qos is chosen. If qos has operator<, I can easy to implement the broker. What do you think?
BTW, I will migrate my broker in two days. After I will do some performance tests in actual communication environment, then I will merge #444.

I think that if suback_reason_code has a constructor that has qos parameter, then I can implement the broker easier. What do you think?

I think it's a good idea to auto-convert from mqtt::qos -> mqtt::suback_reason_code and mqtt::qos -> mqtt::v5::suback_reason_code.
I do not think it is a good idea to auto-convert mqtt::suback_reason_code -> mqtt::qos, or mqtt::v5::suback_reason_code -> mqtt::qos
To do this, mqtt::suback_reason_code cannot be an enum (At least, I don't know of a way to provide implicit conversion between enums...?), it must be a class, like mqtt::subscribe_options.
Also notice this: https://stackoverflow.com/a/57286964
Maybe have the following:

v3.1.1 enum suback_reason_code
v5 enum suback_reason_code
v3.1.1 class for implicit-conversions for suback_reason_code
v5 class for implicit-conversions for suback_reason_code
Use std::variant<v3.1.1::class, v5::class>

?

In addition, when the broker receives publish message, then the broker needs to adjust qos level between publish qos and subscribed qos. Lower qos is chosen. If qos has operator<, I can easy to implement the broker. What do you think?

I use std::min<mqtt::qos, mqtt::qos>(A, B)
This does not work for you?

I use std::minmqtt::qos(A, B)
This does not work for you?

I looked over your comment. And post #453 .
I will check std::min<mqtt::qos>(A, B) soon.

I will check std::minmqtt::qos(A, B) soon.

It works. I did something wrong. I closed #453

I think it's a good idea to auto-convert from mqtt::qos -> mqtt::suback_reason_code and mqtt::qos -> mqtt::v5::suback_reason_code.
I do not think it is a good idea to auto-convert mqtt::suback_reason_code -> mqtt::qos, or mqtt::v5::suback_reason_code -> mqtt::qos

I think that both manual convert is also good.
I think that the following is good enough.
https://wandbox.org/permlink/RD9c7EBrj53L8c2V
What do you think?

I guess that's good enough.
It would be nice to provide a type-safe implicit conversion, but i don't think C++ supports that yet.


IncompleteRead

Hi!
When I use this script I often encounter an IncompleteRead error, for different playlists every time. Do you know what causes this?
$ ./spotify-backup.py --format json --token ... outpout.json
...
[05:26:40] Loading playlist: Best of DnB (321 songs)
Traceback (most recent call last):
  File "/home/erikw/dev/spotify-backup/spotify-backup.py", line 169, in <module>
    main()
  File "/home/erikw/dev/spotify-backup/spotify-backup.py", line 146, in main
    playlist['tracks'] = spotify.list(playlist['tracks']['href'], {'limit': 100})
  File "/home/erikw/dev/spotify-backup/spotify-backup.py", line 49, in list
    response = self.get(response['next'])
  File "/home/erikw/dev/spotify-backup/spotify-backup.py", line 36, in get
    return json.load(reader(res))
  File "/usr/lib/python3.4/json/__init__.py", line 265, in load
    return loads(fp.read(),
  File "/usr/lib/python3.4/codecs.py", line 489, in read
    newdata = self.stream.read()
  File "/usr/lib/python3.4/http/client.py", line 512, in read
    s = self._safe_read(self.length)
  File "/usr/lib/python3.4/http/client.py", line 664, in _safe_read
    raise IncompleteRead(b''.join(s), amt)
http.client.IncompleteRead: IncompleteRead(278101 bytes read, 12098 more expected)

There doesn't seem to be a clear reason why this error comes up. How frequently does this happen? I've modified the script to just retry requests in the event of any error... try it and see if it works?

Looks much better, the retry works the second time so +1 for you fix branch, works for me.
Unrelated:
If you don't specify a limit on the OAuth token, does it default to 10 usages? Because my tokens keeps stop working after a while, giving 401 unauthorized.

The tokens expire after some time, not sure after how long. That's why the script tries to authenticate every time, to get a fresh token.

Aha. In my cronjob'd wrapper script, I pasted a static token that I pass with --token.  And letting spotify-backup.py getting a fresh token will open a browser window = not good for scripted jobs? How does the authorization works? Where is the token saved, in a web cache some where?


Willmann 2018

Reference
doi or URL: https://doi.org/10.1371/journal.pone.0196482
Note this is not from calculus, and will need a new category. See #35

We should also re-add the bone samples given the new restructing. This is host-associated still but type is 'bone'.


New Release

Would you be so kind as to cut a new release of jansson? There hasn't been one in over a year. I maintain the jansson ebuild for Gentoo, and I'd rather not maintain patches for a revision of the package in order to fix the lack of symbol versioning.

Released v2.14! See https://github.com/akheron/jansson/releases/tag/v2.14 for tarballs.


Does not compile with Wasmtime 1.0

I tried this code with Wasmtime nuget package v1.0
Seems like Host is not existing anymore, so
using var host = new Host(engine);

does not compile.
Any recommendations on how to update this? Thanx!

Hi!
yes, they have changed the API.
Did you try the example from the docs?
https://bytecodealliance.github.io/wasmtime-dotnet/articles/intro.html


Azure: Make disk type configurable and default to SSD instead of HDD

This makes the disk type on Azure configurable and defaults it to SSD
disks, instead of hdd in order to speed things up. Comparison of join
times, the nodepools were created at the same time:
hdd-qpghq   Ready    worker   4m10s   v1.24.0+b5932d4
hdd-rv576   Ready    worker   3m41s   v1.24.0+b5932d4
hdd-vxnhr   Ready    worker   5m4s    v1.24.0+b5932d4
ssd-n27qp   Ready    worker   6m21s   v1.24.0+b5932d4
ssd-q4s5f   Ready    worker   6m13s   v1.24.0+b5932d4
ssd-tqlmh   Ready    worker   6m24s   v1.24.0+b5932d4

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm


[MM-23448] - Fix drag and drop in desktop app

Summary
After some digging it turned out that the events were working correctly in Desktop app, but the button wasn't draggable. Actually only the side indicator was draggable and working even before that change. Now that we are using the same component for webapp and desktop it works as expected.
Ticket Link
https://mattermost.atlassian.net/browse/MM-23448
Fix versions
v4.5 Desktop App

Nice find, thanks Nevy!

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-5102.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

/check-cla

/update-branch

New commit detected. SpinWick will upgrade if the updated docker image is available.

Mattermost test server updated with git commit f8ca4911c1930c6913b5bcbf15d26707ec4a4ecc.
Access here: https://mattermost-webapp-pr-5102.test.mattermost.cloud

Test server destroyed

@nevyangelova Has this been cherry-picked?

/cherry-pick release-5.22


Combo box and as_vec()

epic i made a typo in commit message. pls ignore and merge

Looks good now! Thanks for the contribution!


Implement coordinate signing/normalization mechanism from #46

As described in comment: https://github.com/dartclub/turf_dart/issues/46#issuecomment-1057465724

The decision was, to keep Position unsigned by default, but it can be converted to a signed coordinate easily!
The imagined behaviour with signed/unsigned is similar to DateTime, which can be local or UTC. The DateTime has conversion functions toLocal() and toUTC(), that return a new object. Internally it uses a boolean to save the state (local = true/false).

Tasks:

[x] Implementation
[ ] Documentation
[ ] Tests

@armantorkzaban I will continue to work on this in the next days


Missing value matrix heatmap

Closes Caleydo/lineupjs#366
LineUp

Overview

Artifical changes to show that the missing values are cell based:

Hm, the missing value encoding for heatmaps clutters quite a bit. Any suggestion how to resolve the problem?

@mstreit we could make the dashes shorter (almost as dot) so that we have some whitespace between each cell.

@think, yes that might help.

Shorter dashes would look like this:

Overview:

In my opinion it draws a lot of attention especially in the overview mode.
@sgratzl @mstreit What do you think?

Shorter looks even better:

The last commit contains the shortest dash (a square). If you like it you can go ahead and merge the PR.

@sgratzl I addressed your changes.


Splits multi char variables in \mathrm and \mathit into one  for each letter

If you have a multi character variable wrapped in \mathit or \mathrm the resulting mathml will not group it in one  as expected, but rather split it into one  for each letter. This causes problems for screen readers, which will read them one letter at a time, rather than the whole word.
For example 3\mathit{apples}+2\mathit{pears}=20\mathrm{kr} should produce:
<math display="block">
  <mn>3</mn>
  <mrow">
    <mi>apples</mi>
  </mrow>
  <mo>+</mo>
  <mn>2</mn>
  <mrow>
    <mi>pears</mi>
  </mrow>
  <mo>=</mo>
  <mn>20</mn>
  <mrow>
    <mi>kr</mi>
  </mrow>
</math>

But Temml produces:
<math display="block" class="tml-display" style="display:block math;">
  <mrow>
    <mn>3</mn>
    <mrow>
      <mi>a</mi>
      <mi>p</mi>
      <mi>p</mi>
      <mi>l</mi>
      <mi>e</mi>
      <mi>s</mi>
    </mrow>
    <mo>+</mo>
    <mn>2</mn>
    <mrow>
      <mi>p</mi>
      <mi>e</mi>
      <mi>a</mi>
      <mi>r</mi>
      <mi>s</mi>
    </mrow>
    <mo>=</mo>
    <mn>20</mn>
    <mrow>
      <mrow>
        <mi mathvariant="normal">k</mi>
      </mrow>
      <mrow>
        <mi mathvariant="normal">r</mi>
      </mrow>
    </mrow>
  </mrow>
</math>

I think it is poor practice to write a multi-character variable name in italic. Inside a math expression, italic letters are single-letter variable names. Because of that convention, you can read an equation like $E = mc^2$ and know that the $m$ and the $c$ are two variables, not one. Yes, I know many people on the web write multi-character variable names in italic. The world would be a more legible place if they stopped doing that.
Which is why I am not going to consolidate multiple letters inside \mathit into a single <mi> element.
You also bring up \mathrm and there you have a good point. I agree with this opinion that \mathrm is a good way to write multi-character variable names. I'll do as you request and consolidate \mathrm terms into a single <mi> element. Note that there will be exceptions. If people get wacky and write fractions inside \mathrm, Temml will give up and render each character separately.
Note that Temml already consolidates \text{…} into a single element. But that is a <mtext> element, not a <mi>. If your example uses kr to convey a currency name, then maybe it should be \text{kr}.
A week or two may go by before I get to this.

I'm just a stranger who stubbled on this issue randomly, but doesn't \operatorname{kr} follow the expected behavior of \mathrm{kr}?
I agree with @ronkok on the fact that variables should always be 1 character, and that is the way the TeXBook and the mathml spec expect things to be. A <mi> with more than one character usually represent a function name such as sin, exp, etc., and typesets them with the roman font by default.
On a sidenote, the mathml-core <ms> tag could be used as well for the same purpose.

I agree with @ronkok on the fact that variables should always be 1 character, and that is the way the TeXBook and the mathml spec expect things to be.

On a university level, yes. On a lower to mid school level? You start out with 🍏+🍐, move on to apple+pear, and then eventually you learn that you've been doing x+y all along.
I agree that multi char variables should be in roman, and as @Carlosted points out, that's the default behaviour for multi char <mi>-tags (MDN). But I do think that groupings should remain when translated, so \mathit{apple} and \mathrm{apple} could both translate to <mi>apple</mi>. Then it'll render correctly as roman apple.
However, I was a bit off the mark in the original post. NVDA + MathCAT (mathml plugin) does actually read the \mathit part as one word, because it's in one <mrow>. It tries to be smart about it, if it looks like a word it'll read it as a word, if it doesn't it'll spell it out.
So for example this will read as apple.
<mrow>
  <mi>a</mi>
  <mi>p</mi>
  <mi>p</mi>
  <mi>l</mi>
  <mi>e</mi>
</mrow>

While this reads as v w x y z
<mrow>
  <mi>v</mi>
  <mi>w</mi>
  <mi>x</mi>
  <mi>y</mi>
  <mi>z</mi>
</mrow>

It can be fooled, but overall it does a pretty good job of knowing when to spell it out and when to read it as a word (some examples). Of course it could differ from screen reader to screen reader, how well they handle knowing when to spell it out and when to read it as a word.
So \mathit works pretty ok. The problem with the mathml that temml produces is with the \mathrm, since it splits each letter into its own <mrow>. So for example the mathml from \mathit{apple}+\mathrm{pear} will be read by NVDA + MathCAT as apple + p e a r
<math display="block" class="tml-display" style="display:block math;">
  <mrow>
    <mrow>
      <mi>a</mi>
      <mi>p</mi>
      <mi>p</mi>
      <mi>l</mi>
      <mi>e</mi>
    </mrow>
    <mo>+</mo>
    <mrow>
      <mrow>
        <mi mathvariant="normal">p</mi>
      </mrow>
      <mrow>
        <mi mathvariant="normal">e</mi>
      </mrow>
      <mrow>
        <mi mathvariant="normal">a</mi>
      </mrow>
      <mrow>
        <mi mathvariant="normal">r</mi>
      </mrow>
    </mrow>
  </mrow>
</math>

@Carlosted, Temml's version of \operatorname differs from \mathrm in two respects:

\operatorname spacing is similar to math operators such as \sin. There is a small space placed between the operator and a subsequent variable, as in $\sin x$.
Temml's version of \operatorname writes an invisible <mo></mo> after the \operatorname{…}. This is done to enhance  accessibility. In MathML, variable names and function names are both written in an <mi> element. The <mo></mo> enables a screen reader to recognize a function name, so it can say "sin of" instead of "sin times".

As noted above, Temml's \mathrm does not yet consolidate its contents into a single <mi> element. That will change next week.

Resolved by release v0.10.23.


fix travis build

all my PRs are red even when they change nothing ...
@tlunter

@tlunter do you know what is going on or want me to try to fix travis ?

@grosser Sorry, currently very busy with internal projects. The failures you're seeing are due to hidden secrets. If there are more than just the three failures, then we can try and solve them.  I think the ruby 1.9.3 tests are failing due to a bad gem cache on Travis, which I'm not sure the best way to solve other than deleting the cache.

just clear the cache then ? ... I can't do that :D
On Thu, Aug 18, 2016 at 9:34 AM, Todd Lunter<EMAIL_ADDRESS>wrote:

@grosser https://github.com/grosser Sorry, currently very busy with
internal projects. The failures you're seeing are due to hidden secrets. If
there are more than just the three failures, then we can try and solve
them. I think the ruby 1.9.3 tests are failing due to a bad gem cache on
Travis, which I'm not sure the best way to solve other than deleting the
cache.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/swipely/docker-api/issues/437#issuecomment-240780843,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAsZyS5WzJMCZh-SGxKEgcuYHD-2ZVVks5qhImggaJpZM4Jkz-w
.

Done, now it looks like the error is due to the most recent json gem not being compatible with ruby < 2.0.0.

Can we drop 1.9 ... It's dead anyway ?
On Aug 18, 2016 09:53, "Todd Lunter"<EMAIL_ADDRESS>wrote:

Done, now it looks like the error is due to the most recent json gem not
being compatible with ruby < 2.0.0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/swipely/docker-api/issues/437#issuecomment-240786088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAsZ1s-bhLn16aSM1Sb0XtDqbXlXSn7ks5qhI4DgaJpZM4Jkz-w
.

https://github.com/swipely/docker-api/pull/440


Little bit further, but still

Hi - I continued to install, managed to creat an LMS server an connect my Spotify account to it.
However, after following your instructions, I can't install Spidev and RPi.GPIO. The installations crashes like this for Spidev (the RPi.GPIO output is almost the same):
Collecting spidev
  Using cached spidev-3.5.tar.gz (10 kB)
Building wheels for collected packages: spidev
  Building wheel for spidev (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4b3_e3l1/spidev/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4b3_e3l1/spidev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-r0scr535
       cwd: /tmp/pip-install-4b3_e3l1/spidev/
  Complete output (12 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'spidev' extension
  creating build
  creating build/temp.linux-aarch64-3.8
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe -march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe -fPIC -I/usr/local/include/python3.8 -c spidev_module.c -o build/temp.linux-aarch64-3.8/spidev_module.o
  spidev_module.c:28:10: fatal error: Python.h: No such file or directory
     28 | #include <Python.h>
        |          ^~~~~~~~~~
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for spidev
  Running setup.py clean for spidev
Failed to build spidev
Installing collected packages: spidev
    Running setup.py install for spidev ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4b3_e3l1/spidev/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4b3_e3l1/spidev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-2c71ntzl/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /root/.local/include/python3.8/spidev
         cwd: /tmp/pip-install-4b3_e3l1/spidev/
    Complete output (12 lines):
    running install
    running build
    running build_ext
    building 'spidev' extension
    creating build
    creating build/temp.linux-aarch64-3.8
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe -march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe -fPIC -I/usr/local/include/python3.8 -c spidev_module.c -o build/temp.linux-aarch64-3.8/spidev_module.o
    spidev_module.c:28:10: fatal error: Python.h: No such file or directory
       28 | #include <Python.h>
          |          ^~~~~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4b3_e3l1/spidev/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4b3_e3l1/spidev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-2c71ntzl/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /root/.local/include/python3.8/spidev Check the logs for full command output.
WARNING: You are using pip version 20.1.1; however, version 22.1.1 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.

Of cource, GCC is installed as extentions. Some sources advise to install compilec  as well, I tried this, but it didn't work.
Do you have any idea whats causing the error?
Warm regards,
Micharius

Looks to me like Python3.8-dev is missing, are you sure you installed the extension?

This is weird...I startet with a new image from PiCore...when I loaded the Python3.8-dev I noticed, that it is obivously loading a completely different image (sgqlite3) in the background (see screenshot)...to be continued...

This is not an error, SQLlite is a dependency and is automatically installed first

But shouldn't Python-dev be listed as a package in Installed after? It wasn't in my cause, only the squlite3 appeared. Concerning my problems, I assumed this could be the reason

I remember I was also confused because it looked like the extensions didn’t properly install, but that was only a problem with the GUI and everything worked. Yes, the extension should appear in the list with the installed packages, together with all the automatically installed dependencies like SQLlite and the normal Python3.8 package. If it does not even if you have enough disk space available, I‘m afraid you have to ask in the support forums of PiCorePlayer.

Solved the problem - I think, in the first attempt, the Python3.8-dev went only half through the installation process du the lack of disk space. The systems thought, it was installed, in reality, not all the packages were loaded. I could finally finish the installation steps.
Only to realize, that I don't have a RFID RC-522 reader...mine is a USB-connectec one, basically a Keyboard that types the numbers from the card.
So my idea to get a quick fix for the Spotify catatrophe is back to square one. I obviously need to learn more Python to solve this problem.
But thanks for helping anyway!


⚠ Jenkins Plugins Artifactory has degraded performance

In 7e4493b, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1352 ms

Resolved: Jenkins Plugins Artifactory performance has improved in bcd6570 after 22 minutes.


Route model binding do not trigger booted event

Laravel Version: 5.4.23

Description:
trait Reportable
{
    protected static function bootReportable()
    {
        static::registerModelEvent('booted', function(Model $model) {
            $model->setIncrementing(false);
            $model->fillable[] = 'number';
            $model->fillable[] = 'status_id';
        });
    }
}

class Invoice extends Model
{
    use Reportable;

    protected $fillable = ['purpose_of_payment', 'payment_method', 'datetime_of_payment', 'date_of_invoicing'];
}

class InvoiceController extends Controller
{
    public function update(Invoice $invoice, Request $request)
    {
        dump($invoice->getFillable()); //without number and status_id
    }
}

You don't call bootReportable  anywhere.

The event is triggered but you can't change the values of fillable like this.

Why?
In other all situations $fillable changing...

@themsaid Can you explain please, why if i use (new Invoice)->getFillable(), or Invoice::all(), etc - $fillable changes. But with route model binding - no 😕

Because they are two different instances, the binder first creates an instance of the Model class without loading an actual model from the DB, while creating that instance a model is booted and your listener is fired, then later it retrieves the model value from the DB but by this point your model was booted already so we won't boot it again.

Thanks)
What i can do for fix this problem (that my trait works with route model binding) ?

@themsaid Sigh, but method Invoice::find($id) are not modifying $fillable too...
How i can append values to $fillable attribute?

@themsaid Also i cant modify other fields:
            $model->setIncrementing(false);
            $model->timestamps = false;

In general it is possible? I mean modifying model properties not in inside model?

Yes it's not possible, because the model was already booted before.

@themsaid Can i reboot model for triggering my changes in trait? 😄


feat: add onCancel option to quizzes

With this pr I want to add the callback onCancel to the options of quiz objects. This callback is executed whenever the quiz is cancelled. I gave it the same type as onComplete:
  onCancel?: (summary: { character: string; totalMistakes: number }) => void;

All tests have passed on my machine.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.42%. Comparing base (4ec4eda) to head (3de527f).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #316      +/-   ##
==========================================
+ Coverage   96.41%   96.42%   +0.01%
==========================================
  Files          32       32
  Lines        1144     1148       +4
  Branches      212      213       +1
==========================================
+ Hits         1103     1107       +4
  Misses         37       37
  Partials        4        4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


\vec is not translated correctly

The vector-arrow above a letter created with \vec in a formula is shown in front of the sign, not above.
When converting for example
/vec{E}
I get
<mrow><mi>⃑</mi><mi>E</mi>
as output, the expected behaviour is to get
<mover><mi>E</mi><mo stretchy="true">⃑</mo></mover>

@all-contributors please add @polarwinkel  for bug


Test sharing with groups

The spec says you can share with a remote user or a remote group.
So far we have only been testing sharing with remote users.

I guess this would not work for the invite flow, because a group can't accept an invite.
But maybe groups that are defined in some AAI could be visible as 'accepted users' at the CS3APIs level?
This could be something to explore in https://github.com/SURFnet/rd-sram-integration/milestone/4 actually -> created a break-out issue for that.


Ctrl + Shift + Backspace to delete entire line

Both Geany and the Ace editors have a shortcut for deleting an entire line of text. It's one I use frequently. I propose adding it to the default set of shortcuts in Atom.
Ctrl + Shift + Backspace:

Thanks again for the suggestion @doakey3 - as I mentioned in the other issue you opened and as mentioned in the issue template, we're unlikely to prioritize feature requests right now.  And additionally, we strongly prefer that people take advantage of Atom's customizability where possible.
For keybindings in particular, we expect that people will customize them to fit their needs e.g. if someone wanted this functionality, they can add this to their keymap:
'atom-text-editor':
 'ctrl-shift-backspace': 'editor:delete-line'

And about default keybindings, we're at a place where we're not adding/changing default keybindings unless there's a strong reason to do so.
For these reasons, we'll close this issue but thanks again for your interest!


Distributed Scheduler API docs

Description
Dist Scheduler API docs

[ ] New doc set for dist scheduler

Overview
How to

[ ] Add to conceptual overview
[ ] Update preview feature doc
[ ] Update list of Alpha APIs
[ ] Add API reference doc
[ ] Diagrams
[ ] Control plane services

Issue reference
PR will close: #3915

Let's just call this the Scheduler API, rather than Distributed Scheduler API. All of the APIs are distributed in some way and this term is redundant.


remove backtracking in reduce_full_match

this PR (hopefully) addresses a performance / non-termination problem I was having.
I had a problematic program contains many matches where the scrutinee itself contains nested matches (eg match match match match match match t with ... with ... with ...). in reduce_full_matches, it reduces the scrutinee and the branch, then if it can't apply case-of-constructor it backtracks, which ends up having to reduce the scrutinee and branch again separately. in my case with lots of nested matches, this seemed to be taking exponential time in the number of nested matches.

ah, I think my test case was wrong (it was returning -1). hopefully fixed now.


Fix for installation: 'No app name specified'

Hello,
Great app!! Started using Piwik right away.
But when I try to install your app, it throws an error: No app name specified.
Since line 3 in your info.xml contains
<id>piwik</id>

and the official ownCloud documentation states here that the id must be the same as the folder name, you should point out on your readme that users should rename their folder to apps/piwik.
But thanks anyway, great app!!

Thank you for pointing this out.

Man, I just wanted to say that I (as a developer myself) am really impressed by this app. Seems easy, but definitely nails it :smile:


chalk missing from package.json

Describe the bug
A search on the aio repo shows there are a couple of references to npm chalk: https://github.com/adobe/aio-cli-plugin-runtime/search?q=chalk&unscoped_q=chalk
It was introduced in adobe/aio-cli-plugin-runtime@d22673f but is not declared in package.json. This can cause oclif clashes which is not compatible with later chalk versions.
Expected behavior
Add chalk 2.4.2 as a dependency to package.json.

This should be a test failure for the linter. Suggest using the no-extraneous-require rule: https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-extraneous-require.md

interestingly the rule caught debug being extraneous, but not chalk🤔

no-missing-require appears to be another rule to use, but it's having false positives for relative-pathed requires (probably a configuration issue).

Added this in .eslintrc:
    "rules": {
        "node/no-extraneous-require": ["error", {
            "allowModules": [],
            "resolvePaths": [],
            "tryExtensions": [".js"]
        }],
        "node/no-missing-require": ["error", {
            "allowModules": [],
            "resolvePaths": [],
            "tryExtensions": [".js"]
        }]
    }

Got these lint errors:
/Users/shazron/Documents/git/adobe/aio-cli-plugin-runtime/src/RuntimeBaseCommand.js
  16:29  error  "debug" is extraneous  node/no-extraneous-require

/Users/shazron/Documents/git/adobe/aio-cli-plugin-runtime/src/commands/runtime/activation/logs.js
  16:23  error  "chalk" is extraneous  node/no-extraneous-require

/Users/shazron/Documents/git/adobe/aio-cli-plugin-runtime/src/commands/runtime/property/get.js
  17:23  error  "debug" is extraneous  node/no-extraneous-require

/Users/shazron/Documents/git/adobe/aio-cli-plugin-runtime/src/runtime-helpers.js
  15:23  error  "debug" is extraneous  node/no-extraneous-require

/Users/shazron/Documents/git/adobe/aio-cli-plugin-runtime/test/RuntimeBaseCommand.test.js
  181:29  error  "debug" is extraneous  node/no-extraneous-require
  192:29  error  "debug" is extraneous  node/no-extraneous-require
  203:29  error  "debug" is extraneous  node/no-extraneous-require

/Users/shazron/Documents/git/adobe/aio-cli-plugin-runtime/e2e/e2e.js
  12:23  error  "execa" is extraneous  node/no-extraneous-require
  13:23  error  "chalk" is extraneous  node/no-extraneous-require

debug and chalk are need to be prod deps (thus dev as well), while execa is just a dev dep.

sent PR #152


compiler segfaults when calling function with private default parameter that is not visible to caller

Environment
OS: MacOS 10.13.6
Ponyc: 0.25.0-232a0abe1 [release]
compiled with: llvm 3.9.1 -- Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Defaults: pic=false ssl=openssl_0.9.0
Description
The compiler segfaults if there is a function call to a function with a default parameter that is private and not visible to the caller.
Steps to Reproduce
I've created a class called DoIt with an apply method that takes an Fn object as an argument, but the parameter has a default value of _DefaultFn. DoIt() is then called from main.pony, which is in another module and therefore cannot see _DefaultFn.
Create a directory that looks like this:
|- fn.pony
|- subdir
  |- main.pony

where fn.pony looks like this:
interface val Fn
  fun apply(): String =>
    "fn"

primitive _DefaultFn
  fun apply(): String =>
    "default fn"

primitive DoIt
  fun apply(fn: Fn = _DefaultFn): String =>
    fn()

and subdir/main.pony looks like this:
use ".."

actor Main
  new create(env: Env) =>
    env.out.print(DoIt())

From the subdir directory, run the Pony compiler like this:
ponyc

Expected Behavior
My expectation was that this would compile. If there's a reason it shouldn't compile then the compiler should generate an error.
Actual Behavior
The compiler segfaults. Here's the lldb backtrace:
➜  subdir lldb ~/development/ponyc.aturley/build/debug/ponyc
(lldb) target create "/Users/aturley/development/ponyc.aturley/build/debug/ponyc"
Current executable set to '/Users/aturley/development/ponyc.aturley/build/debug/ponyc' (x86_64).
(lldb) run
Process 11851 launched: '/Users/aturley/development/ponyc.aturley/build/debug/ponyc' (x86_64)
Building builtin -> /Users/aturley/development/ponyc.aturley/packages/builtin
Building . -> /private/tmp/issue/subdir
Building .. -> /private/tmp/issue
Process 11851 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100004bdf ponyc`method_check_type_params(opt=0x0000000000000000, astp=0x00007ffeefbfed08) at call.c:69
   66     typeparams = ast_childidx(type, 1);
   67     ast_replace(&typeparams, ast_from(typeparams, TK_NONE));
   68
-> 69     REPLACE(astp, NODE(ast_id(lhs), TREE(lhs) TREE(typeargs)));
   70     ast_settype(*astp, type);
   71
   72     return true;
Target 0: (ponyc) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100004bdf ponyc`method_check_type_params(opt=0x0000000000000000, astp=0x00007ffeefbfed08) at call.c:69
    frame #1: 0x0000000100004961 ponyc`method_check_type_params(opt=0x00007ffeefbff878, astp=0x000000010aed8280) at call.c:0
    frame #2: 0x00000001000162cd ponyc`pass_verify(astp=0x00007ffeefbfeee0, options=0x00007ffeefbff878) at verify.c:122
    frame #3: 0x00000001000145d9 ponyc`ast_visit(ast=0x00007ffeefbfeee0, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:457
    frame #4: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbfef70, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #5: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff000, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #6: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff090, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #7: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff120, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #8: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff1b0, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #9: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff240, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #10: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff2d0, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #11: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff360, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #12: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff3f0, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #13: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff480, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #14: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff510, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #15: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff5a0, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #16: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff630, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #17: 0x0000000100014510 ponyc`ast_visit(ast=0x00007ffeefbff768, pre=0x0000000000000000, post=(ponyc`pass_verify at verify.c:109), options=0x00007ffeefbff878, pass=PASS_VERIFY) at pass.c:428
    frame #18: 0x00000001000150ec ponyc`visit_pass(astp=0x00007ffeefbff768, options=0x00007ffeefbff878, last_pass=PASS_ALL, out_r=0x00007ffeefbff733, pass=PASS_VERIFY, pre_fn=0x0000000000000000, post_fn=(ponyc`pass_verify at verify.c:109)) at pass.c:176
    frame #19: 0x0000000100014b29 ponyc`ast_passes(astp=0x00007ffeefbff768, options=0x00007ffeefbff878, last=PASS_ALL) at pass.c:275
    frame #20: 0x00000001000146d5 ponyc`ast_passes_program(ast=0x000000010bfbfd00, options=0x00007ffeefbff878) at pass.c:318
    frame #21: 0x00000001000f51ee ponyc`program_load(path=".", opt=0x00007ffeefbff878) at package.c:907
    frame #22: 0x000000010000242f ponyc`compile_package(path=".", opt=0x00007ffeefbff878, print_program_ast=false, print_package_ast=false) at main.c:56
    frame #23: 0x00000001000022da ponyc`main(argc=1, argv=0x00007ffeefbff978) at main.c:109
    frame #24: 0x00007fff5c35a015 libdyld.dylib`start + 1
    frame #25: 0x00007fff5c35a015 libdyld.dylib`start + 1

This is probably related to the "accidental" "fixing" of https://github.com/ponylang/ponyc/issues/539.
That is, that issue got magically resolved without anyone actually trying to do so, but that resolution probably has bugs, as evidenced by this segfault.


Pump outflow should be updated regularly, rather than only when flow stops

I'm using create_enchantment_industry-1.18.2-for-create-0.5.0.e-1.0.0; see https://github.com/Creators-of-Create/Create/issues/4138 for why I'm not yet using a newer version of Create.  I have a pump set up with a fluid tank full of liquid experience.  I have the pump set up so I can power it either using rotation controlled via a clutch, or a hand crank.  Essentially, an Exp shower next to my enchanting area.  Everything works, but the exp clump doesn't get created until I either stop turning the crank, or switch on the clutch, stopping the outflow from the pump.  I essentially have to guess as to when to stop the flow.  It'd be a lot more satisfying to be able to see the exp clumps get created (and absorbed) as the pump flows, so I can see the levels flow in.

Basically I cannot understand what you are asking for and where the bug is.
The experience leaking behavior is an implementation using built-in leaking function of Create itself. Thing should work as intended.

It does leak.  However, the exp orb isn't actually created until the leak is ended.  With water or lava, when you have a leak, it does take a couple of seconds before you start seeing water or lava, but you do see it after a few seconds, even when the pipe continues to flow out.  In the case of liquid experience, however, the exp orb does not seem to get created at all until the flow stops, at which time it seems to calculate the total amount of exp that leaked, and create the orb.  That works, but it'd be more expected and satifying if orbs were created as the pipe flows out, while the flow continues.

at which time it seems to calculate the total amount of exp that leaked, and create the orb.

Calculation is finished instantly.
I cannot reproduce 'the exp orb does not seem to get created at all until the flow stops' in my environment. I think I might missed some information. Can you pleas tell me how to make it?

Turn on rotation to power the pump (manual hand crank or from an engine, doesn't matter which)
The "leaking" particle animation will start
No orbs will appear
Turn off power to the pump
Now a single orb appears containing all of the leaked experience.

I'm suggesting moving #5 to be multiple orbs at point #3, so the exp is regained incrementally, rather than lump sum all at the end.

I get what you mean. It's intended behavior of Create itself.
Firstly, when fluid reaching a leaking point, particle animation starts to appear, and at this moment the fluid doesn't "reach" the leaking point. It takes time for fluid "to flow through pipe" (simple simulation done by Create) and finally "reach next pipe or leaking point".
And about this:

5.Now a single orb appears containing all of the leaked experience.

I think it might because you didn't close that pump in time so there is still a leaking orb. I just tried to reproduce what you said about "exp is regained incrementally" but I didn't see any wrongly calculated value.

My apologies.    The invisible 'flowing liquid' block that exists in front of a pipe when it is flowing (where the particles originate) seems to be preventing the orbs from falling while the flow is on.
That's almost certainly a Create issue, rather than anything that could be done here.
Screenshot from 2022-12-16 18-40-08


Support user-defined error codes

This allows the client code to supply his own domain-specific error codes. In my case these were expired account, disabled account, and password not set up.
It is also necessary for the client to supplement $this->messageTemplates and extend the Result class but this is already possible.

[x] Are you creating a new feature?

[x] Why is the new feature needed? What purpose does it serve?
[x] How will users use the new feature?
[x] Base your feature on the develop branch, and submit against that branch.
[x] Add only one feature per pull request; split multiple features over multiple pull requests
[ ] Add tests for the new feature.  => is this applicable?
[ ] Add documentation for the new feature.  => is this applicable?
[x] Add a CHANGELOG.md entry for the new feature.

[x] Is this related to quality assurance?
Yes. Because my users are often confused by the generic error message when they can't log in

This was the easiest way to extend it but it's a bit convoluted.
The result error code is mapped to validator error code which is mapped to a message template which is overridden by a message if supplied.
The messages in the Result object were and are still ignored by the validator.
Feedback is welcome.

Implemented with #47


.NET Framework Support?

Hi! Would it be possible for you to publish a build of VEDriversLite that targets .NET Framework 4.7.2?

Hello,
Thank you for creating the first issue :)
If you will send me Neblio Address from VENFT App to my email I will prepare you some NFT :)
I will explore it. I thought VEDriversLite will work on it because it is on .NET Standard. Could you please try to add it to your solution as "Project" and add "Project Reference" in your project directly if it will works? If not, I will have to explore it later, because I am working now on some updates in the VENFT App. If it will require to publish two packages I will have to wait for friend who will help me with CI and Deployment setting in the project to make simple deployment of all packages in same time.
Do you integrate the VEDriversLite into some existing app or are you writing the new one?


Lock down the last 2 bower packages

Lock down the last two hawkular-charts and hawkular-ui-services packages in preparation of stable release.

Merging despite bogus Travis messages.


Height of certain origins issue

when being any origin that changes my height, I only see at the height i should see if im crouching, otherwise my perspective is normal. third person i am small as should be but perspective is wrong.

NO BUGS OR TICKETS PLEASE
This is a wikipedia for Origins ++ mod created by TheQuantumXenon. I am not them, so please direct your questions towards the original page :)


puts statement in tested method causes malformed output

If a method which is tested contains a puts statement, piping to tapout will fail because the output of minitap is malformed, due to the fact that the puts seems to get executed and inserted into the output.
See https://gist.github.com/1523619
EDIT: Both the YAML and JSON runners are affected.

Ah, good catch. I'll need to redirect output.
Okay, I'll work on this hopefully today. Thanks.

Sounds good. I'm new to MiniTest and wasn't even aware of #capture_io. But yeah; with that in mind, the addition of those new fields in the output makes sense, and could be rather helpful too.
P.S. I didn't create a second issue for 'require problem' I was having, because I hadn't looked into it yet, and wasn't sure who or what was to blame. Good to have that sorted out now as well.

Ok. The latest release should have this issue put to bed.
Please, let me know if you run into any other problems. Thanks!


Pull XSD enumerations from external source or generate dynamically?

(Note this is marked as low priority... more curiosity than necessity here.) I think it could be really helpful...
Details:
There will be some spots in the schema where enumerations are anticipated to need semi-regular updating as properties from new sources are brought into storage, as Sinopia RTs for new formats are created, etc. For example, here, here, and (see below) here.
Does a mechanism exist to select these values the time of validation? Can XPath be used in .xsd to select allowable values from...some instance??
No.1 use case from the top of my head:

Constrain allowable values for rt_id in storage...

               <sinopia_prop_type_attributes>
                  <nested_resource_attributes>
                     <rt_id></rt_id>
                  </nested_resource_attributes>
               </sinopia_prop_type_attributes>

...to those IDs which exist (as child text of multiple elements) in sinopia_maps.xml, like for example the RT ID:
rdacManifestation:rdacManifestation:monograph:ries07

closing for now because...

I don't think that doing such a thing is possible
I made some progress over in #13 that at least allows me to separate out certain frequently-repeated data elements and manage in one place for use in multiple schemas as needed; these include:

prop_set_label
resource_type
(a set of formats for use in RT IDs - still to do)
(a set of users for use in RT IDs - still to do)
...

note to self @briesenberg07


Roadmap for this project going forward?

I know there's a v1.6 on the horizon, but I noticed that the project was pulled from the Bitnami Kubernetes Projects page about 7 months ago, the roadmap  hasn't been updated for a while and components versions is either stalled (or bors is just not happy). Is this project a thing of the past?

Hi,
We've been having major issues in our test system due to the amount of platforms we test. We are working on fixing them (example: https://github.com/bitnami/kube-prod-runtime/pull/820 https://github.com/bitnami/kube-prod-runtime/pull/818 https://github.com/bitnami/kube-prod-runtime/pull/814) but we are still trying to figure out the best way. As soon as this is fixed, we will be able to merge all these stalled PRs.
We are also discussing the Roadmap in the team, and as soon as we have more information, we will update it.
Thank you very much for your interest.

@javsalgar I'm commenting again since it's been 6 months and I'm excited to hear what is generally planned. Any thoughts from the team?

@javsalgar I'm commenting again since it's been 6 months and I'm excited to hear what is generally planned. Any thoughts from the team?

Hello,
Thank you, BKPR team, for offering such an awesome tool--it immensely helps manage clusters as a small team not to have to navigate integrating these components into our infrastructure all on our own.  Kudos!
I'm also curious about the future of BKPR as the roadmap's last update was for 1.14.  The current stable BKPR release, v1.6.1, supports up to EKS 1.16, which Amazon will stop supporting in July of 2021.  Is BKPR 1.7 expected to be a stable release by that time to support upgrading to EKS 1.17?  A quick check for versions indicates that GKE 1.16 may be on its last legs as well, and AKS has already ended support of 1.16, with even 1.17 support ending this month.
I appreciate any insight you can offer into the future support of Kubernetes versions.

Thanks for the v1.8.0 release! The release notes says version v1.8.0 is a bridge release. Without an update to the roadmap, can you tell us what it means and what it means for the future of BKPR? We're curious what the plans are.

My team is also very interested in using BKPR, and grateful to the bitnami team for providing these tools.
However before deciding to invest our effort and commit to adopting BKPR as our solution we would like to have some idea about the support time frames, in particular looking at https://github.com/bitnami/kube-prod-runtime#kubernetes-version-support-matrix  and https://kubernetes.io/releases/version-skew-policy/  it seems there is not a version of BKPR currently available that supports a version of k8s that is currently supported (1.19-1.21).
However I am glad to notice  https://github.com/bitnami/kube-prod-runtime/issues/1150#issuecomment-857673926

We hope to follow up quickly with v1.9.x which will further update our compatibility matrix.

The slow and stable approach (kind of like Enterprise Linux vs Fedora) is important for production deployments, I just hope it can catch up and keep pace with supported k8s releases.


Resiliency Support for Bulk Subscribe

Signed-off-by: Deepanshu Agarwal<EMAIL_ADDRESS>Description
Till now, for bulk subscribe, all messages would be replayed under resiliency policy, irrespective of whether they passed earlier or not. Whereas, a Filter should be applied so that successful entries are not replayed.
Issue reference

Please reference the issue this PR will close: #5501
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@ItalyPaleAle @shubham1172 @mukundansundar @dapr/approvers-dapr @dapr/maintainers-dapr Re-requesting review here. Whenever I re-request review from someone, some other re-review request gets removed, so requesting via comment.

@DeepanshuA  FYI I have merged changes from master into this PR. Because of #5648, the invokev1 package changed a lot and didn't want to put the burden on you to fix the merge conflicts :) (and it also helped me find a bug!)

go test -race results:
/usr/local/go/bin/go test -race -run ^TestBulkSubscribeResiliency$ github.com/dapr/dapr/pkg/runtime
ok      github.com/dapr/dapr/pkg/runtime        28.265s
/usr/local/go/bin/go test -race -run ^TestBulkSubscribeResiliencyWithLongRetries$ github.com/dapr/dapr/pkg/runtime
ok      github.com/dapr/dapr/pkg/runtime        12.202s
/usr/local/go/bin/go test -race -run ^TestBulkSubscribeResiliencyStateConversionsFromHalfOpen$ github.com/dapr/dapr/pkg/runtime
ok      github.com/dapr/dapr/pkg/runtime        13.232s

Will merge after @ItalyPaleAle approves.


Update resource-bin-packing.md

The original documentation was using Profile instead of the KubeSchedulerConfiguration.  Also clarified how you pass this configuration to the scheduler.

/assign @tengqm

Thanks for the fix.
/approve

/lgtm


fixed useraccounts problem with flow router

Changes some login/signup wording and also manually added
useraccounts:unstyled so that it solves the problem of dependency on
iron:router. Also modified jshint and editor config for future.

Mergin pull-request from Windows OS. Switching to first class Meteor development OS as it detected routing issues.


Unable to install Broadlink Plugin

Hi all,
I've been using homebridge with the broad link plugin for 2 or 3 years now with no issues that weren't fixable. Until recently i bumped into an issue where homebridge will just refuse to run hitting me with a bunch of errors.  Removed Homebridge, Node.js and reinstalled them but still nothing seemed to resolve the issue.
Thank you in advance for your help, much appreciated.
Rafay

npm install -g hap-nodejs
fixed my issue.


What's the license of wfs.js?

Hi, what's the license of this awesome js? Please add a LICENSE file in this repo so that we know if it can be used in commercial cases or further redistribution.

Hi, I created a license agreement for your reference :)

That is awesome! Thanks bro.


Added prefix to node_modules into Podfile template

Summary
The Podfile used for HelloWorld template has verbose pod's paths. Adding a prefix variable for "../node_modules/react-native" improves readability and base path modification.
Changelog
[iOS] [Added] - Added prefix to node_modules into Podfile template
Test Plan
Run pod install in a 0.60 project with this Podfile (changing some paths to obey version) and verify that all pods are located and installed correctly.

I'm not sure this is worth it (even outside of it not working) - having the full path in each one does make it obvious where they are coming from.

Sorry, we are working through some remaining issues with renaming the master branch to main and this PR was accidentally closed. We're working on fixing the affected PRs.


about the video_data_param and train.txt

@mzolfaghari
Thanks for your excellent repo and paper.
video_data_param {
source: ".../train.txt"
batch_size: 16
new_length: 1
new_width: 320
new_height: 240
num_segments: 16
modality: RGB
shuffle: true
name_pattern: "%05d.jpg"
}
I want to use your model to train my custom datasets, so, would you mind telling us the format in your train.txt. And, what's more, as for the num_segments: 16,  there are 16
{mean_value: [104]
mean_value: [117]
mean_value: [123]
}
the number of the num_segments is the same as the {mean_value}?

Hi @Ai-is-light ,
Format for the data list is like this:
/path_to_data_folder/  number_of_frames  action_label
First column path to the data folder, the second column shows the number of frames for each video and last column is the label of action.

``


Fix a typo in siddhi-architecture.md

Fix a typo in siddhi-architecture.md

Thanks for the contribution!!


mise self-update broken

Describe the bug
mise self-update on Ubuntu 24.04 fails to upgrade from v2024.4.8 to v2024.4.9
To Reproduce
  ~ ❯ MISE_VERBOSE=1 mise self-update
  [DEBUG] ARGS: mise self-update
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  [DEBUG] starting new connection: https://api.github.com/
  Checking target-arch... linux-x64
  Checking current version... v2024.4.8
  Checking latest released version... [DEBUG] starting new connection: https://api.github.com/
  v2024.4.9
  New release found! v2024.4.8 --> v2024.4.9
  New release is compatible
  Error:
     0: ReleaseError: No asset found for target: `linux-x64`

  Location:
     src/cli/self_update.rs:87

  Version:
     2024.4.8 linux-x64 (d04339c 2024-04-23)

  Suggestion: Run with --verbose or MISE_VERBOSE=1 for more information.

  Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
  Run with RUST_BACKTRACE=full to include source snippets.

Expected behavior
mise self-updates
mise doctor output
version: 2024.4.8 linux-x64 (d04339c 2024-04-23)
activated: yes
shims_on_path: no

build_info:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Tue, 23 Apr 2024 01:16:13 +0000
  Rust Version: rustc 1.77.2 (25ef9e3d8 2024-04-09)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-ubuntu-linux-gnu)

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/.cache/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml

plugins:
  bun     (core)
  deno    (core)
  direnv  https://github.com/asdf-community/asdf-direnv.git#a2219c2
  go      (core)
  gradle  https://github.com/rfrancis/asdf-gradle.git#ffc271c
  java    (core)
  kotlin  https://github.com/asdf-community/asdf-kotlin.git#5612251
  maven   https://github.com/halcyon/asdf-maven.git#83fb4db
  node    (core)
  python  (core)
  ruby    (core)

toolset:
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>

env_vars:
  MISE_SHELL=zsh

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cargo_binstall = true
  color = true
  disable_default_shorthands = false
  disable_tools = []
  experimental = false
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gobin = false
  go_set_gopath = false
  go_set_goroot = false
  go_skip_checksum = false
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  node_compile = false
  not_found_auto_install = true
  paranoid = false
  plugin_autoupdate_last_check_duration = "7d"
  python_compile = false
  python_default_packages_file = "/home/mz/.default-python-packages"
  python_pyenv_repo = "https://github.com/pyenv/pyenv.git"
  raw = false
  trusted_config_paths = []
  quiet = false
  verbose = false
  yes = false
  ci = false
  debug = false
  trace = false
  log_level = "info"
  python_venv_aut

Additional context
Add any other context about the problem here.

Most likely because the release pipeline has failed:
https://github.com/jdx/mise/actions/runs/8882271640

I'm on 2024.4.10 now and I get this:
❯ mise self-update --verbose
[DEBUG] ARGS: /home/mkeisler/.local/bin/mise self-update --verbose
[DEBUG] starting new connection: https://api.github.com/
Error:
   0: ReqwestError: error sending request for url (https://api.github.com/repos/jdx/mise/releases)
   1: error sending request for url (https://api.github.com/repos/jdx/mise/releases)
   2: client error (Connect)
   3: invalid URL, scheme is not http

Location:
   src/cli/self_update.rs:59

Version:
   2024.4.10 linux-x64 (63fbd1b 2024-04-29)

Suggestion: Run with --verbose or MISE_VERBOSE=1 for more information.

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

https://github.com/jdx/mise/commit/93a9c57ae895f1772a5ae8146d83713f631c77f1

once this is rolled out you'll need to run something like curl https://mise.run | sh to update it


Text can be pasted into/cut from the TextEdit and LineEdit nodes when set to read-only/not editable.

Operating system or device - Godot version:
Godot 2.1 stable
Issue description (what happened, and what was expected):
When setting the TextEdit and LineEdit nodes to read-only/non-editable, they are still allowing text to be pasted into/cut from using the right-click context menu "Cut" and "Paste" instead of preventing it. It appears the TextEdit node also allows Ctrl+V to paste when set to read-only.
Steps to reproduce:

Add a TextEdit or LineEdit node to the scene
Set the TextEdit node to readonly via GDscript, or for the LineEdit uncheck the Editable checkbox in its properties.
Copy text from somewhere, then right-click on the text field and choose Paste from the context menu (also Ctrl+V for the TextEdit). Text will be pasted in even though it should not be editable. Text can also be Cut using the right-click context menu.

Link to minimal example project (optional but very welcome):
TextEditReadOnly.zip

Thanks for the fix! :)


Re-enable tests on older node versions

Node pre v4 were disabled on travis since we're no longer using babel to transpile the tests but that's not a permanent solution. Need to re-add these versions (especially v0.12) to the matrix.

Done as of bf0afbd876ff42d15f551e414a4df92ced6717d3


How i can send pdf by email?

Hi, i need to create a pdf file and attach to email.
I tried do this by using html_to_pdf(), but i can't generate te file?
Thanks

Hi, could you send pdf via email?


Feature: Build / Dev improvements

[x] Add webpack build progress indicator
[x] Wrap local dev script in nodemon
[x] Disable launching new browser every time app runs
[x] Migrate from jsconfig to tsconfig
[x] Ignore NPM/Yarn lock files & delete them from repo

 Feature: Build / Dev improvements


Remove jQuery Dependency

Hello. I made a plunkr of the demo.html to test out whether I can use this module. I can't seem to get it to run without including jquery. Is this intentional? It was my understanding that all angular-ui components worked natively.

In a nutshell, this repo was something I made as a sort of proof of concept like 2 or 3 years ago.
If you want to rewrite the plugin to use sub-directives instead of stuff like $('.tour-overlay') which should be pretty straightforward that would enable you to remove the jquery dependency.

Fair enough @ProLoser. Not going to bother with a pull request but for anyone interested, here is the hack I made in plunkr form. It relies on document.querySelector selectors for the target.


Bug: alerts in quick succession are missed

In Angular.js, we have a test that opens an alert and then checks what is displayed in it. It runs by fine itself. But we actually run the test twice (once with jqlite and once with jquery).
It seems that because these two tests open up the alerts in quick succession Protractor (or ChromeDriver) fails to find the alert and so our second test fails.
If I put a sleep(100) in before accessing the alert it passes
This seems to be reliably failing both on our CI server (jenkins) and locally (edited)
Here is an example failure: https://ci.angularjs.org/view/AngularJS/job/angular.js-angular-master/4129/console
I believe that my Chrome updated shortly before the failures began, and we confirmed that our CI server is also running the latest Chrome.
Here is our workaround: https://github.com/angular/angular.js/commit/f91eb0e9ec414c094fa6a7054bfd0e6f1002f172

This could be related to https://github.com/angular/protractor/issues/1486

I believe this is working as intended. Webdriver does not wait for an alert to open before executing the next item in the control flow, and protractor is simply deferring to the webdriver command. (i.e. Protractor only waits for Angular readiness).
I just tried this on raw webdriver with the following test, and it fails:
var webdriver = require('selenium-webdriver');
var driver = new webdriver.Builder().
  usingServer('http://localhost:4444/wd/hub').
  withCapabilities(webdriver.Capabilities.chrome()).
  build();

driver.get('http://localhost:8081/index.html#/form');
var alertButtonLocator = webdriver.By.css('#alertbutton');
driver.findElement(alertButtonLocator).then(function(elem) {
  elem.click();
  // driver.sleep(100); // uncomment to pass the test
  var alertDialog = driver.switchTo().alert();
  alertDialog.getText().then(function(text) {
    console.log('text is: ' + text);
  });
  alertDialog.accept();
});

Protractor does not inherently wait for alerts, so to properly wait for alerts, you need to explicitly call it out:
 it('should deal with alerts', function() {
    function openAndCloseAlert () {
      var alertButton = $('#alertbutton');
      alertButton.click();

      // wait for alert (comment out this and test would fail)
      browser.wait(protractor.ExpectedConditions.alertIsPresent(), 1000);

      var alertDialog = browser.switchTo().alert();
      expect(alertDialog.getText()).toEqual('Hello');
      alertDialog.accept();
    };

    openAndCloseAlert();
    openAndCloseAlert();
    openAndCloseAlert();
  });

Your original example could have worked (and failed now) for a variety of reasons affecting timing.

I know I am late to the party, however, I have a solution that might help make this work without the ExpectedConditions:
helpers.closeDialogWithConsectivePopups = function (handleType, title, closeWindow) {
webdriverJS.sleep(testData.timeOuts.salesforceWindowPopupTimeout);
var handlePromise = browser.getAllWindowHandles();
var handleToTest = '';
browser.ignoreSynchronization = true;
handlePromise.then(function(handles) {
for (var i=0; i < handles.length; i++) {
webdriverJS.switchTo().window(handles[i]).then(function (handle) {
    webdriverJS.getCurrentUrl().then(function (url) {

      webdriverJS.getTitle().then(function (title) {
        if (/Fax/.test(title) && /verify/.test(url)) {
          handleToTest = handle;
          console.log("Title #: " + title);
          console.log("URL #: " + url);
        }
      });

      if (/print/.test(url)) {
        var body = element(by.tagName("body"));
        body.sendKeys(protractor.Key.ESCAPE);
      }

    });
  });
}

});
};


init connect blow up

User is on portfolio page then clears application data and logs in and UI blows up. By clearing it mimics a brand new user coming to the site.

fixed


nodejs require.main returns undefined

Hello,
When using Webpack to compile my ES6 code for nodejs, require.main = undefined.

It seems __dirname is corrupted too.
I have set target = node.
What am I missing ?
Thanks in advance for your help.

Can you post your webpack config?


add parallel,sequential & hoistSpec

First off, cool :+1: I like that it doesn't break the existing API.
I have some concerns that are purely usability and functional in nature:
What happens when your code crashes? Do we lose all of the logging? Writer just collects right, so if it crashes, I'm assuming you wouldn't get any debug output...

Also, it would be cool to be able to not log unless the test fails :)

What happens when your code crashes? Do we lose all of the logging?

in case of using WriterT over Aff, if Aff crushes due to assertion failure or anything you lose log and ps-spec will mark test as failed.

Writer just collects right, so if it crashes, I'm assuming you wouldn't get any debug output...

yes in case of writer you lose messages, so we should mention that in docs/tests and promote use of Reader instead. nice part about hoistSpec is that users can use anything as long as it can be transformed into aff, so it's less of a responsibility of this lib. tho people want we can provide some defaults type/runner Reader (Ref (Array String)) for example.

Also, it would be cool to be able to not log unless the test fails :)

In some cases you care more about logs when test fails, for diagnostic purposes.

Also, it would be cool to be able to not log unless the test fails :)
In some cases you care more about logs when test fails, for diagnostic purposes

My point exactly.

Cool - let me know when you feel this is in a reviewable state!

it's in reviewable state, if API looks good then i would add some more tests/docs


Testing

When Adios is not installed, the Adios tests are correctly skipped instead of failing; the same is true for FFmpeg.

So it is ready to merge? The tests are failing

should be all good now, @ammarhakim


DOC: add warning to save DigMontage: ch_names are not saved

See title. I think we should have a save method for DigMontage that allows for an actual roundtrip.

Rather than this I think we should pursue https://github.com/mne-tools/mne-python/issues/12994#issuecomment-2511827861 and add a .. versionchanged:: to note that in 1.9+ they are saved

I agree in general, however I also think it doesn't hurt to merge this one, while we wait for the better implementation.
In addition to writing channel names, we could perhaps in also start recommending to use *-dig.fif[.gz] as the filename. AND we would need to adjust the reading code in https://mne.tools/stable/generated/mne.channels.read_dig_fif.html#mne.channels.read_dig_fif

I could probably push the reading changes quickly tomorrow if you want, unless you wanted to work on it?

nope, if you have some time to do it and replace the warning here with something ACTUALLY useful, than that'd make me super happy!
I have been doing a few small PRs here and there whenever I see something that I can fix in a few minutes, but my priority list currently doesn't really allow me to dig deeper for most of these items.


Update columnstore-indexes-design-guidance.md

Spelling and grammar changes.

Thank you @dbaduck for the help with content


2/18 - Vagrant - 5:00-7:00 - STO 442

Vagrant allows you to create and share reproducible development environments. This is a great solution for those "well, it works on my machine" problems.
For more ideas and suggestions, please comment on this post.
-Tom

I would be happy to lead this session or share my experience using Vagrant to deploy some scientific software.
As an example resource, the Data Science Toolbox (Github) uses Vagrant to make getting an environment up and running simple.
Paging @bcow: this might be of interest to you or the others on the PEcAn project as it replicates the end result of distributing a VM image without the complications of versioning and hosting a 4GB blob.

Still a few weeks out but what are we thinking for time and location?

I've just reserved with Fred (E&E dept admin) the STO 442 student lounge from 5-7pm.
So:

Location: STO 442 (Earth & Environment student lounge)
Time: 5-7pm

great! I updated the issue, calendar, and website. I'm looking forward to this session.

It's still a week away, but if anyone is looking to attend and follow along with the demonstration they'll need a few pieces of software that would be good to have installed beforehand. The two dependencies are free, open-source, and cross platform so you can use them on Mac/Windows/Linux without issue.

VirtualBox

We'll be using VirtualBox to host our virtual machines "provisioned", or setup, by Vagrant

Vagrant

Vagrant is used to setup virtual machines

If you're a Windows user, you're going to also need a SSH client such as Putty or MobaXTerm. Mac and Linux users have terminals as a standard part of the OS so they can skip this step.
Unless someone else has a suggestion, I was going to demonstrate Vagrant using the Data Science Toolbox. There's a very nice instruction guide for how they use Vagrant to get a Jupyter Notebook session running within the "Data Science Toolbox" environment. I can also demo how I use Vagrant in my own work to distribute some software I wrote.

Hi everyone
Just a reminder -- we'll be meeting tonight at 5pm in STO442 to discuss the Vagrant technology for creating reproducible environments for scientific usage.
I'll live-demo how to setup the Data Science Toolbox by following along the guide for hosting Jupyter notebooks.
I'll also cover the following examples from my own work:

Vagrant to setup QGIS and other dependencies for TSTools
Vagrant to compile and configure Landsat preprocessing software from USGS

Note for Windows users: When you install Vagrant, you also need to add it to your PATH variable in MobaXterm (not sure about Putty).
To do this, from MobaXterm, run the following command:
echo 'export PATH=$PATH:/drives/c/<path to vagrant executable>'

Note that you will have to escape parentheses and spaces with backslashes (\). For instance, my path looks like:
/drives/c/Program\ Files\ \(x86\)/Vagrant/bin

Actually, you can just got to mobaxterm configuration, click on the
"terminal" tab and set "use windows path environment".
On Thu, Feb 18, 2016 at 5:18 PM, Alexey Shiklomanov <
<EMAIL_ADDRESS>wrote:

Note for Windows users: When you install Vagrant, you also need to add it
to your PATH variable in MobaXterm (not sure about Putty).
To do this, from MobaXterm, run the following command:
echo 'export PATH=$PATH:/drives/c/'
Note that you will have to escape parentheses and spaces with backslashes (
). For instance, my path looks like:
/drives/c/Program\ Files\ (x86)/Vagrant/bin
—
Reply to this email directly or view it on GitHub
https://github.com/bulib/studyGroup/issues/27#issuecomment-185949391.

Thanks for coming last night. I think we had 7 people in attendance (including me) for the demo and discussion of Vagrant. We might have even secured a leader for a future discussion on Docker!

@ceholden nice work - let's talk about documenting the lesson. I'm happy to help write it up (it doesn't have to be long to be good)


test add some data-admin example in doris's doc to regression test (#43240)

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx
Problem Summary:
Check List (For Committer)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change. - [ ] No colde files have been changed. - [ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.

[ ] Yes.

Release note

None

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

(cherry picked from commit 72b4daa9b461b14f1ea179f62543d2336f6ea5b2)
What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx
Problem Summary:
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No colde files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Release note

cherry-pick #43240

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall


[request]: Add guide section about dynamodb local & endpoint overrides

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue, please leave a comment

See #188

https://docs.aws.amazon.com/sdk-for-rust/latest/dg/dynamodb-local.html


Alert Checks - 1. Define Query step unusable after importing manifest

After importing a manifest, an Alert check can not be modified.
The 1. Define Query step is not functioning properly.
The following has been verified using influxdb 2.0 beta 10, using various community-templates based manifests, on multiple instances and workstations.
Steps to reproduce:

Import a community template.
./influx pkg -f ~/community-templates/docker/docker.yml
Using browser, click on any of the newly created "Checks" in the "Alerts" configurations, such as "Container Mem Usage Pct"
Click to "1. Define Query"

Expected behavior:
The ability to modify the query.  Able to browse the schema.
Actual behavior:
Query not editable.  (image above)
The UI is complaining about missing field and aggregate functions.

@jsteenb2 have you seen this one before?

Ive determined the problem to be from the lack of tags, at this moment our code does not allow for zero tags.

Im going to talk to mike devy further about this problem

@desa I don't recall this one. However, I didn't spend a ton of time in the UI for checks.


All predictions are similar regardless images

I run demo/test_predictor.py with different my own images, including dress, shirt, pants. But no matter what image is tested, the predicted vector (attr_prob in the demo) is always similar. I calculated cosine similarity and it is always above 0.9 even comparing dress with pants.
config: configs/attribute_predict/global_predictor_vgg_attr.py
checkpoint: checkpoint/Predict/vgg16/global/latest.pth
pretrained: checkpoint/vgg16.pth OR the checkpoint above OR None
Torch version: 1.4.0+cu100

What checkpoint you used in this case? Cuz 'demo' will not use RoI-pooling and bbox information at default, the accuracy might degrade.

@veralauee I used the pretrained model, VGG-16 Global Pooling, downloaded from the model zoo.
I also tried to switch to RoI using the pretrained Landmark Pooling checkpoints but encountered same TypeError with #32


Cantata crashes with incompatible Qt version error

Issue description
Cantata crashes:
Cannot mix incompatible Qt library (version 0x50902) with this library (version 0x50903)
Aborted

Steps to reproduce
On latest nixos-unstable:
nix-shell -p cantata --run cantata

Technical details

system: "x86_64-linux"
host os: Linux 4.14.2, NixOS, 18.03pre122666.afe9649210c (Impala)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 1.11.16
channels(root): "nixos-18.03pre122666.afe9649210c"
channels(m): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

It's surprising that you have Qt 5.9.2 given that Nixpkgs provided 5.9.1 before the upgrade to 5.9.3, but this should be #30551.

As this seems to be related to #30551, I'm closing this issue.


docs(timeout): minor grammar fix

Thanks for the PR! That makes it easier to read but it changes the semantics a bit, because not the value of the promise is resolved, but the promise itself. How about The promise will be resolved with the return value of the fn function.

Thanks @Narretz - that makes more sense. I'll update my PR.


Notebook no longer works as of Runtime 12.1

This no longer works:
`package org.apache.spark.util
import org.apache.spark.scheduler.SparkListenerEvent
import org.json4s.JsonAST.JValue
/**

Visibility hack.
*/
object PublicJsonProtocol  {
def sparkEventFromJson(json: JValue): SparkListenerEvent = {
JsonProtocol.sparkEventFromJson(json)
}
}`

to
`package org.apache.spark.util
import org.apache.spark.scheduler.SparkListenerEvent
import org.json4s.JsonAST.JValue
/**

Visibility hack.
*/
object PublicJsonProtocol  {
def sparkEventFromJson(json: JValue): SparkListenerEvent = {
PublicJsonProtocol.sparkEventFromJson(json)
}
}`

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

ID: ef388af4-0779-f393-d8dd-e5de4e949e35
Version Independent ID: 939c1b78-13e2-deaa-2121-83628ac0fc7a
Content: Replay Apache Spark events in a cluster - Azure Databricks
Content Source: databricks/kb/clusters/replay-cluster-spark-events.md
Service: azure-databricks
GitHub Login: @kr-arjun
Microsoft Alias: saperla

That change doesn't seem to be enough either; it ran but seemingly did nothing for over 2 hours before I killed it.

@mcowart123
Thanks for your feedback! We will investigate and update as appropriate.

@kr-arjun
Could you please review add comments on this, update as appropriate.

@mcowart123
Thank you for bringing this to our attention. I've assigned this issue to the author who will investigate and update as appropriate.

@leifbro
Could you please review add comments on this, update as appropriate.

@Naveenommi-MSFT please note that Leif no longers handles feedback. @kateglee-db
#reassign:kateglee-db

Thanks for your dedication to our documentation. The scope of our feedback channel covers specific documentation fixes and this issue is related to the KB. We recommend that you visit the Databricks Knowledge Base to submit your feedback. Because this issue does not relate to documentation, we are closing this issue.
#please-close


Considering MQTT protocol support

MQTT has been  widely used in IoT area. Supporting MQTT protocol is good for industrial users.

The postback module can run as a MQTT client to send data to the server.

The IoTDB can run as a MQTT server to receive data directly.

We just need to focus on how to understand the format of data packet with MQTT protocol, rather than the full functions that MQTT protocol defines.

This feature should not be embedded in IoTDB server.
We can add an IoTDB extension to support this feature.
The function of the extension:

receive MQTT message
convert the message to the request which can send to iotdb server
send the iotdb request as the iotdb client


added docs for init and lint commands

Added 'How to use' documentation for init and lint to the website.
Contributes to #105
I'm not a native English speaker, please correct me, if something sounds wrong ^^"

Not sure if we want to have a separate sidebar category for commands, with a page for each command - I think this is probably fine for now, we can always break it up later.

@rzig I included your suggestions into the documentation. Thank you very much :)

Nice! This is great! The init command output will change a bit due to #164. Happy to merge if you can change the docs to the new format.

@MareikeTaeubner can you test the commands on the latest master and see if there are any differences in output and update your PR so that it gets merged. Otherwise, your PR looks great!

I removed the test section in the output of the init command, since it isn't printed anymore and is also not included in the rome.json anymore. The other stuff looked quite the same for me.

Thank you! Sorry for the delay in merging. Would love to have you involved in the Discord, we have the channel #contributors-website for website/docs discussion.


Strong random integration

Integrate strong_random into LcStEnc.py and OtpMemImg.py

Since it looks like you don't update the seeds embedded in the HJSON files, I would've expected the autogenerated files that are checked in not to change, or are these changes due to slight differences in the way strong_random vs the Python random modules are implemented?

Since it looks like you don't update the seeds embedded in the HJSON files, I would've expected the autogenerated files that are checked in not to change, or are these changes due to slight differences in the way strong_random vs the Python random modules are implemented?

yeah I believe the entropy written to the temp buffer file is slightly different and/or it is transformed slightly differently when read out.

@vrozic could you make progress on this or do we need to help with root-causing the problem?

@msfschaffner
I might need help finding the root cause. Currently I can reproduce the problem locally. All chip level tests seem to fail right after (mem_bkdr_util.sv:538) [mem_bkdr_util[RamRet0]] Randomizing mem contents

@moidx + @timothytrippel to assist with this. Flagging for review @vogelpi

I am able to reproduce the issue locally, I will work on debugging this.

@timothytrippel Thanks for helping out
To add more details, after looking into some waveforms it seems that lc_cpu_en_i signal of u_rv_core_ibex never switches from Off to On, so no instructions ever get executed on the core.
This seems to be the only difference compared to the master branch. I'll also try to trace why this is happening.

@vrozic I figured out the issue, namely, the OtpMemImg class' constructor instantiates the LcStEnc and OtpMemMap classes which both trigger a reseed of the strong_random buffer, as well as the OtpMemImg class' constructor itself also triggers a reseed. However, upon reseed, the buffer is not cleared out, so any residual state remains in the buffer. I fixed this in #18346 by clearing out the buffer during a reseed.
Additionally, in #18346, I took other commits from this PR and combined / modified them to simplify things a bit:

I consolidated all the commits that switch the various classes (OtpMemImg,  LcStEnc, OtpMemMap) from using random to strong_random into a single commit, since the OtpMemImg class relies on being able to reproduce the random values from the other classes, we get a build failure if we don't switch them all in one commit.
I removed the reading of the entropy-buffer file, and kept the PR to just switching from random to strong_random, because the reading of the entropy files will require some bazel modifications, I figured I would do that in a follow up PR.

I'm going to close this PR in favor of #18346, but I made sure to mark you as the author on the relevant commits in #18346.

I figured out the issue, namely, the OtpMemImg class' constructor instantiates the LcStEnc and OtpMemMap classes which both trigger a reseed of the strong_random buffer, as well as the OtpMemImg class' constructor itself also triggers a reseed. However, upon reseed, the buffer is not cleared out, so any residual state remains in the buffer.

Wow, this is a very good catch. Thanks @timothytrippel for working on this.

I'm going to close this PR in favor of #18346,

I agree with this. I see that #18346 now passes all CI checks. I'll provide my review shortly.


Remove explore components page

is the idea to only maintain this in the website repo?

Yeah I think it’s not too sustainable to maintain it in two places


loose classes?

From @mcourtot on October 20, 2017 8:22
https://www.ebi.ac.uk/ols/ontologies/mondo/
a number of MONDO IDs at the top level which are lacking any annotations and which PURLs don't resolve on Ontobee
e.g.: http://purl.obolibrary.org/obo/MONDO_0009436
    <owl:Class rdf:about="http://purl.obolibrary.org/obo/Orphanet_2113">
        <obo:IAO_0100001 rdf:resource="http://purl.obolibrary.org/obo/MONDO_0009436"/>

where obo:IAO_0100001 is term replaced by
It seems like all those "loose classes" are stemming from the same type of declarations in the file.
Copied from original issue: monarch-initiative/monarch-disease-ontology-RETIRED#411

I think this can be closed, please reopen if needed


ini_set() expects parameter 2 to be string, int given

Uncaught TypeError: ini_set() expects parameter 2 to be string, int given
https://www.php.net/manual/en/function.ini-set.php

😱 how was this never caught before. Looks correct though 👍

Yeah looks fine, peepin rn

Just tested it locally and it only occurs when decare(strict_types=1) is set at the top of application.php. Confirmed this with regular php 7 docker image php ini:
screencapture-bedrock-test-phpinfo-php-2019-08-14-14_41_20.pdf
Also
Before: https://3v4l.org/BrERf
After: https://3v4l.org/XM9SK
But yeah might as well use the right types


python3Packages.crownstone-uart: 2.2.0 -> 2.3.0

Motivation for this change
https://github.com/crownstone/crownstone-lib-python-uart/blob/master/CHANGELOG.md#release-230
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 159056 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.crownstone
python310Packages.crownstone-uart
python39Packages.crownstone-uart


Simulate does not merge arguments correctly

I am using enzyme 2.9.1 (and jest, if this might be somehow connected to the issue), and I am trying to test something that involves a checkbox. But IMO the second parameter of the simulate method doesn't work correctly... I have narrowed it down to the following code:
const test = mount(<input type="checkbox" onChange={(e) => console.log(e.currentTarget.checked)} />);
test.find('input').simulate('change', {currentTarget: {checked: true}});

The console.log here should print true IMO, but it actually prints false. It feels like the second parameter of the simulate call are merged in the wrong way, because the following prints true as I would expect:
const test = mount(<input type="checkbox" onChange={(e) => console.log(e.checked)} />);
test.find('input').simulate('change', {checked: true});

Am I doing something wrong, or is that really a bug?

@lelandrichardson Has this issue be resolved? Or have I misused it? Just closing it without any information is a bit harsh...

oh my gosh, sorry @danrot. I was cycling through issues really quick last night and i think i mixed this issue up as being fixed by https://github.com/airbnb/enzyme/pull/1088 but i think they're different things. I saw the "Merged" issue above and assumed that it was a merged fix. Sorry about that.

if you change the first level property from currentTarget to something like foo, is e.foo.checked true?

Do you mean like this?
const test = mount(<input type="checkbox" onChange={(e) => console.log(e.foo.checked)} />);
test.find('input').simulate('change', {foo: {checked: true}});

This is returning true, yes.

I have also confirmed that @lelandrichardson @danrot, sounds like the merge is backwards.


add types definition for typescript

Please add the types definition, that makes the developer experience and api usage so much easier, and will allow extending or making complex use of the api possible for a lot of projects without relying on examples

I'm going to close this in favor of the API-wide discussion: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/952


How to use it for gazebo simulation and how to use it for actual mobile robots?

Hello, I followed the steps to download and compile the teb local path planning algorithm. I would like to ask how to use it for gazebo simulation and how to use it for actual mobile robots?

Hi,
First things first: are you using ROS ? ROS2 ? Which distro ?
If ROS2, you can integrate TEB as a nav2's controller plugin


[flake8_comprehensions] add sum/min/max to unnecessary comprehension check (C419)

Fixes #3259
Summary
Renames UnnecessaryComprehensionAnyAll to UnnecessaryComprehensionInCall and extends the check to sum, min, and max, in addition to any and all.
Test Plan
Updated snapshot test.
Built docs locally and verified the docs for this rule still render correctly.

I'm confused about the docs parse error.

I'm confused about the docs parse error.

I left in a stray unmatched bracket in a code example in the docs. I checked docs rendering locally, but I guess checking syntactic validity of docs code examples is a separate step I didn't run locally. Fixed now.

Oh nice. Yay https://github.com/astral-sh/ruff/pull/10484

I looked at all the new hits, they all look like valid and intended applications of the rule. Clearly this will cause new linter errors in stable on existing code though, not sure how we feel about that.

Ah yeah we should probably gate this with preview since it's a significant increase in scope. You don't need a separate code, you can just gate the additional calls with a check for preview.

Ecosystem results look good (same as before, but now preview only; stable is unchanged); merging.

Nice tool, but will there be an config option to match the old C419 behavior at some point? Right now, this is low-stake since it's enabled behind a preview-flag, but users may want to leave the old behavior if it results in a performance penalty of using a generator over a list comp. Would be good to leave it configurable or give it's own error code IMO.

@Skylion007 Thanks for the feedback, it's a reasonable point that perhaps this should be two separate codes, since the tradeoffs look different for any/all vs sum/min/max, and it's reasonable to want to enable the former but disable the latter.
Would you be willing to open a new issue with a request for these to be two separate codes? Then we can take some time to collect more feedback (that's what preview is for, after all!) and make a decision before this goes stable.


make project editable installable without a setup.py

Just an attempt to make project installable without a setup.py.
With this configuration we should be able to add a reference to a commit on Github or to a local directory (in case we would make it a submodule of the orchestrator project) in our requirement.txt file(s).
This will make it easier to test specific branches/commits of the orchestrator-core project when running in Docker containers.
BTW requires a very recent version of pip so please update...
You can test it by replacing:
orchestrator-core==0.3.4
with
-e git+https://github.com/workfloworchestrator/orchestrator-core.git@14f17fc8d80fed3f882ee5e6128e9ff203a0ea9d#egg=orchestrator
in base.txt of the orchestrator project.
Finally note that a version and a description are mandatory in the pyproject.toml file. Maybe we should update these before merging (if we want this PR to be merged at all)

@florisie I take it you confirmed that the project is not -e installable with the current setup.py ?

@florisie I take it you confirmed that the project is not -e installable with the current setup.py ?

BTW, I just tried it again. But with a "RUN pip install --upgrade pip" in the Dockerfile before installing the requirements. In that case the installation completes wothout any errors...

Closing due to staleness. Can be reopend when necessary.