AppStore.showManageSubscriptions() sync issue

Hi,
When using AppStore.showManageSubscriptions() to cancel or change subscriptions, I'm not getting any  subsequent Transaction updates and no change in the isPurchased() status regardless of what I do in the subscription sheet. Tested in Simulator with 16.1 and a local Product store configuration file. Any guidance would be appreciated.
Thanks.

I’ll take a look and see if I can replicate the issue and get back to you. On 3 Dec 2022, at 20:06, ashayk @.***> wrote:
Hi,
When using AppStore.showManageSubscriptions() to cancel or change subscriptions, I'm not getting any  subsequent Transaction updates and no change in the isPurchased() status regardless of what I do in the subscription sheet. Tested in Simulator with 16.1 and a local Product store configuration file. Any guidance would be appreciated.
Thanks.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

I can't reproduce the issues you're seeing. All seems to be as expected.
To test I used the simulator and the StoreHelperDemo project. Using Xcode 14.1 (14B47b) with the latest build of StoreHelper and the StoreHelperDemo project. Minimum deployment target set to iOS 16.0. Running on macOS Ventura 13.0.1. I set the renewal period to be 30 seconds and then I did the following:

Subscribed to the 'silver' product
StoreHelper correctly showed me as subscribed
Tapped on the subscription info button to display the subscription data
Tapped on the 'Manage Subscription' button and cancelled the subscription
After 30 seconds or so the StoreHelper correctly showed the subscription as cancelled
Subscribed to the 'silver' product again
StoreHelper correctly showed me as subscribed
Tapped on the subscription info button, then tapped 'Manage Subscription' and upgraded the subscription to 'gold'
StoreHelper correctly showed me as subscribed to the 'gold' product
Let the subscription auto-renew a couple of times
Everything as expected and the subscription correctly renewed
All the transactions displayed in the StoreKit Transactions window were exactly what I'd expect

So, everything appears to be correct.
One thing to note, Apple's documentation says that the SwiftUI .manageSubscriptionsSheet(isPresented:) doesn't work correctly in the StoreKit Testing environment. StoreHelper logs a warning to that affect. They say the same thing about the .refundRequestSheet(for:isPresented:) modifier. They always both seem to work OK for me. If you're still seeing the same thing, maybe you could try running in the sandbox environment with a real device?

Hi Russel,
Thanks for the very quick turnaround. I'm going to update XCode and try again. I've had a bit of strange behaviour, so it all might be related to that rather than StoreHelper. I'm encouraged that things are working well on your end, so I'll keep working to get it going.


Updated README and routes.py for REQ1

Updated README file with new attributes of products and new action routes
Updated routes.py with new JSON message stating notification to warehouse and shopping cart service is sent

Codecov Report

Merging #86 (722aa91) into main (0ae422e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #86   +/-   ##
=======================================
  Coverage   94.94%   94.94%
=======================================
  Files           6        6
  Lines         376      376
=======================================
  Hits          357      357
  Misses         19       19

Impacted Files
Coverage Δ

service/routes.py
95.07% <100.00%> (ø)

Continue to review full report at Codecov.

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


Widget icons

Issue #143:
https://github.com/bcgov/met-public/issues/143
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Please follow the description template and add some description


Need to specify Unix block end times explicitly

Same basic reasoning as for #2 and #3. For Unix block end times, we cannot just use the start of the next Unix block, as there is almost always an offset between the two. Irritatingly, the offset is not a neat number of Unix milliseconds but a neat number of often-slightly-shorter TAI milliseconds, which I suspect eventually yields the same 64-bit float but I won't know for sure until I've crunched the numbers...

I had some fun with arbitrary-precision calculators trying to figure out precisely where any given Unix block ends. The answers are:
1961-07-31 23:59:59.950000749999988750000168749997468750038
1962-01-01 00:00:00
1963-11-01 00:00:00.09999999870000001689999978030000285609996
1964-01-01 00:00:00
1964-04-01 00:00:00.099999998500000022499999662500005062499924
1964-09-01 00:00:00.099999998500000022499999662500005062499924
1965-01-01 00:00:00.099999998500000022499999662500005062499924
1965-03-01 00:00:00.099999998500000022499999662500005062499924
1965-07-01 00:00:00.099999998500000022499999662500005062499924
1965-09-01 00:00:00.099999998500000022499999662500005062499924
1966-01-01 00:00:00
1968-01-31 23:59:59.90000000299999991000000269999991900000243
1972-01-01 00:00:00.107757996767260096982197090534087283977381

Expressed as Unix millisecond counts, these are:
-265680000049.99999925000001124999983125000253124996
-252460800000
-194659199900.00000129999998310000021969999714390004
-189388800000
-181526399900.00000149999997750000033749999493750008
-168307199900.00000149999997750000033749999493750008
-157766399900.00000149999997750000033749999493750008
-152668799900.00000149999997750000033749999493750008
-142127999900.00000149999997750000033749999493750008
-136771199900.00000149999997750000033749999493750008
-126230400000
-60480000099.99999700000008999999730000008099999757
63072000107.757996767260096982197090534087283977381

The closest float to each of these numbers is:
-265680000050
-252460800000
-194659199900
-189388800000
-181526399900
-168307199900
-157766399900
-152668799900
-142127999900
-136771199900
-126230400000
-60480000100
63072000107.75799560546875

BUT what we actually want is the exact float or the next lowest float, which yields a different answer in several cases:
-265680000049.999969482421875
-252460800000
-194659199900
-189388800000
-181526399900
-168307199900
-157766399900
-152668799900
-142127999900
-136771199900
-126230400000
-60480000099.99999237060546875
63072000107.75800323486328125

We don't need to use all of those decimal places to uniquely identify those floats, so we can stop at:
-265680000049.99997
-252460800000
-194659199900
-189388800000
-181526399900
-168307199900
-157766399900
-152668799900
-142127999900
-136771199900
-126230400000
-60480000099.99999
63072000107.758


Belmont County, Ohio

I have the address points as a shapefile sent by their GIS manager. Waiting to hear back from him about license/redistribution.

This is the last missing county in Ohio, thank you!
Original discussion in: https://github.com/openaddresses/openaddresses/issues/2650.

Did you receive any license/redistribution info from them?

I just followed up with him today and will update when he gives an OK.


++HERE’S! WAY TO WATCH Tottenham Hotspur vs Chelsea LIVE STREAMS ON TV CHANNEL Reddit

𝐋𝐈𝐕𝐄𝐒𝐓𝐑𝐄𝐀𝐌*! 𝐖𝐀𝐓𝐂𝐇 Tottenham vs Chelsea 𝐋𝐢𝐯𝐞 𝐒𝐭𝐫𝐞𝐚𝐦𝐬 𝐅𝐫𝐞𝐞 𝐭𝐨 𝐖𝐚𝐭𝐜𝐡? 𝐒𝐭𝐫𝐞𝐚𝐦𝐢𝐧𝐠 𝐃𝐞𝐭𝐚𝐢𝐥𝐬 8 𝐃𝐄𝐂 𝟐𝟎𝟐𝟒
Tottenham vs Chelsea LIVE! Premier League match stream, latest team news, lineups, TV, prediction
London rivals meet in huge clash at the Tottenham Hotspur Stadium
Tottenham vs Chelsea LIVE!
Two London rivals in contrasting form meet in a huge Premier League clash at the Tottenham Hotspur Stadium. Spurs are in desperate search of a positive result after a poor run that led to Ange Postecoglou being abused by unhappy away fans after Thursday’s limp 1-0 defeat at Bournemouth. Chelsea on the other hand are flying under Enzo Maresca and can move to within four points of leaders Liverpool with a win after the Merseyside derby was postponed on Saturday.
Enzo Maresca continues to insist the Blues are not title contenders but victory at Spurs would only fuel belief about what they can achieve this season. Spurs kick off down in 11th place and all eyes will be on Postecoglou amid fresh questions over their progress
The corresponding fixture last season was one of the most chaotic games in Premier League history as Nicolas Jackson scored a hat-trick to help give Chelsea a 4-1 win against nine-man Spurs. Follow the game LIVE below with our dedicated match blog, featuring expert insight and analysis from Dan Kilpatrick and Malik Ouzia at the ground.
Tottenham v Chelsea latest
Kick-off 4.30pm GMT | Tottenham Hotspur Stadium
How to watch: Sky Sports
Tottenham team news
Chelsea team news
Prediction
Live updates
Tottenham vs Chelsea latest odds
Tottenham to win: 21/10
Draw: 29/10
Chelsea to win: 11/10
Tottenham vs Chelsea latest odds
Tottenham to win: 21/10
Draw: 29/10
Chelsea to win: 11/10
Odds via Betfair and subject to change.
Head to head history and results
Tottenham wins: 56
Draws: 42
Chelsea wins: 79
It’s difficult to know what to make of Spurs, who have tended to raise their level in the biggest games this season.
Still, Chelsea are looking the much more consistent.
Chelsea team news
Enzo Maresca has some big selection calls to make.
Maresca made a surprising seven changes for Wednesday’s trip to Southampton but watched his much-changed team emerge with a comfortable 5-1 victory.
That included a first Premier League start for goalkeeper Filip Jorgensen, who has impressed in the Conference League, but Maresca confirmed immediately that Robert Sanchez remains his first-choice and will start against Spurs.
Nicolas Jackson, Pedro Neto, Levi Colwill and Romeo Lavia are also expected to return to the side, but the big win at St Mary’s has given Maresca a nice headache.
The Blues will remain without defenders Reece James and Wesley Fofana because of hamstring problems, while Mykhailo Mudryk is still struggling with illness.
Tottenham team news
Tottenham hope Cristian Romero will be fit to return from injury.
Romero has not played for Spurs for a month and they desperately need him to return to action after Ben Davies was their latest defender to succumb to a hamstring injury in Thursday's defeat at Bournemouth.
If the Argentine does not feel able to play, teenager Archie Gray is likely to fill-in at centre-half alongside Radu Dragusin.
Micky van de Ven is getting closer to full fitness and working outdoors but is not expected to face the Blues.
Ange Postecoglou will again be without the suspended Rodrigo Bentancur, goalkeeper Guglielmo Vicario (ankle), forwards Richarlison, Wilson Odobert (both hamstring) and Mikey Moore, who continues to recover from an energy-sapping virus.


Add back [ChromeWebStore] rating

Replace chrome-web-store-item-property with webextension-store-meta.
fix #5475

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @crimx!

  Generated by :no_entry_sign: dangerJS against 24813c09802fc8fd89312de6b58427b173bb5fd6

Thanks for the contribution @crimx! Do you have a feel of how webextension-store-meta compares to chrome-web-store-item-property in terms of performance? HTML scrapping can be quite expensive, we need to more cautious when changing this specific family of badges.

You are right. Currently it's about 30 times slower. Let me see what I can do.

webextension-store-meta has been refactored with htmlparser2 and cheerio. Performance is now the same as chrome-web-store-item-property. Average 7.8ms per page.

webextension-store-meta has been refactored with htmlparser2 and cheerio. Performance is now the same as chrome-web-store-item-property. Average 7.8ms per page.

Thanks for looking into those numbers and updating the pull request!
One thing I noticed is that require('webextension-store-meta/lib/chrome-web-store') takes significantly longer to execute than require('chrome-web-store-item-property') when the server starts up. The cheerio dependency seems to be quite heavy. Here's the kind of flame graph I get when I start Shields locally:

The big red rectangle in the middle-bottom part of the graph corresponds to the Chrome badges, roughly 15% of total start up time of the entire Shields.io app, between 0.5 and 1 seconds. My Windows machine is quite old and is not necessarily representative of what the servers actually run on, so it may be useful for someone else to pull out some numbers.
If it's only this single family of badges and the hit is only at startup, it's not the end of the world in my personal opinion, but I thought I would point this out in case there are easy wins for you to look into. Other maintainers may also have stronger feelings about this, so I'll let them weigh in as well.

Thanks for the info. The cheerio does seem quite heavy. Let me see if I can get rid of it.

Other maintainers may have stronger feelings about this though, so I'll let them weigh in as well.

I think this goes without saying but worth repeating anyway, that we object to html scraping as an approach to get data for badges. As such in the abstract this feels like a step in the wrong direction. However, given that these were only recently deprecated and the other badges in the family use the same technique, I won't object provided the change isn't negatively impactful on our runtime.
Our runtime utilizes small, resource constrained nodes that can be scaled horizontally, so in addition to the execution time performance discussed above, I would also like to be able to have a reasonable degree of confidence that some feasible X number of these badge requests hitting a node wouldn't negatively impact the environment.

Cheerio and other redundant dependencies has been removed. I've also added lazy parsing and cache. Parsing speed is now down to 2ms per page.

Comparing to chrome-web-store-item-property:

Looks much better! Busy end of the week for me, so I'll aim at doing a more proper review during the weekend if another maintainer doesn't pick it up in the meantime. :)


added new endpoint for GCC government cloud orgs

Docs Build status updates of commit 52a03d5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

office-365-management-api/office-365-management-activity-api-reference.md
:bulb:Suggestion
View
Details

office-365-management-api/get-started-with-office-365-management-apis.md
:white_check_mark:Succeeded
View

office-365-management-api/troubleshooting-the-office-365-management-activity-api.md
:white_check_mark:Succeeded
View

office-365-management-api/office-365-management-activity-api-reference.md

Line 122, Column 0: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text. NOTE: This Suggestion will become a Warning in late September, 2020.
Line 205, Column 0: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text. NOTE: This Suggestion will become a Warning in late September, 2020.
Line 282, Column 0: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text. NOTE: This Suggestion will become a Warning in late September, 2020.
Line 498, Column 0: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text. NOTE: This Suggestion will become a Warning in late September, 2020.
Line 621, Column 0: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text. NOTE: This Suggestion will become a Warning in late September, 2020.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


adding definitions for GRPC.md, remove later

This PR is initial draft of GRPC communication.
Does not take into account Service account Mapping
Loosely/opaquely define the access control structures
ping @wlan0

Took feedback from @brahmaroutu and @rrati to push the changes directly to repo. This was done in the interest of time left before the KEP review.


E2E: Create dashboard access for reviewing tests results

Detailed Description
Create an on-demand and free dashboard solution like https://sorry-cypress.dev/ for reviewing tests results (demo).
Context
We want to be able to easily see the results of E2E test runs and get some analysis into test runs.
Some clouds configurations guides are already provided, including an Helm chart to be used within a DO instance of Rancher and hosted in a volume.

Currently the Volume on DO has already been created and set to a minimum size to reduce the costs to a matter of cents.
https://cloud.digitalocean.com/volumes?i=f45bb6
It is possible to detach from the current cluster and moved to a team-sized one later on.

Through the guidance of @catherineluse , we have been able to install the Helm chart on my DO hosted instance of Rancher with the commands
helm repo add sorry-cypress https://sorry-cypress.github.io/charts
helm install sorry-cypress-rancher sorry-cypress/sorry-cypress

We have then copied the KubeConfig locally and got the nodes
kubectl get nodes --kubeconfig <MY_PWD>/kube-config-sorry-cypress

Then finally port forwarded
 kubectl port-forward service/sorry-cypress-rancher-dashboard 8080:8080 --kubeconfig <MY_PWD>/kube-config-sorry-cypress

In this way we were able to access to the dashboard service, but not to have the API running as they do with Docker.

Note on the helm chart: It won't provide persistence by default.

By default, the chart deploys everything to Kubernetes (as you’d expect), but there’s no persistence
...
By default, the director uses the in-memory executionDriver, and the dummy screenshotsDriver. However, You can choose to enable a persistent mongo database for execution, and you can use S3 for screenshots.

We would also need MongoDB and S3 set up.

Also, the Helm chart says it is designed to work with Kubernetes 1.16 to 1.20.
Rancher doesn't support such old Kubernetes versions anymore.

It seems possible to host it directly to a Rancher cluster by just running the Docker command: http://<IP_ADDRESS>:8080/
I am facing a CORS issue, not sure why.

It seems like the CORS issue is extended to any type of deployment and it may be or a misconfiguration or a bug released on master.


Controll about what is installed into binary wheel

Currently "pip wheel -w dist ." installs also all headers and static libraries into the binary wheel for my project.
This is unnecessary and also lets the builds fail on windows ('installing libraries (in my case a pkg-config file) is only supported in POSIX so far').
Is it possibly to control this behavior?
In "meson install" I can control what is install using tags e.g. meson install --tags python-runtime.
Maybe supporting this option would be a solution?
If you share your thoughts on this and give me some directions I'd be willing to work on such a feature.
Thanks for this great Project!
Peter

@peter-urban thanks, this is interesting. Is your project public? Would be nice to see it. Otherwise, could you expand on how your meson.build files look like for the feature that's triggering this check, and why you don't need it installed?

Is it possibly to control this behavior?

IIUC, not right now. But it sounds like it should be possible.

@rgommers: thx for your response
The project is public here: https://github.com/themachinethatgoesping/themachinethatgoesping
It is very new, we are currently building up it's infrastructure.
The relevant meson.build are within this subproject: https://github.com/themachinethatgoesping/tools
I simply marked the targets I want to be installed in my python environment using mesons "install_tag : 'python-runtime'"
Admittedly I am new python packaging. So it is possible that I misunderstand some of the concepts.
But to me it seems unnecessary clutter to install c++ headers and static libraries within a wheel that contains a build c++ binary module that works without these files?
Otherwise my request is triggered by a current practical problem:
Mesonpy fails with 'Bundling libraries in wheel is currently only supported in POSIX!' if it tries to copy e.g. a librarie's pkg-config file into the wheel on windows or mac.

Hi @peter-urban, thank you for raising this issue. I think this use-case could be meet by allowing users to specify Meson options, which is something we do want to do, but the design and UX around such settings is complex and so, I haven't got around to settling on a design.

Admittedly I am new python packaging. So it is possible that I misunderstand some of the concepts.
But to me it seems unnecessary clutter to install c++ headers and static libraries within a wheel that contains a build c++ binary module that works without these files.

So this is the meson.build file that contains things you don't want in your wheel: https://github.com/themachinethatgoesping/tools/blob/a11c2b18274386919c5d00c95458b40df0c2b974/src/tools/meson.build
One question I have is: why is that stuff there inside your top-level Python project, and why do you want it installed when you invoke meson directly but not installed when you do pip install .? The structure is a little unusual.

So this is the meson.build file that contains things you don't want in your wheel: https://github.com/themachinethatgoesping/tools/blob/a11c2b18274386919c5d00c95458b40df0c2b974/src/tools/meson.build
Yes, but I need to correct the file. I understood now that the install tags ('devel' for static libraries 'runtime' for shared libraries) are already implicitly set by meson (https://mesonbuild.com/Installing.html#installation-tags)

The c++ library (src/tools) (which can be used independent of the python components) and the pybind11 module interface (src/tools_pymodule) in the same meson project. You can even deactivate all python related stuff using the build_pythonmodule option.
I like the idea that you can configure what you want to install using mesons install tags. E.g. meson install --tags runtime,python-runtime for a python module without dev headers.
Or meson install --tags runtime,devel for a dev build that allows to use the library within a c++ project

The structure is a little unusual.
I am experimenting with the build structure and I am open to advice actually. But that is probably off-topic for this issue. :-)

Yes, but I need to correct the file. I understood now that the install tags ('devel' for static libraries 'runtime' for shared libraries) are already implicitly set by meson (https://mesonbuild.com/Installing.html#installation-tags)

Ah, that's fairly new, interesting. Had not seen that yet. For static_library the default is already install: false (see https://mesonbuild.com/Reference-manual_functions.html#arguments45), so if it's explicitly set to true then I think it is reasonable for python-meson to try to install it by default (and hence, install all tags). And then provide an interface to select tags for further per-package customization (as part of a generic "pass options to meson"), as mentioned by @FFY00 above.

That sounds like very reasonable behavior.
Thanks for your responses. I'll just until mesonpy has the possibility to pass through option.
If there is something I can do, let me know

Hi @FFY00,
if I understand correctly this PR (from you) may solve my problem:  #https://github.com/mesonbuild/meson-python/pull/167
However, I don't yet understand how to apply it.
Is it now possible to tell meson-python to set the "--tags python-runtime" option for "meson install" command in the pyproject.toml? And if so, could you show how? :-)
Best,
Peter

Ok, I figured out my previous question. Unfortunately this does not yet solve the problem
Since meson-python 0.11  ( PR: https://github.com/mesonbuild/meson-python/pull/167 ) it is possible to pass custom build options to meson.
It is thus now possible pass tags to meson install: https://mesonbuild.com/Installing.html#installation-tags
The following section in the pyproject.toml will pass "--tags python_runtime,runtime" to the meson install command:
[tool.meson-python.args]
dist = []
setup = []
compile = []
install = ['--tags=runtime,python-runtime']

This causes meson-python call meson install --tags runtime,python-runtime which only installs targets that are tagged with 'runtime' or 'python-runtime'
So far so good. Unfortunately, meson-python 0.11 does not only copy the files that are installed by the 'meson install' command.
Rather, it scans through the 'meson-info/into-install_plan.json' and copies all files that can be found within this file. It does thereby not react on the target tag that is also specified within this file
I currently see two possible solutions:

The logic of meson-python could be changed to only copy the files installed with 'meson install'
The _install_plan function/property could be changed to filter the install_plan by user specified install-tags

@FFY00: In my fork I implemented the second solution. Does it make sense to create a pull request for this, or do you prefer a different solution anyways?

Does it make sense to add a new tag to add other files as well?

Is this completely addressed now that gh-288 is merged? If so, do we need some docs?


TLS error - include certificates?

Hello all.
Our team is going to take advantage hyperledger Aries technology and create a voting system. At the moment we are trying to create a POC in order to proceed.
We have setup an Aries-go rest api agent (Bob). Bob is the only source to create invitation links. (Alice) is the react native agent that is going to accept the invitation.
We have stucked 2 weeks now trying to understand  why we can’t connect with Alice agent to Bob agent and accept the invitation. Bob always logs a TLS error.
Is there a way to sign certificate from the react native agent side?
Is there a possibility that react native js http protocols and Aries go rest api agent protocols cant communicate due to http algorithmic differences with go and js?
Does anyone have a sample code or a simple demo using react native agent with a simple go agent ?
Thank you very much

It could be a difference over what TLS encryption cyphers are used. React Native leverage the under OS network system, so it is whatever Android supports. We use https connections including secure websocket and have not had any issue.


Remove Prometheus commented out code that does not work

As discussed this morning and logged in https://github.com/dotnet/aspire/issues/4092, removing Prometheus commented out code from the templates given it doesn't currently worked becase of https://github.com/open-telemetry/opentelemetry-dotnet-contrib/issues/1617
There are still some of these lines in the playground and test aspire projects in the repo, but limiting the changes here to only the templates.
cc: @DamianEdwards, @samsp-msft
Microsoft Reviewers: Open in CodeFlow

We need an fwlink

Is that something that @samsp-msft was working on?
My suggestion here is to get this in to try to start getting the build ready and the insertion PR, and then if we can get the fwlink to point to where we want to we merge that in and update the insertion, thoughts?
Or the other alternative, I can add a fwlink here that points to nothing right now, and we fix that later.

RE fwlink, can we use an aka.ms link instead? They're much nicer to look at.

Added a comment to the top with an aka.ms link. That currently points to the service-defaults topic. We can now grow that help content and move the link destination if applicable.

Are folks happy with this, is this ready to go? @DamianEdwards @davidfowl

I thought we were adding an aka.ms link about how to add prometheus...

Merging to prepare the insertion. All changes are in commented out lines.


Clipy is crashing on ElCapitan (Hackintosh)

The app (latest version) is crashing the whole computer after a day of fine work, which is about after running for 4-5 hours. My history size is set to 30 items in preferences.
I've reduced it down to 20 and see if it helps.
thanks
Viktor

It helped for a few days, but started again. Tried to uninstall Clipy and install ClipMenu, but the problem persisted. Then it turned out the reason was a different application. Closing issue.


Design ERD [1pt]

Here is a plausible ERD for this project

Great Job implementing the ERD diagram.
Happy coding


Reset command

Summary
Productionize resetting the database. A 'reset' deletes all accounting and derived data while retaining original block_header and txn data (faster than re-loading block by block from the archival algod). When Indexer is again started as a daemon it would re-calculate all accounting from round 0 up to the latest block.
Test Plan
Tested this manually working with the toy 50-round dataset.

replaced by #455


Bundler 2 is already installed, still getting "You must use Bundler 2 or greater with this lockfile" error

After installing Bundler following the steps from this page, I cannot seem to run a test in rails.
The Gemfile.lock states at the bottom:
BUNDLED WITH
   2.0.1

Bundler Version:
$ bundler -v
Bundler version 2.0.1

Rails Test failing even though Bundler 2 is installed
$ bundle exec bin/rails test test/lib/my_rails_test_test.rb
You must use Bundler 2 or greater with this lockfile.

I have tried uninstalling and reinstalling Bundler:
$ gem uninstall bundler && gem install bundler
Successfully uninstalled bundler-2.0.1
Fetching bundler-2.0.1.gem
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Installing ri documentation for bundler-2.0.1
Done installing documentation for bundler after 5 seconds
1 gem installed

Ruby version:
$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin15]

I'm really not sure what seems to be the issue here, or why it's failing. Any help appreciated.

I am seeing a similar issue as well, if I delete Gemfile.lock and run bundle again, it says
BUNDLED WITH
   1.16.0

Which is my old version of bundler

I have the same issue when using Rails and bin/* scripts in app.
Using bundler 2.0.1 with "2.0" mode on Rails 5.2.2 on Ruby 2.6.1

Hello! I tried reproducing this with a fresh Rails app and could, can someone provide reproduction steps? Thanks!

Reproduced now! Thanks! I'll look into it!

Generating a bundler binstub with bundle binstubs bundler fixes the problem. @segiddins @indirect Is this expected?
If it is, I think we need to at least generate a bundler binstub together with any other binstub if it doesn't exist? :thinking:. And in any case, we should probably downgrade this error to a warning for now?

Yup, I had the same problem when using bin/webpack-dev-server provided by webpacker.

I don't think this is limited to a binstub issue, in an empty directory with no non-default gems installed:
❯ ruby --version
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin18]
❯ gem list
*** LOCAL GEMS ***

bigdecimal (default: 1.4.1)
bundler (default: 1.17.2)
....
❯ gem install bundler
Fetching bundler-2.0.1.gem
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Installing ri documentation for bundler-2.0.1
Done installing documentation for bundler after 2 seconds
1 gem installed
❯ gem list
*** LOCAL GEMS ***

bigdecimal (default: 1.4.1)
bundler (2.0.1, default: 1.17.2)
...
❯ ruby -rbundler -e 'puts Bundler::VERSION'
2.0.1
❯ ruby -rbundler/setup -e 'puts Bundler::VERSION'
1.17.2

Why is bundler/setup switching versions?
Adding a gemfile:
❯ echo "source 'https://rubygems.org'" > Gemfile
❯ bundle install
The Gemfile specifies no dependencies
Resolving dependencies...
Bundle complete! 0 Gemfile dependencies, 1 gem now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
❯ cat Gemfile.lock
GEM
  remote: https://rubygems.org/
  specs:

PLATFORMS
  ruby

DEPENDENCIES

BUNDLED WITH
   2.0.1
 ❯ ruby -rbundler -e 'puts Bundler::VERSION'
2.0.1
❯ ruby -rbundler/setup -e 'puts Bundler::VERSION'                                                                                You must use Bundler 2 or greater with this lockfile.

Did something change about how bundler/setup is supposed to be used?

Strangely, requiring bundler before bundler/setup works correctly:
❯ ruby -r bundler -r bundler/setup -e 'puts Bundler::VERSION'
2.0.1

Thanks for your investigations, I'll have another look tomorrow!

So, an update at least for my purpose, which doesn't actually solve the problem, but solved it for me.
Steps I took, in exact order:

Uninstall bundler
Uninstall ruby using rbenv
Uninstall rbenv (so, essentially, going bac to MacOS's base installed Ruby. 2.3.x
Re-install rbenv
Re-install ruby 2.4.1 using rbenv
Re-install bundler
bundle install

This seems like a wonky issue so I'm unsure how to open a PR but here is what I believe the issue / fix is:
Rubygems keeps a map of files from default gems and detects them to allow overriding with a normal gem, see: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/core_ext/kernel_require.rb#L39 and
https://github.com/rubygems/rubygems/blob/master/lib/rubygems.rb#L1240
This map is built from the files entry in the gemspec, and bundler is missing an entry for bundler/setup. In 1.17.2 it look likes this: s.files = ["bundler.rb".freeze, "exe/bundle".freeze, "exe/bundler".freeze] adding bundler/setup to the list locally resolves this issue but an actual fix for this, at least as I understand it, means updating the spec file that is shipped with Ruby so likely requires a 1.17.x bundler release that would need to be included in a Ruby 2.6.x release.
In the shorter term this may break a lot of stuff but at least the workaround is rather simple in that you just need to add require 'bundler' prior to require 'bundler/setup'.

Thanks so much @mbell697, your diagnosis is perfect! I making some checks now to try figure out the best way to fix this :+1:.

Just some heads up here. I have confirmed this is not a bundler nor a rubygems issue, but a ruby-core issue. Issue is fixed on master. I'll now run a bisection to find the culprit and request a backport.

Looks like it was fixed here: https://bugs.ruby-lang.org/issues/15582

@deivid-rodriguez for those who are not on ruby 2.6.x, what would be the workaround aside from what I already did?

@deivid-rodriguez based on your comment from #6948, 2.6.0 doesn't have this issue but 2.6.1 does?

Yes, that's what I observed on fresh rbenv installations of both versions. I don't know the reason though since the fix for this issue present in ruby-core's 2-6-stable reverts some installer changes made way before 2.6.0, and I didn't notice any relevant changes between 2.6.0 and 2.6.1. Maybe @hsbt has more insights.

@stuartweir I don't think yours is the same issue because 2.6.0 is the first version to include bundler as a default gem... :thinking:. I'll try to repro yours again using 2.4.1.

Note that this issue doesn't only affect bundler but all default gems, apparently. At least it also affects the etc gem, something I discovered in #6948.
I put together a small ruby script to sanitize an installation by reinstalling all default gems:
# frozen_string_literal: true

require "open3"

out, status = Open3.capture2e("gem list | grep default:")

abort "ERROR: #{out}" unless status.success?

out.split("\n").each do |line|
  gem_name, gem_version = line.match(/^(?<gem_name>[[:graph:]]+) \(.*default: (?<gem_version>[0-9\.]+)/).captures

  print "Reinstalling #{gem_name}:#{gem_version} as a default gem... "

  out, status = Open3.capture2e("gem install #{gem_name}:#{gem_version} --default")

  if status.success?
    puts "OK"
  else
    puts out
  end
end

It currently fails for the tracer and prime, which I reported to the tracer repo.

Until Ruby 2.6.2 has been posted, the workaround seems to address this problem for now. Closing.

Just noting down that my suggested fix in https://github.com/bundler/bundler/issues/6937#issuecomment-461764678 is likely to cause problems because of https://github.com/rubygems/rubygems/issues/2646, so we should cut a release of rubygems with the fix for that, and then recommend both workarounds, gem update --system first, and then reinstallations of any affected gems other than bundler with the updated rubygems client.

Just a word of caution about my recommendation here: https://github.com/bundler/bundler/issues/6937#issuecomment-461764678.
I discovered that gem install --default currently has issues, like installing wrong executables. So until the fix for this is released, the best workaround is gem update --system.


cmp.Diff: want to compare unexport structs like reflect.DeepEqual

Currently, cmp.Diff cannot compare unexport structs.
Here is what we would like to do.
tree
.
├── sample
│   └── impl
└── use_sample

sample/impl/impl.go
type impl struct {
  id string
}

func NewImpl(id string) use_sample.Sample {
  return &impl{id: id}
}

func (i *impl) ID() string {
  return  i.id
}

use_sample/sample.go
type Sample interface {
  ID() string
}

use_sample/sample_test.go
var sampleA Sample = impl.NewImpl("sampleA")
var sampleB Sample = impl.NewImpl("sampleB")

if diff := cmp.Diff(sampleA, sampleB); diff != "" {
  t.Errorf("mismatch (-want +got):\n%s", diff)
}

But if we EXPORT, we can compare.
sample/impl/impl.go
type Impl struct {
  id string
}

use_sample/sample_test.go
var sampleA Sample = impl.NewImpl("sampleA")
var sampleB Sample = impl.NewImpl("sampleB")

opts := cmp.AllowUnexported(impl.Impl{})
if diff := cmp.Diff(sampleA, sampleB, opts); diff != "" {
  t.Errorf("mismatch (-want +got):\n%s", diff)
}

Is there a way to compare while keeping it private like reflect.DeepEqual?

I apologize for the delay, but if you want to have a blanket option to always allow unexported fields, you can do:
cmp.Exporter(func(reflect.Type) bool { return true })

This specify that every type may have its fields be exported.


Suggestion: elementAtOrNull should return null if the index is negative

T? elementAtOrNull(int index) {
- RangeError.checkNotNegative(index, "index");
+ if (index < 0) return null;
  if (this is EfficientLengthIterable) {
    if (index >= length) return null;
    return elementAt(index);
  }
  var iterator = this.iterator;
  do {
    if (!iterator.moveNext()) return null;
  } while (--index >= 0);
  return iterator.current;
}

This would enable some really nice-looking code:
for (final (i, child) in widget.children.indexed) {
  if (children.elementAtOrNull(i + 1)?.key case final nextKey?) {
    // works!
  }

  if (children.elementAtOrNull(i - 1)?.key case final prevKey?) {
    // it'd be great if this worked too!
  }
}

It will also enable mistakes to be silently ignored.
The reason elementAtOrNull doesn't throw for positive numbers is that while there is no element at that position, it's not something the caller can be expected to know without first checking the length of the iterable, which is too expensive to expect them to do.
The reason it throws for negative numbers is that there is never an element with that number, and the caller it's expected to know that.
The .elementAtOrNull(n) is basically equivalent to .skip(n).firstOrNull, which also throws for negative ns.
And rather than this code, just do
`for (var i = 0; i < widget.children.length; i++) {
var child = widget.children[i];
}

The reason elementAtOrNull doesn't throw for positive numbers is that while there is no element at that position, it's not something the caller can be expected to know without first checking the length of the iterable, which is too expensive to expect them to do.

Yeah, that makes a lot of sense—it'd be a waste of resources to iterate through the whole thing if you're just looking for index 2 or something.

I almost always work with EfficientLengthIterables, so every time I use .elementAtOrNull(), it's for readability rather than efficiency.
 Using [] instead of elementAtOrNull makes the original example a bit more verbose. (click to expand)
for (var i = 0; i < widget.children.length; i++) {
  var child = widget.children[i];

  var nextKey = (i + 1 >= widget.children.length) ? null : widget.children[i + 1].key;
  if (nextKey != null) {
    // ...
  }

  var prevKey = (i - 1 < 0) ? null : widget.children[i - 1].key;
  if (prevKey != null) {
    // ...
  }
}

There's a real-world example of this in analyze_snippet_code.dart.
// using []
if ((lineNumber - delta > 0) && (lineNumber - delta <= snippet.code.length) && !snippet.code[lineNumber - delta - 1].generated) {
  actualSource = snippet.code[lineNumber - delta - 1];
  actualLine = actualSource.line;
  break;
}
if ((lineNumber + delta < snippet.code.length) && (lineNumber + delta >= 0) && !snippet.code[lineNumber + delta].generated) {
  actualSource = snippet.code[lineNumber + delta];
  actualLine = actualSource.line;
  break;
}

// using elementAtOrNull
if (snippet.code.elementAtOrNull(lineNumber - delta - 1) case var source? when !source.generated) {
  actualSource = source;
  actualLine = source.line;
  break;
}
if (snippet.code.elementAtOrNull(lineNumber + delta) case var source? when !source.generated) {
  actualSource = source;
  actualLine = source.line;
  break;
}

In my opinion, accepting a negative index without throwing an error opens up valuable use cases for the method with very little downside. Now that we have control flow collections, I've noticed the amount of non-EfficientLengthIterables go down significantly, but perhaps they're still common in other places.

That's an impressive number of run-on conditions, so I can see why it's useful to have a single function doing the range testing and element lookup, but you can do that with a simple helper function too:
T? tryElement<T extends Object>(List<T> elements, int index) {
  if (index >= 0 && index < elements.length) return elements[index];
  return null;
}

if (tryElement(snippet.code, lineNumber - delta - 1) case var source? when !source.generated) {
  ...
}
...

That works for you when you know elements.length is efficient, and probably elementAt too. (If elementAt is not efficient, it's not that great to do elementAt in each condition, only to maybe throw the result away again if it's .generated. It may be more efficient to iterate once from zero and see which of lineNumber - delta - 1 or lineNumber + delta you hit, if any. And if you know it's a list, just use it as a list.)
I know it's annoying to have a method that almost solves your use-case, but it wasn't designed for your use-case, so that it works so well is mostly accidental. It's not a good enough reason to change it.


DB changes are lost when Reload JS

Hello!
Great module!
I have a problem when using it on android though.
When I am on debug mode, every time I hit the "Reload JS" option, all the changes that I may have done to the SQLite database are lost. The packager seems to replace the database file in the www folder with the original copy of it.
This is a pain since when you are debugging you want to make changes to the DB and it is quite normal you may want those changes to be preserved on future runs.
Is there a way to prevent this?
Please note that the "close" method is NOT being called in my case. I normally select "Reload JS" at different points of the execution of my app.

I think the packager is doing what it is supposed to do. But the plugin should only copy over the prepopulated db if the target db does not already exist. If it has been already created it will no longer do anything with the db file from www.

Thanks for the clarification.
It is just that sometimes you need to make modifications to the DB on debug mode, make changes to the code and reload the package wishing the data you just manipulated would still be there in order to carry on with further steps.
But well, I can also understand what the packager does and why. Sometimes is not convenient but it is the right behavior.
Thanks for your answer! And again, great module.

i would have thought the db and data your write to it is there between reloads. I tried this with my test sample and clearly the sample data does not get deleted. The only way that data would disappear is if the database got deleted...

Hmmmm... that's strange... Are you testing that on an Android device? I am not using an emulator, and I am running react native 0.24.1.
In my case, whenever I reload the JS package, the database goes back to its original state (the original file on the www folder).
Then again, I am NOT closing the DB, just hitting "Reload JS" after a few INSERTS. I can see the new rows are there, but as soon as I reload the JS, those rows are gone.

is your database name the same each time you reload ? Can you attach  code sample where you open the database?

Yes of course.
I have a class that is in charge of the DB manipulation. That class has the following async method to open the database:
var dbm = require('react-native-sqlite-storage');
class DB {
  ...
  async $db_init() {
    var sql;
    try {
      dbm.DEBUG(false);
      dbm.enablePromise(true);
      sql = await dbm.openDatabase({name:'data.sqlite', createFromLocation:1});
      // ... from here I have code that inserts several rows and then the DB is queried to check that those rows have been properly inserted
    } catch(e) {
      console.log('ERROR [$db_init]: '+(typeof e==='string' ? e : e.stack));
    }
  }
}

There are couple of log stmts I am interested in...can you attach them as you see them locally

Copied prepopulated DB content to:
Open sqlite db:

Do you see same exact values logged for these statements when you do Reload ?

I will try to send you more info in a couple of hours since I gotta go now.
But this is worse than I thought initially:
If -instead of forcing a JS reload- I start the app, populate the DB with some records, check that those records are there, exit the app, start the app again, and check if the records are still there.... I can see the DB is actually empty.
I will investigate this further in a couple of hours.
Thanks for you fast response!

Hello.
Good news! The module is perfectly fine!
As it is normally the case, the dumb programmer is to blame.
I forgot to delete some testing code that deleted all records from most of the tables.
After I got rid of that piece of code I tested if database changes would preserve and you can bet they do:

When reloading the JS at any point of the app execution, changes are kept.
When closing the app without closing the DB, changes are kept.
And of course if you do the proper housekeeping and close the DB before exiting the app, DB changes are kept.

So you can close this issue and accept my apologies for wasting your time.


Automated cherry pick of #12268: fix(host): disable usb-kbd for windows 10

Cherry pick of #12268 on release/3.7.
#12268: fix(host): disable usb-kbd for windows 10

/lgtm

/approve


[REQ] Implement/Expose selection properties and methods

Would be very useful to implement/expose the selection properties and methods.

Duplicate of #214


More info on how to use this is needed

Hi, I just found your module and I'm very excited to use it. Can you please update the README for this? I'd very much like to use this but without knowing much about your call outs for things, it's nearly impossible.

I'm very excited to use it too.But I don't know use it to designe

Same here. My task is to read through all features and components inside a part and serialize it into a console. how can I achieve it ?

I know I am little bit late. You can read Solidworks API for your current version and check code in swtoolkit to find 1:1 mapping for that method, if that method is not available usually you can access COM object throught _instance and/or system_object of that particular class and call methods directly.
The problem starts when you need to use out arguments, but that can be figured out. Ask more if you have difficulty.

thanks mate! never late.

On 13 Jun 2024, at 3:21 AM, Jakub Janek @.***> wrote:
I know I am little bit late. You can read Solidworks API https://help.solidworks.com/2024/english/api/sldworksapi/SolidWorks.Interop.sldworks~SolidWorks.Interop.sldworks.ISldWorks.html for your current version and check code in swtoolkit to find 1:1 mapping for that method, if that method is not available usually you can access COM object throught _instance and/or system_object of that particular class and call methods directly.
The problem starts when you need to use out arguments, but that can be figured out. Ask more if you have difficulty.
—
Reply to this email directly, view it on GitHub https://github.com/Glutenberg/swtoolkit/issues/2#issuecomment-2165101156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2UEVJV4CFGLPDRITU7CMLZHFQAZAVCNFSM6AAAAABJH7OPNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRVGEYDCMJVGY.
You are receiving this because you commented.


Nested collection items do not use the correct parent index

Hey, the recent changes helped with my use of count() on a nested collection, but when using an index to get an item in a nested collection, it’s always scoped to the first item of the parent collection.
Thanks so much for your work on this, I really like how it’s improving my tests.

Good catch! I think this is the same issue than #73. I'll take a look at it.
Thanks for the test and the report!

Thanks for your contribution. See v0.8.3
Release notes: https://github.com/san650/ember-cli-page-object/releases/tag/v0.8.3
Npm: https://www.npmjs.com/package/ember-cli-page-object

Excellent, fixed again, thanks!


Support for amplify override function

Is this feature request related to a new or existing Amplify category?
function
Is this related to another service?
No response
Describe the feature you'd like to request
It would be great to have support for amplify override function, this would allow to extend functions as the configurations available at the moment are pretty limited.
I know it's possible to manually configure the function's settings as described in this guide from the docs, but manually editing a Cfn template is far from ideal.
Allowing this type of override would allow to configure settings like timeout, active tracing, and memory allocation - which has an direct impact on cost; as well as newer things like function urls.
Additionally, and especially for X-Ray Active tracing, this could/should be part of the advanced settings flow. Tracing is much more important in production than other things that are available today (i.e. invoking a function on schedule).
Describe the solution you'd like
amplify override function
Additionally, only for X-Ray tracing, have this value as advanced setting.
Describe alternatives you've considered
Manually updating the CloudFormation template, which is messy and overly complex for content creation / enablement scenarios.
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[ ] ⚠ This feature might incur a breaking change

Is there any progress on this?

We would like this to be able to easily add Lambda functions to VPCs, without having to modify the CloudFormation.

Bump

Bump


Bump version numbers for 0.22.0rc1

Summary
Details and comments

Isn't this a duplicate of: https://github.com/Qiskit/qiskit-terra/pull/8798

Oh whoops, yeah - I missed we already had that, with it not being in the milestone.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 84.689%

Files with Coverage Reduction
New Missed Lines
%

src/optimize_1q_gates.rs
2
93.55%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
61672

Relevant Lines:
72822

💛  - Coveralls


Integration with Google Docs

What is the best way to build an agent that can read from Google docs and perform inference based on it (and an input)? I see there are a lot of Search functionality, but it seems to be general search (versus search over a particular source).

Good q! Do you know if there’s a good google docs api? If there’s one of those, should be pretty easy to hook up to langchain

This is the standard one: https://github.com/googleapis/google-api-python-client
Usage example: https://developers.google.com/docs/api/samples/extract-text#python


Segfault when calling zsv help select

Also get a segfault when calling zsv help echo.
Running .3.5 on 22.04 Ubuntu

Reproduced

Thank you for reporting this issue. It should be fixed with pull #119-- pls further comment if the issue persists

Actually, not quite fixed for zsv help count

Thank you for the quick fix. I'll let you know if I have further issues. Aside from zsv help count which you already found.

S/b complete now #120

Thank you!


When referencing DaemonSets, link to our docs on the topic

Rather than the less-specific upstream Kubernetes docs.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f21c8d0c077e22e68d7b06522986085e2ec9a069/


Results from paper

I am unable to get the results on the human3.6m dataset as published in the paper. Im getting 55.1584 MPJPE and 39.2701 PA-MPJPE on models/metro_release/metro_h36m_state_dict.bin
I am loading the model in the same way as in metro/tools/end2end_inference_bodymesh.py and metro/tools/run_metro_bodymesh.py. Is that not the optimal way?
Other than that I am taking tight crops around the ground truth 2d keypoints (with a 1.2x margin) and normalizing.

I am loading the model into another project where I am using my own dataloader etc. I am assuming I am just having a problem with the disconnect.


SvelteKit local development with CLI is not loading CSS

Describe the bug
When running ntl dev locally in a SvelteKit application, the CSS bundle 404s and does not apply any CSS to the application. (See screenshot)

Steps to reproduce

Have a SvelteKit app locally or create a new sveltekit app npm create svelte and follow prompts to install deps.
a. Choose demo app from CLI if creating a new app to see CSS applied
Run ntl dev, port should open to localhost://8888, but no CSS is applied.

Configuration
[build]
  command = "vite build"
  functions = "netlify/functions"
  publish = "build"

Environment
  System:
    OS: Linux 5.10 Ubuntu 20.04 LTS (Focal Fossa)
    CPU: (16) x64 Intel(R) Core(TM) i7-10700KF CPU @ 3.80GHz
    Memory: 12.97 GB / 15.57 GB
    Container: Yes
    Shell: 5.0.16 - /bin/bash
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
  npmGlobalPackages:
    netlify-cli: 11.8.2

After deleting these two folders, npm run build, ntl dev is back to work.

.netlify
.svelte-kit


initialValue

How I can set initialValue???

Sorry, not sure what you mean. Do you mean perhaps suggestions?


Realtime data plotting support

Requesting feature to support realtime data plot
Plot the stream of data coming from sources like sensors (via BLE communication) , etc.,
X-Axis visible range(MaxCount) can be customizable and once it reaches the Max count, element in 0th index can be sliced/removed and further incoming stream data can be added to FIFO.

I am using ChangeNotifierProvider as a bridge to do realtime data plotting.
The BLE Service parses the message and adds the data to a Hive box.
My hive service itself is a change notifier, will rebuild listeners everytime data is added to the box. Likewise it also has a method that returns a List of FlSpots in my case.
My FLChart Widget has a controller that manages the value of the axes and other stuff regarding it.
In the screen where I'm displaying the chart, I have Consumer2 providing the FlChart widget with the controller and the data from the hive service.

So this is one way of doing it.. probably not optimal. But it works.

Hi. I made a real-time sample.
Check it out:
Sample 10 (Source Code)

Hi. I made a real-time sample. Check it out:
Sample 10 (Source Code)

@imaNNeoFighT Hey there, I tried to go to the source code link and it says not found. I could really use this in my project. Would you be able to repost the code. PS. Sent you 5 coffees on the donation site ☕

I found the link, it is now here https://github.com/imaNNeoFighT/fl_chart/blob/master/example/lib/line_chart/samples/line_chart_sample10.dart


Interesting distribution for all_NA variable?

{'name': 'all_NA', 'description': None, 'type': 'string', 'dtype': 'Utf8', 'prop_missing': 1.0, 'distribution': '\\d{3,4}'}

is that because it's the default_distribution?

Yes, I suppose so. It could be nice to have a dedicated NA distribution to make it more logical.


A few questions about running the project via Colab and 2D to 3D.

Hello, first of all, thank you in advance for your answers.
I did not run the project with the codes you gave over colab. I think there are a few library errors? Should I do something extra for them? I am trying to run it on colab pro in a standard way. Even the demo did not work for now, I wonder if it has been tried recently.
My goal is to create a 3D object from a 2D image. With this algorithm, for example, I have many book objects and corresponding 2D images. When I do a training with these and send a 2D book image, can I create the 3D book object properly? Is the logic like this?

i got error
stage 1
%run main.py --config configs/image.yaml input=data/{IMAGE_PROCESSED} save_path={NAME} elevation={Elevation} force_cuda_rast=True mesh_format=glb
# stage 2
%run main2.py --config configs/image.yaml input=data/{IMAGE_PROCESSED} save_path={NAME} elevation={Elevation} force_cuda_rast=True mesh_format=glb
#%run multi-cam.py --config configs/image-mv.yaml in
ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory


README updates

Updated dir name on README instructions
Updated hero image on README
Added CI status badge

@emersonthis How do you think this looks, with the image centered and a little bit smaller, and the CI badge next to the title? https://github.com/cloudfour/lighthouse-parade/blob/center-image/README.md

I like the image big, but I definitely like badge inline next to the title. Good idea!


user should be able to receive otp code by voice call

[x] on client: add another option similar to "send me the code again"
"receive code via voice call" or "verify via voice call"
[x] on server it should just require to change "sms" to "call" (see twilio verify API)

@LiavGut please choose best sentence/wording

@sirpy
Change the sentence to:
"Send the code again"
and add:
"Send via voice call"

The link to the GoodServer PR - https://github.com/GoodDollar/GoodServer/pull/264

@sirpy @LiavGut  send via voice call should be only on the sign-up stage?

@WolfVV It should be on both cases (signup + edit mobile)

@sirpy Implemented according to requirement
Checked on  DEV V1.4.0
LG V30+ // Android 8.0 // Google Chrome 85.0.4183.81
Desktop: Windows 10 // Google Chrome  85.0.4183.121
iPhone 8 //13.3.1


[UsePythonV0] Download python from registry

Task name: UsePythonV0
Description: Currently, this task is only able to find local versions of python.
This PR adds a feature to download python from registry if it was not found locally.
This functionality is limited on self-hosted agents because:

Proxy is not supported.
The amount of supported distributions is limited.
Self-hosted agents lack some permissions to install python versions.

Documentation changes required: Yes
Added unit tests: Yes
Attached related issue: https://github.com/microsoft/azure-pipelines-tasks/issues/13319
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

Works well on MS-hosted agents with the default images.
Does not work for self-hosted agents on other linux systems (debian, rhel) since the packages in the registry are meant to be used on ubuntu.
Also has issues with permissions on self-hosted agents.
Test run results

@DaniilShmelev I've tested with the following Python version - '3.11.0', but it gives me 'Failed to download Python from the registry. Error: Error: Could not find Python matching spec 3.11.0 in the python-versions registry' - although it presents in the manifest.
Should it consider partial package name match (and patterns like 3.11.x also)?

@DaniilShmelev I've tested with the following Python version - '3.11.0', but it gives me 'Failed to download Python from the registry. Error: Error: Could not find Python matching spec 3.11.0 in the python-versions registry' - although it presents in the manifest. Should it consider partial package name match (and patterns like 3.11.x also)?

I don't see python '3.11.0' in the registry, only '3.11.0-alpha.1' and other alpha versions.
The task does support a partial package version spec like '3.10.x'. Unfortunately, semver cannot pick up versions with suffixes:
console.log(semver.satisfies('3.11.0-alpha.4', '3.11.x')); // false
console.log(semver.satisfies('3.11.0', '3.11.x')); // true

So, in this case, the customer needs to specify the version explicitly: '3.11.0-alpha.4'.
This is consistent with the setup-python action behavior: code.

@anatolybolshakov , @DaniilShmelev , how did you solve the rate-limit problem to download from GitHub releases?
Currently, task doesn't use any GH token and it performs unauthenticated requests. From GitHub docs: https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-user-accounts

For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the person making requests.

Azure VMs don't have unique IP addresses. There is a limited (and I think small) set of IP addresses that is shared between all machines. It means more than one machine (10, 100, 1000 machines) can have the same IP-address.
50 requests per multiple machines is very low limit and customers will easily hit it.

@maxim-lobanov thanks, prepared a revert PR along with the fix proposal (1, 2).


Make calico cni plugin CI results mandatory for builds

Current;y  we're skipping fail builds for calico cni via https://github.com/networkservicemesh/integration-k8s-packet/pull/274

Depends on https://github.com/networkservicemesh/sdk-vpp/issues/527


Add asterisk symbol for image field of slider.

Framework Version: 0.1.6

Fixed.

Framework Version: 0.1.6

Fixed


Remove old, unneeded flags

This was for issue #597 - https://github.com/thegreenwebfoundation/admin-portal/issues/597


Tray error: Uncaught Exception: TypeError: Error processing argument -1.

Following the docs at http://electron.atom.io/docs/v0.36.5/api/tray/ I have the following code:
'use strict';

const electron = require('electron');

const app = electron.app;
const Menu = electron.Menu;
const MenuItem = electron.MenuItem;
const Tray = electron.Tray;
const path = require('path');

let tray, menu, quit;

app.on('ready', function() {
  tray = new Tray(path.join(__dirname, 'icon.png'));
  menu = new Menu();
  quit = new MenuItem({
    label: "Quit",
    click: app.quit
  });
  menu.append(quit);
  tray.setToolTip('This is my application.');
  tray.setContextMenu(menu);
})

When I run npm start I get the error Uncaught Exception: TypeError: Error processing argument -1. at the line that instantiates Tray. Not sure what this error means or why I got it.

Are you sure the icon.png exists at that path? new Tray will throw an error when the path is invalid.

@kevinsawicki So I literally just got it working with this code:
let image = nativeImage.createFromPath(path.join(__dirname, 'img', 'icon.png'))
tray = new Tray( image );

@kevinsawicki I also took a look at the source and if I'm not mistaken, it looks like the API here is instantiating with a native image object and not a string. Am I mistaken in this? Or is that an inconsistency in the docs?

is instantiating with a native image object and not a string. Am I mistaken in this? Or is that an inconsistency in the docs?

I think many times string are automatically converted to native images and this is one such case.
See http://electron.atom.io/docs/v0.36.5/api/native-image/#nativeimage for more details.

@kevinsawicki Yeah I read that too, but that doesn't really explain to me why passing in a nativeImage type fixed the issue?

Yeah I read that too, but that doesn't really explain to me why passing in a nativeImage type fixed the issue?

In your first example you had a path of path.join(__dirname, 'icon.png') but in your second example (where it worked) you have a path of path.join(__dirname, 'img', 'icon.png'), I just want to confirm that you used a valid path when you passed the string into new Tray API.

@kevinsawicki Oh yeah sorry they were both valid paths, I just moved the image before the second example

@onetwopunch can you create a gist or repo with your failing example and with the image and code?

@kevinsawicki Yup, here's the commit that fixed it in my repo https://github.com/onetwopunch/gitify/commit/8f9b05f7656beb149c89af7d26cdf77c6a75ef15

Very strange, I could get your example working with a string argument to new Tray with other images, but not that one in your repo.
This one worked for me:

@kevinsawicki oh weird it must have been something wonky with that image. I just pulled it off the internets as a placeholder but now that I added a png that I bought, its working fine with the string. Maybe it has to do with some mac xattr issue ¯_(ツ)_/¯

There is no problem with the image converter taking a path string  value, it is most likely caused by image being unable to decode by the converter. The reason it succeeded with using nativeimage directly because , the converter will just obtain a handle to the native class and the image representation will be empty for corrupt image, wont throw any conversion type error for it. Would be helpful to debug if you could provide the image you were trying to set, couldn't find on the repo you linked. Thanks!

@deepak1556 I actually was able to figure out that the image was converted from a .ico to .png which is why the encoding was likely messed up. The image should still be there in earlier commits.


Guide:Page with 404 error is opened

Steps to reproduce
[Make sure to specify user role used to log in to Zebrunner]
Below are the steps to reproduce the behavior:

Go to https://zebrunner.github.io/documentation/guide/integrations/
Click on 'Edit'

Actual behavior
Page with 404 error is opened
Expected behavior (if known)
Page is opened without errors

fixed. CI/CD configured to publish updates immidiately after commit/push

Fixed.


feature (v0.1.4): enhance KeyError message + implement fromkeys

Codecov Report

Merging #10 (bc3a83b) into main (3854c35) will decrease coverage by 3.07%.
The diff coverage is 87.50%.

@@             Coverage Diff             @@
##              main      #10      +/-   ##
===========================================
- Coverage   100.00%   96.92%   -3.08%
===========================================
  Files            1        1
  Lines           50       65      +15
  Branches         7        8       +1
===========================================
+ Hits            50       63      +13
- Misses           0        2       +2

Impacted Files
Coverage Δ

src/case_insensitive_dict/case_insensitive_dict.py
96.92% <87.50%> (-3.08%)
: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 3854c35...bc3a83b. Read the comment docs.


Undefined pCode "segment" exception on x86 real mode

Describe the bug
Trying to step through John S Fine's boot12.asm bootloader code. This is a floppy disk bootsector.
After setting the segment registers (ss = cs = ds = es = 0x0000), sp = bp = 0x7c00, the code does "mov [bp+24h], dl" (saving the drive number to the correct location in the memory image of the boot record). However, the emulator throws an exception.
    Sleigh userop 'segment' is not in the library ghidra.pcode.exec.ComposedPcodeUseropLibrary@3b7b745d
    ghidra.pcode.exec.PcodeExecutionException: Sleigh userop 'segment' is not in the library ghidra.pcode.exec.ComposedPcodeUseropLibrary@3b7b745d
    at ghidra.pcode.exec.PcodeExecutor.step(PcodeExecutor.java:275)

    ⋮

    ---------------------------------------------------

    Build Date: 2023-Dec-22 0936 EST
    Ghidra Version: 11.0
    Java Home: /usr/lib/jvm/java-17-openjdk-amd64
    JVM Version: Private Build 17.0.9
    OS: Linux 6.5.0-14-generic amd64

I told it to show the pCode for this code, and apparently it isn't translating any indirect memory references correctly?
       0000:7c49 88 56 24        MOV        byte ptr [BP + 24h],DL
                                                      $U1100:2 = INT_ADD BP, 36:2
                                                      $U3400:4 = CALLOTHER "segment", SS, $U1100:2
                                                      $U3b80:1 = COPY DL
                                                      STORE ram($U3400:4), $U3b80:1

The first pCode instruction is correct, as is the third one. The last one looks reasonably fine, too. The problem pCode is that second one which does a CALLOTHER "segment". I'm not sure where this is coming from or why it's there. The fact that it's referencing SS seems reasonable, since [SS:BP+24h] would be more explicit than [BP+24h]  what it's trying to dereference. Why isn't this defined?
This is not uncommon to see in real mode code for an x86, which I suspect is probably the best-supported processor on Ghidra, so it surprises me that this operation is not defined. If this is not a bug, or someone knows how to solve this, please let me know.
To Reproduce

Assemble boot12.asm using nasm -fbin boot12.asm
Import the binary into ghidra
Open it with the emulation tool
Create a new trace, starting at the first instruction
Step it until you reach the "mov [bp+24h], dl" instruction about 5 steps in.

Expected behavior
I expect the memory location to be dereferenced correctly and not an exception because of an undefined pCode operation.
Attachments
boot12.asm
Environment
Build Date: 2023-Dec-22 0936 EST
Ghidra Version: 11.0
Java Home: /usr/lib/jvm/java-17-openjdk-amd64
JVM Version: Private Build 17.0.9
OS: Linux 6.5.0-14-generic amd64
Additional context
Boot12.asm is known to work correctly on real x86 systems, as posted.

This also seems to be generated when a call instruction is attempted.

In x86-16-real.pspec, this seems relevant and at least the formula seems correct:
  <segmentop space="ram" userop="segment" farpointer="yes">
    <pcode>
      <input name="base" size="2"/>
      <input name="inner" size="2"/>
      <output name="res" size="4"/>
      <body><![CDATA[
        res = (zext(base) << 4) + zext(inner);
      ]]></body>
    </pcode>
    <constresolve>
      <register name="DS"/>
    </constresolve>
  </segmentop>

I have no clue why it doesn't like things, unless it's not even loading in the x86-16-real.pspec file or something. This is pretty much the only userop set up here.

So, you are correct. The emulator does not currently heed segmentop elements in the language specifications. I'd been reluctant to do that by default, since some of those do not accurately model the actual processor. They might just model it well enough for decompilation or emulation with certain assumptions. In your case, x86-16-real.pspec happens to accurately model the actual operation.
Consider x86-16.pspec (protected mode). In reality, the processor applies a lookup table, but that is not what our spec models. It models a hard-coded lookup table (using a similar bit-shifting operation). As long as the image is loaded with that assumed table in mind, it'll work. All this to say, the specified segmentop is not always appropriate, but I suppose it works well enough most of the time.
I've put an internal ticket in to heed the segmentop elements in the emulator. In the meantime, you can implement the segment userop using a GhidraScript:
import ghidra.app.plugin.core.debug.service.emulation.AbstractDebuggerPcodeEmulatorFactory;
import ghidra.app.plugin.core.debug.service.emulation.BytesDebuggerPcodeEmulator;
import ghidra.app.script.GhidraScript;
import ghidra.debug.api.emulation.DebuggerPcodeMachine;
import ghidra.debug.api.emulation.PcodeDebuggerAccess;
import ghidra.debug.flatapi.FlatDebuggerAPI;
import ghidra.pcode.exec.*;
import ghidra.pcode.exec.PcodeArithmetic.Purpose;

public class InstallCustomSegmentOpScript extends GhidraScript implements FlatDebuggerAPI {
	public static class CustomSegmentUseropLibrary<T> extends AnnotatedPcodeUseropLibrary<T> {
		@PcodeUserop
		public T segment(@OpExecutor PcodeExecutor<T> executor, T base, T inner) {
			PcodeArithmetic<T> arithmetic = executor.getArithmetic();
			long lBase = arithmetic.toLong(base, Purpose.OTHER);
			long lInner = arithmetic.toLong(inner, Purpose.OTHER);

			long lRes = (lBase << 4) + lInner;

			return arithmetic.fromConst(lRes, 4);
		}
	}

	public static class CustomSegmentUseropEmulator extends BytesDebuggerPcodeEmulator {
		public CustomSegmentUseropEmulator(PcodeDebuggerAccess access) {
			super(access);
		}

		@Override
		protected PcodeUseropLibrary<byte[]> createUseropLibrary() {
			return super.createUseropLibrary().compose(new CustomSegmentUseropLibrary<>());
		}
	}

	public static class CustomSegmentUseropEmulatorFactory
			extends AbstractDebuggerPcodeEmulatorFactory {
		@Override
		public String getTitle() {
			return "Emulator with x86-16 Real Mode segmentation";
		}

		@Override
		public DebuggerPcodeMachine<?> create(PcodeDebuggerAccess access) {
			return new CustomSegmentUseropEmulator(access);
		}
	}

	@Override
	protected void run() throws Exception {
		getEmulationService().setEmulatorFactory(new CustomSegmentUseropEmulatorFactory());
	}
}

You'll need to run this script each time you open the Debugger or Emulator tool. It'll remain active in that tool until you close it.

@nsadeveloper789 if I wanted to do the same for the x86-16.pspec (protected mode), would it be correct just to replace the line
long lRes = (lBase << 4) + lInner;
with
long lRes = (lBase << 16) + lInner;
or is that too simplistic??

@Wall-AF I think that's kind of why he didn't implement it by default, because 16-bit protected mode is a different sort of cat than the 32bit protected mode (or 64bit long mode) than you're probably used to dealing with. I don't really know much about it, but if 32bit mode is anything to go by, you'd have to also set something like the IDT and GDT, and those would be handled by the OS in the original arrangement, the user programs would never mess with them. So it would be left to you to set up that environment for your program, probably by hand or from a memory dump from a live system (or VM).
@nsadeveloper789 I appreciate your thoughtful response. I will try this out tonight :) Thank you.

@Wall-AF In general @Hordeking is correct. The provided x86-16.pspec provides that implementation as a sort of hack. It's good enough for decompilation. If you carefully load your target image at the appropriate addresses, then that hack may work for you in emulation as well. Alternatively, you can hard-code a table in the Java callback, rather than dereferencing an actual in-target-memory structure. Your image and that hard-coded table have to be consistent, though. Each segment must be imported at the expected address.

 You should implement the IDT and GDT stuff :)

@Wall-AF Keeping that stuff consistent sounds like a positive pain in the butt. You should implement the IDT and GDT stuff :grinning:
@nsadeveloper789 I tried it. It works superbly. It's good enough that I can fake the int 13 calls to load stuff and see what numbers it's actually doing in there. Thanks!

@nsadeveloper789 So, should I go ahead and close this as resolved? I'm assuming an internal ticket probably means it'll show up in the next couple of public releases at this point? Or I can leave it open, or if you would rather close it with a tag for others to fine, I'm cool with that.

The internal ticket merely indicates my intent. It's still pending our prioritization process, so I would not take that to mean it'll show up in the next couple of public releases. Please leave the issue open. We'll close it when we've either completed or rejected the internal ticket. My best guess is we'll accept it, but it'll wind up pretty far back in my queue.


Bugs with toolbar from NetspeedMonitor

I know NetspeedMonitor is a really old Addon, but it works fine.
When the toolbar is enabled and placed left to the systemtray and i start FalconX als is fine and working.
But by a change in the SystemTray, a new icon or a disapperring icon the netspeedmonitor toolbar stay on its place. So the icons overlapp the toolbar or an interspace arises.
Then i must open FalconX and click on refresh and all is again in place.

Hmm i see, have reproduced to bug but, i have to enable the taskbar's redraw to fix this.
if i enable the taskbar's redraw then the taskbar icons will move back to the left every now and then. It also brings back a very annoying flickering bug.
So for now i don't know another way to fix this but, i will continue experimenting to find a proper fix.

Thank you, your App is great but i cant live without NeetSpeedMonitor :)

I will close this to prevent duplicate issues. #96


Add check for add_reference method by Rails/NotNullColumn cop

add_reference method has same problem as add_column method(see https://github.com/bbatsov/rubocop/pull/3415 ). So, Rails/NotNullColum cop also should detect the method.
For example
class SomeMigration < ActiveRecord::Migration
  def change
    add_reference :products, :category, null: false
  end
end

The above migration crashes other than MySQL.
Then, in MySQL, the migration does not crash, but category_id is decided by MySQL without permission.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

👍

I'm not sure I understand why this change was made. How is it possible to have a default value for a reference column? By definition it's going to refer to the primary key of some other table, so it can't have a default.

By definition it's going to refer to the primary key of some other table, so it can't have a default.

The added reference column can have a default value.
For example:
default_category Category.create!(name: 'default')
add_reference :products, :category, null: false, default: default_category.id

Or we should make the reference to allow null.
add_reference :products, :category, null: true

Fair enough, but that seems like an uncommon case. I would think it's more common to not known the default for a non-null reference. The example in the documentation of hard-coding the default to 1 certainly doesn't make sense.

The example in the documentation of hard-coding the default to 1 certainly doesn't make sense.

Do you mention this https://github.com/bbatsov/rubocop/pull/3782/files#diff-981212d9d67b8b33a445cb8321ae326dR18 ?
This example doesn't make sense. And I think we can update the documentation with the following.
add_reference :products, :category
# or
add_reference :products, :category, null: false, default: Category::DEFAULT_CATEGORY_ID
# or
add_reference :products, :category
Products.find_each do |product|
  product.set_category
  product.save!
end
change_column_null :products, :category_id, false

This seems like more of the exception than the rule.
It's common to want to ensure that an id is always set but much less common to want it to point at a default rather than cause an error.  A bank account definitely needs an owner_id, but I'd rather have it fail to open the account than point at the bank's president by default.
The non-references portion of this rule looks useful.  Is there any way to configure this to not check add_reference but keep the rest of the rule?


When channel is private, user notification outputs it as #unknown channel, which should not be the case

Maybe because code uses only id <#ID> it just cannot display the name of the private channel. I should add channel name to it and then add this to channel so that it maybe display it properly.

Solved. Really should add <#channID|chanName> so that the name displays. But the link does not work anyway.

It turns out that the title of a private group never gets saved to the database for unknown reason. So, i need more time to research on that.

resolved in https://github.com/maddevsio/comedian/commit/612d9c7ed3a0e1f228b96b213daea72195947013
and https://github.com/maddevsio/comedian/commit/d3a6570d5be3178768b12be4c7a51e09608977da


Added ProTip to Variables for using Custom Company Fields

The documentation lacks a hint, that the syntax for using core company fields as tokens and custom created onces is different.
I added a small "ProTip" to briefly explain this difference.

Hi @oltmanns-leuchtfeuer please make PRs against https://github.com/mautic/user-documentation. Thanks!


GHC tarball stored in intermediate docker layer

The compiled GHC tarball is stored in an intermediate layer in/tmp before extracted and deleted. Therefore, the size of the tarball (roughly 200MB) still counts to the size of final image, and made the image significantly larger and difficult to fetch. See
https://github.com/benz0li/ghc-musl/blob/8dcfea340cfe3f2efc86f36ebb91599f05761c24/latest.Dockerfile#L119-L123
To shrink the size of final docker image, we could

Squash the final image, with something like

FROM scratch
COPY --from=ghc-stage1 / /
COPY --from=ghc-stage2 /root/.local/bin/cabal /usr/local/bin/cabal
CMD ["ghci"]

use COPY --link for tarball copying

@bjin You are right.
I will look into it asap and rebuild smaller images for GHC versions 9.8.1, 9.6.4, 9.4.8 and 9.2.8.

glcr.b-data.ch/ghc/ghc-musl:9.8.1 is currently rebuilding: https://gitlab.b-data.ch/ghc/ghc-musl/-/pipelines/25874
glcr.b-data.ch/ghc/ghc-musl:9.6.4 and glcr.b-data.ch/ghc/ghc-musl:9.4.8 will be available until this evening.

glcr.b-data.ch/ghc/ghc-musl:9.8.1 is ready.

Reduction of image size (compressed):

linux/amd64: 801.69 MiB - 598.06 MiB = 203.63 MiB (25.4%)
linux/amd64/v8: 849.41 MiB - 640.75 MiB = 208.66 MiB (24.6%)

glcr.b-data.ch/ghc/ghc-musl:9.2.8 has also been rebuilt.


Feature/rewrite in python

Cool, I'll take a look at it tomorrow.

Could you add a section in README describing which flag to add to a profile, in case someone uses custom profile?

Tested for normal Mbed OS 5.6 application and that works nice. uVisor does not work, see comment in the review. /cc @meriac

could you “productionize” this e.g. adding setup.py.. I would like to integrate this to othet tools. Also unit/module tests would be more than welcome..

@janjongboom updated. I have tested the uvisor example. It works. I think the file is generated in the make -C mbed-os/features/FEATURE_UVISOR/importer step. The comment in the readme says that you might need to run make twice. I haven't found that. but might be needed for your setup. Also, I had to upgrade my arm-none-eabi-gcc for the makefile to successfully run through.

@jupe Good suggestions. could you write that into an issue so we don't lose them. That being said, I am just hacking around in my own time on this. Maybe a while before I get to these. Soooo, PR welcome :)

@LiyouZhou OK, Coolio. In that case LGTM from my side.


Currently doesn't do everything

Installed and was not able to do anything special.

Hi, thanks for reporting.
It is actually a known issue we are trying to fix atm, can you try latest master and tell here if it is any better ?

@maxbrunsfeld check this thing out, it actually does some cool stuff already.

I think it does something now, can I close this ?

does it support fennel macros yet?

Nope nope, that's only the structural editing core

Please see updated issue title

technically correct as everything includes fennel by definition.

I want to plus one the comment above

Yo this does something now, closing.


Revert "Remove version: KuGou.KGMusic version 10.0.24"

Reverts microsoft/winget-pkgs#174438
Microsoft Reviewers: Open in CodeFlow

URL: https://downmini.yun.kugou.com/web/kugou10024.exe
Response status code does not indicate success: 403 (Forbidden).
(Automated message - build 896)

URL: https://downmini.yun.kugou.com/web/kugou10024.exe
Response status code does not indicate success: 403 (Forbidden).
(Automated message - build 896)

URL: https://downmini.yun.kugou.com/web/kugou10024.exe
Response status code does not indicate success: 403 (Forbidden).
(Automated message - build 896)


Failed to install with Electron -  gyp ERR! stack Error: EPERM: operation not permitted, unlink

Hello Joshua,
First of all, thank you for your package :D
I have trouble setting up a build version of electron where I am using better-sqlite3. I tried to run the command with an opened cmd Admin console. I am not sure if it really comes down to some permission issues. Because I also get a warning about not prebuilt binaries. I am hoping you can point me in the right direction.
I assume this is the important error line:
gyp ERR! stack Error: EPERM: operation not permitted, unlink 'C:\Users\user\Desktop\Playground\projects\my-app\node_modules\better-sqlite3\build\Release\better_sqlite3.node'

Full Error stack
> electron-builder

  • electron-builder  version=22.9.1 os=10.0.19041
  • public/electron.js not found. Please see https://medium.com/@kitze/%EF%B8%8F-from-react-to-an-electron-app-ready-for-production-a0468ecb1da3
  • loaded parent configuration  preset=react-cra
  • electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies

To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
  • writing effective config  file=dist\builder-effective-config.yaml
  • rebuilding native dependencies<EMAIL_ADDRESS><EMAIL_ADDRESS>platform=win32 arch=x64
  • install prebuilt binary  name=better-sqlite3 version=7.1.1 platform=win32 arch=x64
  • build native dependency from sources  name=better-sqlite3
                                          version=7.1.1
                                          platform=win32
                                          arch=x64
                                          reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information)
                                          error=prebuild-install info begin Prebuild-install version 5.3.6
    prebuild-install WARN install prebuilt binaries enforced with --force!
    prebuild-install WARN install prebuilt binaries may be out of date!
    prebuild-install info looking for cached prebuild @ C:\Users\user\AppData\Roaming\npm-cache\_prebuilds\08a9a0-better-sqlite3-v7.1.1-electron-v82-win32-x64.tar.gz
    prebuild-install http request GET https://github.com/JoshuaWise/better-sqlite3/releases/download/v7.1.1/better-sqlite3-v7.1.1-electron-v82-win32-x64.tar.gz
    prebuild-install http 404 https://github.com/JoshuaWise/better-sqlite3/releases/download/v7.1.1/better-sqlite3-v7.1.1-electron-v82-win32-x64.tar.gz
    prebuild-install WARN install No prebuilt binaries found (target=10.1.5 runtime=electron arch=x64 libc= platform=win32)

  ⨯ cannot execute  cause=exit status 1
                    out=
    ><EMAIL_ADDRESS>install C:\Users\user\Desktop\Playground\projects\my-app\node_modules\better-sqlite3
    > prebuild-install || npm run build-release

    ><EMAIL_ADDRESS>build-release C:\Users\user\Desktop\Playground\projects\my-app\node_modules\better-sqlite3
    > node-gyp rebuild --release

    C:\Users\user\Desktop\Playground\projects\my-app\node_modules\better-sqlite3>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --release )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --release )

                    errorOut=prebuild-install WARN install No prebuilt binaries found (target=10.1.5 runtime=electron arch=x64 libc= platform=win32)
    gyp ERR! clean error
    gyp ERR! stack Error: EPERM: operation not permitted, unlink 'C:\Users\user\Desktop\Playground\projects\my-app\node_modules\better-sqlite3\build\Release\better_sqlite3.node'
    gyp ERR! System Windows_NT 10.0.19041
    gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--release"
    gyp ERR! cwd C:\Users\user\Desktop\Playground\projects\my-app\node_modules\better-sqlite3
    gyp ERR! node -v v12.16.1
    gyp ERR! node-gyp -v v5.0.5
    gyp ERR! not ok
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR<EMAIL_ADDRESS>build-release: `node-gyp rebuild --release`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the<EMAIL_ADDRESS>build-release script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR!      C:\Users\user\AppData\Roaming\npm-cache\_logs\2021-01-03T19_47_19_098Z-debug.log
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR<EMAIL_ADDRESS>install: `prebuild-install || npm run build-release`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the<EMAIL_ADDRESS>install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR!      C:\Users\user\AppData\Roaming\npm-cache\_logs\2021-01-03T19_47_19_114Z-debug.log

                    command='C:\Program Files\nodejs\node.exe' 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js' rebuild<EMAIL_ADDRESS><EMAIL_ADDRESS>                    workingDir=
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>electron-build: `electron-builder`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>electron-build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\user\AppData\Roaming\npm-cache\_logs\2021-01-03T19_47_19_264Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `npm run react-build && npm run electron-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\user\AppData\Roaming\npm-cache\_logs\2021-01-03T19_47_19_323Z-debug.log

Usually Error: EPERM: operation not permitted means Windows blocked the operation because of a permission issue or just an I/O error.  Others have reported success by simply deleting the node_modules folder and package-lock.json, restarting the machine and then running npm install

Usually Error: EPERM: operation not permitted means Windows blocked the operation because of a permission issue or just an I/O error.  Others have reported success by simply deleting the node_modules folder and package-lock.json, restarting the machine and then running npm install

@polymer-coder I could resolve this error. I just had to set the correct permission via the settings. Thank you for providing this helpful StackOverflow Posting.

@polymer-coder I could resolve this error. I just had to set the correct permission via the settings. Thank you for providing this helpful StackOverflow Posting.


Azure plugin is missing in Panos

Hello, here plugin for Azure is missing - https://registry.terraform.io/providers/PaloAltoNetworks/panos/latest/docs
When are you planning to create the plugin for the same?

Support for this would be coming after the fix for the GCP plugins...  maybe around v1.13 of the provider or so..??


How to print scheme callstack

at some point in my program I'd like to know who is calling a procedure. Is it possible to print a callstack in biwascheme?

I fixed the issue I had without printing the callstack. Only using some print statment (actually pk).


Compiler: change the UX of errors

This commit closes issue #8169

Why breaking-change

Actually all the labels seem off

Hi! Thank you for this!
But this doesn't fix the issue (otherwise some. specs would have failed). I was already working on this and I'll send a PR soon.
I'll close this because this is actually not that trivial to change, or it's not super obvious where to change it. Sorry!


Scale size of object changes after remesh operation.

Hello @stephomi ,
After performing subtract operation on object the scaling size changes.
I checked the previous issue of scaling and checked that scale and centre option is disabled.
Also checked that all commit are there in our clone which you gave in previous post.
https://github.com/stephomi/sculptgl/commit/bbac4ced484d7bdf3d086d6aa2c9f058758176a5
All these code is there in our clone.
Demo of issue.
We have added two 3d model,

Square with Triangle
Cylinder

When we load original model, its setting proper with its size and scale.

Once we applied subtract operation (Square - Cylinder), The subtracted square's scale has been updated

Can you please look into this issue and if provide a solution or a way of how we can solve the issue.
Thanks, @stephomi

Yes it's a known issue related to remeshing, it's not specific to substraction.
I've added a commit to booleanRemesh, it should be much better
Itttps://github.com/stephomi/sculptgl/commit/206f2ab1aea358b57ce4bf899288223ba157b659
Maybe I'll add it to master at some point, it's still not perfect though, at worse you can probably have an offset error as big as the cell size.

Thank you @stephomi  checking the commit.


⚠ Turnos 24x7 has degraded performance

In 9347c56, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 921 ms

Resolved: Turnos 24x7 performance has improved in c55c9ee.