'disappearance' of swicth.py and lock.py in your Wallbox integration on Home Assistant

Hello @hesselonline,
I just wrote a little 'note' about the 'disappearance' of swicth.py and lock.py in your Wallbox integration on Home Assistant:
https://community.home-assistant.io/t/wallbox-pulsar-plus-integration/200339/168?u=zuzu59
I really use Home Assistant a lot for my home automation, I have more than 550 entities!
I bought the Wallbox in order to be able to charge my electric car according to consumption and/or solar production to balance the electrical consumers in my house. That's why I need to be able to pause or resume charging my electric car from Home Assistant.
Unfortunately this is not possible with the current integration of Wallbox in Home Assistant.
Could you help me to solve this problem?
Thanks again for your great work.

Hi, I replied in the forum. Basically this is the difference between the custom component and the out-of-the-box experience. Its a lot of work to get the component in the HASS repository so not all functionality is there yet.

@hesselonline thank you for creating this integration.
I too really need the lock, start, stop functionality through Home Assistant.  I will install the custom component in the coming week and give that a try, but it would be much appreciated if the "out-of-the-box" solution was complete.  You say all of the functionality isn't there "yet", do you have any idea when it might be (weeks, months, years)?
One of the problems with people using the custom component is you obviously don't see the statistics of how many are using this integration.
Take care.

Yes, I understand. I have some code ready for the lock component, I need to do some more testing before I can submit it to the HASS Core project. There it will be reviewed by the maintainers of that project. Afterwards I still need to create the pause component (which is a bit more complex functionally; I don't really no the status of the switch its not in the data).
In short, the time dimension is heavily influenced by the amount of time I have available (I do this in my spare time) and the amount of time it costs to get it approved by the HASS maintainers.

Thanks @hesselonline.  I fully appreciate these things can take up your life if you aren't careful.  At the moment I have bigger issues of my Wallbox dropping off the network so will be trying a full reset this weekend.  I have also installed the custom component version to get the additional functionality.  Let us know when you have additional functionality in the core version so we can give it a try.

Good morning all,
@yavinmaster, I have the same problem with my Wallbox losing network. After a lot of research I discovered that it is my Wallbox that disconnects from WIFI. Finally I discovered that she can't stand the presence of too many 'people' next to her and that she disconnects. I have around 50 IoT WIFIs in my network.
A few days ago, I put her in the WIFI gest zone, where there is no one and there she no longer disconnects at all. I used Home Assistant's 'ping' integration to 'monitor' it, really handy this integration!
@yavinmaster, so try to do the same with yours, isolate it to verify my discovery?

Hello hesselonline,
I understand very well that it is not easy to validate a code for Home Assistant, it is moreover what makes that we have super quality code in the end. I can offer you my help if you want for your tests and validations.
I would happily content myself with code in Custom Component mode. But the problem is the following: we cannot use the Wallbox integration in Custom Component mode because it must be configured from the configuration.yaml file and as there is already the Wallbox integration in native mode in Home Assistant, we have an error which says that the configuration must be done from the native Wallbox integration UI on Home Assistant.
The ideal would be to clone the Wallbox Custom Component project with another name and run it in parallel with the native in order to avoid the 'configuration' conflict. This will allow us to wait for the validation of the 'pause' service and still be able to use our Wallbox. This would also allow us to better test your code.

Thanks @zuzu59.  I managed to get the Wallbox to connect to my network but not without some considerable efforts (it doesn't seem to like Unifi's more advanced functionality):
I had to create its own 2.4GHz wifi network, disable every advanced networking feature including minimum datarate, PFM, Group Rekey Interval, BSS Transition, UAPSD, Fast Roaming, Proxy ARP and enabling IGMP Snooping.  I also had to play around until I found the Wallbox would connect on channel 11 with 20MHz bandwidth.  I might be able to re-enable some of these functions but as it is just the Wallbox on this network I can't be bothered at the moment to find out which one(s) are actually needed.  I did report my findings to Wallbox but they didn't seem to care........not been impressed by their customer service which is a shame as I quite like the product.
I have been just monitoring the Portal status description in the integration - no need to add a ping integration.  So long as this isn't "off-line" then everything is fine.  I have found that it still drops out but at least it reconnects again.  What is very interesting is the drop out is always around 24 minutes long.

OK, quick update here. I just opened a new PR for the inclusion of the lock function. You can find it here, any feedback is appreciated: https://github.com/home-assistant/core/pull/68414/
I will try to also create an updated version of the custom component (basically the ootb platform + lock + switch).


Add es

Adding a language
part of #790

[x] The code displays "Hello World"
[x] I have updated the readme to include the new language
[x] I have incremented the language count in the readme

@Richienb does anything need fixing?

Could you link to this programming language?

https://en.m.wikipedia.org/wiki/Rc#es


Sum of All Sub Matrices of a Matrix

💥 Proposal
This is the most asked problem in interviews in 2-D Arrays. The brute force of this problem is having a time complexity of O(n ^ 6) and a Space complexity of O(1). Using extra space it can be optimized into a Time Complexity of O(n^4) and a Space Complexity of O(n ^ 2). But this can further be optimized into O(n^2) time and O(1) space. I will be implementing all three approaches to this problem because each one of them has special properties that can be used to solve other matrix-related problems.
Have you read the Contributing Guidelines on Pull Requests?
Yes

@ankitapuri Please assign this to me, I will solve this in C++

@ankitapuri There are three different approaches with different complexities to this problem. Each one of the approaches is useful for solving other problems related to submatrices. So, can I execute one of the approaches in this issue, and the other two in different issues, or do all three in this issue itself.

@ankitapuri There are three different approaches with different complexities to this problem. Each one of the approaches is useful for solving other problems related to submatrices. So, can I execute one of the approaches in this issue, and the other two in different issues, or do all three in this issue itself.

All 3 in 1 please , bcoz I can take just 1 PR per issue


[main] Upgrade to latest dependencies (#287)

upgrade to latest dependencies
bumping knative.dev/hack e6dedc7...b9f6bf0:

b9f6bf0 switch default region to avoid instability (# 373)
bumping knative.dev/eventing 8a18b16...bbb9051:
bbb9051 Fusion Hack  (# 7740)
e886832 [main] Upgrade to latest dependencies (# 7781)
bumping knative.dev/pkg 2c15a6f...adefab4:
adefab4 upgrade to latest dependencies (# 2987)

Signed-off-by: Knative Automation<EMAIL_ADDRESS>

OCF Webhook is merging this PR


License of the project?

Hi @tberghuis
What's the license of this project?
If it's something open-source like the GNU GPL v3 license, we could try to add it to F-Droid after that, if you're ok.

Added MIT license.
Will submit to F-Droid once I get around to learning and using fastlane.


Presents on self.window.rootViewController gets error

Gets error said
-[__NSCFBoolean length]: unrecognized selector sent to instance  xxxx
Not sure what goes wrong

hmmm it seems some other part of my code have errors

Is the issue fixed?

sadly no

@khalilleo as this thread is dead since long I am closing it. If you are still facing the same issue feel free to create a new issue.


Question: Why does Atlas push data be to be "on the minute" and how close to the next minute?

Something I noticed - and this is likely intentional - when you ingest data into Atlas then read it back out, the timestamp is always "on the minute" vs the actual timestamp of the ingested data.
If I ingest data at time 12:00:01, it shows up as 12:00:00
If I ingest data at time 12:00:58, it shows up as 12:01:00
To better illustrate this: https://bkgann.files.wordpress.com/2016/12/influx_predixts_atlas.jpg?w=840
I'm writing the same data to InfluxDB and Atlas, you can see the "actual" timestamps of the data in InfluxDB, and the "pushed" timestamps of the data in Atlas.
In the last 5 minutes of that graph, I set the step size for InfluxDB to be 1 minute, the overall graph looks similar, but the timestamp lands where the the actual datapoint occurred.
I'm curious how Atlas is deciding to push data forward to the "next minute" - I would have expected all values within a minute range to land in the same minute - but from the graphs it looks like data close to the next minute is pushed forward.
Meaning ingesting a datapoint at 12:00:58 queries back as a datapoint at 12:01:00, vs 12:00:00 (which you can see in the comparison graph)

Somehow I overlooked this question. There is some explanation of this in the docs:
https://github.com/Netflix/atlas/wiki/Concepts#data-point
Atlas follows a similar model to RRD and originally replaced a solution that was based on RRDtool internally at Netflix. This blog post discusses some of the tradeoffs between whisper which sounds like it would be similar to Influx's model and RRD which is very similar to Atlas's model:
https://grisha.org/blog/2015/05/04/recording-time-series/


feat: implement ExactSizeIterator for ParamsIter

Resolve issue #53
Implement the ExactSizeIterator trait for ParamsIter to know the current length of the iterator.

Thanks! Will cut a release later today.


editable affiliate program page

👷 Deploy Preview for peaceful-meerkat-940447 processing.

Name
Link

🔨 Latest commit
e805c42127c540e20ce1283dc0299390ec251c67

🔍 Latest deploy log
https://app.netlify.com/sites/peaceful-meerkat-940447/deploys/645cbbf2c7fa2800084879db


Item Filter not working

I've defined an itemfilter in the config file for 101-104 but they are not thrown away (no message about that appeared).
im just passing everyting with the config file pokecli.py -cf config.json an no other arguments

item_filter works accordingly, please see PR #638 which explains why it 'stopped' working


TDD project

Hello Reviewer 👋

This is @shafiuyushawu and @atok624 This is a pull request on the OOP school library: preserve data
Changes implemented ♻

*[ ] Created a class called Solver. :
*[ ] Create a method called factorial that takes one argument, an integer N, and returns the factorial for that number. The factorial is the multiplication of all integers from 1 to N and has the special case that the factorial of 0 is 1. This method only accepts 0 and positive integers, so if a negative integer is given it should raise an exception.
*[ ] Created a method called reverse that takes one argument, a string word, and returns word reversed (e.g. if word is "hello" it returns "olleh").
*[ ] Created a method called fizzbuzz that takes one argument, an integer N, and returns a string. The returned string is constructed following these rules:
When N is divisible by 3, return "fizz".
When N is divisible by 5, return "buzz".
When N is divisible by 3 and 5, return "fizzbuzz".
Any other case, return N as a string (e.g. say N is 7 then return "7").

Thanks so much for the approval @Deepakdanger


erlang 20.1.3

Travis CI error possibly caused by https://www.traviscistatus.com/incidents/v4jnp6nkgzqx
Seems that the incident is resolved now, ready for a rebuild. 😄


Add a libvirt execdriver

I rebased jpoimboe and alexlarsson work on libvirt execdriver on master and completed it. The original branch is: https://github.com/jpoimboe/docker/tree/libvirt3.
Some points to highlight:

This execdriver doesn't take advantage of the recent additions in libvirt-lxc for setting the capabilities, so keep-caps / drop-caps isn't supported for the while.
Some of the code from the lxc driver has been extracted in execdriver/utils.go to avoid code duplication.

As @ewindisch mentioned it, a virt-sandbox driver could be interesting. I'm currently able to run docker images directly on KVM using virt-sandbox. Would such an execdriver interest you folks?

@cbosdo our goal is to move to RunC in stead of implementing new execdrivers here, see https://github.com/docker/docker/blob/master/ROADMAP.md#121-runtime (and https://github.com/docker/docker/pull/17441 for a similar discussion)


[core] Agg 'collect' and 'merge_map' support retract

Purpose

The retract isn't correct when:

If the retract field arrives but accumulator doesn't, won't retract;
The retract field from one input stream will retract the result merged from multiple input streams.
for example, using merge_map, acc (1, A) + input (1, B) will get (1, B), and if retract (1, A) later, the result (1, B) will be deleted from result map.

Tests

API and Format

Documentation

+1


feat(edp-simulator)!: Specify EventGroup metadata via command-line option

Closes #1880

This change is


express.static in server.js shouldn't be absolute

Seems to me that the following in server.js shouldn't be absolute. This breaks builds being deployed.
Currently process.env.RAZZLE_PUBLIC_DIR resolves to: /some/absolute/path/to/build/public
This causes issues when deploying to cloud services as the build will reference your local environment.
Meaning building the relative path in server.js won't work either.
Yes you can override this in .env.production or perhaps via a custom plugin or something, but it seems to me Razzle should get the relative path and then set RAZZLE_PUBLIC_DIR to something like ./build/public.
Otherwise you'd always have to build on the remote host or something before starting seems counterproductive.

Yeah probably right. This probably has been neglected as our assets are always served via cdn in prod. Open a PR?

I gotcha.
Sure N/P. Just getting feet wet with Razzle here, so comments on where/how this should be implemented?
FYI going to tinker around w/ Razzle for better part of Nov. doing some due diligence, hopefully I can help the project some.

@jaredpalmer give me some direction on this and I'll take care of it.

I feel this somehow relates to our issue. Deploying with docker, we are finding that static assets are returning a 404 because we just can't find the file.

Any update on this? Can I help?

I've solved this one with additional variable:
const publicDir = process.env.RAZZLE_PUBLIC_DOCKER_DIR || process.env.RAZZLE_PUBLIC_DIR;

server
  .use(express.static(publicDir))
...

Maybe add a forceRuntimeEnvVars option to razzle.config.js?

Made process.env.RAZZLE_PUBLIC_DIR relative in canary.


Playstation and XBox?

Is there any plan to support Playstation and XBox?

for XBox UWP was used and worked but microsoft killed it without a replacement sooo if microsoft gives a replacement then it would be probably possible again
for playstation you will need a compiler to something playstation understands, ie IL2CPP that unity made and maybe its possible to do with AOT in near future but making stride AOT compatible is far in the future

I'd like to point towards the recent MonoGame decision to migrate to using NativeAOT instead of their own IL2CPP equivalent here: https://github.com/MonoGame/MonoGame/issues/8194
The general gist is that while their BRUTE solution worked, it has become a long term maintenance blocker leaving the people who do need it stuck on old versions of .NET with no upgrade path. .NET now has a better first-party solution for this in the form of NativeAOT.

I found this, which may be a good starting point to bringing back Xbox support.
https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/get-started-with-pc-dev/get-started-with-custom-engine/gc-get-started-with-custom-engine-pc-csharp
The Xbox specific bits seem to be behind and NDA wall.


Fixes and suggestions from PR #7

@marciojg Some fixes (in orthography) and suggestions from recently merged PR #7 🤝
PS: Can you test if you have access to approve/disapprove the PR and merge/close it? If not, please let me know that I grant access for you in repo settings.

Codecov Report

Merging #8 (c40a4da) into master (6919b9a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          205       205
=========================================
  Hits           205       205

Impacted Files
Coverage Δ

lib/qrcode_pix_ruby/payload.rb
100.00% <100.00%> (ø)

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 6919b9a...c40a4da. Read the comment docs.

@pedrofurtado Good eyes. Thanks for the fixes! 👍
The merge is coming 😋


Fix TableSelector perf and responsive y axis

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

Cherry picks for https://github.com/apache/incubator-superset/pull/7868 and https://github.com/apache/incubator-superset/pull/7915
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

See previous PRs
TEST PLAN

CI
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@michellethomas @graceguo-supercat @john-bodley

Codecov Report

Merging #144 into airbnb-master will increase coverage by 7.56%.
The diff coverage is n/a.

@@                Coverage Diff                @@
##           airbnb-master     #144      +/-   ##
=================================================
+ Coverage          65.06%   72.63%   +7.56%
=================================================
  Files                427       78     -349
  Lines              20681    10590   -10091
  Branches            2313        0    -2313
=================================================
- Hits               13457     7692    -5765
+ Misses              7100     2898    -4202
+ Partials             124        0     -124

Impacted Files
Coverage Δ

superset/assets/src/components/Checkbox.jsx

...ations/deckgl/layers/Polygon/PolygonChartPlugin.js

...ets/src/dashboard/components/dnd/DragDroppable.jsx

...c/visualizations/deckgl/layers/Polygon/Polygon.jsx

...ssets/src/visualizations/presets/MapChartPreset.js

superset/assets/src/components/EditableTitle.jsx

superset/assets/src/setup/setupPlugins.js

...t/assets/src/components/InfoTooltipWithTrigger.jsx

.../src/dashboard/components/UndoRedoKeylisteners.jsx

...ts/src/explore/components/ExploreActionButtons.jsx

... and 338 more

Continue to review full report at Codecov.

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


[Lexer] Handle UTF8 characters in dollar identifier

When lexing a dollar identifier, we don't handle UTF-8 characters. This leads to failure when accessing the projectedValue of a property wrapper (which is synthesised as $<property_name>) if the property name contains UTF-8 characters, such as é.
Resolves SR-13232

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

I have update the new Xcode and use swift5.3, it still has the similar problem.
here's detail

@Eriice Could you please file a bug report on bugs.swift.org. Thank you!

@Eriice Swift 5.3 doesn't include this change. Please wait for the next release.

@Eriice Could you please file a bug report on bugs.swift.org? Thank you!

Sorry for that not standard reporting way, It seems next version will be resolved. If necessary, I can upload a demo to report it.

@Eriice Swift 5.3 doesn't include this change. Please wait for the next release.

Thank you for your help:)


mavlink: 2019.3.3-0 in 'lunar/distribution.yaml' [bloom]

Increasing version of package(s) in repository mavlink to 2019.3.3-0:

upstream repository: https://github.com/mavlink/mavlink.git
release repository: https://github.com/mavlink/mavlink-gbp-release.git
distro file: lunar/distribution.yaml
bloom version: 0.6.8
previous version for package: 2019.2.2-0

Same issue as kinetic: https://github.com/ros/rosdistro/pull/20420#pullrequestreview-210027165


Revert "Alternate method of ensuring no compacted SSTables left at startup"

Reverts palantir/cassandra#523

👍


compact memory search not matching fields

It's not possible to search within the fields for language, journal title, publisher etc. Currently elasticsearch only matches the query to the text field.

@sarafischer Can you give an example for a query?

for example: 'lang: eng'
-> in cm_search/views.py result() is not fieldmatching implemented at the moment (as in search/views.py)


Add prettier to xo config and switch to two-space indentation

@XhmikosR for me, conversations in commits are quite inconvenient. Let's communicate here.
Have you seen this changes? Do you agree/disagree with them?
Sorry in advance for this PR.

So, here we have 2 choices:

try to stay close to the xo style we are already using
go with prettier's defaults and adapt xo

In the first case, not sure what the gain is, though. Just being able to format other files except for js/ts etc?
I don't mind going with the second way, as long as we agree on a common set of options.

@XhmikosR let's go with second variant. Then step by step, file by file we will include prettier to all code base.

@XhmikosR should we land it?

Please hold on to this. I haven't had a chance to look at it yet.

So far I see the following:

I don't like prettier using single quotes in yaml, but I can live with it
I don't like the license header changes
I definitely don't like prettier's HTML handling
prettier chokes on our templates
format check is not enforced on CI; we should probably add it there too if we go with this approach
I switched to two-space indentation because it feels more natural, but it's hard to see the diff because it's huge

Closing for now. I landed the 2-space indentation in #812


feat: loading spinner and streaming for assets table

fixes #1381

this is great!
https://github.com/user-attachments/assets/d8af408d-3ce0-4a3f-8448-ddf8b6ae28ba

Additionally, assets don't stream in during sync and require a manual refresh. I'm wondering if this is something we could incorporate into the current changeset, or if it would be better handled in a separate PR?
after sync has completed, and before refreshing:

after sync has completed, and after refreshing:

@TalDerei I wonder what's causing them to not stream in during syncing - is it perhaps because the fetch method is not refetching automatically?

@TalDerei I wonder what's causing them to not stream in during syncing - is it perhaps because the fetch method is not refetching automatically?

I think this might be more involved, so will open separate issue for now.


For some reason, logging using verbose = True,  isn't working in mlp.Regressor

Hello team AIgamedevs,
Logging is not working if I pass only "verbose = True" in mlp.Regressor, but if I import the global logger "log" and set the logging level to DEBUG/INFO , it works.
The function create_logger() returns , since the len(log.parent.handlers) evaluates to 1, but if I use this:
from sknn.mlp import Regressor, Layer, log, logging
log.setLevel(logging.DEBUG)
Then, I can see the debug logs.

Did you do any other configuration of the logging before creating the mlp.Regressor, or use a library that does that for you?

It works actually, sorry for the confusion.  I had a couple of extra unused imports which were conflicting with the logging.
Thanks for this wonderful library.

OK, thanks for the report. Closing this issue!


Corrected issue caused by missing comma.

Added repository definition.

Thanks for the report. It's better to report problems as if they were bugs, not as pull requests. I edit the source in an outliner and the JavaScript code is generated. So any change you make to the JS will get wiped out in the next release.
That said thanks again -- it's nice to know someone is following along. PagePark is about to get really interesting, running Node apps from domain folders. Still have a few more bits to put together for that.


Naming of include-file and define(s) & compiler-warning

With PlatfromIO (I almost never use Arduino IDE) at least "debug.h" and "DEBUGLEVEL" throw compiler errors. You should rename it to something "special" (e.g. RBdebug.h, RB_DEBUGLEVEL).
In addition to that, in PlatformIO you cant use the compiler-warning (Lines 34..37 in debug.h).
Cheers from Vienna, Austria
(And thanks for your very good Videos!)

Oh, and
#define DEBUGLEVEL DEBUGLEVEL_DEBUGGING

before
#include "debug.h"

doesn't work, because DEBUGLEVEL_DEBUGGING is not known at this point ;)

I've never had a problem with this Helmut. In my experience it all compiles quite happily, both in the Arduino IDE and PlatformIO. I know, this might be a case of "works on my machine" but I can only report what I find, right?
Taking your last point first, you MUST define the DEBUGLEVEL before the #include in order for your required debugging level to work (otherwise the included file assumes a default position and you get the warnings). The value DEBUGLEVEL_DEBUGGING is just a string of characters, they mean nothing, and are used solely in the debug.h file. The compiler should not care about a #define statement.
Simple test results
I've just copied and pasted my simple Arduino sketch code for my next video into PlatformIO, including debug.h and all the warning directives in it etc, and it compiles cleanly, without me making any changes.
The debug.h file has been enhanced to cater for multiple parameters in Serial.print statements eg Serial.print(10, HEX);, but the overall structure is the same.
You will be able to see the sketch code in my GitHub when the video has been released; please take a copy and try and compile it in PlatformIO just as I have done and see what, if any, error messages you get.
Excerpt from main.cpp:
#include <Arduino.h>
#define signalPin 2
#define ledPin 11
#define relayPin 10

// Debugging without Serial.print
#define DEBUGLEVEL DEBUGLEVEL_DEBUGGING
#include "debug.h"

And except from the debug.h file:
// We want to debug everything! Override this in your sketch
#ifndef DEBUGLEVEL
#define DEBUGLEVEL DEBUGLEVEL_VERBOSE
#warning Debug Level is set to default level. \
To change this, type in your sketch:   \
#define DEBUGLEVEL followed by your preferred level of debugging\
before the #include statement
#endif

Result:

Wait for the next video, download the code, and try this again, please, as I get no errors nor do I expect them 😀

To the preprocessor directive
#define DEBUGLEVEL

I could answer a lot. But I am out of time now.
Maybe I come back to it later.
Are you working on Windows or Mac?
I'm on Linux.
Maybe there's the difference.
I'll post my compiler output as soon I have time.
But thanks 4 your answer anyway!

Back again here I saw you are talking about your modified simple Arduino sketch code (which is not available here). I was talking about the "Advanced_Example" since your "Simple_Example" here has no '''#include "debug.h"```. And what I forgot to mention: I work with ESPs, not Arduino.
Anyway here are some snippets compiling your original main.cpp with your original debug.h from folder "Advanced_Example" with PlatformIO Core, version 5.2.5 on Arch Linux x86_64, Kernel: Linux 5.16.11-arch1-1:
Compiling .pio/build/d1/FrameworkArduino/FSnoop.cpp.o
In file included from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:25,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/HardwareSerial.h:32,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:288,
                 from src/main.cpp:1:
src/debug.h:34:2: warning: #warning Debug Level is set to default level. To change this, type in your sketch: #define DEBUGLEVEL followed by your preferred level of debuggingbefore the #include statement [-Wcpp]
   34 | #warning Debug Level is set to default level. \
      |  ^~~~~~~
src/main.cpp:4: warning: "DEBUGLEVEL" redefined
    4 | #define DEBUGLEVEL DEBUGLEVEL_DEBUGGING
      |
In file included from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:25,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/HardwareSerial.h:32,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:288,
                 from src/main.cpp:1:
src/debug.h:33: note: this is the location of the previous definition
   33 | #define DEBUGLEVEL DEBUGLEVEL_VERBOSE

Compiling .pio/build/d1/FrameworkArduino/FunctionalInterrupt.cpp.o
      |
In file included from src/main.cpp:5:
src/debug.h:114: warning: "debugV" redefined
  114 | #define debugV(x) debugNothing(x);
      |
In file included from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:25,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/HardwareSerial.h:32,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:288,
                 from src/main.cpp:1:
src/debug.h:107: note: this is the location of the previous definition
  107 | #define debugV(x)              \
      |
In file included from src/main.cpp:5:
src/debug.h:115: warning: "debuglnV" redefined
  115 | #define debuglnV(x) debugNothing(x);
      |
In file included from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:25,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/HardwareSerial.h:32,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:288,
                 from src/main.cpp:1:
src/debug.h:110: note: this is the location of the previous definition
  110 | #define debuglnV(x)           \
      |

Compiling .pio/build/d1/FrameworkArduino/IPAddress.cpp.o
In file included from src/main.cpp:5:
src/debug.h:40:6: error: redefinition of 'void debugNothing(...)'
   40 | void debugNothing(...)
      |      ^~~~~~~~~~~~
In file included from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:25,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/HardwareSerial.h:32,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:288,
                 from src/main.cpp:1:
src/debug.h:40:6: note: 'void debugNothing(...)' previously defined here
   40 | void debugNothing(...)
      |      ^~~~~~~~~~~~
In file included from src/main.cpp:5:
src/debug.h:46:6: error: redefinition of 'bool traceStampRequired'
   46 | bool traceStampRequired = true;
      |      ^~~~~~~~~~~~~~~~~~
In file included from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:25,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/HardwareSerial.h:32,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:288,
                 from src/main.cpp:1:
src/debug.h:46:6: note: 'bool traceStampRequired' previously defined here
   46 | bool traceStampRequired = true;
      |      ^~~~~~~~~~~~~~~~~~
In file included from src/main.cpp:5:
src/debug.h:48:13: error: redefinition of 'std::string debugStr'
   48 | std::string debugStr("");
      |             ^~~~~~~~
In file included from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:25,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/HardwareSerial.h:32,
                 from /home/hefi/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:288,
                 from src/main.cpp:1:
src/debug.h:48:13: note: 'std::string debugStr' previously declared here
   48 | std::string debugStr("");
      |             ^~~~~~~~
*** [.pio/build/d1/src/main.cpp.o] Error 1

The problem with the name 'debug.h' seems to be board specific or interfere with other includes (in other projects, not this).
Further investigation will take place after you posted your next PlatformIO video.
Thanks a lot for your good work here on YouTube!


Can't hide the menu after expanding it on small devises

On a small device like iPad or a phone, the left menu automatically closes as it should which is great. However, after the "Toggle navigation" button is clicked to show the menu, the "Toggle navigation" button itself will get covered preventing you from toggling the menu again.
In other words, after showing the menu on small devices, no easy way to close the menu again.

im having the same issue

i solved the issue...it seems like there is a problem with the sleek.bundle.js file included in the github project files..
i went to their demo website and downloaded their sleek.bundle.js file from there
here is the link
https://sleek.tafcoder.com/assets/js/sleek.bundle.js
just download and replace and it will start working!


✨(header) add Gaufre button

including the gaufre button that is an external
tool to list all suite related apps
this is just a test to publish a review app
edit: updated with production-ready code.

:wave: updated branch with the real gaufre from https://integration.lasuite.numerique.gouv.fr/


fixed css and added latest bootstrap-styled

:tada: This PR is included in version 1.8.13 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix viewerCesiumInspectorMixin

Fixes #5323
@tfili

Looks good @hpinkos. Once it goes green I'll merge it.

Should this have an update to CHANGES.md since it fixes a GitHub issue?

The bug wasn't shipped in a release (it was introduced by #5249) so I don't think it needs to be noted in CHANGES.md

Gotcha.


Clarify return values for EVP_DigestVerifyFinal.

Previous language was unclear.  New language isn't pretty but I believe
it is more accurate.

+1

How about this instead?
EVP_DigestVerifyFinal() returns 1 for success; any other value indicates failure.  A return value of zero indicates that the signature did not verify successfully (that is, tbs did not match the original data or the signature had an invalid form), while other values to indicate a more serious error (and sometimes also indicate an invalid signature form).

Changed as suggested by Rich (with one minor change, removed extraneous "to").

+1

done in master and 1.0.2; thanks.

Any reason why not 1.0.1?

oops.  and 1.0.1

Thanks :-)


Upload widget component

Description
I created the Upload Widget based on the examples given at

https://github.com/colbyfayock/cloudinary-examples/tree/main/examples/nextjs-upload-widget-signed
https://github.com/colbyfayock/cloudinary-examples/tree/main/examples/nextjs-upload-widget-preset

I also added an Upload Button to further abstract the Upload Widget for ease of use for users.
This is the first draft @colbyfayock, please could you help me take a look to ensure I'm in the right direction?
Also apologies for my  formatting from my prettier that changed some js and CSS files
Bugs left to fix:

[x] only one widget gets triggered, if multiple widgets are rendered on one page
[x] better error update on signed widgets
[ ] revert formatting

Issue Ticket Number
Fixes [Issue #4 ]

Type of change

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

Checklist:

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

thanks for this first draft

As you noted, lots of formatting changes from your internal formatter, can you revert these please?
love the UploadButton abstraction
Unsigned Upload Widget worked

getting this error clicking Signed button, though is this what you meant about multiple widgets?

the Unsigned button click doesnt work, still may be related to above
looking great so far!! i'll think about this a little more as you continue to work on it

thanks for this first draft

As you noted, lots of formatting changes from your internal formatter, can you revert these please?
love the UploadButton abstraction
Unsigned Upload Widget worked

getting this error clicking Signed button, though is this what you meant about multiple widgets?
the Unsigned button click doesnt work, still may be related to above
looking great so far!! i'll think about this a little more as you continue to work on it

Okay, will revert the format changes and fix the signed button error and the bugs listed above

hey @agbanusi any luck here?

Apologies for the late response been caught up with a lot. I have fixed all issues except the index.js file formatting which I'd work on shortly.
List of things done are

I used random values between 0-99 for an attachment to the id and fix the issue of buttons not coming up if multiple widgets or buttons are used on the same page
I added children to the uploadButton and signatureEndpoint
added signatureEndpoint to widget instead of hardcoded value
fixed signed button error of  widget.current.open not a function
tested all buttons and other minor changes

It seems you deleted some files and that is causing conflict on the PR. Should I go ahead and delete them on my PR or do you want to test and confirm then I delete the files?

awesome ill look at this shortly, but to answer your question, dont worry about it, ill handle the conflicts. ive been making a lot of changes so dont want to put that on you, but thanks

thanks fort he clarification on some of those points, my mind was elsewhere on a 1 or 2 of those 👀
this is great though. just a heads up im gonna likely shift things around a little bit. i have a new docs site that 'll update this all on to and just a few organizational preferences i have that i'll make changes for
nice work with all of this!
i'll be merging this in later once i have an opportunity to make the changes but in the meantime
email me at<EMAIL_ADDRESS>where i'll send you a form to claim your free swag! https://spacejelly.dev/hacktoberfest/

I gotta work more on the documentation but I got it all pulled into the new docs pages! 🥳
i still have to update some of the pages to add configuration details and such but happy with where it's at to get it merged in

I gotta work more on the documentation but I got it all pulled into the new docs pages! 🥳
i still have to update some of the pages to add configuration details and such but happy with where it's at to get it merged in

Thank you very much for the approval and your help 😊


x/talks: still using old version of present at talks.golang.org

In https://github.com/golang/tools/commit/e00c182679a043c63cd52172ee2d9d3d8ad22e26 I fixed an issue with the CSS of present not scaling down on smaller displays. I assumed talks.golang.org would be updated along with 1.10, but when I look at https://talks.golang.org/2017/state-of-go-may.slide#1, it appears to be using the same old and busted CSS. What is the release cycle like for talks.golang.org?

/cc @andybons

Fixed in https://github.com/golang/tools/commit/5e776fee60db37e560cee3fb46db699d2f095386 and deployed.


Fixes #26 - conditional enablement of code coverage

this is both a hack and working :-)
I'll cleanup/squash etc after comments
look @ https://github.com/jschilli/ember-cli-blanket/blob/c08e7b065cc18f734e1be3262ab75c5e6659d871/lib/blanket-loader.js#L67 in particular
there are two ways of controlling this right now
it picks up the option value from blanket-options.js
/* globals blanket */

blanket.options({
   modulePrefix: "dummy",
   filter: "//.*dummy/.*/",
   antifilter: "//.*(tests).*/",
   loaderExclusions: [],
   enableCoverage: false
});

and by changing the query param coverage from 0->1
we could kill line 67 altogether and leave that as an exercise to the reader.

Very cool, just one change to recommend - if we make the condition the presence/absence of the word 'coverage' instead of 'coverage=1' then this would work to enable disable the instrumentation for the qunit case as well.  In the case of mocha, you could still control from the blanket options or from adding/removing '?coverage' from the url (same behavior as qunit).
As for the location of the check - I'm fine leaving it there for now.  Like I mentioned before, the project is one big hack currently, so when it gets cleaned up those kinds of checks can find proper homes.  Likely this is going to end up tied into the broccoli trees at some point, which will definitely shake up the code.


Fix Issue 18952 - std.experimental.checkedint.Saturate prints integral promotion deprecation message

Also added a few public documentation examples as unittests.
I added them in the top as there was only one high-level example.

Good idea to use backticks. Thanks!
(done)


Recently release not published to npm

Looks like the recent opentelemetry-js-contrib releases from last week have not been published to npm.
https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node <-- for example 0.29.0 should have been published and it has not.

[x] This only affects the JavaScript OpenTelemetry library

I'm working on this right now

This is blocked currently because the docker resource detector is listed as 1.0 and i'm trying to verify with @Rauno56 if that is correct or if it needs to be fixed

For now I will release all packages except that one

Done. Closing this issue as docker is a separate deal


Compile arbitrary files in target directory

Describe the feature
As a dbt user, I want to be able to include images in my target directory, so that my docs can render the images.
Currently, to show images in the docs, you can do something like this:
!["Jaffle Shop ERD"](jaffle_shop_erd.png "Jaffle Shop ERD")

But this only works if jaffle_shop_erd.png is in the target directory.
Thoughts:

Group these assets into a static directory to give a user control over what is and isn't compiled.
Should this have a config in the dbt_project.yml like this:

asset_paths: ['static']

(I have no idea what the right word is here)
Describe alternatives you've considered
N/A
Additional context
N/A
Who will this benefit?
users of the documentation feature

I agree this feature would be really useful.  It would enhance the power of the dbt generated docs for organizations wishing to decorate the docs with additional image content that adds more end user value.  For example, I'm using the dbt auto-docs as a data dictionary for non-technical and a launching point to explain the data platform I've built for end users.  Having the ability to customize the content with images that represent my organizational context helps me simplify and improve my communication with users making the docs more approachable and a little less technical.
The contributors to the dbt project are amazing.  You're doing great work!

Cool! Let's go ahead and add an asset_paths: ['static'] config to dbt_project.yml as @clrcrl has shown above.
This path will be copied over directly into the target/static/ directory. dbt should not whitelist file extensions when copying over files from this path.
Let's make it happen!

This is a great feature idea!
One cool little bonus that this feature would enable: the ability to author and manage Draw.io diagrams alongside your dbt documentation, in the form of editable PNGs that can live directly in the assets dir (see https://github.com/jgraph/drawio/wiki/Embed-Diagrams).


add about us nav and add content for about us

add about us nav and add content for about us

PR template is not complete and issue is not linked, please try resubmitting with all of the info asked for.


Fix issue when pose optimization is used and no legs are grounded.

Crashes, if no robot state is received.

@remod did #39 fix it?

Is this a visualization issue?

If I remember correctly this can be a visualization or real issue on the robot. It's about making things robust and not letting e.g. the pose optimizer crash in no-contact situations, but to handle the situation better.


MySQL 8.0.19+ ... AS alias ... ON DUPLICATE KEY syntax parsing problem

Version
1.22.0
What happened?
MySQL 8.0.19 deprecated the former ON DUPLICATE KEY syntax for the newer column reference style but sqlc doesn't seem to like it.
Note the old style VALUES() is now deprecated:

The use of VALUES() to refer to the new row and columns is deprecated beginning with MySQL 8.0.20, and is subject to removal in a future version of MySQL. Instead, use row and column aliases, as described in the next few paragraphs of this section.

Relevant log output
$ sqlc generate
# package sqlc
query.sql:20:24: syntax error near "as new"

Database schema
CREATE TABLE dep_names (
  mykey VARCHAR(255) NOT NULL,
  a VARCHAR(255) NULL,
  b VARCHAR(255) NULL,
  c VARCHAR(255) NULL,
  d VARCHAR(255) NULL,
  e VARCHAR(255) NULL,
  PRIMARY KEY (mykey)
);

SQL queries
-- name: TestInsert :exec
INSERT INTO dep_names
  (mykey, a, b, c, d, e)
VALUES
  (?, ?, ?, ?, ?, ?) as new
ON DUPLICATE KEY UPDATE
  a = new.a,
  b = new.b,
  c = new.c,
  d = new.d,
  e = new.e;

Configuration
version: 2
sql:
  - engine: "mysql"
    queries: "query.sql"
    schema: "schema.sql"
    gen:
      go:
        package: "sqlc"
        out: "sqlc"

Playground URL
https://play.sqlc.dev/p/99bd4e6529ffaae574dacb08c653ada803cc5c95a4a42e795e4a39cb039a4a47
What operating system are you using?
macOS
What database engines are you using?
MySQL
What type of code are you generating?
Go

The mysql engine relies on the tidb parser.
Currently it does not work because tidb does not support that syntax.
https://github.com/pingcap/tidb/issues/29259

@SnoozeThis https://github.com/pingcap/tidb/issues/29259

(https://snoozeth.is/xBlBhXIndU8) I will wait until https://github.com/pingcap/tidb/issues/29259 is closed and then add a comment.


Always delete an UDS file before binding it

The RAII struct UdsGuard works well when the binary terminates normally but this is unfortunately not always the case:

crashes.
on Android, daemons restarted by the init system.
power loss on mobile devices.

To avoid these failures, this patch forces the deletion before trying to bind the socket. This means that we don't really need the UdsGuard anymore -  let me know if I should also remove it. cc @dignifiedquire

I don’t think unconditionally deleting these is a good idea, because now you break an already running system if you run the binary twice, instead of erroring out.

Thoughts @fabricedesre ? This is tricky, any idea how other applications typically do this?

Thoughts @fabricedesre ? This is tricky, any idea how other applications typically do this?

I've seen 2 approaches:

use a file containing the PID of the running instance. In theory this can be racy, in practice that works well. In iroh we could provide that to all programs with a helper in iroh-utils.
scan /proc/$pids/cmdline or equivalent to find an already running instance. It's quite tedious and can be slow, and OS specific.

Cleaning them up in all cases including program crashes is the hard part in my humble experience.

Having the pid in the lock file allows you to ignore / override it after a crash because you can check that the pid is actually one of a running process. Of course pid reuse is a thing, but well...
I can take that bug if that helps.

On linux at least fcntl works pretty well I believe, as the OS releases the lock when the process dies

I can take that bug if that helps.

Yes, that would be great

@fabricedesre can we close this, or is this still needed?

I forgot about it because I kept it in my fork, so feel free to close. It likely less of an issue now with the lock files.


Data-link Select tag with multiple targets

Testing with top example on this page: http://www.jsviews.com/#link-select
Data-linking between the two Selects works in the example on this page, but if I try to add another target then it does not work.
In the first Select example replace
data-link="selectedCar"
with
data-link="value{:selectedCar}" (or) data-link="{:selectedCar}"
(this is the syntax that is required for multiple targets as I understand)
Now choose an option from the first Select...it does not update the second Select on the page.
However, if I choose an option from the second Select...it does update the first Select.
My ultimate goal is to do this:
data-link="value{:selectedCar} css-background-color{:selectedCar == 'vlv' ? 'green' : 'red'}"
Paste this html snippet in the above page to test:

You need to specify two-way data binding - with the :}
<select data-link="{:selectedCar:} css-background-color{:selectedCar == 'vlv' ? 'green' : 'red'}">

There is a similar example lower in the page:
<select data-link="{:selectedCar:} size{:cars.length + 1}">

Note that adding explicit targets such a size{} or value{} is only used for one-way binding. So the following is incorrect:
<select data-link="value{:selectedCar:} ...">

I'll add a syntax error message for that...

Ah ha, I think I forgot about the "Abbreviated syntax and full syntax for data-link" as specified on this page.
http://www.jsviews.com/#link2way
I knew that full syntax was needed for multiple targets, but forgot that data-link="name" is the shortcut for data-link="{:name:}". I won't forget again ;-)  ...and a syntax error would be great.
Works perfect now, thank you!

Syntax error for this included in commit 89


Support plugin API version 81

You changed "ternary" to "tertiary", but are the required changes for that actually applied to the plugin API proper?

Yes, the plugin API has already changed to "tertiary" and "ternary"
Here's the commit:
https://github.com/OpenRCT2/OpenRCT2/commit/91ceecc6fc1a482f9118da8a4aad3ad488972c7e


Set variable's value

The user can customise the contents through variables.  For example, consider the following code fragment
$ echo "Albert Attard"

The above example is not customisable.  Instead of using hardcoded values, like the example above, we can use variables.  The user will provide the name to be printed as a variable input, as shown next.

Once the user sets the variable, say with the value Hello world, the entries coming after the variable declaration should be updated, as shown below.
$ echo "Hello world"

The user sees the variable's value instead of the hardcoded value.
We need to consider the following cases

Default values: should we have default values? And if so, should we display/use the default values until these are changed?
Sensitive values: variables can be sensitive in which case these should not be printed.  Instead we can display ******.  When the command is then executed, using the run action that will be added, the real (sensitive) value is used.

Tasks

[ ] Display/use the default value when one is provided
[ ] Capture the variable's value
[ ] Show the variable's value if the variable is marked not sensitive, otherwise mask the value
[ ] Update the entries and show the variable's value instead of the variable

The default value will be the first value in the parameters.


BoomerAMG options

Hello,
I am quite new to mfem and still learning, so this is a newbie question. I need to change some options for BoomerAMG to use it as a preconditioner, but could not see any mfem function to set them. Is there any way to do it so without changing source files?
Thanks in advance,
Abdullah Ali Sivas

Hi Abdullah,
You can typecast the HypreBoomerAMG object to HYPRE_Solver - the typecast is re-defined to return the direct handle to the hypre object (see hypre.hpp:750), e.g.
HypreBoomerAMG amg(A);
HYPRE_Solver h_amg = (HYPRE_Solver)amg;

After that it is a matter of calling directly the hypre functions to set the options you want, e.g.
HYPRE_BoomerAMGSetStrongThreshold(h_amg, 0.25);

Hope this helps,
Veselin

Hi Veselin,
Thank you for answer, and it helps a lot. I was looking for a direct mfem call so that I even haven't noticed that I could do that. Thanks again.
Best regards,
Abdullah Ali Sivas


Can't minimize since v8.31

When i updated to v8.31 i can't minimize the opend windows. Its only flackering a little bit but don't minimize. With v8.30 it works.

duplicated #501

You can download the latest build from https://github.com/sourcegit-scm/sourcegit/actions/runs/11008199614


Nontemporal (streaming) stores

Nontemporal store instructions (like movntpd in AVX, associated with intrinsics like _mm256_stream_pd), which allow writes to bypass cache, offer an important boost for some memory bandwidth-limited operations. They typically have alignment requirements. It would be useful if such memory semantics could be exposed through stdsimd.

I've seen them in core::arch before, but never been able to get much detail about them.
Question: If misused, do they allow cache syncing issues, or any other form of UB?

I'm not sure it has any effect on safety, since vectors aren't Sync, but I believe non-temporal stores can cause reads to return different results on other processors

Reads can always return different results on different processors (even if you store and load with SeqCst the writes are allowed to be in a store buffer for some amount of time, it's just that when the reads do become available, they ), but non-temporal stores and loads can cause the operations to not respect the temporal ordering usually used when cache lines are retired.
The traditional example of this is that the DEC Alpha didn't retire cache lines in temporal order, and as a result you could have thread 1 populate a struct and set an atomic variable to a pointer to that struct, but when thread 2 reads it, it sees data that predates the assignment, even though that implies some sort of time-travel of the load.
That is to say, non-temporal loads/stores are effectively a atomic ordering weaker than even Relaxed, although it's a bit more complex since it refers to an abstraction layer below atomics (e.g. it refers to the cache coherency protocol that's used to implement atomics on x86), and so it's somewhat a leaky abstraction if you were use it as an actual ordering.

It seems to me that a NT store function itself should be safe. Using it in a synchronization primitive or similar would be incorrect.

It's tricky since it would break the guarantees of Acquire/Release orderings, e.g. Mutex<T> would have a data race if T were written with a non-temporal store. I think the safety guarantee is that you perform the appropriate fencing before the load.

That's true, I do think you need an sfence after your stores.  It's worth noting that there is a bit of discussion on NT operations in #16 and possibly in Zulip as well.  I think our discussions have leaned towards nothing about NT ops being unique to SIMD, however it is somewhere they are more frequently used.

I think given that existing code relies on Ordering::* behaving as described for safety, and this code would have data races when non-temporal operations are introduced, either:

NT stores should be unsafe, or
Vectors need to be !Send

My preference would strongly be 1, since non-temporal operations are comparatively rare.

Oh thanks, I'd missed that issue (and we can close this to consolidate).
The core::intrinsics::nontemporal_store docs say

Probably will never become stable.

If it can't be stabilized for scalars, presumably it also wouldn't be considered for stabilization with SIMD. (I don't know the rationale for "never".)

core::intrinsics are just presumed to never become stable by default, that the ability will become stable elsewhere within the standard library eventually.

Yeah, though other intrinsics tend not to say they'll never be stable, and those that have stabilized now link to their stable counterparts.

Well having the very concept never be stable in any form forever is just unacceptable.

I think given that existing code relies on Ordering::* behaving as described for safety, and this code would have data races when non-temporal operations are introduced, either:
1. NT stores should be unsafe, or

2. Vectors need to be !Send and !Sync

My preference would strongly be 1, since non-temporal operations are comparatively rare.

Indeed, it would be very sad if vectors became !Send.

For all operations in the Rust language and standard library where the operation is both supported by the compiler and is usable in a non-SIMD context, I see little reason to preempt the rest of the Rust stdlib in offering an interface specifically to a vector variant, even if the vector variant would get more usage, because it adds another layer of complications. We would want the scalar variant to compare against, if nothing else.

The experience I have with nontemporal stores suggests the following:

Nontemporal stores do not follow the regular memory model rules for ordering.
LLVM has indicated that they don't really wish to support nontemporals in any rigorously cross-platform way (see http://lists.llvm.org/pipermail/llvm-dev/2020-April/141279.html), save for perhaps a "nontemporal pre/post fence" (which does not presently exist).
I don't know anything about non-x86 platforms.
The recommendation on x86 is universally "add SFENCE after the loop." Omitting the SFENCE is not considered safe.

A bare nontemporal store is incredibly unsafe in that it opens you up to data races that need to be cured by special instructions that are not normally inserted by compilers. It needs to be paired with fences (while Clang supports a generic nontemporal intrinsic, it does not support a generic nontemporal fence intrinsic) to be safe.
I'd propose that any safe access to nontemporal stores must go through an interface that will issue the necessary fence as appropriate, and arguably also prohibit read access. Maybe something like this:
struct NontemporalBuffer<'a, T>(&'a mut [T]);
impl <'a, T> NontemporalBuffer<'a, T> {
   fn store(&mut self, index: usize, value: T) {
     let addr = &mut self.0[index];
     unsafe { std::intrinsics::nontemporal_store(addr, value); }
   }
}
impl <'a, T> Drop for NontemporalBuffer<'a, T> {
  fn drop(&mut self) {
    // TODO: Also insure that this gets run on panics
    unsafe { std::arch:x86_64::_mm_sfence(); }
  }
}

Admittedly, this interface is suboptimal if you want to write out to multiple streams, as each stream would cause a barrier to be emitted. (Maybe adding another type for the fence could work?) But this is the minimum level of interface you'd want in order to support safe access to nontemporal instructions.

That could work, but I somewhat dread the prospect of attempting so without more extensive LLVM support... in other words: "that works on x64, sure, but what about everything else?"
This is unfortunately pretty clearly out of scope for us until a Rust codegen backend at least makes an attempt at supporting nontemporals and/or nontemporal fencing in a cross-platform way and we can guarantee we aren't blowing something up in our face. Further discussion can be taken to https://internals.rust-lang.org/ or, er, I suppose https://llvm.discourse.group/ also?


about uvicorn workers

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
uvicorn main:app --host <IP_ADDRESS> --workers 4

Description
Q1:
How can I get the parameters of command configs? In this case, I want workers.
for example:

from fastapi import xxx
xxx.config.workers
4

Q2:
Can I make a request to a given worker? I want assign a path to an appointed worker.
for example: when request "/some_function", only worker 1 will process it.
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.78.0
Python Version
3.8
Additional Context
No response

For Q2: No, I don't think you can assign a path to a worker.

ok, thank u.


Initial Load React Components not loading.

https://stackoverflow.com/questions/50551175/react-component-doesnt-get-rendered-on-initial-load
Apparent when you open site for the first time none of the components that have been created are showing, possible fix is by changing the components to returning values instead of static. Requires a bit looking into in order to fix.

Fixed issue by
npm i gatsby-plugin-styled-components

then proceeding to add
// gatsby-config.js

module.exports = {
  // ...
  plugins: [
    // ...
    'gatsby-plugin-styled-components'
  ]
}

Inside of the Gatsby configuration file in order to fix loading issue.


Possible memory leak with complex tenant types

TL;DR: If you use a complex tenant type (the TTenant in TenantContext<TTenant>) and the tenant instances aren't a static/fixed set of objects or objects that implement IEquatable<T>, the caching in TenantPipelineMiddleware can create a memory leak.

There seem to be two separate concepts - the Tenant and the TenantContext<TTenant> - which are intertwined but used differently with respect to caching.

The MemoryCacheTenantResolver caches a TenantContext<TTenant> on a sliding expiration.
The TenantPipelineMiddleware caches a RequestDelegate keyed off TTenant in a non-expiring ConcurrentDictionary.

In the AspNetMvcAuthDemo no issues are exhibited because the set of AppTenant objects (the TTenant in TenantContext<TTenant>) are a fixed set of instances.
However, if you look at the CachingAppTenantResolver in the AspNetSample the AppTenant objects get created as they need to be resolved. This can cause the following scenario if you mix it with multitenant middleware:

First request comes in for Tenant A.

CachingAppTenantResolver creates a new AppTenant object in a new TenantContext<AppTenant> and caches that. The TenantContext<AppTenant> gets returned.
The TenantPipelineMiddleware lazily adds an entry to the ConcurrentDictionary<TTenant, Lazy<RequestDelegate>> with a new tenant-specific app pipeline.
The first request completes.

Second request immediately comes in for Tenant A.

CachingAppTenantResolver finds the cached TenantContext<AppTenant> and returns it.
TenantPipelineMiddleware finds the cached RequestDelegate and runs it.
The second request completes.

Time passes - enough for the MemoryCacheTenantResolver to expire the TenantContext<AppTenant> object for Tenant A.
Third request comes in for Tenant A.

CachingAppTenantResolver creates a new AppTenant object in a new TenantContext<AppTenant> and caches that. This is a different AppTenant object than the first one. The TenantContext<AppTenant> gets returned.
TenantPipelineMiddleware uses object reference equality to locate an AppTenant matching the one in effect for this request. It's Tenant A, but that instance of AppTenant hasn't been seen yet, so another copy of the RequestDelegate gets added to the ConcurrentDictionary.
The third request completes.

Since the ConcurrentDictionary<TTenant, Lazy<RequestDelegate>> is keyed by the TTenant it assumes either object reference equality will work - implying the tenant objects are a static/singleton set where that will work - or it's a type that implements IEquatable<T> like string so actual content comparison will work.
None of the examples as they stand really exhibit this because the only one using multitenant middleware has a static set of TTenant objects; the example where the TTenant is dynamic doesn't have multitenant middleware.
I'm not sure there's anything to be done about that beyond documentation, but it's a gotcha I ran into. It's almost like the TTenant really needs to be TTenantId to hint that it's sort of a master ID / cache key and all tenant contextual information (configuration, etc.) really needs to be part of TenantContext<T> instead.

Additional challenge: If you use a simple type like string as the tenant (TTenant) to work around some of the memory leak/comparison issues here, you can't use services.AddMultitenancy<TTenant, TResolver>() because it adds the TTenant as a service and adding string as a resolvable service is not so great.

Oh, looks like this is a duplicate of #76.


Use caching library instead of Redis

Use a Node.js caching library (like node-cache or node-cache-manager) for JWT invalidation, etc., instead of Redis directly, with Redis as the primary kv-store with in-memory as fallback

⚠ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.

This is now fixed in v3. We use quick-lru and mem.


Add linear_velocity and angular_velocity to PhysicalBone3D

This is because my previous pull request was cancelled,
this was really annoying to do, finding all the little things and copying them
but i have an idea
we make another class that rigidbody3d and physicalbone3d inherit from
so physical bone and rigid body stay up to date but its still easy to make them different
this class controls stuff like physicalmaterial, damping, accessing velocity and more
but still that rigid body and physial bone can be seperated
so we have the pros of having to do less annoying copying
while not having the cons of physicalbone beeing harder to edit
does it sound good? (not in this pull request, just an idea)

ignore "Static Checks", it's bugged, it didn't fail before i added the linear and angular velocity stuff, so i don't know

It looks good, Thanks!!

and what about the idea in my pull request info?

is this fine for merging?

Thanks!

and what about the idea in my pull request info?

@CrezyDud It will not change the the fact that you will inherit from a class that doesn't fully represent the PhysicalBone. Btw, according to this PR it seems that the PhysicalBone has already all the functionalities, so everything is done already.


Internal Error  destNullableTy

A bug appears (entire file red squiggles, see screenshot) when using OpenApiClientProvider. On hovering the error is internal error: destNullableTy: not a Nullable type (Failure) F# Compiler(73). This does not occur when running dotnet build/run, so it appears that it may be ionide or FSAC related.
To Reproduce
Steps to reproduce the behaviour:

dotnet new console -lang F# && dotnet add package SwaggerProvider
Save this to folder as json schema.txt
Use the following repro code:

open SwaggerProvider
type Api = OpenApiClientProvider<"schema.json">
let h = Api.Heartbeat([||], None)

dotnet build and reload vscode

Expected behaviour
There should be no errors.
Screenshots

Environment (please complete the following information):

OS:  Debian
Ionide version: 4.6.2
VSCode version: 1.42.1
dotnet SDK version: 3.1.102

Additional context
Add any other context about the problem here.

Can you please report this to https://github.com/dotnet/fsharp/issues? It's a bug in the compiler itself. Thank you

Moved, closing ty.


Update TF/ROCM version docs

retest Ubuntu-GPU-single please

retest Ubuntu-GPU-single please

retest Ubuntu-GPU-multi please

retest Ubuntu-GPU-single please


Malware on connected IPs

Hello,
I have been forced to remove the software from my computer by our company admin, because it is establishing connections with multiple IPs and some of them are connected with   recent malicious activity.
IP mentioned is <IP_ADDRESS> "Tor endpoint".
What is the real situation?

This will be related to Syncthing, rather than SyncTrayzor, so the forum is the place for this. Its probably a relay.

You are right. I'll close the issue :)


Update sqlcmd-utility.md

Fixed typo. "-vvar" updated to "-v var"

@tjthyne : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@tjthyne Thank you for the fix!


How to delete data selectively?

Could you please also document how to delete specific data (like using where clauses) in a particular table?

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

ID: e6dc9cc9-7277-b802-798b-4267d800548f
Version Independent ID: ff5f2f75-2143-553d-619e-aae7883897b0
Content: Delete data from Azure Data Explorer
Content Source: articles/data-explorer/delete-data.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

@blueelvis Thank you for your feedback! We will review and update as appropriate.

@blueelvis You can selectively delete data using the .purge command.
.purge table MyTable records in database MyDatabase with (noregrets='true') <| where CustomerId in ('X', 'Y')
More details and samples are here
Please let us know if you have further questions.

@KalyanChanumolu-MSFT - Could you please provide an example for UPDATE statements as well? Where for example, we can update that selected record? Not like reinsert but simple plain update.
Also, from the documents, seems like Purging is really not recommended as per the docs.

@blueelvis As mentioned in the docs, purging is recommended only in cases where you need to remove  sensitive data that was ingested. Ideally you should prevent it at the ingestion layer.
Regarding update, is this for a one off record or for all the data that is being ingested?
If it is the latter, you should consider using an Update Policy
I am not sure of your use case to update data once it is ingested.

@blueelvis We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Network transform: Cusomt services names for "AddService"

In AddService we add the network service name by protocol and port. The code is currently using the common http://godoc.org/honnef.co/go/netdb library that used behind the scenes names from the file /etc/protocols. It is required that we will be able to use an alternate list of services. Preferable to read a custom file in the same format allowing users to use a different set of services names.
https://github.com/netobserv/flowlogs2metrics/blob/ecfe88cfc766de7b509dbfac645ab00d26f3263c/pkg/pipeline/transform/transform_network.go#L125

@KathyBarabash we might need that for IBM only. The current RH solution translates names at the front-end (UI) level.
@jotak FYI


IR-234: Custom certificate authorities for S3

Enable spec.storage.s3.trustedCA added by openshift/api#1180.

/retest

/retest

/retest

2087083  is fixed on the latest pr, launch part regression test, no issue found when configure trustedCA for s3 bucket on vsphere.
https://polarion.engineering.redhat.com/polarion/#/project/OSE/testrun?id=20220601-0606

2087083  is fixed on the latest pr, launch part regression test, no issue found when configure trustedCA for s3 bucket on vsphere.
https://polarion.engineering.redhat.com/polarion/#/project/OSE/testrun?id=20220601-0606

2087083  is fixed on the latest pr, launch part regression test, no issue found when configure trustedCA for s3 bucket on vsphere.
https://polarion.engineering.redhat.com/polarion/#/project/OSE/testrun?id=20220601-0606

/retest

/retest

/label qe-approved

/label docs-approved

/lgtm


dateparse can't handle cases where the same word has different meanings

There are languages where some words have different meanings. This is generating some issues like this: https://github.com/scrapinghub/dateparser/issues/337
I'm creating this issue to track this and try to find a solution.
As far as I have seen, the translation is performed before the date is parsed, so we can't select the valid meaning using the other part as context. Apart from that, those words are inserted into a Python dictionary containing "word: meaning", overriding the other words with a different meaning.
Using regex simplifications could fix some use cases, but is not a valid approach for most of the cases.
In some cases (like in the word "mar" for Italian), we could detect when there are double elements (for example two months) and find if there is any duplicated key for any of them and try to find the real meaning, but this would be probably hard to implement.
Please, if you have any idea don't hesitate to comment on this issue.

List of cases:

In Asturian (as), Spanish (es), Filipino (fil), Friulian (fur), Galician (gl), Italian (it), Greenlandic (kl), Mauritian Creole (mfe) and Albanian (sq): “mar” means “Tuesday” and “March”.
The next languages use the same word for “week” and “Sunday”:

Embu (ebu): “kiumia”
Ewondo (ewo): "sɔ́ndɔ"
Filipino (fil) “linggo”
Nuosu (ii) “ꑭꆏ”
Georgian (ka) “კვირა”
Kikuyu (ki) "kiumia"
Bafia (ksf) “sɔ́ndǝ”
Indonesian (id): “minggu”
Ganda (lg) “sabbiiti”
Lao (lo) “ອາທິດ”
Meru (mer) “kiumia"
Macedonian (mk) “недела”
Kwasio (nmg) “sɔ́ndɔ”
Serbian (sr) “Недеља”
Yangben (yav) “sɔ́ndiɛ”

And there are a lot of other cases where the same word is used with different meanings:

In Bulgarian (bg): “c” means “second” and “week”.
In Bena (bez): “vil” means “monday” and “February”
In Tibetan (bo): "ཟླ་བ་" means month and monday.
In Breton (br): “meurzh” means “Tuesday” and “March”
In Welsh (cy) “maw” means “Tuesday” and “March”
In Taita (dav): “kaw” means “February” and “Tuesday”, “kad” means “Wednesday” and “March”, “kan” mean “April” and “Thursday” and “kas” means “Friday” and “May”.
In Estonian (et): “t” means “hour” and “Tuesday”, “k” means “Wednesday” and
“month”, and “p” means “day” and “Sunday”.
In Gaelic (gd) “m” means “minute” and “am”
In Hebrew (he) "שנ׳" means “minute” and “year”.
In Hungarian (hu) “p” means “Friday” and “minute”.
In Armenian (hy) “շաբաթ” means “Saturday” and “week”
In Japanese (ja) “月” means “Monday” and “Month”, and "日" means “day” and “Sunday”.
In Cape Verdean Creole (kea) “sig” means “second” and “Monday”.
In Korean (ko) “월” means “Monday” and “month”, and “일” means “day” and “Sunday” .
In Colognian (ksh) “m” means “minute” and “month” and “s” means “second” and “hour”.
In Luba-Katanga (lu) “lum” means “Sunday” and “may”, and “lubingu” means “Saturday” and “week”.
In Makhuwa-meetto (mgh) “sab” means “July” and “Sunday”.
In Mundang (mua) “cla” means “February” and “Monday”.
In Nuer (nus) “cäŋ” means “Sunday” and “day”, and “pay” means “month” and “July”.
In Portuguese (pt) “seg” means “second” and “monday”.
In Rundi (rn) and Kinyarwanda (rw) “kan” means “Thursday” and “August”.
In Romanian (ro) “luni” means “month” and “Monday”, and “mar” means “Tuesday” and “March”.
In Samburu (saq) “ong” means “April” and “Tuesday”, “ile” means “Thursday” and “June”, and “sap” means “July” and “Friday”.
In Albanian (sq) “Sht” means “Saturday” and “September”.
In Swedish (sv) “mån” means “Monday” and “Month”, and “m” means “minute” and “month”
In Urdu (ur) “ہفتہ” means “Saturday” and “week”.

There is a new case: in French "sept" means "September" but also "seven" and it gets confused.
Original issue: https://github.com/scrapinghub/dateparser/issues/819

One raw approach I can think of is to translate all possible ways. Create as many copies of the translated strings as combinations of possible interpretations are possible, and yield a result for the first match possible.
However, instead of passing the first translation through all parsers and then trying the second translation, it may make sense to pass all translations through the first parser, then all translations through the second parser, etc.
Hopefully setting a language and a date order will allow to obtain the expected result in most cases.


User Table

Split out from #2700
Required to track users/allow revocation
details to be filled in later by @msteffen

Created a new issue at https://github.com/pachyderm/pachyderm/issues/3157. Closing this


⚠ Bofrost.be has degraded performance

In 732cd37, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1156 ms

Resolved: Bofrost.be performance has improved in 973cea3.


Push to Nuvola Player project

Hi, Please review my web script for integrating Microsoft Groove music service into the Nuvola Player
Note: Couldn't extract album info from the website, still looking into this ..
Cheers,
Joel

Hello @jrosco. I regret to tell you I don't expect to have time for the code review and packaging of your integration script until the release of the stable version of Nuvola Player 3.0, which is due at the end of December 2015. Since the funding of the Nuvola Player project has recently dropped significantly, I cannot spend time on tasks that are not crucial for the stable release. However, the release cycle of web app scripts is not bound to Nuvola Player releases, so I can prepare packages for your script in January 2016 regardless of the development progress and the release date of Nuvola Player 3.1. Thanks for your understanding and patience.

Hello @jrosco. Nuvola Player 3.0.0 Stable is out and I'm going to get around to code reviews in February. There have been some changes in Service Integration Guidelines and an introduction of Format requirements flags. Could you update your script and ping me when you are done? Thanks!

@fenryxo code committed for new changes 5231c75

Hello @jrosco. Thank for your work. Code looks code, but there are some issue that need to be fixed:

[ ] Remove file LICENSE-CC-BY.txt as there is no code with this license.
[ ] integrate.js:50: Nuvola.config.setDefault(AUTO_PLAY, false) Also set default value for MAX_VOLUME.
[ ] integrate.js:52-59: You can remove Nuvola.core.connect("InitializationForm", this); and method WebApp._onInitializationForm = function(emitter, values, entries) as it's empty.
[ ] integrate.js:70: entries.push(["header", "Enable autoplay songs on startup"]);Change header to Groove Settings.
[ ] integrate.js:71: entries.push(["bool", AUTO_PLAY, "AutoPlay"]); Change label to Enable autoplay songs on start-up.
[ ] integrate.js:74: entries.push(["header", "Set to max volume on startup"]); Remove this header.
[ ] integrate.js:75: entries.push(["bool", MAX_VOLUME, "Max Volume"]); Change label to Set to maximal volume on start-up.
[ ] integrate.js:141: I'd suggest to create a ticket about TODO : Find a way to get artist ablum info
[ ] Mark strings in Preferences form for translation

Hey @fenryxo
Thanks for the feedback. I have made adjustments as per your request . See 412b18f
Cheers

Great, @jrosco. I've invited you to the Tiliado organization. It is now necessary to perform final steps:

[ ] Transfer your repository to the Nuvola Groove team. You will still have commit access and will be the main maintainer of your script. I'll then make a release, Debian/Ubuntu/Fedora packages and announcements.
[ ] Subscribe to the nuvola-player-devel mailing list to be notified about important changes. Don't be afraid of spam, it's a low volume list.
[ ] Create a Tiliado account and post your username here. I'll add you to the Tiliado developers group. You can then log in in Nuvola Player to disable donate bar. Also, if you use Debian/Ubuntu/Fedora, you'll have access to Nuvola Player 3.1 Rolling Releases.

Done ...
Tilido username is jrosco
thanks again, glad to be part of the team :+1:

Account updated, packages published and announced :+1:


Retina.js only works locally

Hi,
I am not 100% sure if this is a bug, but I saw in forums that other people have the same issue and they couldn't figured it out.
I have been struggling with retina for quite a while: I run the website locally and it works, but when I upload it to my server retina doesn't work.
In all the cases that I have the retina image I created the @2x image in the same directory.
So I have the<EMAIL_ADDRESS>in the same directory where I have /cards.jpg.
Someone experienced something similar? I uploaded to http://bit.do/cF85H
Thanks

Same problem.
I'm using the last version 2.1.2.

locally works with:
data-rjs="3" (or 2)
online only with the full path:
<EMAIL_ADDRESS>


need to get graph for NonRDFSources

Big one: when loading NonRDFSource resources, was formerly saving the body of the response to self.data, but this is where we normally parse the RDF graph.
Need to investigate how to get RDF for NonRDFSource, as it exists - perhaps under uri /fcr:metadata?

Yep, that's exactly where it is.  And this is what get_resource should probably grab.

Approach:
For resource /foo, RDF or NonRDF...

When using repo.get_resource, use /foo/fcr:metadata to get descriptive information, including RDF graph.  99% of the time this is what's needed.

But, if get_resource returns NonRDFSource, create binary_data attribute that, if accessed, will retrieve the binary data from /foo.

Advantages:

Will speed up loading of NonRDFSource resources, as it won't download binary content on resource load.
might simplify code, and provide a handy attribute (maybe even class) for downloading / using binary content

Okay, mostly working.  repo.get_resource now looks for foo/fcr:metadata, which is good.
The plot thickens with foo.create, as it's most convenient to send either the RDF data (usually blank on creation) or the binary data @ foo.binary.data

Closing for now, but the question is what to do if one wants to create a NonRDF resource and include RDF metadata - that might require a secondary PUT (regardless of whether or not the original was PUT or POST) to put that RDF into foo/fcr:metadata


Fix pkg obj prefix of opaque tp ext meth

TypeOps.makePackageObjPrefixExplicit is a part of accessibleType,
which is called on the result of findRef in typedIdent.  But in
tryExtension it's not.  We could fix it in the usage of the results in
tryExtension, but I thought perhaps we could fix it for all call
sites, by handling it within findRef.
Fixes #18097

Yes, that all looks correct.  I'll PR the cases, thank you!

FYI @zainab-ali @bilal-fazlani


Ability to toggle chime extender function for cameras

Hello, I don't think this is currently in the library, so this is likely more of a feature request than a bug. Vivint has the ability to use the cameras as doorbell chime extenders. Typically I want this off, but when we are swimming in the pool, I would love to have this feature on for one of my cameras. Would it be possible to add the ability to toggle that function to the integration? I would love to have that tied into an automation based around a "pool time" switch.

Would be dope!

This is available in 2023.3.2

It is working, but it is setting off the panic mode instead of the normal
alarm.  Is this normal for non vivint sensors?
On Fri, Mar 10, 2023 at 12:31 PM Nathan Spencer @.***>
wrote:

This is available in 2023.3.2
https://github.com/natekspencer/hacs-vivint/releases/tag/2023.3.2
—
Reply to this email directly, view it on GitHub
https://github.com/natekspencer/hacs-vivint/issues/43#issuecomment-1464219517,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSYXUD53DQ4EZYLFAYHLS3W3NXPDANCNFSM5Q2RZQBA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This is similar functionally to manually triggering an alarm in the Vivint app, which does appear to be panic mode. There's no way to integrate the other sensor into your alarm panel via this integration.

Sounds good. Thank you.
On Sat, Mar 11, 2023, 01:01 Nathan Spencer @.***> wrote:

This is similar functionally to manually triggering an alarm in the Vivint
app, which does appear to be panic mode. There's no way to integrate the
other sensor into your alarm panel via this integration.
—
Reply to this email directly, view it on GitHub
https://github.com/natekspencer/hacs-vivint/issues/43#issuecomment-1464846362,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSYXUEYOAJIUYGS7HUYBEDW3QPMVANCNFSM5Q2RZQBA
.
You are receiving this because you commented.Message ID:
@.***>


Typo "a Azure AI Search"→"an Azure AI Search"

https://learn.microsoft.com/en-us/azure/search/knowledge-store-concept-intro?tabs=portal
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/search/knowledge-store-concept-intro.md
#PingMSFTDocs

@hyoshioka0128 - thanks!


Fix force_encoding not working in generate_cask_token.

Changes to the core

[x] Followed hacking.md.

Fixes https://github.com/caskroom/homebrew-cask/issues/23109.

Merged as a547d190c1d5050ebdd65ecde43b85e5e97ae0a9.


For a 0.1.4 release

#34

Codecov Report

Merging #35 (8ad0fae) into master (490db4d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   91.30%   91.30%
=======================================
  Files           4        4
  Lines         299      299
=======================================
  Hits          273      273
  Misses         26       26

Impacted Files
Coverage Δ

src/models.jl
89.28% <100.00%> (ø)

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 490db4d...11f13b1. Read the comment docs.


Add support for running tests and coverage display.

This change adds the ability for the extension to:

Run tests 'on save'
Run coverage 'on save'
Interpret test results and display them in an output window
Interpret coverage data and display it as decorations in the editor.

It is currently built only to support the output format of forge.
New features are not enabled by default (requires configuration).
Configuration options:

This results in tests being run on every save, and displayed like so:

Coverage bars are written to the gutters for Solidity files:

Coverage is recomputed every time a Solidity file is saved, if enabled in the settings.
Performance: works very well for smaller repos. Larger repos can take multiple seconds for the coverage bars to show, and there is no loading indicator. However, I have benchmarked this and only a few milliseconds are taken by the extension, the time is taken by forge, so there's not much we can do there.

Hey @juanfranblanco would love to get your thoughts on this. It currently works as is but it's quite a large change so would like to get any feedback before doing any final changes :)

@Willyham very nice, and yes big change, we could have had a chat before hand ;), but this is the chat!. This could be added as such for the time being but that might break stuff for users in the future, so it will be "experimental". Overall after a quick look is great, but it will be ideal to have a forge configuration section (which includes test and coverage), then have a forge as an option for both coverage and test, and finally a command to run test and coverage manually instead on save, so users could just run it on demand if they think is too slow (just based on your comments).

I am more than happy to rework all of this if needed. I've been using it for my own projects, and just decided to clean it up and try and contribute it back, so I appreciate that there might be things which need changing.
There is already a command which users can use to trigger running the tests. It'll only run automatically if they enable the 'test on save' boolean option. Same for coverage (though there's no command to invoke manually, but I'll add that).
As you point out the configuration probably needs some more thinking. I wasn't sure how you'd like to handle different 'environments' e.g. forge/hardhat etc. Ideally it would be nice to automatically detect the 'environment' by looking for the presence of files (like foundry.toml) and then setting this configuration directly. So, for example we can have:
Environment/Mode: [forge/hardhat/...]
forge.testCommand: `forge test ...`
forge.coverageCommand: `...`
hardhat.testCommand: `...`

This maybe this is a little redundant and inflexible? Should we just have a mode, and single testCommand and then pick automatic defaults?

Yeah, i always thought that we should have a common project file that all settings could be put in place for different tooling etc.

This maybe this is a little redundant and inflexible? Should we just have a mode, and single testCommand and then pick automatic defaults?

Hmm, yes you are right, having default values might make it easier, and these can be overidden if required. The default values, can be set on the description for users to override or validate, best of both worlds.

Sounds good! So then I would propose that we have:
solidity.developmentEnvironment: [forge, hardhat] // as a dropdown with just these values (for now).

And the existing:
solidity.test.command
solidity.test.coverageCommand
solidity.test.runOnSave
solidity.test.coverOnSave

Then, when the extension loads we check:

Can we detect the dev environment via presence of some config files?
If forge is detected, and the above settings are blank, we set the workspace setting to default values for the given mode.
When invoking the command manually, if no config is set then we prompt the user to set it (for now, we could improve this too).
Do nothing as it stands for hardhat, apart from detect the environment.

Does that sound ok?

@Willyham sounds great!

If it makes sense, I'll probably do the environment + detection part as a separate PR, and then follow with this one to try and keep the size down a little


[Feature Request] Show song name on taskbar when paused

Windows 7 & 8.1 &10
Can you add a feature that show the song name & artist on GPM taskbar when it's paused. It'll be like:
(Paused) Orbion - Armin van Buuren

What is the purpose of this?  Currently we only show song title and artist in the taskbar when the song is playing so streaming software can detect the currently playing song.

It's just to let me know what song is paused. I config my foobar2000 to have this feature so I think it'll be cool if GPM have this this feature also.
I know this feature is not necessary, but it's very nice to have it.


Bug with Training dataset

Getting a bug with the main make_mdb_df function when running with the training dataset.
path_msd <-  glamr::si_path() %>% glamr::return_latest("TRAINING")

meta <- gophr::get_metadata(path_msd)  #extract MSD metadata

df_msd <- gophr::read_psd(path_msd)

df_sum <- selfdestructin5::make_mdb_df(df_msd, FALSE)

[ ] Added Minoria to the list of acceptable OUs.

Test code is below.
# TEST self destruct dev

remotes::install_github("USAID-OHA-SI/selfdestructin5", ref = "minoria_dev")

library(gagglr)
library(selfdestructin5)
library(gt)
library(themask)

load_secrets()

#download folder path
download_folder <- temp_folder()

#download
msk_download(download_folder)

df_msd <- return_latest(download_folder, "PSNU_IM") %>%
  read_psd()

# Set metadata for use in auto-filtering data
set_metadata(gophr::get_metadata(return_latest(download_folder, "PSNU_IM")))

# Main Table
# Create the long mdb_df of the main summary indicators
summary_df   <- make_mdb_df(df_msd)

# Create the reshaped df that is gt() ready
summary_tbl  <- reshape_mdb_df(summary_df)

create_mdb(summary_tbl, ou = "Minoria", type = "main")


PHP 8 support

Any timeline for PHP 8 support, and/or can users help in that regard in any way?
I saw an issue talking about attributes, but not seeing anything else regarding PHP 8 after a quick browse.

No, not yet. One big step having PHP 8 support was todays 0.9 release as I may can drop older PHP version.
I rely on box and php-scoper and they are not ready for PHP 8 yet.

A comment about dropping older PHP version: this tool is also useful when you start refactoring a legacy codebase. Add simple rules, refactor offenders, add more repeat... Unfortunately now when I want to refactor a codebase stuck at PHP 7.1 version, I have to use 0.6 version, which doesn't support collectors extends, implements etc. If there is no urgency (like blocking a feature etc.) I would keep supporting for older PHP versions.

@rask #417 allows PHP 8 now. The build actions workflow produces a phar file. Can you try it?

Quite busy at the moment with other stuff, but will let you know in case I get to test it out soon. Thanks and sorry!


preparing for tests of scd-syn

Hello @oesteban, thank you for submitting the Pull Request!

In the file sdcflows/workflows/fit/tests/test_syn.py:

Line 3:1: F401 'pathlib.Path' imported but unused
Line 4:1: F401 'json.loads' imported but unused
Line 19:27: F541 f-string is missing placeholders

To test for issues locally, pip install flake8 and then run flake8 sdcflows.


Use NULL for default host in grpc_channel_call_create() in Objective-C

#2635 will introduce a mechanism whereby the default host can be correctly determined by core. Since this can (almost) never be correctly determined automatically by wrapped languages without massive code duplication, wrapped languages are encouraged to use this facility once it's available.

Note: see https://github.com/grpc/grpc/issues/2635#issuecomment-127335134 for what we should do with SSL name overrides.

@jayantkolhe This has no effect on the API surface; there's no reason for it to be Beta.

This could change the surface. We can pass NULL as the default host, but we also should have a way to set a different host on a per-call basis.

we also should have a way to set a different host on a per-call basis.

Well that's a different feature request; you can't do it today either. It's pretty rare to want to do it from a mobile device though (I've asked and only heard of a use case inside proxies, and without details), so I'm positive we can do it additively if we decide to.

Fixed by #6906.


Revit: show notification when previously sent data has updated

We had this in v1 and never brought it to v2, we should let users know when a selection previously sent has changes that have not been committed yet.

Related to https://github.com/specklesystems/speckle-sharp/issues/981


lstm:training micro speech lstm model and example

BUG= training micro speech lstm model and example
Signed-off-by: Niranjan Yadla<EMAIL_ADDRESS>

@petewarden @advaitjain
Please review and approve this PR


Unused model doc

I'm really sorry for the multiple commits, I thought I kept making PRs to my own fork

The image url is broken as it is looking for .png, but the extension is actually .PNG. A case sensitive issue here.

The image url is broken as it is looking for .png, but the extension is actually .PNG. A case sensitive issue here.

God's work

God's work


Fixed failing test and removed pytest-catchlog on tendermint branch

The test test_get_spending_transactions in tests/backend/localmongodb/test_queries.py was failing so I fixed it by just making it more like the same test in tests/backend/mongodb/test_queries.py.
I also removed pytest-catchlog from the requirements in setup.py to make that warning go away. The same was already done on the master branch in PR #1936.

Codecov Report

:exclamation: No coverage uploaded for pull request base (tendermint@cb268a3). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             tendermint    #1948   +/-   ##
=============================================
  Coverage              ?   47.85%
=============================================
  Files                 ?       70
  Lines                 ?     3354
  Branches              ?        0
=============================================
  Hits                  ?     1605
  Misses                ?     1749
  Partials              ?        0

I also removed pytest-catchlog from the requirements in setup.py to make that warning go away. The same was already done on the master branch in PR #1936.

In general, we can either cherry-pick or merge master into the tendermint branch.