[feat] added an option to make handler behave as a pure middleware

Updated
I committed to the same branch because I needed the fix to work, so here is a bigger PR...
New feature:
Added a build option, handle404: boolean, that, when set to false, makes handler behave as a pure middleware.
Please see #3363 for context

Old message
Fixed the upper bound of the loop
See also
https://github.com/sveltejs/kit/blob/a79b5bf51b38b778af85ed4ade1d26bf7584c417/packages/kit/src/hooks.js#L22

This PR is a bit of a mess, sorry for that

Closing because this PR has a lot of conflicting files and probably wont be merged


mysql-connector-python 8.4.0

mysql-connector-python 8.4.0
Destination channel: Defaults
Links

PKG-5926
dev_url:        https://github.com/mysql/mysql-connector-python/tree/8.4.0
conda_forge:    https://github.com/conda-forge/mysql-connector-python-feedstock
pypi:           https://pypi.org/project/mysql-connector-python/8.4.0
pypi inspector: https://inspector.pypi.io/project/mysql-connector-python/8.4.0

Explanation of changes:

new version number

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_35o7baxgz4/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:42: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:71: http_url: http://dev.mysql.com/doc/connector-python/en/index.html is not https
===== Final Report: =====
1 Error and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_2dah_ke6zn/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:41: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_e0cynmta18/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:41: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found


Please put 0.2.1 on GitHub

The changelog on CurseForge points to CHANGELOG.md, but that hasn't been changed since 0.1.5

It's still in the 1.20-entity-refactor branch, I need to update that, thanks for the reminder

Fixed


Inc images

Added meta for the selected images & alt text to the Seo/Helmet component. Includes fallback for the default open-graph image. Added altText to defaultImage interface.

It's my first contribution, so apologies if I've done something wrong. FWIW I think there's an interesting problem regarding which images the plugin should be referring to, the WordPress source or the build source. My assumption is the WordPress source for the image URLs as the Gatsby site images names will probably change every new build.
I'm not 100% sure but we may need the Gatsby build site URL as a meta-tag to satisfy Facebook, as opposed to WP source URL.
{   property: og:url,   content: "https://example.com/my-post" }
I don't think it's easy to get the Gatsby siteUrl from the gatsby-source-wordpress schema. Perhaps include a new Interface to the IGlobal context?

@CloudBop  thanks for this. A great first PR and addition to the plugin. I will do some tests and look to merge this in.
One concern is the sizing of the images ... if we use Gatsby Image we could handle this there.
The file name should only change if the cache is cleared or a new source image used?

Hey Ash, thanks for the positive words. I have an abstracted out a version of the context and component at www.colinr.tech. If you're interesting in seeing a "live" version.
I'm not a FB user but had someone lend me a login to test a few URLs with slightly different setups in the FB debugger. Currently I am implementing the <meta property:"og:url"/>  using the gatsbySiteUrl, which I haven't included in the PR. Facebook debug does indeed flag a warning if it's not included, it does still work though.
RE: Images. I'm fairly new to the world of SEO. However, as I'm sure you're already aware, it seems Facebook and Twitter cache their own versions of the images once they're shared. I think for up to twelve days, they are updated if they are re-shared with fresh content. I think...
Gatsby-Image for sizing would certainly be a very cool feature to include. I've noticed that Twitter unforgivingly crops all my images. My implementation is terrible as I default my featured images on posts to squares to satisfy my Frontend layout. I'll need to read up a little on the default sizing of Facebook cards. Twitter cards can be set to two different sizes which needs accounting for. With Gatsby3 release imminent and a new image plugin perhaps worth waiting for them to drop?


MIC-521 Rename ref data description Another appropriate person -> Another staff member

MIC-521

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

Project coverage is 89.01%. Comparing base (ed70caf) to head (ae6c78c).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #137   +/-   ##
=========================================
  Coverage     89.01%   89.01%
  Complexity      739      739
=========================================
  Files           136      136
  Lines          2167     2167
  Branches        143      143
=========================================
  Hits           1929     1929
  Misses          159      159
  Partials         79       79

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


added some missing tests and fixed a couple of mistakes and typos in …

…the function definitions

@tatchx thanks mate!


Regarding Hardware Change if use IN865

Hello,
Thanks for this great work.
We are following your work, We Have some doubt regarding hardware:
Is this PCB Support IN865 Frequency, or I have to made some changes regarding PCB design or component?
Thank You

PCB is to be same, Rf filter passive component values could be optimised for 865MHz, but this is close to 868MHz, so probably this BOM may be fine, especially if you do not use it at maximum power.

Hello,
Thanks for response. I will use it at its maximum power.
Could you please help me regarding IN865 RF Filter Component values?
Thank You

@mightChamp you can just use the 868mhz version. We only use two versions - 868 (for EU868, RU864, IN865) and 915 (for US915, AS923-1/2/3/4, AU915, KR920).
The change is just in the configuration file for the module.


Misleading validation error on MongoDB connection strings

C:\Users\Jan\Documents\throwaway\mongoQA>node index.js
PrismaClientInitializationError2 [PrismaClientInitializationError]:
Invalid `prisma.user.findMany()` invocation:

  error: Error validating datasource `db`: The URL for datasource `db` must start with either the protocol `mongodb://` or `mongodb+srv://`.
  -->  schema.prisma:6
   |
 5 |   provider = "mongodb"
 6 |   url      = env("DATABASE_URL")
   |

when DATABASE_URL is set to mongodb://

Can't reproduce the message in any context:

mongodb:// in the datamodel file as plain string.
mongodb:// in DATABASE_URL and env("DATABASE_URL")  in the datamodel file.

Possibly got fixed by some changes made by the migration team in between (as they're working on the parser at the moment)?

I can also no longer reproduce after updating. I guess we can close this.


Fix jmx script

Fixing Jmeter JMX script for all issues in CI.

retest this please

retest this please


Broken memoization in entityProcessesLoaderStateSelector for fallback value.

The object is constructed inline and new reference is always returned.

QA steps:

set multi-cart.active property in local storage to fresh
check if entityProcessesLoaderStateSelector returns every time reference to the same object (initialProcessesLoaderStateValue) and does not create new object on every emission.

QA done


bazel: Move to rules_pkg extracted version of pkg_tar

What this PR does / why we need it:
These rules have been extracted from the Bazel sources and are now available at bazelbuild/rules_pkg.
See the following issue for more details:
https://github.com/bazelbuild/bazel/issues/8857
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/hold

/test pull-kubevirt-e2e-k8s-1.27-sig-compute

/hold cancel

/retest-required

/lgtm


feat: api validation with spectral v6 and validators for API compilance and KCP integration

Update to spectral v6 via custom function refactoring and updated docs
some further thoughts on docs here https://docs.google.com/document/d/1XH3Qecxz7tLJkMSzE3x1i5Lz161nQMuFmetJoV0Hom8/edit?usp=sharing
BREAKING CHANGE:

I think we have this currently in headless mode where rules aren't even tested properly. Same applies to releases.
I will setup build chain for us to test builds and perform proper releases of that tool.
LGTM


VS Code Window is hidden

Microsoft PowerToys version
0.57.2
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Unknown.
Sometimes, VS Code window will disappear.  Alt+Tab will show the window but it will never appear.
In the past, quitting out of PowerToys and VS Code, then relaunching VS Code would fix the issue, it didn't this time.
I tried uninstalling VS Code and deleting all remements of it then rebooting and reinstalling, this did not fix it.
I tried uninstalling Powertoys with VS Code still installed and rebooting, this did not fix it.
I then tried uninstalling both VS Code (complete wipe) and Powertoys and rebooting and reinstalling VS Code.  This fixes it, however, when I reinstall Powertoys the Window is now hidden again.
I have an ultrawide monitor and really need Fancy Zones.
✔ Expected Behavior
Windows of running apps not to be hidden and to be usable.
❌ Actual Behavior
VS Code is hidden and not usable.
Other Software
Windows 10, 21H1
Cisco AnyConnect
CrowdStrike Windows Sensor
Docker Desktop
Git
Google Chrome
Logitech GHub
MS Office
Mozilla Firefox
Node.js
Notepad++
Nvidia graphics driver
Powershell
Windows Shell
WSL 2
Qualys cloud Security agent
Realtek Audio drivers
Slack
Visual studio Enterprise
Yarn
Zoom
Zscaler

Sorry to hear that. Let's clarify some moments to investigate the issue. Does it happen only when PowerToys is running? And when the VS Code window is disappearing, is the process still running?
/needinfo

It happens if PowerToys is open or closed.  When this has happened in the past closing PowerToys would solve it, but that is no longer the case.  To fix, I have to uninstall PowerToys and reinstalling PowerToys causes it again.
Yes, VS Code is still running, it is in the Task Manger and I can see the window in the Task Switcher when I Alt+Tab.  When it appears to be the focused app (via Alt+Tab) it does not show on the desktop though I can close it with Alt+F4
If I had to guess, I think it might be something to do with one of the options for moving the window, such as "Move newly created window to their last known zone"

I have an update on this.  I think I've figured out more of what it is doing.
To reproduce you need a second screen that is turned off.
In my case I have a wacom like tablet  that is off most of the time.  For some reason Pwertoys likes to move VS code and ONLY VS code to this screen randomly during the night. Note: my monitors do shut down but my computer does not sleep.
I have PowerToys set to override the windows snap keys windows+left arrow, etc.  therefor trying to use those to make the window move was not working as it was on another monitor.
Note: I have never moved VS Code to this screen, so there's no reason it should be over there.
This behavior is repeating on a brand new computer with a fresh copy of Windows 11.
Here is a screenshot of my FZ setup.

I've been using the drawing tablet more these days and realized it might be a bit of an oddity as Windows sees it as being a monitor even when it is off.  In any case, it does it when it's on as well, It's just easier to see that Powertoys is randomly moving Windows to this monitor for no reason.  Mostly VS Code, but it's done it to a couple others as well.

Closing as no longer an issue.


access denied to satellite-humidity-profiles

What happened?
I am trying to read the dataset "satellite-humidity-profiles".
When executing the function download.download_and_transform() I receive the following message
Exception: Client has not agreed to the required terms and conditions.. To access this resource, you first need to accept the termsof 'EUMETSAT ROM SAF products licence' at https://cds.climate.copernicus.eu/cdsapp/#!/terms/eumetsat-rom-saf
What should I do to read the dataset?
Thank you
Minimal Complete Verifiable Example
No response
Relevant log output
Exception: Client has not agreed to the required terms and conditions.. To access this resource, you first need to accept the termsof 'EUMETSAT ROM SAF products licence' at https://cds.climate.copernicus.eu/cdsapp/#!/terms/eumetsat-rom-saf

Anything else we need to know?
No response
Environment

The default user (probably Vincenzo's account), did not accept the terms of the dataset that you are trying to download.
You should use your own user:

Go the the CDS website, log in, then accept the terms of the dataset you want to download
Place the .cdsapirc in your personal directory on the VM
Add the path to the .cdsapirc file on top of your notebook as explained in the overview notebook

Here are the instructions on how to use the .cdsapirc: https://cds.climate.copernicus.eu/api-how-to


Support for A1 instance types

required changes to benchmark.yaml to support ARM AMIs. Only Amazon Linux 2 provides ARM support so the ClientInstance has been adapted to work with amzn2.
Pretty impressive results from my testing. The a1.medium maxed out its CPU.
| min | max | avg | stddev | p95 | p90 | p70 | p50 | p30 | p05 | region | instancetype
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
1 | 0.496266 | 7.073710 | 0.982033 | 1.6773408450426444 | 7.0353837 | 0.4966589 | 0.49654186 | 0.496475 | 0.4964083 | 0.49630797 | us-east-2 | a1.medium
2 | 0.744224 | 9.614590 | 1.530284 | 2.2690880079166065 | 7.5546713 | 7.4792824 | 0.74482507 | 0.7447232 | 0.7446417 | 0.744441 | us-east-2 | a1.large
3 | 1.243012 | 7.579765 | 2.724897 | 2.6812509404068163 | 7.577725 | 7.550634 | 1.243672 | 1.243497 | 1.243397 | 1.243263 | us-east-2 | a1.xlarge
4 | 2.486438 | 10.039530 | 5.034777 | 3.5753592005289008 | 10.03773 | 10.03772 | 10.03742 | 2.486992 | 2.4868412 | 2.4865558 | us-east-2 | a1.2xlarge
5 | 4.973171 | 10.038970 | 8.421900 | 2.363842101849899 | 10.03888 | 10.03885 | 10.038711 | 10.00869 | 5.0719895 | 4.9735303 | us-east-2 | a1.4xlarge

Oh, @monken. Sorry, but I've missed your PR. Thanks a lot for your contribution. Interesting results, indeed!


Update CHANGELOG.md

📦 Pull Request
Added missing changelog.
✅ Fixed Issues
🚨 Test instructions

⚠ Don't forget to add a semver label!

:rocket: PR was released in v1.9.0 :rocket:


⚠ Bofrost.com has degraded performance

In 092969a, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 442 ms

Resolved: Bofrost.com performance has improved in 27a1945 after 20 minutes.


Git add before commit

Summary
Fixes missing versioned snapshot file, see https://github.com/sigstore/root-signing/pull/1115
I believe the issue was that no git add was performed, but git commit was executed with -a flag, which only adds staged file, not files unknown go git (such as the new versioned file).
This PR also shuffles some commands around so they can be reused.
Release Note
N/A
Documentation
N/A

Do you know why the -a flag didn’t work for this case?

Yes, as written in the description, it only adds staged files known to git, but not new files, which the versioned one would be.


Largest Rectangle in a Histogram using SEGMENT TREE approach

TIME COMPLEXITY: O(N*log(N))
SPACE COMPLEXITY: O(N)

Hello @raghuSpark
We feel sad to inform you, all PRs for DSA and Algo are not accepted due to Hacktoberfest norms.
You can find the updated and depreciated rules in README.md of root and DSA Folders.
Looking forward for your PRs in other tech stacks,
All the best,
Team Technocrats.

That's okay @suffisme


use IN_BUILD_CONTAINER instead of BUILD_WITH_CONTAINER to determine i…

…f running make within a container
Signed-off-by: rcernich<EMAIL_ADDRESS>

@geeknoid looks like the updates in common files broke this repo but we didn't catch it. May be we are missing some checks? @rcernich

Yeah, I'm not sure how this passed the gates without issue. Worth investigating.


error when retrain

I train the model by my own image files, there is always error. Can you give me some suggestion?
The error is as below:
INFO:tensorflow:2019-01-23 19:57:43.403471: Step 3999: Train accuracy = 87.5%
INFO:tensorflow:2019-01-23 19:57:43.403624: Step 3999: Cross entropy = 0.180595
INFO:tensorflow:2019-01-23 19:57:43.424074: Step 3999: Validation accuracy = 92.0% (N=100)
2019-01-23 19:57:43.788535: W tensorflow/core/graph/graph_constructor.cc:1265] Importing a graph with a lower producer version 26 into an existing graph with producer version 27. Shape inference will have run different parts of the graph with different producer versions.
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
INFO:tensorflow:Restoring parameters from /tmp/_retrain_checkpoint
Traceback (most recent call last):
File "retrain.py", line 1315, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "retrain.py", line 1126, in main
bottleneck_tensor)
File "retrain.py", line 854, in run_final_eval
ground_truth_input: test_ground_truth
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1128, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (0,) for Tensor u'input/BottleneckInputPlaceholder:0', which has shape '(?, 1024)'
The images has no problem. Even I use the images download from network: flower_photos. The error is the same.
My tensorflow version is 1.12.0 and tensorflow-hub version is tensorflow-hub-0.2.0.
And the command is as below:
python retrain.py
--image_dir /home/zw/work/tensorflow/hub/examples/image_retraining/dataset/
--output_graph  /home/zw/work/tensorflow/hub/examples/image_retraining/tmp/output_graph.pb
--intermediate_output_graphs_dir /home/zw/work/tensorflow/hub/examples/image_retraining/tmp/intermediate_graph
--output_labels /home/zw/work/tensorflow/hub/examples/image_retraining/tmp/output_labels.txt
--intermediate_store_frequency 1000
--testing_percentage 0
--how_many_training_steps 4000
--learning_rate 0.001
--train_batch_size 8
--tfhub_module https://tfhub.dev/google/imagenet/mobilenet_v1_100_224/feature_vector/1 \
--saved_model_dir /home/zw/work/tensorflow/hub/examples/image_retraining/tmp/myModel

Your input BottleneckInputPlaceholder is of shape (?, 1024)
The problem is that you're feeding the placeholder with a value of a different shape. Please make sure you are feeding it with the same shape and retry by reshaping the image.

Closing as it is in "awaiting response" status for more than 3 days. Feel free to add your comments and we will reopen.


Update planning-hub-sites.md

https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/854
Changed link labels in three places for sentence flow improvement

@kaarins Hi Kaarin, changes look correct. Could you please confirm and merge? Thanks!


object source and handler protocols

More cleanup of the fundamental classes.

Is the idea to leave currentEntry but try to transition toward passing actual QSCatalogEntry objects to the sources instead of dictionaries? If so, 👍. I was trying to start a similar transition in #1455.
I’m trying to clean up the warnings in QSUserDefinedProxySource just to see how the API works now. self.selectedEntry.sourceSettings works for a few cases, but there are other places where the settings dictionary needs to get written back. I think we need something in QSCatalogEntry similar to setName:, but for the settings dictionary.
Another potential problem is that we seem to be passing currentEntry as the object for QSCatalogEntryChangedNotification (in the app and in 5 plug-ins), though looking at the observers, I’m not sure the object really matters. I can dig into that, but I can’t push any changes since this is on your fork.

OK, there’s at least one place where the object passed with QSCatalogEntryChangedNotification is a QSCatalogEntry and not a dictionary, and none of the observers are even looking at the object, so we can just change these to not use currentEntry any more.
If you want, I can put this on a branch I can write to, then

add a way to update settings in the catalog entry’s dictionary
add a way to update the date in the catalog entry’s dictionary
update QSUserDefinedProxySource to use the new API

transition toward passing actual QSCatalogEntry objects to the sources instead of dictionaries?

Found the answer to that on one of the other branches you mentioned. 😄

I rebased it (I promise, check_indent.rb needed to be fixed 😉) and pushed it to quicksilver so you can play with it.

transition toward passing actual QSCatalogEntry objects to the sources instead of dictionaries?

Yeah, that's the part where I stopped, because I wasn't sure how to make the librarian automatically know that it's a new-style source, and thus it expects an entry instead of its dict...
Since I've been doing some rebasing, it seems there's a problem with how some things expect a date, and others a time interval (but I'm running with my QSLib cleanup branch merged, and I haven't checked that it's not because of that). YMMV, but the crash is pretty quick.

pushed it to quicksilver so you can play with it

And then deleted it?

Yep, I'm like that 😉 . They're still in my repo. I'm not sure what made me change my mind again...

OK. I’ll keep an eye out for the pull request.

I'll reply to your comments here so they don't get lost. My ultimate goal with those catalog/* branches was to tackle #1455 (async object source), by cleaning up as much as possible the current code before that, like :

how scanning is handled. Right now, I'm pretty sure we're unconditionally rescanning everything on startup, which makes the index thing useless. It's not that bad, but it's weird. That part is in the branch I haven't pushed because it's WIP.
the fact that object sources are passed as their info dictionary is a real problem : I can't really build a nice API if my users just get dictionaries. I tried to tackle that, but haven't been able to make it transparent enough (like if I change my shiny new QSObjectSource protocol, every plugin breaks). Another way would be to add-[QSCatalogEntry objectForKey:], and remove that later™. It feels hacky, but it's the most transparent (and you'll get warnings when building plugins anyway).

there are other places where the settings dictionary needs to get written back.

That's in QSCatalogEntry_Private.h. I've kept it in case there was a use for that. If the API can be extended to support what you want, it's better, but I'm not sure what your use case right now...

add a way to update the date in the catalog entry’s dictionary

Which date ? index, scan, or modification ? You should be able to use -updateCurrentEntryModificationDate for the latter (modulo that entry typing issue), the others are under the librarian's responsibility, so it's not useful to you (unless you have a use case I don't see).

Right now, I'm pretty sure we're unconditionally rescanning everything on startup, which makes the index thing useless.

You’re right about that. I found the same thing when working on #1455.
https://github.com/quicksilver/Quicksilver/pull/1455/commits/51505f2121a5433fb590466bcfb777bbf203030d

If the API can be extended to support what you want, it's better, but I'm not sure what your use case right now…

I was planning to look through plug-ins to get specific examples and make sure all the cases are covered, but in general, any object source that provides a UI for creating a new type of catalog entry (web search, remote hosts, spotlight, etc.) needs a way to save the settings back to the entry when it’s created/changed via the catalog prefs.

Which date ? index, scan, or modification ?

I was just looking at the QSUserDefinedProxySource code as an example, which changes the modification date, but if we’re cleaning things up, the modification date should probably be managed internally and automatically.

You’re right about that. I found the same thing when working on #1455.

See the catalog/librarian-cleanup branch, last 3 commits, which tries to bring order to the chaos. You might want to use your favorite Git GUI to make sense of that, because there are 3 branch on top of one another (this one > clean-obj-source > librarian-cleanup).

any object source [...] needs a way to save the settings back to the entry when it’s created/changed via the catalog prefs.

As you note, I'm not sure if that's general, but the "core" ones uses bindings through that -info dict.

the modification date should probably be managed internally and automatically.

Yeah, that's why there's a method to "touch" an entry, which takes care of the duplicated date-setting+notification.


Question : React Select Box : handle large text on mobile device

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
https://codesandbox.io/embed/h4k27?file=/demo.js&codemirror=1
How to handle large overflowing texts like this : "ARTS CRAFTS SEWING AND FABRICS MISC L3" on 300 px resolution, while using a react select box ?
Examples 🌈
https://codesandbox.io/embed/h4k27?file=/demo.js&codemirror=1
Motivation 🔦
No response

I don't think I clearly understand the issue you are describing. Can you elaborate please?

Check this screenshot on 300px and less the dropdown values are breaking.

The values are being truncated, not broken. It is the best we can do when there is no space to show them all. Maybe using the Autocopmlete is closed to what you want - https://mui.com/components/autocomplete/#multiple-values


Upon mobile device registration, 409 is thrown

2015-07-08T13:45:55.858520+00:00 heroku[router]: at=info method=POST path="/api/preferences/channels/push" host=api.staging.safetychanger.com request_id=d7b27381-9aff-40f4-bd8e-0c9c3b8ece3c fwd="<IP_ADDRESS>" dyno=web.1 connect=0ms service=474ms status=409 bytes=520
when User Registration already exists for channel and app, 409 is thrown. This does not allow a user to have a new mobile device.

You can. Just ignore the 409 in that case. Because it does not matter as long as you subscribe to the user channel, subsequent device registrations are pretty meaningless.


Get rid of raw type usage in Data disk [refer NSGRule]

Subnet has now successfully followed the same pattern as NSG rules - though Subnets have a simpler version of it. (I don't think Subnet needs the *DefineUpdate portion yet, since there is only one property that can be updated it seems: addressSpace). IN any case, yes, I think NSG rule is now a good example to follow .

@martinsawicki thanks, used NSG as an example to get DataDisk done

merged


Create *.x1337store.is-cool.dev

Requirements

You have completed your website.
The website is reachable.
The CNAME record doesn't contain https:// or /.
There is sufficient information at the owner field.

Description
This website is for out created and upcoming projects about IT
Link to Website
[[]
https://x1337store.blogspot.com/

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

I have read the CLA Document and I hereby sign the CLA

Please approve this pull request


modified readme

add a break line after section contributing

No conflict with the base branch. Okay to merge.


fix: default spec 3.0.0 doc

Related to: https://asyncapi.slack.com/archives/C34F2JV0U/p1701685416306489?thread_ts=1701618246.696289&cid=C34F2JV0U

/rtm


This breaks everything

Beginning the simplification phase of things.
Reducing the number of docker containers
Reducing the number of external things that are required
Simplifying building and running

Codecov Report

Merging #214 into master will decrease coverage by 3.95%.
The diff coverage is 7.69%.

@@            Coverage Diff             @@
##           master     #214      +/-   ##
==========================================
- Coverage   72.38%   68.42%   -3.96%
==========================================
  Files          65       43      -22
  Lines        3483     2198    -1285
  Branches      289      178     -111
==========================================
- Hits         2521     1504    -1017
+ Misses        909      666     -243
+ Partials       53       28      -25

Impacted Files
Coverage Δ

poseidon/baseClasses/Monitor_Helper_Base.py
100% <ø> (ø)
:arrow_up:

...bstraction/test_NorthBoundControllerAbstraction.py
100% <ø> (ø)
:arrow_up:

poseidon/baseClasses/Rabbit_Base.py
64.7% <ø> (ø)
:arrow_up:

poseidon/poseidonMonitor/poseidonMonitor.py
0% <0%> (-90.91%)
:arrow_down:

poseidon/poseidonMain/poseidonMain.py
27.2% <13.46%> (-16.14%)
:arrow_down:

...llerAbstraction/NorthBoundControllerAbstraction.py
31.78% <27.02%> (-4.46%)
:arrow_down:

poseidon/poseidonMain/test_poseidonMain.py
80% <0%> (-20%)
:arrow_down:

poseidon/poseidonMain/Investigator/Investigator.py
75.6% <0%> (-13%)
:arrow_down:

poseidon/poseidonMonitor/Config/Config.py
80% <0%> (-12.23%)
:arrow_down:

... and 4 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 2a0827c...6912a7d. Read the comment docs.


Error compiling from source, soem headers not found

Hi, I'm on 16.04/Kinetic, that's why I had to compile from source.
Don't know how this worked before (I was on 14.04/Inidigo a week ago, and compiled from source robotiq, with soem from apt-get without problem), probably pointing to old commits or something. However, using the latest of both repositories, robotiq's and soem within the same catkin workspace didn't compile for me directly.
I checked the ${soem_INCLUDE_DIRS} var, and it has already all paths to all sub-folders containing headers (namely soem, oshw, osal) actually set here, so I don't think it is necessary to add the soem/ here, and the same for all of these. In fact, I deleted those and then it compiled everything.
I ran also catkin_make install, and I have all necessary headers under catkin_ws/install/include/soem, without sub-paths.
I can provide a PR for this, but I haven't tried functionality still. Let me know.

@carlosjoserg, thanks for the heads up.  We are still in catch-up mode for jade and kinetic.  Could this be related/same issue as addressed in PR #77

Hi @shaun-edwards , not really sure. The description looks like, but certainly that PR is not addressing this issue for sure, and neither the file attached by the sender.

I agree with @carlosjoserg, using ${soem_INCLUDE_DIRS} should be correct.
${soem_INCLUDE_DIRS}/soem appends a string to a list(?).

Nice catch. This would probably completely resolve the build issues in #88 (and make ros-industrial/industrial_ci#87 a non-issue).

@shaun-edwards: I think this is something that would need to be fixed in any case, and it would also solve our other issue.

@ipa-mdl, @gavanderhoorn, thanks for the bump.  I will work on this today.

I made the changes described in this issue, and while they built just fine on my system, all travis jobs failed.
To summarize:

Previous version: 726cab91f38406906197af9f4bd25b1146837ec4 - CMake hacks with directory prefix on includes

catkin_make (all source) - fails (can't  find includes)
catkin_make (soem install - indigo only) - builds
catkin build (w/catkin config --no-install) - fails (can't find includes)
catkin build (w/catkin config --install) - builds
travis (fails - jade/kinetic versions)

Latest version: 64d5359892c66fc45787186c5dfa560a11edf352 - standard CMakeLists and no directory prefix on includes

catkin_make (all source) - builds
catkin_make (soem install - indigo only) - fails (can't  find includes)
catkin build (w/catkin config --no-install) - builds
catkin build (w/catkin config --install) - fails (can't  find includes)
travis (fails - all version)

There's still an issue that is caused by the header directory structure differences between installed and source versions.  I'm still working on this, but I wanted to update my progress.

I just noticed the specific include that causes the build to fail is different based on the type of build.  Sometimes the build fails on an soem include from the robotiq header and other times it fails on a soem include from an internal (soem) header.

@shaun-edwards: have you tried find_package(soem REQUIRED) instead of the soem component?
I am not sure if ${soem_INCLUDE_DIRS} is set by catkin or via https://github.com/smits/soem/blob/master/soem-config.cmake.in
It would be interesting to see to content of ${soem_INCLUDE_DIRS} and ${catkin_INCLUDE_DIRS} for some of the different cases.

I'm going to take a look at this again later in the week.  However, given the lack of release for later versions for ROS, we might consider switching to a more actively maintained version here.

Lack of Robotiq support is a major reason our lab has not moved to ROS Kinetic.
I forked the SOEM repository Shaun mentioned and catkinized it (fairly straightforward). The robotiq package now builds with no issues, but I haven't run any tests yet. We've made a kinetic-devel branch on our fork of this repo.

Hi @Kukanani ,
I'm trying to compile your fork on Ubuntu 16.04 using Kinetic and I'm having a little trouble. Which SOEM repository are you using? Can you share the catkinized version?
Thank you!

Hi @rarrais , I have been compiling in 16.04/Kinetic succesfully using the change in the CMakeLists.txt I proposed above using https://github.com/smits/soemst the latest, which you can find here https://github.com/beta-robots/robotiq/commit/a1275867de877569e9a737cc2c072ba80b68c32d , though I haven't tried the SOEM interface yet, I don't think the change would be an issue in functionality (I have been using USB)

I have a 404 error attempting to access https://github.com/smits/soemst.
As I mentioned above, I catkinized the SOEM library at https://github.com/OpenEtherCATsociety/SOEM. I'll try to port into a public repo today.
I had to change the package name to lowercase, and adjusted the include directories of the robotiq package to match the new catkin package.

Sorry, that's a typo, without the st: https://github.com/smits/soem

Ah, thanks.
Here's our (now public) fork of OpenEtherCATsociety/SOEM: https://github.com/UTNuclearRoboticsPublic/soem. The commit with most of the catkinization is at https://github.com/UTNuclearRoboticsPublic/SOEM/commit/d3b67bd1dd0bf45ed3dc79c19ba7b4fdea949f7f. A Kinetic version of this (robotiq) repo is at https://github.com/UTNuclearRoboticsPublic/robotiq/tree/kinetic-devel, with the one extra commit pointing Robotiq to the new soem.

I wanted to report that we've been using our catkinized version of OpenEtherCATsociety/SOEM on Robotiq S-Model hardware, with no issues so far.

@Kukanani Could you elaborate how you compiled on kinetic? I haven't been able to make it work.


Get rid of Hardware

Hardware has a bad smell - lots of @staticmethod and the encapsulation is broken anyway. Refactor back in.
Perhaps we can subclass the pmk.Key class to take care of rotation or even just renumber the keys via the number property.

So Hardware was pretty bad - a bunch of static members in a class, functions that weren't called and no real encapsulation which was the point of the whole thing.
It's gone now, so let us rejoice.


Add speed color legend

I think this is overkill. I don't want to add more controls just for speed.

It goes out when we leave route replay

I understand, but still it takes a lot of space.

any suggestion?

I think more reasonable would be to maybe show some markers on the map to indicate speed. Maybe show it on hover only.

This way you get a quick idea of the speeding (where and how much). Maybe I can put it smaller.

Smaller version...

Looks better. Can we make text the same style as the distance control? We can also probably round to 1 or even 0 digits. And maybe we don't need the middle point. Then we can reduce the width even more.

here it goes

Looks good, thank you.

Hello @jcardus and @tananaev, thank you guys for the great work you do. i don't know if it is ok to discuss it here or create another discussion on it, but i think it will be intuitive to have the replay track show stops and stops duration with an icon i.e
https://github.com/user-attachments/assets/b23b34df-78dd-484a-b26e-7fdd75c3a1f2

Maybe it's better to create a feature request, probably for the combined report which already has some of that information.


Hi, I have a same issue.

I try to use your code but have a problem that "No module named 'fused'"
There are no requirements about fused, but should I install fused module?

fused is the name of custom cuda extensions in the op directory. You need to check you can compile cuda programs and pytorch extensions.

@JinukKwon what s.o are you using? Have you fixed it? I'm facing the same problem.

I found the following:

Your cuda version must be >= 10.1, otherwise it will not compile
In order to compile it in windows, you must install the visualstudio compiler, and run the visualstudio developer comand line. I am using the cmd with native x64 tools.
If you tried to compile it sometime, failed and is still giving compilation error, I found no other way rather than reinstalling pytorch to clear the compiler cache.

@walbermr Could you please expand on this a bit more? I'm having problems getting this implementation to run on Windows 10. I have cuda version 10.2 installed and I downloaded Visual Studio 2017, but I'm not sure which Individual Components I need to add.
I'm getting this error:

@walbermr Could you please expand on this a bit more? I'm having problems getting this implementation to run on Windows 10. I have cuda version 10.2 installed and I downloaded Visual Studio 2017, but I'm not sure which Individual Components I need to add.
I'm getting this error:

@bennymi, Installing the c++ component for windows should be fine. When you install visualstudio you also install the developer comand line tool, I used this terminal window, it adds to path some the microsoft compiler, you can find it using the search bar.

@walbermr thank you for your response. I got it working now, but actually decided to dual boot Ubuntu. That seems to have automatically solved most of the issues.

Indeed, I think this thread should be renamed to help others that needs to use windows.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In f9b6642, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 7717 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in cbc8d6d.


"...but could have been retrieved as a query" false positives or misleading suggestions

Larastan Version: 2.9.8
Laravel Version: 10.48.20

Description
I regularly hit this error in cases involving limit clause. The error is pretty misleading and can be considered false positive (but it's debatable).
Laravel code where the issue was found
$isInTop3 = User::orderByDesc('score')
            ->limit(3)
            ->pluck('id')
            ->contains($userId)

This reports
phpstan: Called 'contains' on Laravel collection, but could have been retrieved as a query.

Another one is something like this.
$hasAtLeastTwoArticles = $user->articles()->limit(2)->get(['id'])->count() > 1

This reports:
phpstan: Called 'count' on Laravel collection, but could have been retrieved as a query.

The suggestion is technically correct, but the solution is often convoluted. What's worse, though, is that the suggestion is misleading - if you do the naive transformation that the error seems to suggest, for example:
$hasAtLeastTwoArticles = $user->articles()->limit(2)->count() > 1

You'll get the wrong result, because Eloquent will generate select count(*) from articles limit 2, which counts all articles, but what you want is select count(*) from (select id from articles limit 2) as first_two_articles
The correct solution is quite convoluted, because you have to make sure the Eloquent doesn't generate count(*) inside the subquery, which it often does (using loadCount or loadAggregate) so it's usually simpler to pull all results and count them in PHP (especially when it's about small counts like the examples above).

Why can't you just use ->exists() instead of count?

Why can't you just use ->exists() instead of count?

That will have the same problem, it will return whether result contains any rows, but not whether it has more than 1 row. Assuming you mean this:
$hasAtLeastTwoArticles = $user->articles()->limit(2)->exists()

Chatgpt suggests using skip which skips the first row and checks if the second exists:
YourModel::skip(1)->exists();

Chatgpt suggests using skip which skips the first row and checks if the second exists (I haven't tested though):
YourModel::skip(1)->exists();

Good point, that should work for the second example.

The problem here is that you need sub-queries to properly scope the count/exists methods:

Yes. I know, and that's the point of this issue. Both solutions are not obvious, and the lint suggestion makes it seem like you can just skip the ->get() call to fix it, which is wrong. In the second case, it's arguably not even better solution, though that's debatable.

Well what do you think should be done then? I'm not sure how well we'd be able to detect that you're trying to skirt around not using a subquery and an error shouldn't be raised. I don't think it's as simple as just detecting if limit/take was called earlier in the chain...

the lint suggestion makes it seem like you can just skip the ->get() call to fix it, which is wrong.

The error message never says to just remove the ->get() call---it just means there are better ways to accomplish what you are trying to do inside the database instead of needing to hydrate eloquent models just to count them in php land. Sure, removing the ->get() is often the only thing that needs to be done to convert the collection call to a query, but it's not always the case.
If you find yourself repeating this pattern around your codebase then that could be a great candidate for a scope or Builder macro.
You can always locally ignore that error or just disable the rule altogether if you like:
parameters:
    noUnnecessaryCollectionCall: false

Hi,
As you described the error is technically correct. So if you feel like it is a false positive, feel free to ignore the error. Rule itself can't detect each edge case.
Thank you!


no api to validate a address

how to validate an address?
there is no API to solve this problem,  SOS??

What's the use-case?

use for a wallet server, to transfer value to a new address

You can use getAccount to see if it exists, but 0-balance accounts aren't always "live".

async function createAccount() {
const mnemonic = conseiljs.TezosWalletUtil.generateMnemonic();
console.log(mnemonic: ${mnemonic});
const keystore = await conseiljs.TezosWalletUtil.unlockIdentityWithMnemonic(mnemonic, '');
console.log(account id: ${keystore.publicKeyHash});
console.log(public key: ${keystore.publicKey});
console.log(secret key: ${keystore.privateKey});
}
a new account created with above function could be activated? where is activationCode


[Feature] Add a Declarative Way to Handle Virtual Nodes Lifecycle

Describe the solution you'd like
The possibility of having a declarative way to handle the lifecycle of a liqo virtual node.
We need a new CRD and a new operator reconciling it to do that.
This new resource should be similar to this one:
apiVersion: virtualkubelet.liqo.io/v1alpha1
kind: VirtualNode
metadata:
  name: liqo-node-name
  namespace: tenant-namespace
spec:
  clusterIdentity:
    clusterID: ...
    clusterName: ...
  template: # -> the template for the VK deployment, it can be helpful to override specific values on it
  offloadingPatch:
    nodeSelector: # -> the node selector that will be added to each pod offloaded by this virtual node
    tolerations: [] # -> the tolerations that will be added to each pod offloaded by this virtual node
    affinities: [] # -> the affinities that will be added to each pod offloaded by this virtual node
  createNode: true # -> whether to create or not the virtual node, it can be possible to enable service-only reflection without nodes
  kubeconfigSecretRef:
    name: kubeconfig-secret
  images: []
  resourceQuota:
    memory: 3Gi
    cpu: 3
    ...
  labels:
    ...
  storageClasses: []
status:
  conditions:
  - type: VirtualKubelet
    status: Running
    reason: ...
    transitionTimestamp: ...
  - type: Node
    status: Running
    reason: ...
    transitionTimestamp: ...

Required Steps

[ ] definition of the new CRD
[ ] creation of a new operator creating virtual kubelet deployments starting from this resource
[ ] the virtual node controller (already existing operator) should reconcile this new resource instead of nodes

[ ] only a single NamespaceMap should exist for each cluster, not for each virtual node

[ ] check that the cluster selectors are still working also in the case multiple virtual nodes are targeting the same cluster id

Will Shadow nodes(same as remote cluster nodes) pointing to same virtual kubelet also included in this feature?

I will open another feature proposal issue very soon describing how we think the process to create VirtualNodes should be; I think that this should be more related to this feature

@aleoli small clarification,
While creating VirtualNode in Home cluster will labels part of VirtualNode CRD will be used to add labels to the actual node itself or this label is just for VK deployment?

They are for the node; all changes and patches to the node are expected inside the template (as you would apply labels to pods in a deployment using the podTemplate)


[DTLS] Add NamedCurve::P384

#24

@zeroclock, what about alternative p384: https://docs.rs/p384/0.5.0/p384/ ?

ops, looks like p384 doesn't have ecdh Elliptic Curve Diffie-Hellman (Ephemeral) Support

Thanks for your reply.
Yeah, p384 crate seems to support only ecdsa.
I’ll do more some research for now.

close this PR. Please send PR To github.com/webrtc-rs/dtls repo

close this PR. Please send PR To github.com/webrtc-rs/dtls repo


CLI Support for private links for exporting/importing managed disks

Resource Provider
Microsoft.Compute
Description of Feature or Work Requested
Customers can export from or import to Managed Disks without attaching them to a VM. If a user has sufficient permissions, he/she can generate a Shared Access Signature (SAS) URI of the underlying VHD of Managed Disks and then use the SAS URI to download/upload VHD. A SAS URI consists of the FQDN of the underlying hidden storage account where VHD is stored as a page blob and query parameters comprising the SAS token that has all of the information necessary to grant read/write access to the VHD. SAS gives persistent and unaudited access to the disks without any trace. Customers are worried that a malicious employee can download their data from home without any trace.
Networking Resource Provider (NRP) provides a mechanism, named Private Links that allows an onboarded Azure services such as Storage accounts, Azure SQL to associate a resource to a NRP private endpoint resource (associated to a VNET/subnet). Once the private endpoint is associated, network reads from the private endpoint are tagged with the ID of the private link. This lets the service filter out reads/writes from outside the customer's private endpoint.  Moreover, Traffic between customers' virtual network and the service travels the Microsoft backbone network. Customers are not required to expose their services to the public internet.
Now you can leverage Private Links for restricting the export of VHD from or the import of VHD to Managed Disks from your Azure VNET only. You can create an instance of the new resource called DiskAccess, and link it to your VNET in the same subscription by creating a private endpoint. A DiskAccess object owns a special hidden Storage account (prefixed md-impexp). The FQDN of the Storage account is mapped to a private DNS in your VNET. Any calls to the Storage account from the VNET is routed via the private DNS over the Microsoft backbone network to the Storage account.
Disk users must associate a disk with an instance of DiskAccess to export/import the data via Private Links. Disk RP uses an already existing md-impexp Storage account associated with a private link or provisions new md-impexp storage accounts under the same private link if many disks are exported at the same time. When Disk RP provisions a new md-impexp storage account, it will inform NRP about it which will map the FQDN of the storage account with a private DNS in customers’ VNET.
You can find more details here: https://github.com/ramankumarlive/manageddisksprivatelinks
Minimum API Version Required
2020-05-01
Swagger Link
https://github.com/Azure/azure-rest-api-specs/pull/9552
Target Date
7/10 for "Enterprise" M4 milestone

Private Link

service not ready, feature isn't ready.

Supported now.


[Build] Pass in swift-syntax to SwiftPM

Explanation: SwiftPM is using swift-syntax for its new manifest refactorings.
Scope: Windows toolchain build
Risk: Low, just adds another search path
Testing: Checked that Swift still builds
Issue: n/a
Reviewer:   @bnbarham on https://github.com/apple/swift/pull/73267

@swift-ci Please test


Add missing Monster Core Trample Strikes

Rhinoceros lists its trample as 2 actions, but given the action description on p. 360 lists it as 3 it's probably an error.


build(deps): update to detox 19.9.0

Description
Updates Detox to 19.9.0.
Other changes
Use waitForElementById to wait for hamburger menu icon to be visible across all tests.
Tested
Tested locally on iOS and in CI.
How others should test
N/A
Related issues
N/A
Backwards compatibility
Yes

Hey @MuckT since NA is mentioned in how others should test section, we are skipping this PR
Thanks.!


Min Compute

https://github.com/RogueTensor/bitagent_subnet/blob/main/min_compute.yml#L24
What is the min compute required? that file indicates GPU is required, readme says no. (I'm trying to figure out how small my ec2 instance can be.

See discord for more details - min_compute is future facing - you WILL need GPU to handle tasks along the lines of agency.
Currently, the 800M parameter model that is provided with the repo is capable of handling the tasks being generated.
You tend to need around 4GB of RAM for the miner if you stick with chromadb.


Remove console.log call

This seems like a leftover debug call, remove it.

Thanks for spotting this!


if i use TimestampType with value integer, it will return null after being resolved

$config->addField('date', new TimestampType());
In my database, i have field date as unix timestamp (which is integer)
In this class
https://github.com/Youshido/GraphQL/blob/master/src/Type/Scalar/TimestampType.php
public function isValidValue($value)
    {
        if (is_object($value)) {
            return true;
        }
        return is_int($value);
    }

if i pass an integer, it will return true
but when it is being serialized
 public function serialize($value)
    {
        if ($value === null || !is_object($value)) {
            return null;
        }
        return $value->getTimestamp();
    }

the previous valid integer will be serialized into null

@hartono-sulaiman-kaskus sorry, this class is invalid. In fact there shouldn't be such a Type, as this library was created as a part of our big project we missed to remove Timestamp as Date types that are not valid in general for GraphQL. You can now (as of v<IP_ADDRESS>) create your own ScalarTypes and implement them as you like. This one supposed to work with DB datetime type and thus shouldn't be called TimeStamp at all.. You can reach out to me in gitter if you need any help upgrading your schema.

@viniychuk what was the reason to remove Date type from the scalar type when keeping Datetime as one of the defined scalar types?


RFC-4122 doesn't specify UUID v3 and v5 without a namespace

I've just found out that the generation of UUIDs without a namespace are not standard, all other implementations found online and in other programming languages requires providing a namespace and a name.
The specification explicitly says to use a namespace during generation:
"o  Compute the hash of the name space ID concatenated with the name."

Currently your library concatenates an empty array that results in using just the data of the provided name for hashing without any data of the namespace: https://github.com/danakt/uuid-by-string/blob/master/src/index.js#L35
Should you specify in the documentation about library's non-standard function?
Another solution would be using a nil UUID as namespace in cases when user provides no namespace (but that will break current tests that check the generation of UUID without a namespace).

The fix turned out to be easy, I actually think that it was a bug because it actually needed to be 16, not 0:
https://github.com/danakt/uuid-by-string/blob/master/src/index.js#L4
Anyway, here's the PR: https://github.com/danakt/uuid-by-string/pull/36


Azure Storage Explorer Stuck at loading

Storage Explorer Version: 1.4.0
Platform/OS Version: Windows 7
Architecture:
Regression From: Not working on any versions
Steps to Reproduce:

https://azure.microsoft.com/en-in/features/storage-explorer/
Install Azure Storage Explorer
Open the application after installing.

Expected Experience:
It should prompt to login in to azure with credentials and should load azure storage window.
Actual Experience:
Microsoft Azure Storage Explorer is stuck at loading screen.

@vikramhegde123 , can you take a look in task manager and let me know how many storage explorer processes there are?

I have the same issue!
In task manager, I see six processes names StorageExplorer.exe.
I am attempting to start Storage Explorer 1.7.0 on Windows 7.

No one has posted a possible solution, so I will post what I did:

Open Task Manager
Go to the Processes Tab
ensure that the Names are being ordered and find Microsoft Azure Storage Explorer (32 bit) ...
Right click on the process and select End Task from the context menu
Wait for the process to fully shut down (I had a Shutdown/Restart window show up for a while)
Restart Storage Explorer.

Mine came up fine at that point. I'd like to know of a root cause and if I can do something to prevent this in the future.
Thanks!

Hi, We are seeing the same issue on multiple machines
MASE v1.12.0
Windows 7
Takes a long time to open, then will eventually crash whilst trying to authenticate.  Eventually reports a .Net Framework Error saying install 4.6.2 or newer although running the latest version 4.8. ran a repair on .Net but no luck.

Can y'all please do the following?
Collect Service Hub Logs
Clean the ServiceHub logs

Open File Explorer and go to C:\Users\your username\AppData\Local\Temp\servicehub and delete the logs folder

Set Trace Level

In the start menu search for path
Choose "Edit the system environment variables" image
In the dialog that pops up, click "Environment Variables...", and then in the next dialog click the first "New...", and finally name the variable SERVICEHUBTRACELEVEL and set the value to be ALL.
Hit Ok's until all the dialogs are closed.

Repro and get us logs

Open Storage Explorer
Wait for the dialog to pop up
Go back to C:\Users\your username\AppData\Local\Temp\servicehub, zip up the logs folder, and send us the Zip

Hi Matthew,
I don’t have a servicehub folder under temp path:
<EMAIL_ADDRESS>Logs attached.
From: Matthew Rayermann<EMAIL_ADDRESS>Sent: Wednesday, March 18, 2020 2:42 PM
To: microsoft/AzureStorageExplorer<EMAIL_ADDRESS>Cc: Michael Hammons<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer Stuck at loading (#578)
Can y'all please do the following?
Collect Service Hub Logs
Clean the ServiceHub logs

Open File Explorer and go to C:\Users\your username\AppData\Local\Temp\servicehub and delete the logs folder

Set Trace Level

In the start menu search for path
Choose "Edit the system environment variables" image
In the dialog that pops up, click "Environment Variables...", and then in the next dialog click the first "New...", and finally name the variable SERVICEHUBTRACELEVEL and set the value to be ALL.
Hit Ok's until all the dialogs are closed.

Repro and get us logs

Open Storage Explorer
Wait for the dialog to pop up
attach it here

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/578#issuecomment-600798031, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIX3KUKEUWOGCIJ4V6M2UO3RIEIXZANCNFSM4FPPM3TQ.

Happening in mac (10.15.3) too. The application does not load. Any recommendation?

Hi Matthew,
Just followed your instructions but nothing has happened.
Storage Explorer tries to load but nothing happens.
The only way I get Storage Explorer to load is to delete .IdentityService folder in AppData/Local
Thanks
Darren
From: Matthew Rayermann<EMAIL_ADDRESS>Sent: 18 March 2020 18:42
To: microsoft/AzureStorageExplorer
Cc: Darren Stiles; Comment
Subject: Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer Stuck at loading (#578)
Can y'all please do the following?
Collect Service Hub Logs
Clean the ServiceHub logs

Open File Explorer and go to C:\Users\your username\AppData\Local\Temp\servicehub and delete the logs folder

Set Trace Level

In the start menu search for path
Choose "Edit the system environment variables" image
In the dialog that pops up, click "Environment Variables...", and then in the next dialog click the first "New...", and finally name the variable SERVICEHUBTRACELEVEL and set the value to be ALL.
Hit Ok's until all the dialogs are closed.

Repro and get us logs

Open Storage Explorer
Wait for the dialog to pop up
attach it here

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/578#issuecomment-600798031, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALXAXXBJLWSFEUUDUHRY6XTRIEIXZANCNFSM4FPPM3TQ.

Consider the environment and think before you print this email.

Proud partner of The Ageas Bowl.
This email has been sent by and on behalf of one or more of Ageas (UK) Limited (registered no: 1093301 ), Ageas Insurance Limited (registered no: 354568), Ageas Retail Limited (registered no: 1324965), or a subsidiary of Ageas (UK) Limited (together “Ageas UK”). Ageas UK companies are registered in England and Wales, and each entity’s registered office is Ageas House, Hampshire Corporate Park, Templars Way, Eastleigh SO53 3YA.
Ageas Retail Limited is authorised and regulated by the Financial Conduct Authority. Financial Services Register Number: 312468.
Ageas Insurance Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority. Financial Services Register Number: 202039
This e-mail together with any attachments are intended for the addressee only and may be private and confidential. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you must not open any attachments, or copy, disclose, distribute, retain or use this e-mail, including any attachments, in any way whatsoever; please return it to us immediately using the reply facility on e-mail.
Consider the environment and think before you print this email.

@prashanthkul here are similar instructions for you
Make sure MSAL is enabled

Open Storage Explorer
Make sure MSAL is enabled in the settings, if it isn’t, then enable and restart Storage Explorer
Remove all accounts
Close Storage Explorer

Clean the ServiceHub logs

Open terminal
cd /Users/your username/.ServiceHub/logs
open .
In the Finder window that appears, delete everything, leave this finder window Finder open

Set Trace Level

Go back to terminal
export SERVICEHUBTRACELEVEL=ALL
do not close this terminal

Repro and get us logs
Use the same terminal window from the previous section, you may have to modify the cd path depending on where you put our .app file.

cd /Applications/Microsoft\ Azure\ Storage\ Explorer.app/Contents/MacOS
./Microsoft\ Azure\ Storage\ Explorer.
Repro the issue
Go back to the Finder window from here, zip up everything in there, and send us the Zip

@darrenstilesag are you saying that deleting that folder unblocked you?
@mhammons your logs didn't make it. You have to come to github.com and attach the files here.

Hi,
Originally, deleting the .identityservice folder worked each time I needed to log in to storage explorer, but more recently that stopped working.  I have since upgraded to v1.11 and now storage explorer is working fine.  I am running windows 7 (I know!) so not sure if this causes some issues not usually seen?
Anyway for me it’s all working and as soon as I get back to the office I’m upgrading to windows 10 so will try and upgrade storage explorer again.
Thanks
Darren
From: Matthew Rayermann<EMAIL_ADDRESS>Sent: 26 March 2020 16:28
To: microsoft/AzureStorageExplorer
Cc: Darren Stiles; Mention
Subject: Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer Stuck at loading (#578)
@prashanthkulhttps://github.com/prashanthkul here are similar instructions for you
Make sure MSAL is enabled

Open Storage Explorer
Make sure MSAL is enabled in the settings, if it isn’t, then enable and restart Storage Explorer
Remove all accounts
Close Storage Explorer

Clean the ServiceHub logs

Open terminal
cd /Users/your username/.ServiceHub/logs
open .
In the Finder window that appears, delete everything, leave this finder window Finder open

Set Trace Level

Go back to terminal
export SERVICEHUBTRACELEVEL=ALL
do not close this terminal

Repro and get us logs
Use the same terminal window from the previous section, you may have to modify the cd path depending on where you put our .app file.

cd /Applications/Microsoft\ Azure\ Storage\ Explorer.app/Contents/MacOS
./Microsoft\ Azure\ Storage\ Explorer.
Repro the issue
Go back to the Finder window from here, zip up everything in there, and send us the Zip

@darrenstilesaghttps://github.com/darrenstilesag are you saying that deleting that folder unblocked you?
@mhammonshttps://github.com/mhammons your logs didn't make it. You have to come to github.com and attach the files here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/578#issuecomment-604530300, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALXAXXCT5JAVP5Q5AYN7HJTRJN7A5ANCNFSM4FPPM3TQ.

Consider the environment and think before you print this email.

Proud partner of The Ageas Bowl.
This email has been sent by and on behalf of one or more of Ageas (UK) Limited (registered no: 1093301 ), Ageas Insurance Limited (registered no: 354568), Ageas Retail Limited (registered no: 1324965), or a subsidiary of Ageas (UK) Limited (together “Ageas UK”). Ageas UK companies are registered in England and Wales, and each entity’s registered office is Ageas House, Hampshire Corporate Park, Templars Way, Eastleigh SO53 3YA.
Ageas Retail Limited is authorised and regulated by the Financial Conduct Authority. Financial Services Register Number: 312468.
Ageas Insurance Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority. Financial Services Register Number: 202039
This e-mail together with any attachments are intended for the addressee only and may be private and confidential. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you must not open any attachments, or copy, disclose, distribute, retain or use this e-mail, including any attachments, in any way whatsoever; please return it to us immediately using the reply facility on e-mail.
Consider the environment and think before you print this email.

@darrenstilesag I'm to hear you're unstuck.
We don't test against Windows 7, though I can't think of any immediate reasons why we wouldn't work on it. But staying up to date on both our version and Windows (though I can sympathize with many of the various reasons that may not be possible for you) is the best way to avoid unexpected issues..
Anyway, if you have any future problems, feel free to open a new issue. Until then, stay safe!

Hi, just installed MASE 1.13 and it still takes 30 minutes or longer to load my storage accounts. The only change is it no longer hangs on the logo screen, it now opens MASE but now see the spinning icon while it tries to load accounts/subscriptions.

@MRayermannMSFT logs are attached in this message. Still have the problems above.
Do not have a servicehub folder under temp path. See screenshot.

logs.zip

@mhammons  if you don't have a servicehub folder, then where are these logs from?

This may not apply but it is a change to how the app used to work; maybe it will be helpful.
I've currently got 1.14.2 installed via scoop.
For those that are unfamiliar, scoop extracts the app to a version-named folder and then creates a symbolic link named "current" to that same folder. Running Storage Explorer through the symbolic link path doesn't work (it used to). Running it directly from the version named folder does.

@reddevil7nine can you open a specific issue for that? :)

We're fixing the scoop issue, but since @mhammons  hasn't replied to my question, I'm going to go ahead and close this. If anyone is still having startup problems, please open a new issue. Thanks.

Sorry...I don't recall where the logs came from...might have been from a previous install. I had deleted and re-installed.
I now have 1.13 and it now loads a bit slowly, but no where near the issues reported earlier. So as of now, it's working and no longer seeing the hangs and long delays as before.
Mike

@reddevil7nine can you open a specific issue for that? :)

Sorry, just saw this. Thanks @gldraphael


Sidebar on the left and open new tab button at the bottom

The sidebar is on the left side of the browser, and the open new tab button is all the way at the bottom. Is there anyway to change these?

@J4N4RI actually for the sidebar alignment I haven't ran into this issue, if you carefully follow the instruction.
However for the new tab problem which you asked
you have to open Sidebery settings, (if you don't know how, r-click on the extension Open settings) go to the Position of new tab section on  the left tree side you can choose and set the Place new tab(general rule) to panel start you can easily configure it by your choice.

Okay, the open new tab placement has been solved, but I followed the instruction very carefully and did each step in order, but the sidebar is still on the left of the browser.

sidebar is meant to be on left side

mhmm

are you confused with right and left direction?


Recommended (new) APIs and more example code

This is a test edit to verify style guides.
Starting to make good on my promise to improve the documentation.
Purpose:

Point users to the recommended (new) way of using Jetstream
Add more example code snipplets
Make sure such guidelines and code snipplet appear as early as possible in the developers journey. In this case on the Connection class.
More detailed examples would then be in ConsumerContext and StreamContext

Will fix Javadoc errors

Fixed various Javadoc errors and warning. Added links to overview.html
Javadoc processes without wanrings
Done editing - will continue on another branch.

@roeschter There is a test failing, but I fixed and merged it a few days ago. Can you update your branch


I can't install correctly

I can see that people that have got this up and running before are having no problems but if you follow the installation instructions as written it doesn't install as seen in fuyun-yipian's screen grab.
I am also getting No such file or directory: "install"
I'm on an Ubuntu 16.04 VPS in Singapore with AWS cli already installed.


Applying custom HLSL PixelShaders

Hi Michel. Thanks a lot for your work on this library. I really like it and it has been very helpful in different projects.
I was wondering if you'd consider the following enhancement to the library (or if you have some pointers how to accomplish this in its current state):

Extend the Graphics class with a DrawShader function that applies a custom HLSL PixelShader to the whole Screen (think ReShade) or within a specified rectangle only. This would allow to render arbitrary Shader output in the overlay or distort / adjust what you see on the screen (for example making in grayscale or inverting colors).

Here is a little mockup of the effects I'd like to achieve with the overlay

red rectangle: Invert the colors of what's seen below the overlay
blue rectangle: adjust the colors of what's seen below the overlay to grayscale
green rectangle: render some pixel shader (example taken from https://www.shadertoy.com/view/MdSXzz) and do some kind of alpha blending with what's seen below the overlay

Looks like this is totally possible but my knowledge in graphics programming is very limited and i would take a lot of time to read about all the required stuff.
I don't think that I can add that myself anytime soon.
I'll drop some links which might help you/me implementing that at some point.
https://docs.microsoft.com/en-us/windows/win32/direct2d/effects-overview
https://docs.microsoft.com/en-us/windows/win32/api/d2d1effectauthor/nf-d2d1effectauthor-id2d1effectcontext-loadpixelshader?redirectedfrom=MSDN
https://docs.microsoft.com/en-us/windows/win32/direct2d/hlsl-helpers

@maschere do you have any updates on the topic? I would like to be able to do the same thing and haven't found a way of doing it for now.

No sorry, I haven't looked into it.


Access logs - log headers returned from external auth server?

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: Access logs - log headers returned from external auth server?
Description:
We are using envoy external auth with custom server to authenticate requests. The server returns the user identity in a header, and I would like this header to be part of the audit log.
Can I use %REQ(X?Y):Z% to access headers set by the external auth server?
[optional Relevant Links:]

Any extra documentation required to understand the issue.

https://www.envoyproxy.io/docs/envoy/v1.10.0/configuration/access_log#format-dictionaries
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/ext_authz_filter

Can I use %REQ(X?Y):Z% to access headers set by the external auth server?

Yes that should work as documented
%REQ(X?Y):Z%
An HTTP request header where X is the main HTTP header, Y is the alternative one, and Z is an optional parameter denoting string truncation up to Z characters long. The value is taken from the HTTP request header named X first and if it’s not set, then request header Y is used. If none of the headers are present ‘-’ symbol will be in the log.
src: https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#config-access-log

I just checked and using %REQ(X?Y):Z% will not work - envoy will not log this header

You now have:

downstream reqeust & response
upstream request & response
auth request & response

You want to log downstream request with user identify in auth response?
Maybe you should add this auth response header to downstream request.
https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_authz/v3/ext_authz.proto#extensions-filters-http-ext-authz-v3-authorizationresponse

Yep, this is what I did. The header is added to the request and passed to the upstream service but when trying to access it in the access log all I see is null

Yep, this is what I did. The header is added to the request and passed to the upstream service but when trying to access it in the access log all I see is null

@omerlh You can show the specific configuration?

Sorry! This is working as expected now :) Keeping the config for reference in case anyone notice similar case in the future


Back button behaviour often loses state in search

When clicking the back button after leaving a search page, the search is lost.
This could be fixed by: adding the bookmark of the current search to the url on every action (if it doesn't try to forward.). Otherwise, a fragment could be added to the URL which is probed for when landing, and resolved when found (standard two-pass, like we have now).
This issue can be moderated by making sure that users know that they can open external/jump links in new tabs, either with click or client settings.

From @ValWood.
This has been infuriating me for so long I don't know why I haven't opened a ticket before now.

Every time you set your filters and then proceed to an annotation you have to reset your filters.

Same if you want to browse all the annotations or products. Say there are nearly 100 annotations/products and you change the drop down, you have to reset it after EVERY annotation you look at to access the ones further down the list.

Ideally the default would be ~100 anyway. If you have more than 10 you would usually want to see all them without changing a filter.

@ValWood If this is a common pattern, you can also "bookmark" your search. By clicking on that link, you will go to a bookmarked/pinned version of your current search, so you can always get back to the same spot.

Its pretty much every search I do, so I'd need to bookmark everything....
Can you make the default list longer (say 50). This would help a little.  At present I need to reset the list length every single time I look at anything over the 10th entry.


Restore the Log functionality

This pull request adds support for reading the Android logs from the AdbClient class.
Previously, madb would use the log: service. This service has been deprecated in newer versions of Android.
Instead, the AdbClient now executes logcat -B on the Android shell and parses the binary output.
@bartsaintgermain Can you please review?

Current coverage is 5.97%

Merging #9 into master will decrease coverage by -27.24% as of d890e26

@@            master     #9   diff @@
=====================================
  Files           36     39     +3
  Stmts         1162   1206    +44
  Branches       143    153    +10
  Methods          0      0
=====================================
- Hit            386     72   -314
+ Partial         30      9    -21
- Missed         746   1125   +379

Review entire Coverage Diff as of d890e26

Powered by Codecov. Updated on successful CI builds.


Fix JSON parsing of NAN values for Double and Floats

Configuration will define how these fields are going to be represented.

Depends on #442.


Is the website dead?

Hello,
just want to know if the website rentry.co is definetely down or if it's just in maintenance.
Thanks.

Just a technical issue with the main domain. You can use rentry.org for now. Working on getting buthe .co version up and running.

But the new .org domain is going to stay right? Like links created now would still work after main domain is up?

But the new .org domain is going to stay right? Like links created now would still work after main domain is up?

Yep. The org has been around for a while now and will stay after co is up. They share the same database and everything. Consider it a mirror.


Sync Timers Across Multiple PCs

I, probably like many others, play on multiple computers for various reasons. For example, I may be watching TV AFK playing on my laptop or hardcore PVMing/PKing on my desktop. I usually hop between multiple computers in a single day.
It would be cool if the Account feature also sync all of the timers. I'm not quite sure how possible this is, but it would help me out tremendously in all my farming and birdhouse runs.  I'm currently working towards 99 Farming and I use nearly every available farming patch in the game.
TL:DR
Simple put, it is hard to keep track of all my timers while moving from PC to PC and this would be a huge quality of life improvement for me.

Just login to RuneLite, it is already a feature

wow, I'm an idiot...my family member logged into a separate runelite account on my laptop.
facepalm. Ty deathbeam you are truly a god of the RS community.


Allow to filter search results by the state of the package

For example: filter by experimental/stable or by the build state: passing

This is definitely an interesting filter suggestion, however, I'm not sure how the backend would be able to programmatically determine build states or project state such as experimental. I imagine we could leverage the tag solution (still in progress) to tag packages with experimental / stable


Automate Integration Tests via Container Tech

Currently Integration tests require the tester to manually run OBS and to enable/disable OBS Websocket authentication in OBS.
This could be automated with any number of container technologies, an example is Docker and there are several OBS containers available that would do the job.
Not sure if it'd work in GH actions or not, but theoretically it could be possible to then setup CD on pushes to the repo once this is in place.

I'll try to get this up and working! Also want to setup CD so it could be automatically validated.

I took a look at https://hub.docker.com/r/bandi13/docker-obs but it uses the Linux version of OBS--which is sorely outdated.
Also took a look at using Docker to containerize Windows apps...Seems this is geared towards actually building a Windows app from source into a container.
So I guess the options would be either to:

Build windows containers from the OBS source code, or
Build a windows image and use a hypervisor etc to run it (not great for automation)

I took a look at https://hub.docker.com/r/bandi13/docker-obs but it uses the Linux version of OBS--which is sorely outdated.
Also took a look at using Docker to containerize Windows apps...Seems this is geared towards actually building a Windows app from source into a container.
So I guess the options would be either to:

Build windows containers from the OBS source code, or
Build a windows image and use a hypervisor etc to run it (not great for automation)

@LarsBaertschi Did you ever get this working?
I tried taking  a look at it and found:

The official Windows images are for server, and
There are no official client images

I had the crazy thought to use VirtualBox running a Windows 10 image, all running inside a Docker container...which could work, but that would probably violate too many license agreements to ever be shared for e.g. automated testing.
The main reason / problem I had was dealing with testing resources needing to be on absolute paths (also, env var expansion doesn't work), so my next thought in tackling this was to write a simple program to take an existing scene collection export and substitute file references. Then, provide the images, etc. needed for tests in a directory and running that program to substitute out the paths.
Thoughts?

I tried this, and ran exactly into the issues you mentioned! So I really think we cannot fully test it end to end, the best possible thing would probably be to emulate the websocket server, but this is quite some effort. So I'm not really sure how to progress here. But your idea sounds quite promising! Would be excited to see if that actually works

Or we could use a self hosted runner that has an OBS Instance running?

@ChristopheCVB wouldn't that cost money?
Plus, we'd need to manage secrets in an OSS project like this (unless you want the public dirtying that environment) so that it stays 'clean'. But tbh even when under control within corp networks, I've personally not always had good experience with shared staging/testing environments unless they were destructible and rebuilt frequently.
At that point, I'd think just using  a shared scene collection + resources would be simpler both from management and cost?

Come to think of it, we might be able to get some value out of using the Linux distro if the authentication stuff is the same.
If we want to take the effort, using any of the existing containerized Linux distros of OBS with this plugin could be helpful there ...

Great work on Christophe's part, getting a self-hosted runner working!
I'll keep this open so I can continue exploring the docker image route -- one consideration not brought up here yet is that OBS supposedly requires a GPU to run. I'm not sure if this will be the same for the Linux distro, it will need to be explored.

It works!
https://github.com/obs-websocket-community-projects/obs-websocket-java/pull/85
https://github.com/TinaTiel/obs-websocket-docker


[fix] fix  duplicate outputs when using with multiple instances of HtmlWebpackPlugin

I found a way to fix Duplicate outputs when using with multiple instances of HtmlWebpackPlugin.
It cause by two bug.

filesToInclude is shared by multiple compilation, which caused duplication.
It hasn't check if the chunk belong to the page, so it will inject all the chunk into every page.

solution

I move filesToInclude into each compilation. So they won't interfere with each other
I check the chunk by renderedHash, which is used by htmlWebpackPlugin.

I signed it!

hmmmm... Can someone review the pr ?

@toxic-johann Thanks! this PR works my project! 👍
@addyosmani Please review it.

@addyosmani has asked me to lend a hand with this repo.
I don't see any red flags with this PR, and I trust based on the reactions and comments that it solves a problem that many folks were running into, so I'm fine with merging.
My one question for @toxic-johann is whether you'd consider this a major or minor change from a semver perspective (i.e. does it "break" existing functionality that others might have depended on). I'm trying to determine whether to tag this new code 2.1.0 or 3.0.0 on npm.

@jeffposnick just a minor change

Thanks for confirming, and thanks for everyone's patience.

(I'll publish 2.1.0 to npm soon—I've asked @addyosmani to add me as an owner there.)

2.1.0 is now live on npm, and tagged on GitHub: https://github.com/GoogleChromeLabs/preload-webpack-plugin/releases/tag/v2.1.0


P5 sound tutorials when loading sample stuck on loading...

Im trying to use the p5 sound tutorials, and any of them that have samples are stuck on loading.. I dont see this issues posted on this. I have tested this on Chrome, Safari and Firefox on the mac running Catalina.

Hi @stevedurie, you might be having a CORS problem. Try running a server with your sketches. In your directory with the sketches, try running
python -m http.server

This should create a makeshift server and CORS would not be an issue then.  :)

@stevedurie hope that helped ! can we close this issue?

@stevedurie hope that helped ! can we close this issue?


Parentheses around await causes ASI issues

async function af() {
    1
    await 1;
}

Becomes:
function af() { return _esdown.async(function*() {
    1
    (yield 1);
}.apply(this, arguments)); }

Which causes the parentheses to be treated as an argument list.

We also need to analyze other places where we might be indiscriminately parenthesizing at the start of statements.


Fixes spelling in comment

just trying to pad my stats! :)
hah not really, I was hitting a similar bug to what @markrickert just recently fixed and was digging into this area of the code to try and understand.  In the end it was a fault on my end (in tests only) so no code changes from me on that one - but I did notice this so figured I might as well adjust while there

Oddly enough, I almost always misspell that word. It's not because I'm dumb. It's because I type too fast and don't really care to fix it even when it's underlined in red.

yeah I have a few of those myself too!


Help me on how to use the pretrained checkpoint for detection

Let's say I downloaded the D-FINE-M whose checkpoint file(37.4) how to use it for prediction of objects in an image and get the detections.
Please help on
After downloading the model, how to directly load and find the inference or prediction

https://github.com/Peterande/D-FINE/blob/master/tools/inference/torch_inf.py

@GiovanniFyc. Thank you so much for your reply. Could you please tell me how to feed the downloaded model file to the code?


add cli args for auth tokens and user/password to ingestion job command

Description
adds support for -authToken, -user, and -password cli args to the LaunchDataIngestionJobCommand to bring it into sync with the pinot docs and other cli commands. This is more of a bugfix than a feature add.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes
Documentation

Codecov Report

Merging #7233 (c34582b) into master (717940b) will decrease coverage by 8.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #7233      +/-   ##
============================================
- Coverage     73.45%   65.25%   -8.20%
  Complexity       92       92
============================================
  Files          1508     1508
  Lines         73939    73951      +12
  Branches      10682    10685       +3
============================================
- Hits          54309    48260    -6049
- Misses        16066    22273    +6207
+ Partials       3564     3418     -146

Flag
Coverage Δ

integration
?

unittests
65.25% <ø> (-0.01%)
:arrow_down:

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

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


"TypeError: environment.dispose is not a function" when running tests

create-react-app myapp
cd myapp
npm install lint-staged
rm -rf node_modules
npm install
npm test

gives an error:
TypeError: environment.dispose is not a function

Related: https://github.com/facebook/jest/issues/5294 https://github.com/okonet/lint-staged/issues/414
Some kind of dependency hell scenario caused by bad resolving somewhere. Need to explore working around on our side in 1.x until we can bump Jest to a version that doesn't have this problem.

Seems like https://github.com/facebook/jest/issues/5913 is the real bug here.

With CRA 1.1.4, I ran into a similar problem with a slightly different error message with setup, not dispose:
TypeError: environment.setup is not a function

It's a newish CRA install, starting life as 1.1.1. I upgraded to 1.1.4 using the step-by-step yarn add --exact<EMAIL_ADDRESS>(N=2..4) steps as usual. I have not added jest to my package.json file.
Other useful info:
bash-3.2$ node --version
v8.9.4
bash-3.2$ npm --version
5.8.0
bash-3.2$ yarn --version
1.6.0
bash-3.2$ npm ls react-scripts
<EMAIL_ADDRESS>/Users/richb/github/imwebclient-2
└──<EMAIL_ADDRESS>

Any thoughts on fixing this? (I have never tried running tests on this project before so I can't say whether it ever worked.) Thanks.


[WIP] [#173] Feature_extract_age_information_from_trials

This PR references the #173 issue. It extracts the age range information for the following sources: Nct, Actrn,  Gsk, Jprn, Takeda and Pfizer.
As we found different patterns of representations of ages, we opeted to normalize them.
We created an age_range column on Trials table in order to store this information.
The column's type is jsonb with two keys: maximum_age and minimum_age. There is a PR on the api project that changes the migration.

As I don't have access to change the branch on this PR, this will be developed further on https://github.com/opentrials/processors/pull/126.


Docs should not recommend to install certificates in the Trusted Root Certificate authorities

There is a note in /windows/uwp/packaging/packaging-uwp-apps saying:

... you will need to install the signing certificate to the Trusted Root Certification Authorities store on the device ..

This should be not recommended as it has another security implications, instead we should suggest to install in the Trusted People or Trusted Publishers.
The link to "Install Test Certificates" goes to a page in the Hardware dev center, that could be intimidating for application developers.

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

ID: e9d1c88d-24b1-0eda-b458-105db02dca36
Version Independent ID: c5d1634a-0ead-f68a-e5be-89acf0eef0a6
Content: Packaging UWP apps - UWP app developer
Content Source: windows-apps-src/packaging/packaging-uwp-apps.md
Service: unspecified
GitHub Login: @laurenhughes
Microsoft Alias: lahugh

Thanks, Rido. I'll make the updates!


watcher reconnection metrics

I'd like to swap a client with custom watcher reconnection handling with this one, but the custom client has metrics around connection failures and reconnection attempts. Any recommendation for intercepting those calls for collecting metrics?

Right now I think you can only do this by writing a custom STTP backend wrapping the real one, like described here: https://sttp.softwaremill.com/en/latest/backends/wrappers/custom.html#example-metrics-backend-wrapper
I think it wold be nice to introduce a concept of K8sCallAspects similar to what I did in zio-aws (https://vigoo.github.io/zio-aws/docs/aspects.html) that can be simply applied to any K8s client layer to attach custom logging/metrics functionality.


DRAFT: Constraint member types are refactored as standalone shapes.

Motivation and Context
Issue: https://github.com/awslabs/smithy-rs/issues/1969
Description
Testing
Checklist

This PR has "DRAFT" in its title but is not a draft PR. No need to put "DRAFT" in the title; you can mark a GitHub PR as a draft like this.


Upgrading the dependencies.

@farthinker, Please updatedependencies and publish a new version similar to ichord/simple-hotkeys.
cc: @mybeky

@ichord do you have access to merge this request.


Example Grafana Dashboards?

G'day folks,
Saw the talk at Open Source Mobile Network Technologies Conference and really keen to play with this.
I saw the demo Grafana dashboards you showed, are these available publicly anywhere?
Cheers,
Nick

Hi Nick,
sorry for the late response. Yes I just pushed them. We'd love to hear your thoughts!
Cheers
Johann


only install TF and newer protobuf if they're not already installed

also, format the function bodies while here.
This is in support of #1317

Coverage decreased (-0.01%) to 77.25% when pulling 2ff8c44b8c89cd1242860290e928eb5cf2bdb3b0 on crd477:issue1317 into 512b31d67809699dbac83206192bbf7e338d41d1 on cmu-db:master.


'undefined' on about page

https://hexo.io/about/

:)

Emmmm. That is quite strange.

Confirmed, it hides when on mobile :)
But on desktop:

I tried to run it on windows locally, but it fails. That is another issue.
Will try on WSL

Just to be sure that its not my machine: https://webpagetest.org/result/191111_7E_cb47f2dc9ba6fa56bc6e5a6d69742320/

Can someone with a linux / macos at hand try? @hexojs/core

@tomap I might have a look at this.

@tomap @SukkaW
This is a not platform dependent issue.
I creat PR #1216

@pavelloz
We fixed. Thank you for your report :)


Linux Too many open files

when i use in proxy mode, Linux amd64 standard,  http api add 8 paths of proxy .
os tells me many open files .

Which version are you using?
v0.17.9
Which operating system are you using?

[x] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
Description
Describe how to replicate the issue

start the server
publish with ...
read with ...

Did you attach a network dump?

yes / no

can you explain a proxy will consume how many open files about?

Woke up this morning to find cameras were not being proxied (to zoneminder and our CCTV monitor in the front room in our case). Only one single error in the logs marking the point it stopped working. Might be an issue with the latest version I have been running an older version with the same config for a long while without issue. I just upgraded to the latest version 128 hours
before. If it happens again I will try and capture more information. I panic restarted the service this morning before thinking about testing what response (if any) was being given on the RTSP port.
@lucien-kejl seems to be a TCP/network issue not literal filesystem files.
journalctl --since "128 hours ago" -u rtsp-simple-server.service Dec 17 00:57:46 heimdall systemd[1]: Stopping Simple RTSP Server... Dec 17 00:57:46 heimdall systemd[1]: Stopped Simple RTSP Server. Dec 17 00:57:46 heimdall systemd[1]: Started Simple RTSP Server. Dec 22 04:01:51 heimdall nice[29810]: 2021/12/22 04:01:51 ERR [RTSP] accept tcp [::]:8554: accept4: too many open files Dec 22 06:46:32 heimdall systemd[1]: Stopping Simple RTSP Server... Dec 22 06:46:32 heimdall systemd[1]: Stopped Simple RTSP Server. Dec 22 06:46:32 heimdall systemd[1]: Started Simple RTSP Server.
Would like to take this opportunity to thank the author(s) of this software. It saves my poor little server so much CPU compared to any solutions I had before.

Hello, the OS is responsible for limiting the number of opened file descriptors, the server can't do anything about it.
Please tune the OS to increase the maximum number of file descriptors, there are plenty of tutorials about it.

@mwvent  I think  it is the problem of TCP/network ,but I start the server, it will happen after some hours . Have you come across this problem again？Do you solve it ?

@mwvent I think it is the problem of TCP/network ,but I start the server, it will happen after some hours . Have you come across this problem again？Do you solve it ?

No have not had this issue since. Not made any changes either


Fix style issues and add EditorConfig file

Changes:

Fix indentation issues
Add EditorConfig file with rules for HTML, Python, reStructuredText, and Makefile

Besides adding the .editorconfig file, these changes only fix indentation.  See this diff that ignores whitespace changes.
I noticed the need for .editorconfig when editing the Makefile because my editor wanted to add a final newline which would make unnecessary git noise.
Disclosure: I am one of the creators of the EditorConfig project
(replaces #488)

Yeah. OK. I'm a fan. :-)
Now we need flake8 to enforce it...


Template validation ignores conditional deployment, complains about array-out-of-bounds

I am trying to conditionally deploy a block of resources based on an array in a parameter that has a default value of []. My resource condition is [not(empty(parameters('myArray'))]. I keep getting property array index out of bounds errors during validation, except that...the array is supposed to be empty and the entire block should be skipped.
Is the validator sophisticated enough to do this or do I have to concoct something?

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#312284

@aschechter88 , please let us know which article this is referring to.

@absheik Not sure what you mean. It's not a documentation gap. I think I was having trouble with template validation not recognizing a conditional statement over an empty array, and getting array index errors during validation. The validation engine was trying to tell me "hey you're running copyIndex() or something over a blank array, that's invalid" -- except that the block in question wouldn't ever run as long as the array was blank.

@aschechter88 could you provide more context? Azure service, etc.? This bug likely belongs to the service documentation or product; but we would like to not close it and aim to help in any way we can. Thank you

@aschechter88 closing until further info is available. Feel free to reopen / file a new issue with more details. Thank you.