Asset and sensor pages sometimes showing no data on page load

I seem to experience a bug with the data being displayed on the asset page. It's not reliably reproducible and seems to be worse on Firefox than on Chrome :/
I load the page, and I refresh (F5). Often, the data is not showing (even though it seems to be fetched, looking at the networking console). Selecting a date in the datepicker then works - most of the time.
I refreshed a few times, and there seemed even to be some randomness in this bug.
Data might sometimes appear shortly and then disappear (maybe a rendering problem with all the layers we're making?)
I noticed this when reviewing #467, but I also see it on main. I tried Firefox and Chrome. The latter seems better for the first few reloads, but then also regresses for me.
I'm attaching two screenshots, they were made on Firefox, and on the main branch, after a hard reset (Ctrl-Shift-F5)

A screenshot from when it worked (selecting the day with data in the picker)


Make ctrl-enter focus current single find match

Goal: The single most common thing I want to do after searching is put the cursor on the current find match. This should be easier.
Current state:

You can ctrl-e an editor selection then ctrl-g to find next, but you can't type in something and jump to it without editing the file.
You can select all matches with alt-enter from search box, but you can't select or focus on one match.
f4 only works in multifile search
To put the cursor on the current match via keyboard, you have to install an extension, write a custom command, and write a new custom keyboard shortcut. see here

Solution: make ctrl-enter put the cursor on the current find match instead of entering a newline (I almost never want to enter a newline in the search box, and if I really need to, then I can copy-paste.)

Example: pressing ctrl-enter here should put the cursor before after the 'b' on line 2:

Alternative solution: make ctrl-d / cmd-d from search box also move the focus

Other keywords for future googlers:

focus cursor on current single find match
move cursor to found line
select only one match instead of all matches

Just to note: as mentioned in that SO you could hit escape and that will select the current find match.  But it will also close the Find Widget so if you wanted to return to the find widget you would have to ctrl+f again.  So I don't know if that is exactly what you want...

My reading comprehension strikes again. Thank you.


Implement new builder and evaluation pipelines

Description:

Implements new builder and evaluation pipelines.

Key features:

Builder now deploys the models using ECS Fargate for heavy tasks (inference on whole datasets for benchmarks)
Builder is compatible with Dynalab 2.0
New ORM with updated repositories
Compatible evaluation pipeline for the new builder

Pending features:

Test suite for builder and evaluation
Decentralized solution for communication with the database
Batch inference adapter for evaluation pipeline (requires batch inference implementation on Dynalab 2.0)
Compute memory usage and throughput metrics
API Gateway integration with AWS Lambda for light tasks (inference on adversarial samples)

Adding fastapi to the pyproject config should fix the linter I think


feat: Running notebook in Colab

Small fixes and instructions for running the notebook in Google colab

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

Comparison is base (3c7e0a0) 97.17% compared to head (7f68c60) 97.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   97.17%   97.17%
=======================================
  Files           3        3
  Lines         177      177
=======================================
  Hits          172      172
  Misses          5        5

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


More documentation please

Hi, okay so Maui recommends svg file format. I am unsure as to how determine what is the best underlying size to use for such files esp when used as an icon. I would like to have a consistent size for use, but when downloading icons from say https://www.svgrepo.com/ the icons seem to be of different sizes. When I (attempted) to use ReactNative there were many different libraries I could choose from (such as Material Design), but I am not sure what the best practice should be here. I also don't understand basesize. I appreciate the documentation has been transformed from Xamarin, but there will be other newbies such as myself who don't understand some of the concepts and come to the documentation to learn things.
Some basic examples of usage would be nice too, though I guess I am getting that through experience.
Also though I have used inkscape in the past, I have noted comments that there are issues, so what is a basic svg editor I should use to ensure that my icons, images are compatible with .net maui.
Thanks as ever for your help. :)

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

ID: 7d7dc547-5ff1-416d-450b-e39e56cb1e71
Version Independent ID: 7d7dc547-5ff1-416d-450b-e39e56cb1e71
Content: Add images to a .NET MAUI app project - .NET MAUI
Content Source: docs/user-interface/images/images.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

I don't think we have a recommended SVG editor :D I would just default to inkscape myself...
There is a section in the article that talks about base size, which I understand it as saying it's the image size used for the base DPI you're targeting, if it needs to scale 2x the DPI for a giant screen, it would be 2x the base size you specified (or the size defined by the SVG if you omit base size).
I'll leave this bug open as your requests for clarification and visual examples is resonable.


Problem installing caffe for digits

I am trying to install caffe for digits with cudnn and i have been using v0.13.0. when i try to make all the following error prompts up .kindly help me to sort out this
Linking CXX shared library ../../lib/libcaffe-nv.so
/usr/bin/ld:/usr/local/cuda/lib64/libcudnn.so: file format not recognized; treating as linker script
/usr/bin/ld:/usr/local/cuda/lib64/libcudnn.so:1: syntax error
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libcaffe-nv.so.0.13.0] Error 1
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
make: *** [all] Error 2

Is there any reason you're using NVcaffe 0.13 and not 0.14? v0.14 is the current default branch:
https://github.com/NVIDIA/caffe/branches
I've never seen that error before. What operating system are you using? Are you using CMake or the raw Makefile build?

i tried NVcaffe 0.14 also and that too with CMake. i am using ubuntu 14.04. problem comes out when i try to compile it with CUDNN :=1. Rest it compiles fine when i comment this part in Makefile.config file
i am using cudnn v4 and cuda 7.5 with all the prrequisite drivers installed

i tried NVcaffe 0.14 also and that too with CMake. i am using ubuntu 14.04.
problem comes out when i try to compile it with CUDNN :=1. Rest it compiles
fine when i comment this part in Makefile.config file
i am using cudnn v4 and cuda 7.5 with all the prrequisite drivers installed
On Thu, Jun 16, 2016 at 12:47 AM, Luke Yeager<EMAIL_ADDRESS>wrote:

Is there any reason you're using NVcaffe 0.13 and not 0.14? v0.14 is the
current default branch:
https://github.com/NVIDIA/caffe/branches
I've never seen that error before. What operating system are you using?
Are you using CMake or the raw Makefile build?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NVIDIA/DIGITS/issues/842#issuecomment-226247810, or mute
the thread
https://github.com/notifications/unsubscribe/AOnJphi5_ycbp6dQjgxAOQc5vCZAhLZMks5qMCyqgaJpZM4I2BSS
.

It looks like you installed cuDNN strangely (probably unzipped a tarball?).
Can you try removing your manual cuDNN install and using deb packages to install instead?
https://github.com/NVIDIA/DIGITS/blob/v3.3.0/docs/UbuntuInstall.md#repository-access
https://github.com/NVIDIA/DIGITS/blob/v3.3.0/docs/BuildCaffe.md#cudnn

when i try to install deb package for cuDNN it says  Unable to locate package libcudnn4-dev

Read the instructions in that first link for getting access to the cudnn4-dev package.

i did that but it  is still showing me that error
E: Unable to locate package libcudnn4-dev

solved that issue thanks
one more thing could you please let me know how we can do semantic segmentation with DIGITS. I dont know  how to prepare train lmdb and label lmdb separately in digits.  My labels are also images

Closing this issue as it's solved. Feel free to post a question for semantic segmentation (but please review this thread) first.

HI I downloaded DIGITS from Greg Heinrich  but there is no segmentation
folder in examples so that i can use create_images.py
On Mon, Jul 4, 2016 at 11:19 PM, Greg Heinrich<EMAIL_ADDRESS>wrote:

Closed #842 https://github.com/NVIDIA/DIGITS/issues/842.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NVIDIA/DIGITS/issues/842#event-712153841, or mute
the thread
https://github.com/notifications/unsubscribe/AOnJpmWvb1pZqg0Oba8sbMNzyWJtZ0NZks5qSSRngaJpZM4I2BSS
.

You need to get the code from pending PR #830
$ git clone https://github.com/NVIDIA/DIGITS.git && cd DIGITS
$ git fetch origin refs/pull/830/head && git checkout FETCH_HEAD


Add retry logic for zip deploy

Codecov Report

Merging #324 into develop will decrease coverage by 0.14%.
The diff coverage is 41.66%.

@@             Coverage Diff             @@
##           develop     #324      +/-   ##
===========================================
- Coverage    56.28%   56.13%   -0.15%
===========================================
  Files           60       60
  Lines         1750     1760      +10
  Branches       201      202       +1
===========================================
+ Hits           985      988       +3
- Misses         699      705       +6
- Partials        66       67       +1

Impacted Files
Coverage Δ

.../maven/artifacthandler/ZIPArtifactHandlerImpl.java
66.66% <41.66%> (-33.34%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ab1d53...af43450. Read the comment docs.


fix channel name alignment on file page

Not super happy with this fix, but good to get it in sooner since it looks so bad right now.

I don't know why Prettier is changing parts of files I didn't touch. The entire file should be "prettified", maybe we should do another global prettier command to prevent this in the future. It can be confusing and hard to tell the actual changes I made.


[Feedback] results in an error. It's false.

Following the documentation results in an error. It's false.

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

ID: 28316a67-22fa-8a05-1ae0-fbe1c5720ef9
Version Independent ID: 8a250e46-2a30-af86-839d-9f83a8b48041
Content: Create and send messages - Teams
Content Source: msteams-platform/webhooks-and-connectors/how-to/connectors-using.md
Service: msteams
GitHub Login: @laujan
Microsoft Alias: surbhigupta

Thank you for reporting this issue, we will check this and get the doc updated if required.

We have sent the messages by following the document, the messages were sent successfully. We are closing this issue for now. Please feel free to reach out to us if you face any issue further.


Do not assume that MSS is installed with conda/mamba

Some code assumes that MSS is installed with conda or mamba. This happens e.g. here: https://github.com/Open-MSS/MSS/blob/f5034357cef3602afdb59ece9be683a990896c76/mslib/msidp/idp_conf.py#L40
Also, based on a rough skim of the code, the updater seems to assume that if conda is available in the PATH then MSS must have been installed with it. This is not guaranteed either.

Since pixi etc. we should also rethink the updater. I am not sure if we can/want to support any new install process. Maybe we should switch this in an info, "there is a new version", "your version is outdated"

I don't think we should add support for other package managers to auto-update (and might even drop support for conda/mamba), since that is a concern for the package manager itself. Right now the information on what the latest version is is taken from conda/mamba, but that could also be a query to GitHub's API for Releases, at which point a "there is a new version" check would be completely independent from conda/mamba.

An update by the builtin updater from 8.3.5 to 9.2.0 is not working because we released pinnings and privious pinned libraries removed dependencies.
A workaround is to remove all conflicting packages and the rules defined by them by
conda remove mss  qt pyqt pyqt5-sip pyqt-impl --force
and then install by mamba
mamba install mss==9.2.0 python
This will be on other package managers also different. We should shift a howto to the documentation and iform user on updates.

This is a problem specific to conda-style environments and it is a non-issue with any reasonable package manager as previously installed, but no longer required, dependencies should be automatically removed from usage.
E.g. pixi global upgrade mss simply does a reinstall into a fresh environment, so it doesn't have this issue. A nix derivation fully specifies all dependencies and a new instance of that derivation using different inputs is completely separate from the old one. Guix does it similar to nix.

The task we identfied are merged. We can reopen it, when we find another one.


fix: build proceedings attendee list from MeetingRegistration table. …

…Fixes #6265

This leaves some abandoned dbtemplates - it's reasonable to leave them in place in the short term should we need to fall back, but we'll need to track an action to remove them. Leaving this comment as a note to create an issue to track that task when this PR is merged.


Score with botplay on

What is your question?
Can someone tell me how to add score when botplay is on?
Like if the note is hit and it's sick, good, etc.. then addscore(value) but in a lua script

That will break score records and replace your score

That will break score records and replace your score

I don't care
I just want it for gameplays

.

That will break score records and replace your score

I don't care I just want it for gameplays

aka he wants it so he can post his fake scores on youtube to attempt to be the next flippy

Score Functions
Variables

That will break score records and replace your score

I don't care I just want it for gameplays

aka he wants it so he can post his fake scores on youtube to attempt to be the next flippy

Iam just using it cuz of my android corruption recreation and I want it to look like the original vid but I suck at upscroll so that's all

I don't think this will be added into the base engine, because someone could easily remove the botplay text, claim they got a world record (even though they didn't), and then they would become the next SillyFanGirl.

It is a great question though. Just it's not that much needed in the engine.

 Why would you want to recreate a video about that?  I will say one thing about this, and then I'm leaving this issue.
Get.
Good.
At.
The.
Game.
Then, if you're good, and somehow break a good world record, then yes, you can post it to youtube. It's a dumb idea to copy others stuff. CaptainBaldi, I completley agree. He just wants to get FC's for content and subs on youtube. Stupid.

 Why would you want to recreate a video about that?  I will say one thing about this, and then I'm leaving this issue. Get. Good. At. The. Game. Then, if you're good, and somehow break a good world record, then yes, you can post it to youtube. It's a dumb idea to copy others stuff. CaptainBaldi, I completley agree. He just wants to get FC's for content and subs on youtube. Stupid.


⚠ Bofrost.lu has degraded performance

In 6c7d85a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1351 ms

Resolved: Bofrost.lu performance has improved in fcfd5b3 after 10 minutes.


Add Eyeglass support.

Is it a good idea to support Eyeglass?

Sure! I haven't tried Eyeglass yet, but once I have time to play with it I'll add support. A pull request for this would be very welcome too!

Ok. I have made several changes to the project, but I am not submiting a pull-request by now. There are several things to add (like npm index) that is required. Also, I have a few questions considering code style and other things, which are not covered in readme or contributing. We can continue our discution in private, just email me<EMAIL_ADDRESS>Also, check out changes here.
Small change log:

Version updated to 3.0.6 (bower.json, package.json, changelog.md)
package.json and .npmignore files created
eyeglass-exports.js file added
.gitattributes file added and .gitignore file updated
mocha test added.

Thanks @sobolevn!
I think we can continue the conversation on this thread. It could benefit many people and also those who are familiar with Eyeglass can contribute with their knowledge.
Please, feel free to ask any questions you may have.
I have a few questions too:

Why do we need the .gitattributesfile? Isn't this a preference that you may want to store globally in your configuration instead that on a per-project basis?
I don't like to have a huge .gitignore file. I want to have things specific to the project like sass-cache folders, node_modules, … but not things that we ignore all the time like OS and IDE specific files.
I'm planing to move my tests to True with Mocha and get rid of the Ruby/Compass dependency. I see that you're using Mocha for the Eyeglass tests.

Thanks @sobolevn!
I think we can continue the conversation on this thread. It could benefit many people and also those who are familiar with Eyeglass can contribute with their knowledge.
Please, feel free to ask any questions you may have.
I have a few questions too:

Why do we need the .gitattributesfile? Isn't this a preference that you may want to store globally in your configuration instead of on a per-project basis?
I don't like to have a huge .gitignore file. I want to have things specific to the project like sass-cache folders, node_modules, … but not things that we ignore all the time like OS and IDE specific files.
I'm planing (#21) to move my tests to True with Mocha and get rid of the Ruby/Compass dependency. I see that you're using Mocha for the Eyeglass tests. Can we combine both tests easily in the future?

My opinion is that "Explicit is better than implicit" on this one. But surely this file can be easily removed from the project.
The same here, I will refactor both files for only important files (assuming everything else is ignored on the global-level).
Yes, I think so. But I haven't really tried True tests.

Should I remove .gitattributes and refactor both .ignore files?
My question was:

Do you have any jshint-like style guide for Javascript files? I guess you will need one, if you are migrating to True + Mocha.
Does everything else look good to you?

TODO list:

Edit .travis.yml to run both tests. (I don't know Ruby, I am not sure that I will configure it properly). Something like that.
Register and upload npm package.

Should I remove .gitattributes and refactor both .ignore files?

Yes please. I totally see your point but I still prefer to only add project-related files and folders to .gitignore.
Regarding your questions:

Feel free to use JSHint as the style guide.
Everything else looks good to me.

We should also update the README file with instructions on how to install the Modernizr mixin with Eyeglass.
I'll take care of registering and pushing the package to npm once I merge your pull request.
Thanks!

@sobolevn can you confirm you're getting the correct output? I see incorrect output when compiling from  both, Eyeglass and Libsass standalone. It might be related to this Libsass issue: sass/libsass#1210. The weird thing is that i did not encounter this error when I first updated the mixin to support Libsass at the time 3.2 was released.

npm's package.json is missing dependencies and devDependencies. I was not able to run tests there. I haven't met this error before for some reason. What have I done:

I have tryied SassMeister on the libsass#1210 issue. The output was incorect. Here is the gist.

I have built new project named test with the following setup:

npm init
... [prompts] ...
npm install --save-dev node-sass eyeglass modernizr-mixin
mkdir test # and manually copied eyeglass tests there
npm test

The first test worked, so I have added 2 extra tests with this issue. There are the same as in the gist.
One passed, two failed. Full stack:
 Eyeglass module testing
    ✓ should compile a sass file (167ms)
    1) sould not create an extra parent selector
    2) sould not create an extra parent selector with modernizr-mixin

  1 passing (307ms)
  2 failing

  1) Eyeglass module testing sould not create an extra parent selector:

      Uncaught AssertionError: '.foo *, .foo *:before, .foo *:after {\n  box-sizing: inherit;\n}\n' == '.foo .foo *, .foo .foo *:before, .foo .foo *:after {\n  box-sizing: inherit;\n}\n'
      + expected - actual

      -.foo *, .foo *:before, .foo *:after {
      +.foo .foo *, .foo .foo *:before, .foo .foo *:after {
         box-sizing: inherit;
       }

      at Object.callback (test/test_eyeglass.js:35:14)

  2) Eyeglass module testing sould not create an extra parent selector with modernizr-mixin:

      Uncaught AssertionError: '.js.svg .bar {\n  widht: 10px;\n}\n.no-js .bar, .no-svg .bar {\n  display: none;\n}\n' == '.bar .js.svg .bar {\n  widht: 10px;\n}\n\n.bar .no-js .bar, .bar .no-svg .bar {\n  display: none;\n}\n'
      + expected - actual

      -.js.svg .bar {
      +.bar .js.svg .bar {
         widht: 10px;
       }
      -.no-js .bar, .no-svg .bar {
      +
      +.bar .no-js .bar, .bar .no-svg .bar {
         display: none;
       }

      at Object.callback (test/test_eyeglass.js:35:14)

npm ERR! Test failed.  See above for more details.

I've tested with different versions of Libsass. Everything seems to work with versions 3.2.0 through 3.2.2.
It looks like a bug was introduced in Libsass 3.2.3 or 3.2.4. I've just commented on the issue: https://github.com/sass/libsass/issues/1210#issuecomment-108280019

I'm closing this issue and opening a new one (#24) for tracking the problem as it is not related to the Eyeglass implementation.
Thank you very much for the great work!


JavaScript: Fix modelling of exported variables that have definitions without (syntactic) right-hand sides.

Fixes https://discuss.lgtm.com/t/false-positive-in-preact/1348.
The actual fix is in the first commit and involves a minor rearrangement so we don't assume VarDef.getSource() is always defined (because it isn't).
Once I had that in, LocalFunction started acting up with a very expensive antijoin_rhs. I have no idea why that suddenly became a problem, but the second commit refactors things to fix it.
Overall, there is no performance overhead (in fact, the second commit gives us a speedup on some projects), and results are unchanged except for the reported FP in preact, which I'm adding to our default benchmark suite. Given the fact that I wasn't able to find a single other change in results, I think we can skip a change note.

Test failure fixed; removing that override was a little reckless. I'll do a another small evaluation to make sure this doesn't mess with performance (but I think it shouldn't).

Small evaluation on ace and node shows no major performance impact, so I consider this ready to merge (but would of course be happy to do a more extensive evaluation if desired).


Make "events" in the document even clearer

Currently, we are using the term "event" for both Events API data and any incoming payload requests from Slack in the Bolt document. For example,

There is the "Listening to events" section: https://slack.dev/bolt-python/concepts#event-listening which is referring to the Events API
Then there is the "Acknowledging events" section: https://slack.dev/bolt-python/concepts#acknowledge which is referring to actions, shortcuts, commands, and options. Also, Bolt acknowledges the "events" for Events API under the hood.

This can be confusing for developers especially when they are not yet familiar with the Slack Platform yet.
To improve this, we can consistently use the term "request" for incoming requests from Slack. Specifically,

We can rename the section "Acknowledging events" to "Acknowledging requests"
We can replace the phrase "acknowledge an event" to "acknowledge a request" in all sections

The page URLs

https://slack.dev/bolt-python/concepts#acknowledge and others

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

I would like to take this one.
In the documentation, I couldn't find the exact phrase "acknowledge an event".

Indeed, there is no exact phase in the document. I meant we should replace all the phrases like that. Updated.

Okay


Possible to change server port?

Hi,
Sorry if this is not the right place for this question. Is it possible to change the port of the localhost server, for example to be set from config.xml? Thanks.

I'd also like to know this. Without this ability the chances of the app not working because the port is already taken seem significant.


NullPointerException in Android

I had an app crash in the pre-launch test in google play console, giving this error stack:
FATAL EXCEPTION: mqt_native_modules
java.lang.NullPointerException
	at com.dooboolab.RNIap.RNIapModule$11.run(RNIapModule.java:496)
	at com.dooboolab.RNIap.RNIapModule.ensureConnection(RNIapModule.java:89)
	at com.dooboolab.RNIap.RNIapModule.sendUnconsumedPurchases(RNIapModule.java:491)
	at com.dooboolab.RNIap.RNIapModule.startListening(RNIapModule.java:508)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:525)
	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
	at android.os.Handler.handleCallback(Handler.java:730)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
	at android.os.Looper.loop(Looper.java:176)
	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:232)
	at java.lang.Thread.run(Thread.java:841)

I don't get crashes yet on real devices, but since the code which caused this crash is fairly new (RNIapModule.java:496) I think it would be smart to take a look into this. Maybe it's just an environment issue and would not occur in real devices?
Also, I just had another pre-launch test on updated apk with no changes to the IAP module/code on the same android 4.3 device and it did not crash.
Version of react-native-iap
3.3.1
Version of react-native
0.59.10
Platforms you faced the error (IOS or Android or both?)
Android 4.3 | Galaxy S3
Expected behavior
No crash
Actual behavior
java.lang.NullPointerException
Tested environment (Emulator? Real Device?)
Google Play Console Pre-launch report
Steps to reproduce the behavior
Have google play console run a pre-launch test on the uploaded app

Please try 3.3.3 and come back.

I have a few crashes because of null pointer at line 504 now, on Android 8.1 in production build

@lachtos Would you try 3.3.5? It's hard for me to debug since I can't generate this right now.

I can't reproduce it so it's a bit hard to debug. These logs are from google play console crash reports. After some googling I found that there are some rare cases when the value returned from the google api is null, so there should be null checks like there are right now in 3.3.5
I can't afford to keep testing this in production so I threw the code inside a try/catch for now.


System.IO.FileNotFoundException has been thrown while setting up the package

I am using .NET core 3.1 on Mac and installed Pkcs11Interop.X509Store 0.2.0 version to read attached smart card certificates.
string pkcs11LibraryPath = @"/Library/OpenSC/lib/opensc-pkcs11.so";
using (var store = new Pkcs11X509Store(pkcs11LibraryPath, new SimplePinProvider("000000")))
{
}

I get the following exception
Could not load file or assembly 'Pkcs11Interop, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c10e9c2d8c006d2a'. The system cannot find the file specified
I have not installed Pkcs11Interop package but even if I do, I get the same error.

Pkcs11Interop.X509Store uses Pkcs11Interop as a dependency and cannot work without it.
Try installing Pkcs11Interop.X509Store from nuget.org. Pkcs11Interop will be installed automatically as a dependency.

Installing Pkcs11Interop.X509Store does not install Pkcs11Interop package on Visual studio for Mac so I had to manually install Pkcs11Interop version 4.0.0. Even after doing that, I get the same error message.

@parthrparekh93 have you managed to resolve this issue?

Closing because of 14+ days without a response.


Monday as first day in calendar widget

Would it be possible to adjust the calendar widget so that sunday is the last day of the week and not the first?

... maybe.. please? 😁😁😁

@jcesguerram The order of the days is automatically determined by your locale (the language you set for Obsidian). For example, setting the language to English (GB) should provide the order you are looking for.
If you are still interested in a custom order for another language, I can look into making this a configurable setting.

@jcesguerram The order of the days is automatically determined by your locale (the language you set for Obsidian). For example, setting the language to English (GB) should provide the order you are looking for.
If you are still interested in a custom order for another language, I can look into making this a configurable setting.

if you could make that a setting that would be great, thanks!
in the meantime, i will set my lkanguage to english uk


betting crawler

I was wondering if i could have some help to work this betting crawler I try to install it with Kali but I can not I'm not very experienced can you please give me a hand?

The crawler is a bit broken at the moment because the betting companies keep changing their websites (possibly to stop us from doing this).
run_once.sh is the script you want to run. It has requirements on certain programs and Python libraries. Hopefully you can figure out what you need to do.


⚠ ClamAV has degraded performance

In 8e7425e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 193 ms

Resolved: ClamAV performance has improved in 57a43c8.


Fix bug in biannual anomaly detection algorithm

Alas I found a bug in the biannual anomaly detection algorithm, which I just corrected. CI is now identifying 36 2021 fall biannual anomalies that unfortunately it's too late to correct anymore. However looking at this plot of the 36 anomalies being flagged:

all but one of the stems had really anomalous growth, which I display here

This is obviously an anomaly from the 2021 spring biannual survey. Case in point for the need for anomaly detection!
We can discuss at this Thu 2/10's meeting, but I'm proposing we set the one really egregious measurement to NA and mark the other 31 observations' measure_verified to TRUE in the raw_data sheets so that they are no longer flagged as anomalies.

For future reference code that generated these plots, must be run in Generate_reports.R within the alert_name <- "new_measure_too_different_from_previous_biannual" error detection block
library(forcats)
previous_year_growth_by_sp %>%
  mutate(sp = fct_reorder(sp, n)) %>%
  ggplot() +
  geom_segment(aes(y=sp, yend=sp, x = lower, xend=upper), col = "grey") +
  geom_point(data = stems_to_alert, aes(y=sp, x = growth)) +
  geom_text(aes(x = -15, y = sp, label = str_c("(", n, ")"))) +
  labs(
    x = "growth", y = "sp (sample size)",
    title = "2021 growth outliers (dots)",
    subtitle = "As compared to ±3 SD of 2020 species-specific growth (lines)"
  )

dendroband_measurements_all_years %>%
  filter(tag == 121301) %>%
  ggplot(aes(x=date, y=measure)) +
  geom_line() +
  labs(title = "caovl with extreme anomalous 2021 growth (tag 121301)")


MINOR: Added unit tests for ConnectionQuotas

Added ConnectionQuotasTest, a unit test for ConnectionQuotas. We test connection limits functionality in SocketServerTest (max connections per IP), and DynamicConnectionQuotaTest (max broker-wide and per listener connection limits), which is an integration test. It is useful to have unit tests that directly test ConnectionQuotas.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@dajac Thanks for your very thorough review. I addressed all your comments.

ok to test

there was an odd build failure.
retest this please.

It looks like the build couldn't even run tests:
15:15:09 ERROR: Error cloning remote repo 'origin'
...
15:15:18 stderr: fatal: Unable to look up github.com (port 9418) (Name or service not known)

ok to test

Retest this please.

One of the build failures failed due to one of the unit tests added in this PR. It was bug in the test, that was waiting on the wrong future, which had a name similar to another one. I fixed both waiting on the right future and changed variable name so that it is easier to spot.
@mjsax Could you please rerun the tests?

Retest this please

Retest this please.

JDK build has an unrelated test failure: org.apache.kafka.streams.integration.EosBetaUpgradeIntegrationTest.shouldUpgradeFromEosAlphaToEosBeta[false]
It looks like tests passed on other builds, but it failed to record the results.

Test failures unrelated, merging to trunk.


Support for textDocument/signatureHelp for parameter hints

This has been implemented recently, a preview can be checked here:

https://reviews.llvm.org/D38048#889568

More about the topic here:

http://lists.llvm.org/pipermail/cfe-dev/2017-September/055358.html

Tip: Vim complete-items has an empty item that serves for showing menu completions even when the word item for insertion text is empty. This is useful for showing current parameter information or current prototypes but not offering any completion text for what is displayed in the popup (popup menu serving just for display).

Hi Francisco,
Thanks for working on this, I just saw it was submitted at Oct 2017 and should be at next release at this Month. Really cool!
Regards,
Keyue

That's great. I wasn't following release schedule, thanks for letting me know.


remove files that should have been removed before

Signed-off-by: Kevin Carter<EMAIL_ADDRESS>

recheck_release

recheck_xenial_no_artifacts_swift_deploy


use kubenet after install cni network plugin

Hi
thanks for your awesome work.
in worker section you install cni network plugin but use  this  --network-plugin=kubenet  flag.
Can i using it with   --network-plugin=cni?

@alirezaDavid  hi, I had issue with kubelet not connecting to masters (with error about kubenet no CIDR config ready or something), were you able to make kubenet work? or switching to cni helps?

I found this confusing too. In fact encountered the same issue reported in #53 although I'm using google cloud. I will try the CNI plugin and report back. FWIW, this is the error I see on the worker nodes when kubelet attempts to register to the apiserver
May 04 14:02:24 worker1 kubelet[3093]: E0504 14:02:24.983970    3093 kubelet.go:2067] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: Kubenet does not have netConfig. This is most likely due to lack of PodCIDR

I'm able to proceed a little further by using the following in /etc/cni/net.d/kube.conf
{
    "cniVersion": "0.5.2",
    "name": "mynet",
    "type": "bridge",
    "bridge": "cni0",
    "isGateway": true,
    "ipMasq": true,
    "ipam": {
        "type": "host-local",
        "subnet": "<IP_ADDRESS>/16"
    }
}```

But my workers are unable to register with kube-apiserver due to a tcp timeout on port 6443. Appears to be a separate problem though.

To anwer the inital question of @alirezaDavid:
Reading the kubetnet documentation helped me understand this a little bit better.
The CNI tools (not all, but at least bridge, lo and host-local) are required for kubenet to work. When you start the kubelet with --network-plugin=kubenet you should see a generated CNI configuration in the logs which is used by the kubelet.
When you start the kubelet with --network-plugin=cni you'll have to provide your own CNI configuration.

@kelseyhightower
I was getting to the same situation as @vogxn, then adding his cube.conf and then there are no errors any more. not on kubelet on the node and not on the api server.
but node is not registering. my only indication is kubectl get node on one of the masters which returns no resources found.
I know this hard-way procedure is meant for kube-net but it will be awesome if we have a walkthrough for a chi, e.g flannel.
in usual deployments, automated. etc, you can apply flannel configuration with a daemon sets that mounts the /etc/cni/net.d and pour the content  there. here I don't have a joined node so the daemon set can run on. I am not sure what are the steps for making chi like flannel deployed on this the-hard-way procedure. will be happy to know!
many thanks for the good work!

This is being fixed and will be updated in the docs.

I've updated all the docs. This should be fixed now.

@temal- @kelseyhightower Hi , Thank you so much these for these labs. Just got your book "Kubernetes: Up and Running" and it is amazing.
However ,I am confused about the network plugins flag.  You have mentioned that you do not want to use an overlay network but you are using --network-plugin=cni  in Chapter "Bootstrapping the Kubernetes Worker Nodes". Should we not be using --network-plugin=kubenet instead ?


[DO NOT MERGE] Test ConnectionObserver

API change check
API changes are not detected in this pull request.


Break down process_final_updates and add granular tests

Issue
With #2035 refactoring, now process_final_updates consists of 6 functions. We can go farther to refactor the test vectors as well.
Proposed solution

Break down process_final_updates, just move these functions to the end of process_epoch.
Break down the test_process_final_updates.
Add granular tests.

closing now. I'll make a new PR that targets at dev branch.


Custom config

I was looking at your customization explanations:
https://bdew.net/generators/configuration/
If I'm using method #1, then what is the correct text for the file? I see there's a guide for what to write, but what goes around it? I think it'd be good to see an actually example of one properly done.
Sorry to ask for a spoon feeding, but while I'm trying to get a sample of correctly formatted text I may as well mention the actual things I want to change:

I'm hoping to include RotaryCraft ethanol
Enable up to 1,000 turbines per generator
Enable up to 500 Mixing Chambers/Syngas Producer

Thanks Bdew!

Look a tthe default configs for examples, they use the same format.
For what you want it'd be something like:
recipes {
         turbine-fuel: <fluidname> <value> MJ/mB
}

cfg Machines {
    cfg TurbineController {
        cfg Modules {
            Turbine = 1000
        }
    }

    cfg SteamTurbineController {
        cfg Modules {
            Turbine = 1000
        }
    }
    cfg SyngasController {
        cfg Modules {
            MixingChamber = 500
        }
    }
}

Thanks Bdew!
Increased number of turbines is working, and I love it.
Can't get the RoC Ethanol to work though. Reika mentioned something about that liquid being handled a bit differently than most liquids. Interestingly it has no item listing for the actual fluid in NEI, Still, as with some other fluids, which lack actual source blocks, it can go through ducts and tanks.
What I typed for the .cfg file:
recipes {
turbine-fuel: Ethanol 800 MJ/mB
}
cfg Machines {
cfg TurbineController {
cfg Modules {
Turbine = 1000
}
}
cfg SteamTurbineController {
    cfg Modules {
        Turbine = 1000
    }
}
cfg SyngasController {
    cfg Modules {
        MixingChamber = 500
    }
}

}

Try putting
turbine-fuel: "rc ethanol" 800 MJ/mB

Success!


More examples in documentation

Hi
I'm a beginner with this library.
Could you please provide in the docs a Tiled example map that has:

different tile types: grass, water, stone, ...
collision layer
...

Then provide a full code example using DotTiled to load the map and show code to get the tile type and handle collisions?
Basiczally a full code example showing all features of DotTiled on an example Tiled map.
thx

Please use latest Tiled version for this

Hi!
While that could be a good idea and of good help to many using this library, I do believe that the existing examples at DotTiled.Examples should provide enough information about how to retrieve which tile is in which layer. The Godot example project has code that retrieves tile id's and places them in correct locations. That should give you enough of a start to get going.
I'm not sure that there is enough information provided here to give you an example map and logic + rendering implementation. Are you expecting a full-blown example of a small-scoped game? I believe that smaller examples with code on specifically getting correct tile id's, placing them in their expected positions, etc. are a better way to convey how to use this library. However, if enough people end up wanting an example like this, or find using DotTiled too difficult to use for its intended purpose, I'll make sure to find the time to provide one.
I will keep this issue open as a reminder, and a way for others to potentially provide more feedback on what kind of examples they would like to see.

@dcronqvist Yes I totally agree with the suggestion.
As it is now, I don't think DotTiled is very usable.
The examples you showed don't really elaborate on what the code does [too few comments].
Also I'm not sure how I would integrate this with my monogame project, since I want to separate my textures and my .tmx files.
The code is hard to read and the documentation is sparse. This is not meant to be an insult, that's just how it is.
I would appreciate a full blown monogame example, because as of now you can only really guess what the functions do.

I understand where you are coming from, and I will make sure to provide official MonoGame examples in the future.
Until then, to make sure that you can keep working as you need to using DotTiled with MonoGame, may I suggest you take a look at differenceclouds/NuTiled? It seems to be a working example of DotTiled with MonoGame. Please let me know if this is sufficient for now.

@dcronqvist Yes that is very helpful. Thank you.
As a side note:
I would suggest renaming Color to something else. This namespace collision with monogame Microsoft.Xna.Framework.Color is very annoying.


Thanks you for making this!

As a noob to functional programming and programming in general this was a really cool introduction to some functional concepts.
I started this script that checks for duplicate files by hashing them instead of by file name to play around with some of the concepts. https://github.com/anaxios/dedooper

Nice to hear that the library is useful ! Some times ago I have written two articles about functional programming in bash (all are in polish)
https://nofluffjobs.com/blog/funkcyjne-programowanie-w-bashu-czesc-i/
https://nofluffjobs.com/blog/funkcyjne-programowanie-w-bashu-czesc-2/
All the best,
S.


AnyException can only be constructed for top-level error types

As far as I can tell it's not possible to construct an AnyException for an error type that isn't in the top-level namespace.
Given a library that defines a custom error type:
class MyGem
  class MyError < StandardError; end
end

I can't construct an AnyException by passing this error type's name to AnyException::new, the following panics: AnyException::new("MyGem::MyError", None).
I suspect the underlying issue is that AnyException::new uses Class::from_existing, which seems to only look up items in the top-level namespace as it always passes rb_cObject as the first argument to const_get.
As far as I can tell it looks like the way to get access to nested classes/modules using rutie is:
use rutie::Class;

let my_gem = Class::from_existing("MyGem");
let my_error = my_gem::get_nested_class("MyError");

But I can't find a way to initialize an exception with that my_errorobject.
Thank you for your work on this library, it's been a pleasure to use.

Thank you.  I see your point.  Let me consider the best way to deal with this.

That should do it @daniel-ferguson .  It's in the v0.5.4 release.


Extract of SC layout from .mag needs MAGIC_EXT_USE_GDS=1

When I extract the netlist from a .mag layout block which has been generated in SKY130 using OpenLane, and I use netgen to compare it to the powered Verilog netlist, then it fails by default due to the filler cells.
When I set export MAGIC_EXT_USE_GDS=1, then it works and the LVS passes.
Question: Why is this not the default behavior, and maybe the switch should be renamed to reflect the issue that not only an extract in magic after GDS read-in but also when starting from the .mag file needs this switch?
The relevant code lives in setup.tcl in $PDK_ROOT/sky130A/libs.tech/netgen:
if { [info exist ::env(MAGIC_EXT_USE_GDS)] && $::env(MAGIC_EXT_USE_GDS) } {
    foreach cell $cells1 {
        if {[regexp {sky130_fd_sc_[^_]+__fill_[[:digit:]]+} $cell match]} {
            ignore class "-circuit1 $cell"
        }
        if {[regexp {sky130_fd_sc_[^_]+__tapvpwrvgnd_[[:digit:]]+} $cell match]} {
            ignore class "-circuit1 $cell"
        }
        if {[regexp {sky130_ef_sc_[^_]+__fakediode_[[:digit:]]+} $cell match]} {
            ignore class "-circuit1 $cell"
        }
    }

For the extract in magic I use the procedure below, perhaps in an SC layout I should not extract the standard cells? However, in this way I can also extract a mixed analog/digital design.
extract all
ext2spice lvs
ext2spice -o <file.spice>

BTW, if I try to use the ext2spice subcircuit descend off in the extract procedure above, there is no difference, and I still have the subcircuits of the standard cells in the SPICE netlist.

@hpretl Originally, the fill, tap, and fakediode cells were ignored unconditionally. LVS had two modes - maglef based (no devices) and GDS based. With the maglef based netlist, it is possible to (and arguably should) compare the connections of the fill, tap, and fakediode cells because both the layout and the netlist are black boxed. With the GDS based (or as you indicated the mag based) version, the fill, tap, and fakediode cells were extracted as instances of non-existent subcircuits which caused LVS mismatches. At least, that's my understanding of how things got the way they were.
So netgen needs to know whether it's running device level LVS or block level LVS. I agree with your suggestion of renaming the variable. I'm in the middle of proposing some changes to these scripts. Any suggestions?
Maybe LVS_DEVICE_LEVEL or LVS_BLOCK_LEVEL?

How about LVS_ENABLE_MAGLEF? The default should be for GDS and MAG extracts (with this variable unset), and when this variable is set the LVS on the MAGLEF with the bleach boxes works.


Bug 192, missing html code in response. Added html and thumbnail...

Added parameters to OembedInformation.java

Coverage decreased (-6.1%) to 61.624% when pulling 1c2ca9c5acb93256ae6d84107c0e4cf56bbee4ed on brennhill:master into 1f5a3c28122a612a3c5d46af520a5328563455e5 on sachin-handiekar:master.

Thnks for the PR!!!

Thank you for the library :-)
On Jan 22, 2017 17:11, "Sachin Handiekar"<EMAIL_ADDRESS>wrote:

Thnks for the PR!!!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sachin-handiekar/jInstagram/pull/193#issuecomment-274321682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtzNxXxRSMDLwmDLZTO23ODKaxHn6uzks5rUytigaJpZM4LpQyu
.

Would be great if you can release this pr ;)

yes, an official release into the maven repositories would be fantastic.
On Tue, Apr 4, 2017 at 2:46 PM, MallorcaSoftware<EMAIL_ADDRESS>wrote:

Would be great if you can release this pr ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sachin-handiekar/jInstagram/pull/193#issuecomment-291595618,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtzNwroTrHNPV5X4nI1Aifm5nkc7UyXks5rspAYgaJpZM4LpQyu
.

But properly after #196 is fixed. I have to look into the development guide afterwards i can fix it.

@MallorcaSoftware  Let me know if you fix the problem you've mention in #196 or I'll have a look over it on the weekend (Will also release it on the Maven Central )


userspace: Support for split 64 bit arguments

userspace: Support for split 64 bit arguments
System call arguments, at the arch layer, are single words.  So
passing wider values requires splitting them into two registers at
call time.  This gets even more complicated for values (e.g
k_timeout_t) that may have different sizes depending on configuration.
This patch adds a feature to gen_syscalls.py to detect functions with
wide arguments and automatically generates code to split/unsplit them.
Unfortunately the current scheme of Z_SYSCALL_DECLARE_* macros won't
work with functions like this, because for N arguments (our current
maximum N is 10) there are 2^N possible configurations of argument
widths.  So this generates the complete functions for each handler and
wrapper, effectively doing in python what was originally done in the
preprocessor.
Another complexity is that traditional the z_hdlr_() function for a
system call has taken the raw list of word arguments, which does not
work when some of those arguments must be 64 bit types.  So instead of
using a single Z_SYSCALL_HANDLER macro, this splits the job of
z_hdlr_() into two steps: An automatically-generated unmarshalling
function, z_mrsh_(), which then calls a user-supplied verification
function z_vrfy_().  The verification function is typesafe, and is a
simple C function with exactly the same argument and return signature
as the syscall impl function.  It is also not responsible for
validating the pointers to the extra parameter array or a wide return
value, that code gets automatically generated.
One downside is that the generated dispatch "mrsh" handler currently
needs to live in the syscall_dispatch.c file.  So it's only able to
inline the vrfy/impl functions if those appear in the syscall header.
Implementations defined in C source files need to be called as real
functions.  Long term, we could fix this by emitting a new header that
can be included at the bottom of C files containing syscalls
(analogous to the way the syscalls/*.h headers work).  But this seems
OK for now.
Note that in theory, this new code is capable of generating wrappers
and handlers for any system call, there's nothing specific to 64 bit
arguments per se.  In theory any system call could use that, and the
z_vrfy() scheme, with an appropriate way to tag it.  Alternatively we
could consider migrating all the existing syscalls to this mechanism,
which would allow us to drop almost all the existing macro code and
generation.

Whoops, clicked on "open" before I'd pasted the description.  Hopefully got it editted before the email goes out.
This is working now.  It was done in the context of the timer API work to support a variable-sized k_timeout_t, but is submitted here for easier review as it has nothing in particular to do with timing.

Note that in theory, this new code is capable of generating wrappers
and handlers for any system call, there's nothing specific to 64 bit
arguments per se. In theory any system call could use that, and the
z_vrfy() scheme, with an appropriate way to tag it. Alternatively we
could consider migrating all the existing syscalls to this mechanism,
which would allow us to drop almost all the existing macro code and
generation.

I would like to see this happen.
Having two different implementations and two different methods of defining syscalls is not good for Zephyr. If we need a new scheme so be it, but we need to commit to it and not have two.

This is working now. It was done in the context of the timer API work to support a variable-sized k_timeout_t, but is submitted here for easier review as it has nothing in particular to do with timing.

I'd like to see a PR with existing system calls converted to this mechanism.
Right now, the z_vrfy_* API doesn't take an ssf pointer, so Z_OOPS() won't work.
We want to get rid of Z_OOPS (see #17735) but it seems #17735 will need to be done first before we can convert existing syscalls.

One downside is that the generated dispatch "mrsh" handler currently
needs to live in the syscall_dispatch.c file. So it's only able to
inline the vrfy/impl functions if those appear in the syscall header.
Implementations defined in C source files need to be called as real
functions. Long term, we could fix this by emitting a new header that
can be included at the bottom of C files containing syscalls
(analogous to the way the syscalls/*.h headers work). But this seems
OK for now.

Is it really "OK for now?"
Seems like any syscall implementation function which is implemented as an inline function, will actually never be inlined if CONFIG_USERSPACE is turned on. Even if called from supervisor mode. I'd rather see this completely solved instead of punting.

Just to make my review clear: I don't want two different syscall generation mechanisms present in Zephyr simultaneously, and the new mechanism should be at functional parity with the old one.
If I understand this code correctly, it should be mechanical to replace instances of Z_SYSCALL_HANDLER() with the new scheme, as the body of the syscall handlers shouldn't have to change, just the function prototypes. Doing this will remove the need to maintain two mechanisms and more extensively show that this actually works and is at parity with the old mechanism.
I also don't want to see inline syscall implementations dragged down to non-inline status, I think the <syscalls/xxxxx.h> mechanism should be updated to handle this correctly.

OK, will work up a patch series to do it universally everywhere.  And getting it inlining won't be difficult, just wordy (FWIW: the flaw is just the inlining of impl into the kernel-mode handler.  Any other code that can inline it now will continue to work, it's just that during an actual syscall, we need to make an extra function call.   This seemed tolerable enough given the overhead we're already taking, but it's not hard to fix).
As for ssf, yeah, that's a design flaw that it got forgotten.  Have it working now by caching the value in the CPU struct during syscall execution so that you can Z_OOPS() from anywhere down the call stack.

As promised, here's one that reworks the whole system to use the new mrsh/vrfy scheme, with doc changes and removal of most of the legacy code (like all good features, this removes more code than it adds, heh).
Well... almost.  It includes every syscall that gets hit during execution of a top-level sanitycheck.  There are a few dozen that don't and are unmodified in this patch.   I'll have those in within a few hours, in separate patches that carry warnings about blind changes (most of the changes are routine and scriptable).  Currently trying to figure out a rig to at least get some build coverage in a pseudoautomatic way.

Fix milestone.  This is late, and scope grew at the last minute, but we need it in for the k_timeout_t stuff.

Complete, final-ish version.  The whole system is ported.  The older code is all removed.  Note warnings about test coverage in the final two commits.

that'sFrustratingly, eliminating the "include mrsh file" scheme is not going to work everywhere.  There are two problems: the minor one is a code size increase, because if we have a custom-generated handler for even disabled syscalls, that's a few hundred bytes extra vs. just putting handler_no_syscall in that slot.
The second one is harder.  Syscalls have typed arguments, and to generate code for them in the general case means that we need to include the headers that define those types.  I made this work.  But then the problem is that these headers often don't compile in the wrong kconfig environment (i.e. if networking isn't defined, the network headers blow up).  These are bugs, arguably, but they're looking to be difficult to fix in the immediate term.
I think we need to use the "include the mrsh file" scheme in the general case.  There's really no other way to give the user control over the compilation environment of the handler.
How about this: we can commit this using the current scheme, and I'll submit an issue for 2.1 for a __syscall_simple() annotation that can generate the vrfy function also for common cases: we can detect the type of kobjects from the signature already, we can provide an annotation for struct device subtypes, we can even auto-generate copies of fixed-size pointer blocks.  And using the two-stage link (which I haven't looked at since before cmake landed) we can even trim the list of generated syscalls to just those seen in linked code.  I have lots of ideas. :)
Basically most stuff would port to that, except complicated handlers, which would still use hand-written vrfy functions and use the mrsh include.  But those are the cases where the new code helps the most already, so it would still be a win.
Sound OK?

@dbkinder docs updated, please recheck?

I noted that 64-bit return value always goes through memory.
Why we could not return it "normally" (in register pair)?

@pizi-nordic: That's just the way we've defined the ABI.   The architecture syscall hooks are C functions that take 0-6 word arguments (actually it's hard-coded to u32_t right now, though that's easy enough to change once we start supporting syscalls on a 64 bit target) and return one output word.
Adding a new scheme with more than one output word would require every supporting architecture to write new hooks, so it's a heavy-weight change.  But maybe worth it long term.

@andyross: Ok. IMHO  returning data in registers will be faster (because most of the already ABIs uses registers to pass the 64-bit return value) and safer (no write from kernel to userspace).

Rebase again.  No changes, just keeping it fresh for an immediate post-release merge

Rebase again to fix the collision with #18744

Ping.  Can we get this in now?


Stable_baselines3

Hello,can I use stable_baselines3 to work with the omnidrones platform. My algo work was on the stable_baselines3,and I want to migrate it. How can I modify the algo part in Omnidrones?

I don't think you should use SB3 here. Not because it is not good, but because it is not designed for a large number of parallel environments. That's also why I did not follow the old OpenAI Gym interface. I would suggest implementing your algorithm following the torchrl interface.

Thanks a lot, I get your suggestion.Maybe after I finish my latest work, I will consider using omnidrones.


chore: broadcast next votes only if round > 1

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


Adjust Documentation

Right before launching, we will need to:

[ ] Adjust the language of the README after #143
[ ] Move all the Hugo administration how-to documentation from the README.md to a better place (TBD)

Might be resolved with #90 but possibly separate.

@mbbroberg any updates on this? #143 is merged and we removed Hugo installation comments in #157.
We may be able to completely remove comments about publishing to Heroku as that is done automatically by Travis whenever we merge to master.

I am going to move details related to Hugo formatting and layouts, Heroku configuration, etc into a Wiki on this repository.

Regarding the first checkbox:

We're still in need of a status update section until we're fully migrated to the new site (and old is properly deprecated)
The "Why Change" is still valid and could even use a word or two more to organize it

Marking the second check box as complete following #180

@mbbroberg is this closed by #231 ?


Bob-On-A-Rog

Can you do that it will not crash, every time i try it crashes

it is all a lie

Does it work?????

nah sorry
On Sun, Mar 17, 2024 at 5:42 PM DC3MAZE @.***> wrote:

Does it work?????
—
Reply to this email directly, view it on GitHub
https://github.com/mrmojololo/blooket-admin-hack/issues/7#issuecomment-2002626758,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5L6LZLUOT5VFIJRIS6LRQ3YYYE33AVCNFSM5Y7JR2Q2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBQGI3DENRXGU4A
.
You are receiving this because you commented.Message ID:
@.***>

Why 😡😡😡😡🤬🤬🤬🤬🤬🤬😡😡😡😱😱😱😱😱😱

idk
On Thu, Mar 21, 2024 at 5:11 PM DC3MAZE @.***> wrote:

Why 😡😡😡😡🤬🤬🤬🤬🤬🤬😡😡😡😱😱😱😱😱😱
—
Reply to this email directly, view it on GitHub
https://github.com/mrmojololo/blooket-admin-hack/issues/7#issuecomment-2013742758,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5L6LZKHKEQUKCFH5DGGKKDYZNEG7AVCNFSM5Y7JR2Q2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRGM3TIMRXGU4A
.
You are receiving this because you commented.Message ID:
@.***>


[Bug]: Cannot get notifications from some BLE characteristics with WhenNotificationReceived() from ManagedPeripheral

Component/Nuget
BluetoothLE Client (Shiny.BluetoothLE)
What platform(s) are effected?

[X] iOS 12
[X] iOS 13
[X] iOS 14
[X] iOS 15
[X] Android 8
[X] Android 9
[X] Android 10
[X] Android 11
[X] Android 12
[ ] UWP (Sponsors ONLY)

Steps To Reproduce
Call:
FAILS:
_managedPeripheral
.WhenNotificationReceived(serviceUuid, characteristicUuid)
.SubOnMainThread(data =>
{
System.Diagnostics.Debug.WriteLine($"== HR data from managed peripheral: {data[0]}");
});
WORKS:
_managedPeripheral
.WhenAnyNotificationReceived()
.SubOnMainThread(characteristicResult =>
{
System.Diagnostics.Debug.WriteLine($"== HR data from managed peripheral: {characteristicResult.Data[0]}");
});
WORKS:
_managedPeripheral
.WhenAnyNotificationReceived()
.Where(x =>
x.Characteristic.Service.Uuid.Equals(serviceUuid, StringComparison.InvariantCultureIgnoreCase) &&
x.Characteristic.Uuid.Equals(characteristicUuid, StringComparison.InvariantCultureIgnoreCase))
.Select(x => x.Data)
.SubOnMainThread(data =>
{
System.Diagnostics.Debug.WriteLine($"== HR data from managed peripheral: {data[0]}");
});
Expected Behavior
Data shown in "Application Output"
Actual Behavior
Data not shown in "Application Output"
Exception or Log output
No response
Code Sample
No response
Code of Conduct

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

Please submit a PR in the future for something you have solved.

Thanks i will.


Refactoring of moving* functions

It looks like the moving* functions share 99% of their code, differing only in the aggregation function applied (safeMin, safeMax, etc) and the name of the new series, so at first glance it seems like it should be possible to create a helper function that takes a seriesList, period, aggregation function and name template that all the moving* functions can use.

I'll see if I can take a crack at this.

I think it's done, @DanCech ?

Yup 👍


[LOOP-1483] Indicate unsupported values in schedule

https://tidepool.atlassian.net/browse/LOOP-1483

As I commented on the other ticket, I think it's best if the PumpManager evaluate the "compatibility" question and offer the user controls to resolve it, during pairing. It might be that there are more constraints than just whether all the values are supported.

The pump manager is already providing input on the allowed values. The editor is just respecting this before saving.

Thanks for the discussion. I now understand this change works in the context of having PumpManager decide when to present the editor.

Thanks! We still need to discuss that more, but maybe when you are back.


Deb package file name for extended Linux 64bit inconsistent with other names

Name of packages on https://github.com/gohugoio/hugo/releases consistently have a simple dash between "Linux" and "32bit" (or "64bit"). Some examples:

hugo_0.46_FreeBSD-32bit.tar.gz
hugo_0.46_FreeBSD-64bit.tar.gz
hugo_0.46_FreeBSD-ARM.tar.gz
hugo_0.46_Linux-32bit.deb
hugo_0.46_Linux-32bit.tar.gz
hugo_0.46_Linux-64bit.deb
hugo_0.46_Linux-64bit.tar.gz

Only the new extended Linux 64bit package has an underscore between "Linux" and "64bit":

hugo_extended_0.46_Linux_64bit.deb

which can lead to some frustration when reading and copying too quickly and getting 404 errors :-)
I suggest that this name is changed to get the same construction than the others, with a single dash.

Odd. Any idea, @caarlos0 ?
Note that we currently have a split Goreleaser setup with old and new Goreleaser version... But the name pattern looks to be the same, so this sounds like the deb behaviour has changed.

Let me take a look :)

opened a PR :)

Thank you @caarlos0 and @bep.


Add transaction fee % option

Transactions fees can only be specified as fixed fiat amounts right now. Add an option to specify the fee as a percentage of the value being traded.

Delivered to master.
I added another textbox in the strategy editor for entering a transaction fee as a %. The old one is still there and they are both accounted for. StrategyRuntimeContext takes the new fees into account when making transactions. I made the ExchangeAssumptions.FromJson method not require the new parameter so old strategies would still load but this can be removed one they're all updated.
Commit
commit 523d7e99f8654268a8c296341f59a86ffd06b4ea
Author: Alex Hunt<EMAIL_ADDRESS>Date:   Thu May 12 20:46:41 2022 -0400
Issue69: Added a transaction fee % option.

Testing

Run an old strategy with the old transaction fee and verify it gets the same result.
Run the same strategy with a % instead of a fixed fee that should produce a similar fee. Verify it does.
Check the list of transactions and verify the fees are correct.
Save and restart a strategy with known fee settings and verify they are reloaded properly.
Open an old strategy and verify the % fee is 0 and it loads properly.


Add a recommended design pattern for single Instance resources to documentation

For single instance resources it isn't clear what the recommended design pattern for implementing them is. It might be worth adding this design pattern to either the contributing.md or some other document in this repo so that it can be found more easily.
The recommended method is documented by @TravisEz13 here.

Hi @PlagueHO,
I think the right place to add it would be the DSC documentation here: https://msdn.microsoft.com/powershell/dsc/overview
You can contribute through this repository: https://github.com/PowerShell/PowerShell-Docs
Thanks,
Karol

Excellent! Thanks @KarolKaczmarek - I'll close this issue.


[e2e]: generic workflow_dispatch main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7483698085
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Thu Jan 11 03:21:55 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7497382642
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Fri Jan 12 03:22:47 UTC 2024
Tests are passing now. Closing this issue.


[Bug] Tags block not even rendering after upgrading 8.1.0->8.2.1

I upgraded my v8.1.0 install (fresh install, not a previous upgrade) to v8.2.1 via the dashboard. Everything went well (apart from having to adjust themes).
However, tags blocks don't work. And when I say don't work, I mean, they aren't rendered or executed whatsoever, as far as I can tell. To be fair, I am unsure if this was an issue in 8.1.0, but I'm only now trying to use them.
How do I know they are not rendering? Well, I have a scratch page, and on it a layout with two columns. The right column is the page list I'm trying to mess with, the left column is the Tags Block by itself. When I load the page and hit F12 to analyse the page, the left column literally shows nothing in the
div. As in actually blank between the opening and closing of the div.

There are no packages that are masking this block, korvinszanto helped me identify that.
The files in the /updates/concrete5-8.2.1_remote_updater/concrete/blocks/tags match what I see on github here.
This happens with or without a template being applied to the block.

As far as I can tell, this is a regression that happened somewhere outside the Tags block code, and I have no clue when it happened. But as it stands now, I need dev help getting this fixed, because I can't get the Tags block to work EVER.

Yes, the block has a title
Yes, I have tried with and without declaring explicit tags
Yes, I have tried selecting tags website-wide
Yes, there are tags defined for use on other pages, etc
Yes, this is weird

Please send help, and a bacon sandwich if you don't mind. I don't even know where to begin with this one.

Pretty sure this issue was my user error. Please disregard!


[QNN] Conv2D with dilation support.

Quantized SSD_VGG has a dilated conv. This PR supports better QNN lowering for symmetric dilated conv.
Asymmetric dilated conv requires dilated pooling op. If we see a usecase, we can add that op. Currently, there is no major usecase.
@vinx13 @FrozenGene @jackwish @yzhliu @yidawang

Thanks @anijain2305 @jackwish This is merged.


jest test for node 4 failed with error

projects created with generator-node have a jest error in node 4 setting, where the error is
projects.map is not a function for jest-cli

jest and jest-cli are part of generator-node environment, and since the default project setting support testing for node 4,5,6 and 7. Please investigate this bug as the test works in all of 5,6 and 7 but not node 4 with this error.
Below is the travis stack trace.
The demo project for this issue is at demo
><EMAIL_ADDRESS>test /home/travis/build/kktam/mergesort-obj
> jest
TypeError: projects.map is not a function
    at Object.<anonymous> (/home/travis/build/kktam/mergesort-obj/node_modules/jest-cli/build/cli/runCLI.js:112:28)
    at next (native)
    at step (/home/travis/build/kktam/mergesort-obj/node_modules/jest-cli/build/cli/runCLI.js:1:260)
    at /home/travis/build/kktam/mergesort-obj/node_modules/jest-cli/build/cli/runCLI.js:1:490
    at Object.<anonymous> (/home/travis/build/kktam/mergesort-obj/node_modules/jest-cli/build/cli/runCLI.js:1:171)
    at Object.runCLI (/home/travis/build/kktam/mergesort-obj/node_modules/jest-cli/build/cli/runCLI.js:139:50)
    at Object.run (/home/travis/build/kktam/mergesort-obj/node_modules/jest/node_modules/jest-cli/build/cli/index.js:42:17)
    at Object.<anonymous> (/home/travis/build/kktam/mergesort-obj/node_modules/jest/node_modules/jest-cli/bin/jest.js:16:25)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
npm ERR! Test failed.  See above for more details.
The command "npm test" exited with 1.
after_script
0.72s$ cat ./coverage/lcov.info | coveralls
cat: ./coverage/lcov.info: No such file or directory
[error] "2017-09-04T05:24:16.626Z"  'error from lcovParse: ' 'Failed to parse string'
[error] "2017-09-04T05:24:16.634Z"  'input: ' ''
[error] "2017-09-04T05:24:16.636Z"  'error from convertLcovToCoveralls'
/home/travis/build/kktam/mergesort-obj/node_modules/coveralls/bin/coveralls.js:18
        throw err;
        ^
Failed to parse string
Done. Your build exited with 1.

I have found a thread at Stack Overflow but not sure if this is 100% related.

Any chance you have some kind of version mismatch? https://stackoverflow.com/questions/43837596/projects-map-is-not-a-function-for-jest-cli
This seems like a common issue that appear after the last jest major bump

No. I did not altered the version settings in package.json generated by the generator in any way. My library code is self contained and does not require importing any other 3rd party on top.
In my local build, I used node 6.11.1 so node 6 and 7 works. I don't have node 4 so I cannot confirm the test build for 4 locally. Travis is also happy with 6 and 7 but just not 4.

Hey, I don't think we can come to any resolution on this repo (as you can see, the thread is kind of dead now). I'll close the issue, but please follow up if you figure it out - or if you find where we can fix this on our side.
I'd suggest opening asking the jest community directly if you need further support.


Recursive types are not being outlawed by typechecker

This program should not typecheck, because gonzo has type mu a. Sum Bool a.
feature salary
~> fold gonzo = Left True : Right gonzo
~> 0

Test failure details:
=== prop_convert_is_well_typed from test/Icicle/Test/Source/Convert.hs:30 ===
*** Failed! Falsifiable (after 351 tests):
QueryWithFeature {qwfQuery = Query {contexts = [LetFold () (Fold {foldBind = Name {nameHash = -3536051112772635155, nameBase = NameBase (Variable "gonzo")}, foldInit = Nested () (Query {contexts = [Let () (Name {nameHash =<PHONE_NUMBER>156757220, nameBase = NameBase (Variable "chef")}) (App () (Prim () (PrimCon ConLeft)) (Prim () (PrimCon ConTrue)))], final = Var () (Name {nameHash =<PHONE_NUMBER>156757220, nameBase = NameBase (Variable "chef")})}), foldWork = App () (Prim () (PrimCon ConRight)) (Var () (Name {nameHash = -3536051112772635155, nameBase = NameBase (Variable "gonzo")})), foldType = FoldTypeFoldl})], final = Prim () (Lit (LitDouble 3.8927332184613013))}, qwfNow = Just (Name {nameHash = -2746986193221104132, nameBase = NameBase (Variable "animalnow")}), qwfOutput = OutputName "animal", qwfFeatureT = UnitT, qwfFeatureN = Name {nameHash = -4912334399949111077, nameBase = NameBase (Variable "animalfeaturename")}, qwfTimeName = Name {nameHash = -4180041470634012872, nameBase = NameBase (Variable "animaltimename")}}

feature animalfeaturename
~> fold gonzo = (let chef = Left True
                 ~> chef) : Right gonzo
~> 3.8927332184613013

Program (core$0 : Unit, core$1 : FactIdentifier, core$2 : Time, core$3 : SNAPSHOT_TIME)
Precomputations:
  core$6               = 3.8927332184613013
Streams:
  STREAM_FOLD (gonzo$core$5 : (Sum Bool (Sum Bool (Sum Bool Unit))))
    INIT:
        let chef$core$4 = left# (True)
         in chef$core$4
    KONS:
      right# gonzo$core$5
Postcomputations:
Returning:
  animal               = core$6

Left (ProgramErrorStream (StreamErrorExp (ExpErrorApp (XPrim () (PrimMinimal (PrimConst (PrimConstRight BoolT (SumT BoolT (SumT BoolT UnitT)))))) (XVar () (Name {nameHash = -1034977650126524493, nameBase = NameMod (Variable "gonzo") (NameMod (Variable "core") (NameBase (Variable "5")))})) (FunT [FunT [] (SumT BoolT (SumT BoolT UnitT))] (SumT BoolT (SumT BoolT (SumT BoolT UnitT)))) (FunT [] (SumT BoolT (SumT BoolT (SumT BoolT UnitT)))))))

why does it give up at 3 levels of nesting though? :/

good question. I know the Unit is introduced by defaulting type variables.
True : Bool
Left True : forall a. Sum Bool a
gonzo : forall a. Sum Bool a |- Right gonzo : forall b. Sum b (Sum Bool a)

unify (forall a. Sum Bool a) ~ (forall b. Sum b (Sum Bool a)
 => [a = (Sum Bool a), b =  Bool]

subst [a = (Sum Bool a), b =  Bool] in (forall a. Sum Bool a)
 => Sum Bool (Sum Bool a)

subst [a = (Sum Bool a), b =  Bool] in (forall b. Sum b (Sum Bool a)
 => Sum Bool (Sum Bool (Sum Bool a)) ?

I guess type substitution is - what's the word - simultaneous non-recursive

so, unification just needs an occurs check: something like this I think
(TypeVar a, TypeVar b)
 -> Just (a := b)
(TypeVar a, b)
 | a `member` freeT b
 -> Nothing
(a, TypeVar b)
 | b `member` freeT a
 -> Nothing

this is fixed. I do not think ice needs to be updated immediately because this is unlikely to happen in practice


May I ask why didn't you compare your model with Co_DETR: DETRs with Collaborative Hybrid Assignments Training

Question
Dear authors,
Why did you not compare your model with Co_DETR: DETRs with Collaborative Hybrid Assignments Training?
I saw you mentioned it. I am curious why there are not many papers compared with  Co_DETR.
Thank you,
Additional
No response

Hello @trinhvg ,
Our focus of Salience-DETR is not to improve performance, but to reduce FLOPs as well. Co-DETR is a strong detector, we cannot beat it in performance, but we have faster inference speed and less FLOPs than it.
We think that only one of performance and efficiency is comparable, and it is meaningful to compare the other one. For example, we have the same performance as DINO but faster inference speed, we may say Salience-DETR suppresses DINO. But comparing Salience-DETR and Co-DETR can't get which one is better considering both performance and efficiency.
Another reason I guess why many papers don't compare their work with Co-DETR is that Co-DETR relies on faster CNN and ATSS architectures, which limits the application in many real-world tasks. The improvement of performance may come from the ensemble of several detectors, rather than a better design for DETR. I don't think this is a good and general choice to improve DETR.

Thank you for sharing your insight about this line of DETR,
It helps me a lot.


Phone and email are displayed with Optional[] in EditCommand result

Remember to check for edit nonspecified phone number to actual phone number!


Movie Recommending App #249

Movie Recommendation App
A simple and interactive web app that recommends movies based on user preferences. Built using HTML, CSS, and JavaScript, this app lets users explore movie recommendations in an engaging and user-friendly interface.
Search for movies by genre or popularity
Get personalized recommendations
View detailed information about each movie (synopsis, rating, release year, etc.)
Responsive design for mobile and desktop viewing
output

fix #249


provide a way to ask client to show modal message box

currently, ShowXXXMessage API from RemoteWindow doesn't let server ask client to show modal message box and it is completely up to client.
It would be nice if one can ask client to show modal window instead of leaving it to client.
the usage case for us is we need to decide whether we should proceed with some expansive refactoring after user action, so we want to ask the user but prevent the user from changing code before answer.

I see your point but allowing servers to open a modal dialogs is really something I would like to avoid.

I don't know if it'd work for you, but Dart uses the document version number to confirm the file was not modified while waiting for a response from refactor confirmations:
https://github.com/dart-lang/sdk/blob/3aa464af26a4467d3977150108c1a9c7b0b1a53a/pkg/analysis_server/lib/src/lsp/handlers/handler_rename.dart#L171-L204
I think this would work better than a modal dialog, as the user may have already modified the file in between the refactor request being sent to the server, and the servers request for a modal being processed by the client (and while the server can delay processing that edit, the refactor would still compute edits based on contents that are different to the editor has, so they'd either be rejected anyway, or potentially corrupt the users code).

our rename touches more than one file in the workspace (open or closed) so simple client version check doesn't work, but feels like checking might be better than modal window if there is a way.

If you really want to invalidate the rename on any file edit, perhaps you could keep a single global "workspace version" that you just increase on each textDocument/change (and perhaps open if the content may vary from what's on disk) and then grab that before/after the prompt to see if anything was changed.
Of course, neither that or a modal prompt would prevent files being modified outside of the editor during that period.

I personally think it is a bad idea to let servers open modal dialogs. The reason is that modal dialogs should only be shown in close relation to a user UI interaction. Modal dialogs that pop up without that close relation ship cause lots of confusion (I once did this in ESLint and got very bad feedback for it :-)).

Just because modal dialogs are the wrong solution to some problems, doesn't need they aren't the right solution to other problems.

So I would recommend that you in the extension code intercept the rename and might do some custom handling and show the modal dialog there. Would that work for you?

Isn't the point of LSP to not need custom code in extensions?

Isn't the point of LSP to not need custom code in extensions?

LSP is about standardizing programming language messages and not UI. I would like to leave the UI part to the client.


Fix yarn install warning

Expected Behavior
No warning
Current Behavior
warning Pattern ["ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-ethereumjs-abi-0.6.7-8431eab7b3384e65e8126a4602520b78031666fb/node_modules/ethereumjs-abi" as pattern<EMAIL_ADDRESS>This could result in non-deterministic behavior, skipping.

Another one:

  Don't worry! This is probably fine. The patch was still applied
  successfully. Here's the deets:

  Patch file created for

<EMAIL_ADDRESS>
  applied to

<EMAIL_ADDRESS>
  This warning is just to give you a heads-up. There is a small chance of
  breakage even though the patch was applied successfully. Make sure the package
  still behaves like you expect (you wrote tests, right?) and then run

    patch-package snap-shot-core

  to update the version in the patch file name and make this warning go away.```


Bugfix: onListened only working once

Due to not clearing the interval variable, the onListened doesn't fire after pausing and restarting the player. This pull requests fixes that. It also removes an unused parameter.

Thanks for this fix and sorry for taking so long to respond!  I confirmed the bug and this seems to fix it, merging.


save_result: Can't validate output format parameters

There's the custom JSON schema format output-format-parameters for save_result, but in practice validation doesn't work very well due to the fact that the output format is unknown when validation runs. This means, the validation software only passes the object for the parameters, but not the actual format. Consequentially, you don't know the format and can't check whether for parameters fit to the format.

Implementation issue


Change due to WS Core support

WS Core is already supported. Tested.

@smereczynski : Thanks for your contribution to the Azure documentation! The author, @eslesar, has been notified to review your proposed change.

@smereczynski Sorry for the delay.  I just spoke to a PM in the Automation team and while Server Core may work, it's not officially supported.  So we're going to leave the statement as it is for now.

#please-close


Update runc to v1.0.0-rc6

full diff: https://github.com/opencontainers/runc/compare/10d38b660a77168360df3522881e2dc2be5056bd...v1.0.0-rc6

Flaky test on Windows cc @jhowardmsft @jterry75
    --- FAIL: TestContentClient/CommitErrorState (3.78s)
        testsuite.go:101: Cleanup failed: unknown
            github.com/containerd/containerd/errdefs.init
            	C:/gopath/src/github.com/containerd/containerd/errdefs/errors.go:39
            github.com/containerd/containerd/content.init
            	<autogenerated>:1
            github.com/containerd/containerd.init
            	<autogenerated>:1
            main.init
            	<autogenerated>:1
            runtime.main
            	C:/go/src/runtime/proc.go:189
            runtime.goexit
            	C:/go/src/runtime/asm_amd64.s:1333
            could not read updatedat: open C:\Program Files\containerd\root-test\io.containerd.content.v1.content\ingest\9101c5f249b4cb38a50dddda86a787c09f31099573c87c525fc50774ac21d05d\updatedat: The process cannot access the file because it is being used by another process.
            github.com/containerd/containerd/errdefs.FromGRPC
            	C:/gopath/src/github.com/containerd/containerd/errdefs/grpc.go:98
            github.com/containerd/containerd/content/proxy.(*proxyContentStore).ListStatuses
            	C:/gopath/src/github.com/containerd/containerd/content/proxy/content_store.go:144
            github.com/containerd/containerd.newContentStore.func2
            	C:/gopath/src/github.com/containerd/containerd/content_test.go:55
            github.com/containerd/containerd/content/testsuite.makeTest.func1.1
            	C:/gopath/src/github.com/containerd/containerd/content/testsuite/testsuite.go:100
            github.com/containerd/containerd/content/testsuite.makeTest.func1
            	C:/gopath/src/github.com/containerd/containerd/content/testsuite/testsuite.go:121
            testing.tRunner
            	C:/go/src/testing/testing.go:827
            runtime.goexit
            	C:/go/src/runtime/asm_amd64.s:1333

ping @AkihiroSuda I make a issue for the case. https://github.com/containerd/containerd/issues/2835

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2838   +/-   ##
=======================================
  Coverage   43.79%   43.79%
=======================================
  Files         100      100
  Lines       10741    10741
=======================================
  Hits         4704     4704
  Misses       5307     5307
  Partials      730      730

Flag
Coverage Δ

#linux
47.45% <ø> (ø)
:arrow_up:

#windows
40.96% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dcb8206...97dd5df. Read the comment docs.


Fix licence

Substituted the old wrong one with the standard MIT one with my(?) name

Note that usually the file is spelled LICENSE instead of LICENCE.

I know. It was deliberate. The British spelling for the noun is licence so I decided to use that spelling, even if the licence is from MIT :).


issues with cmd+k and ctrl+c

Env
Pure
echo $pure_version
2.5.2

Fish
fish --version
fish, version 3.1.2

OS/distribution
lsb_release -a
macOS 10.15.5

when I press ctrl+c while typing a command, the next new line is not shown
ctrl+l works fine, but cmd+k eats the first line of the prompt

I recorded a gif to show how it looks like:
https://img.carlosbecker.dev/Screen Recording 2020-06-29 at 2.05.17 PM.gif
Thanks for the great project btw 🙏

@caarlos0 same issue as #157, please see upstream fix.


[ExternalNode]Add ExternalNodeController for processing ExternalNode changes

Antrea Controller watches ExternalNode CRUD and converts it to
the corresponding ExternalEntity.

The conversion includes the following changes:
a.These ExternalEntity name is generated by this format:
If NetworkInterface name is empty, uses ExternalNode name
If NetworkInterface name is not empty, uses [ExternalNode name]-[Interface name].
b.The ExternalNode's labels are added on the ExternalEntity(ies).
c.The ExternalNode name is used to set "ExternalNode" field in the ExternalEntity.
d.ExternalNode NetworkInterface is used to set "Endpoint" field in the ExternalEntity.

Handle ExternalNode reconciliation and cleanup stale ExternalEntiies.

Signed-off-by: Mengdie Song<EMAIL_ADDRESS>

Codecov Report

Merging #3687 (ca47e3b) into feature/externalnode (3418e20) will decrease coverage by 20.76%.
The diff coverage is n/a.

@@                    Coverage Diff                    @@
##           feature/externalnode    #3687       +/-   ##
=========================================================
- Coverage                 64.59%   43.83%   -20.77%
=========================================================
  Files                       278      210       -68
  Lines                     39502    35787     -3715
=========================================================
- Hits                      25518    15688     -9830
- Misses                    11996    18963     +6967
+ Partials                   1988     1136      -852

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
43.83% <ø> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/util/runtime/runtime.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/openflow/groups.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/ofctrl_pipeline.go
0.00% <0.00%> (-95.84%)
:arrow_down:

pkg/ovs/openflow/logs.go
10.34% <0.00%> (-89.66%)
:arrow_down:

pkg/agent/controller/networkpolicy/reject.go
0.00% <0.00%> (-85.89%)
:arrow_down:

pkg/agent/nodeportlocal/k8s/annotations.go
0.00% <0.00%> (-84.45%)
:arrow_down:

pkg/apis/controlplane/register.go
0.00% <0.00%> (-83.34%)
:arrow_down:

pkg/agent/client.go
0.00% <0.00%> (-76.75%)
:arrow_down:

pkg/flowaggregator/certificate.go
0.00% <0.00%> (-75.53%)
:arrow_down:

... and 195 more

Hi @jianjuns @tnqn @wenyingd,
I have added an admission webhook in this change.
The background is that currently there is no way to distinguish the ExternalEntity generated by ExternalNodeController and Users.
As a result, if users make some change(delete ExternalNode/update ExternalNode interfaces) when Antrea controller is down, we cannot clean up the stale ExternalEntities when the controller comes back.
Possible solutions we can think about right now are:

Add a webhook to prevent users from making ExternalNode changes(Update/Delete) when Antrea controller is down. (I have implemented in this PR)
Maybe add another field in ExternalEntity to distinguish the ExternalEntity generated by us automatically. (not sure if we like it)

I would like to know you ideas about it or maybe other better resolutions, thanks.

@mengdie-song this situation is usually resolved by adding a owner reference to externalentity, see an example here: https://github.com/kubernetes/kubernetes/blob/537941765fe1304dd096c1a2d4d4e70f10768218/pkg/controller/endpointslice/utils.go#L139-L146
Then you know which externalentity is created by antrea-controller and which externalNode it is created for.

@tnqn Thanks so much for the solution! I will update the change accordingly.

/test-all

/test-all
/test-windows-all
/test-ipv6-all
/test-ipv6-only-all

Hi @wenyingd @jianjuns @tnqn,
Could you help give another review on this change? Thanks.
I made another PR for AntreaAgentInfo https://github.com/antrea-io/antrea/pull/3757 which has dependency on the same externalNodeInformer defined in this change. I have also addressed the comments for ExternalNodeController part raised in https://github.com/antrea-io/antrea/pull/3757 in this PR.

/test-all


Token expiration

I added a few wyze lights controls to my home security python program.  The doors at the top and bottom of the staircase have reed switches that my home security sees as buttons.  When a door opens, two wyze bulbs turn on and time out for 30 minutes.  If the door closes, they time out at 6 minutes.  Everything works as I describe but only for a few days.
What I am finding is that the program throws the following error after a few days and the bulbs do not respond until I restart the script:
wyze_sdk.errors.WyzeApiError: The access token has expired. Please refresh the token and try again.
The server responded with: {'ts':<PHONE_NUMBER>583, 'code': '2001', 'msg': 'AccessTokenError', 'data': {}}
Behold the script:
from gpiozero import Button, LED
from signal import pause
from time import sleep
from datetime import datetime
from datetime import timedelta
import requests
from wyze_sdk import Client
from wyze_sdk.errors import WyzeApiError
client =<EMAIL_ADDRESS>password="AintGettinIt")
garagepassage = Button(20)  # Input from garage passage door
stairspassage = Button(18)  # Input from door at top of stairs
now = datetime.now()
current_time = now.strftime("%H:%M:%S")
print("Door Started at ", current_time)
r = requests.post("https://autoremotejoaomgcd.appspot.com/sendnotification?key=NothingToSeeHere&title=Just Saying&text=Switch monitoring has begun")
#bulbD1 = client.bulbs.info(device_mac=XXXXXXXXXXXX')  # One of the Den bulbs
bulbS1 = client.bulbs.info(device_mac='XXXXXXXXXXXXXX')
bulbS2 = client.bulbs.info(device_mac='XXXXXXXXXX')
plugSLED = client.plugs.info(device_mac='XXXXXXXXXXXXXXX')
def open():
now = datetime.now()
current_time = now.strftime("%H:%M:%S")
print("Door open at " + current_time)
#client.bulbs.turn_on(device_mac=bulbD1.mac, device_model=bulbD1.product.model)
client.bulbs.turn_on(device_mac=bulbS1.mac, device_model=bulbS1.product.model)
client.bulbs.turn_on(device_mac=bulbS2.mac, device_model=bulbS2.product.model)
client.plugs.turn_on(device_mac=plugSLED.mac, device_model=plugSLED.product.model)
#client.bulbs.turn_off(device_mac=bulbD1.mac, device_model=bulbD1.product.model, after=timedelta(hours=.5))
client.bulbs.turn_off(device_mac=bulbS1.mac, device_model=bulbS1.product.model, after=timedelta(hours=.5))
client.bulbs.turn_off(device_mac=bulbS2.mac, device_model=bulbS2.product.model, after=timedelta(hours=.5))
client.plugs.turn_off(device_mac=plugSLED.mac, device_model=plugSLED.product.model, after=timedelta(hours=.5))
print("on")
def closed():
now = datetime.now()
current_time = now.strftime("%H:%M:%S")
print("Door closed at " + current_time)
#client.bulbs.turn_off(device_mac=bulbD1.mac, device_model=bulbD1.product.model, after=timedelta(hours=.05))
client =<EMAIL_ADDRESS>password="AintGettinIt")
client.bulbs.turn_off(device_mac=bulbS1.mac, device_model=bulbS1.product.model, after=timedelta(hours=.1))
client.bulbs.turn_off(device_mac=bulbS2.mac, device_model=bulbS2.product.model, after=timedelta(hours=.1))
client.plugs.turn_off(device_mac=plugSLED.mac, device_model=plugSLED.product.model, after=timedelta(hours=.1))
#client =<EMAIL_ADDRESS>password="AintGettinIt")
print("off")
stairspassage.when_pressed = closed
stairspassage.when_released = open
garagepassage.when_pressed = closed
garagepassage.when_released = open
pause()
I thought having the "client =<EMAIL_ADDRESS>password="AintGettinIt")" imbedded in the "def closed()" would refresh it upon each close event but that isn't working.  How can I refresh this token without having to restart the python?

As a workaround, I restart my python instance daily via crontab; however, I did experiment with calling client.refresh_token() within a try catch block.
My code is having issues catching the error.   Maybe Shaun can provide more insight in best practices.

The concern I have with restarting this daily is that I don't know how to kill it before each restart.  Wouldn't want to have many instances of it running, even though each was dead.

client = Client(email=os.getenv('WYZE_EMAIL'), password=os.getenv('WYZE_PASS'))
 -- Loop here --
     response=client.refresh_token()
     client._token = response["data"]["access_token"]
     client._refresh_token = response["data"]["refresh_token"]

I use the code block above to refresh the token in a loop (every 10 min in my case).  My script usually stays alive/connected indefinitely.  Internet dropping or some other error typically kills it first.

My experience with python is quite limited.  How do I make this loop inside what I posted in my original post?

Hey @duckredbeard and @anshuarya,
Thanks for using this library. I'm happy to help with any kind of issues you're seeing, but if I understand correctly, this is just a matter of understanding how to use the refresh token capability in your own script?
As a bit of background, the Wyze app/api use oauth for authentication and authorization. With the oauth protocol, you basically exchange your username/password credentials for an access token. That token has an expiration time to provide a fixed window of validity to prevent tokens that last indefinitely and leave a user exposed if they are compromised.
To deal with the "hey, I don't want this thing to expire because I use it" scenario, tokens can be refreshed. That's what the "refresh_token" method does. What you'll notice in @anshuarya's code above is that each time you refresh, you want to store the NEW refresh token you get back so that it's available the next time you want to refresh.
10 minutes might be a bit excessive for refreshing, but something like 30 minutes is probably a good place to start.
It sounds like what you're after is an answer to a more general question of "how do I create a recurring task in python?" The answer is that there are so many ways to do it, you should just google around a bit and find a simple solution that you understand and works for your use case. I would suggest starting here.


Pattern matching for paths and extensions

Hi, very nice and useful plugin :+1:
It would be great if entry and extension would support patterns like lib/components/* or lib/components/** to be able to specify if I wand barrel file for only one level of directories or for all nested folders.
Also for me, it's a dealbreaker for me that I can't exclude some files/folders. For example I need to exclude all story-book stories. With pattern matching, it would be possible (*.tsx will not match foo.stories.tsx).

#2 fixes this, extension name now allows for regex

@shoveller
My bad on the delay. Published 1.1.0.
Should set up an action to auto publish on merge...