Fix package publish workflow

Would be easier to just use one job. By using needs you can access a previous jobs outputs but other than that they are still pretty much isolated, aren't they? If you have to repeat yarn install in the second job, what about yarn build then?


Crash after last vscode or(and) extension update

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
The extension host crashes during the attempt to open any .ipynb after the updating of vscodium and (presumably) jupyter extension. Settings weren't changed, it just stopped working after the last update.

command (from logs):
/bin/python3 -m ipykernel_launcher --ip=<IP_ADDRESS>  ...
works fine in bash.
OS: Ubuntu Ubuntu 20.04.6 LTS
VS Code Version
1.79.2 release 23166
Jupyter Extension Version
2023.3.100 (tried on 2023.2.100 as well)
Jupyter logs
info 18:40:24.468: Starting Jupyter Session startUsingPythonInterpreter, .jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher (Python Path: , EnvType: Unknown, EnvName: '', Version: 3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0]) for '/home/vladimir/smth.ipynb' (disableUI=true)
warn 18:40:24.675: Failed to get activated env vars with python /bin/python3 in 204ms
info 18:40:24.692: Process Execution: > /bin/python3 -m pip list
> /bin/python3 -m pip list
warn 18:40:24.699: Failed to get activated env vars with python /bin/python3 in 210ms
info 18:40:24.718: Process Execution: > /bin/python3 -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> /bin/python3 -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
warn 18:40:24.846: Failed to get activated env vars with python /bin/python3 in 202ms
warn 18:40:24.848: Failed to get activated env vars with python /bin/python3 in 202ms
info 18:40:24.888: Process Execution: > /bin/python3 -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9108 --control=9106 --hb=9105 --Session.signature_scheme="hmac-sha256" --Session.key=b"9216928d-cfd1-487e-80b8-251889328067" --shell=9107 --transport="tcp" --iopub=9109 --f=/home/vladimir/.local/share/jupyter/runtime/kernel-v2-2399829KRQO6xc7xDX5.json
> /bin/python3 -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9108 --control=9106 --hb=9105 --Session.signature_scheme="hmac-sha256" --Session.key=b"9216928d-cfd1-487e-80b8-251889328067" --shell=9107 --transport="tcp" --iopub=9109 --f=/home/vladimir/.local/share/jupyter/runtime/kernel-v2-2399829KRQO6xc7xDX5.json
info 18:40:24.889: Process Execution: cwd: ~/ipython
cwd: ~/ipython
info 18:40:25.127: ipykernel version & path 6.7.0, ~/.local/lib/python3.8/site-packages/ipykernel/__init__.py for /bin/python3

Coding Language and Runtime Version
python 3.8.10
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

Can you provide the window logs from the output panel?

this? (~/.config/VSCodium/logs/20230619T180531/window1)
window1.zip

Select window in the dropdown of the output panel:

or use Developer: toggle developer tools and look for an error in the console.
Does the same crash happen in normal vscode?

It looks like the notebook editor wasn't registered for some reason, and the ipynb extension that contributes the editor is built-in to core. So this seems like a bug in codium.
2023-06-19 18:29:38.175 [error] Error: Cannot open resource with notebook editor type 'jupyter-notebook', please check if you have the right extension installed and enabled.
    at Go.setInput (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2609:20621)
    at async e.EditorPanes.doSetInput (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2292:32197)
    at async e.EditorPanes.doOpenEditor (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2292:30116)
    at async e.EditorPanes.openEditor (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2292:28864)
    at async vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2477:16809
    at async cn.doHandleCloseConfirmation (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2477:21471)
    at async cn.handleCloseConfirmation (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2477:20705)
    at async cn.doCloseEditorWithConfirmationHandling (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2477:19254)
    at async e.CloseOneEditorAction.run (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:2305:100371)
    at async P.runAction (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:93:17636)
    at async P.run (vscode-file://vscode-app/snap/codium/327/usr/share/codium/resources/app/out/vs/workbench/workbench.desktop.main.js:93:17536)
2023-06-19 18:29:51.296 [error] Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.

closing as external


Renamed Number retrieval to Float. Added func for retrieval of int64

Awaiting similar changes to be ready in flagd/flagd-provider @james-milligan

Codecov Report

Merging #35 (cb5b122) into main (32d6d64) will increase coverage by 0.67%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   92.95%   93.62%   +0.67%
==========================================
  Files           5        5
  Lines         227      251      +24
==========================================
+ Hits          211      235      +24
  Misses         16       16

Impacted Files
Coverage Δ

pkg/openfeature/provider.go
100.00% <ø> (ø)

pkg/openfeature/client.go
100.00% <100.00%> (ø)

pkg/openfeature/noop_provider.go
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

This looks good. I wonder if we should also just support Number? I always read the types in the spec as 'JSON' types rather than language primitives, though for users they likely just want access to an int or a float.

Would Number not also just be returning a float64?


Wrong information

Most of the information in this document is wrong, you don't have chat for viewers/participants in a Live Event. I think this document have only been copied from Teams meetings and not changed to reflect Live Events.

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

ID: bb468480-f733-9ee9-6ff8-cd45e2861869
Version Independent ID: 714ec3f7-3fbe-c550-6733-ff5f52408985
Content: Presenter and participant capabilities in a Teams live event - Microsoft Teams
Content Source: Teams/roles-in-live-events.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

@lcansby  Thank you for submitting feedback and contributing to the docs. We are currently investigating this

@lcansby Thank you for reaching out to improve MS Docs. Please let me know if this link helps - https://support.microsoft.com/office/get-started-with-microsoft-teams-live-events-d077fec2-a058-483e-9ab5-1494afda578a?ui=en-us&rs=en-us&ad=us

@lcansby Thank you for your feedback. I'll be revising the article.

@lcansby  Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Changed windows-build to build-windows in Readme.md (scripts)

Changed the Readme file for the build scripts.

@ForeignSasquatch thanks for the review!


Univariate metrics based on sparse union

OTLP Arrow Encoder for univariate metrics

This PR implements the encoding and decoding of univariate metrics based on Arrow union.
Gauge, Sum, and Summary encoding and decoding are supported.
Things that will be implemented in next PR:

Histogram and Exponential Histogram encoding/decoding
Multivariate metrics support
Integration with benchmark tool


Track component usage

This would help us determine what components are being used and what ones are not.  For things like AuroLabs this allows us to remove unused components.
AC:  We know how many times a component is rendered and what the URL is for that page.

This is probably the best way to find the information you are looking for https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository
The tricky part is going to be enabling the dependency graph for internal repos.

That would definitely help.  Another scenario to consider...what if component A depends on component B but component A is never actually used on a production page would that graph still show a dependency?  I'm assuming yes?
I'd also like to figure out a way to know what pages our components are used on. I think it ties in really well with https://github.com/orgs/AlaskaAirlines/projects/16#card-68398737 If we know how often and where our components are it will be easier to deprecate old components or old versions or update to the latest version.  It will also help us prioritize defects if we know the impact.

Using GH search can get you a nice idea of where things are being used, though it's a bit annoying to scroll through.
Maybe there's a way to use the GH API to keep track of all code references and expose somewhere?

I'd also like to figure out a way to know what pages our components are used on

@braven112 I see what you are shooting for, but I am not sure this is the right metric? I don't even know how we would be able to create that data?
 The point of that work is to alert users that an npm package version is no longer supported and provide next-step information. E.g. new version, different tool, etc...

When speaking of prioritization, two factors that make sense to me are the scope of element and severity of the issue.
For example, something like auro-hyperlink is much smaller in scope than auro-flight and is likely to be used way more. So when delivering an update to something small, there is always a wider impact and greater risk depending on the update.
The prioritization of new feature work with Auro should be driven by the same principles as any other product. Who needs it and by when? Knowing that based on input provided by other teams will give us much greater insight into prioritization versus the gut-check we have now or the hot-button issue of the moment.

Great discussion!  I added this issue so we can discuss it at refinement tomorrow.

I see what you are shooting for, but I am not sure this is the right metric? I don't even know how we would be able to create that data?

What do you think the right metric is?  Getting the page name or URL should be easy enough but I have no idea how we would store it either.  Or what the performance impacts would be.  I just know the information would be helpful.  That's why I wrote it down so the team can explore the idea a bit.

So when delivering an update to something small, there is always a wider impact and greater risk depending on the update

Great example!  I'd rather avoid estimating how widespread a component is.  I'm sure it some cases it will seem obvious but in a lot of cases it would just be a semi educated guess.   The more data points we have the better decisions we can make.
I'm also thinking about the longer term future of the generator.  There is also a fairly good chance that over time there will be unused components/repos.  AuroLabs is already a good example.
At the other end of the spectrum, there is tremendous value to the Auro team if we know the reach or impact of our most used components too, not just the unused ones.  Imagine if we had to make a business case for adding additional engineers or designers and the business has to decide between our team and other.  It certainly helps our case if we can show the impact our team has.

Getting the page name or URL should be easy enough...

I am interested in your proposal for this.

Getting the page name or URL should be easy enough...

I am interested in your proposal for this.

I was thinking of something like this to get the url window.location.href
I think most Alaska Pages would also have an utag object.  Though that method would probably only be useful if the component is on an ecommerce page in alaska, and wouldn't work with other non ecomm pages.
window.utag_data = {           page_name: ':home',           channel: '',           event: '',           sitecore_version: 'aks',         };

I am not familiar with how tags work in AScom, I need to be brought up to speed on this. How do you propose that this utag object is created? Is this something done on the page that is using components or is this in the component itself?
If this is in the component itself, this was researched by @tsalright and myself Lessons learned from building Tealium component

That's good info!  The utag method you mentioned is on a page level and its generally already created so I was just thinking that one method to get the page that the component is on is by reading that object but given that it would only work on a page that has tealium loaded its probably not the best solution for Auro components.

Where I see issue with this line of thinking is that this adds a lot of overhead for the consuming engineer to tag the CEs for the purpose of our personal data collection. This will never be a priority and we will get pushback from others. I don't see that being a viable or trusted solution to get the data you are looking for.

I still see a viable solution being what I outlined in a previous comment. Between that and npm weekly downloads we can present good data about usage.

I'm

Where I see issue with this line of thinking is that this adds a lot of overhead for the consuming engineer to tag the CEs for the purpose of our personal data collection. This will never be a priority and we will get pushback from others. I don't see that being a viable or trusted solution to get the data you are looking for.

I wasn't expecting consuming engineers to have to do anything.  I wanted to explore what info a component could collect without the consuming team having to do anything.

I still see a viable solution being what I outlined in a previous comment. Between that and npm weekly downloads we can present good data about usage.

The only potential blind spot was what @jason-capsule42 mentioned in that something like an auro-hyperlink may be used thousands of times but only be consumed by a finite number of components.


Fix for visited tabs before plugin was initialized

A pull request for fixing issue #65. It works with both Bootstrap 3 and 4. I made the changes and executed the Gulp tasks.
Let me know what you think @mikejacobson.

This looks great, @MiroslavGrozdanovski ! Thanks a lot!
I'm thinking I'll package this up as a patch release. It looks like there are no breaking changes, and it does fix a bug that would occur in certain situations.
What do you think? Does that sound right?

Yes @mikejacobson, it sounds right to me. Thanks a lot :)

OK, it's out there: v2.6.1. Thanks again for contributing, @MiroslavGrozdanovski !


GC data on S3

What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/6827
Problem Summary: run GC on S3 data to reclaim the storage usage
What is changed and how it works?
Depends on

https://github.com/pingcap/tiflash/pull/6878
https://github.com/pingcap/tiflash/pull/6863
https://github.com/tikv/client-c/pull/126
https://github.com/pingcap/tiflash/pull/6874
https://github.com/pingcap/tiflash/pull/6900

Components

CheckpointManifestS3Set - parse the manifests list info from S3
S3GCManager. For each store_id on S3

Get the latest manifest from S3
Parse the locks hold by the latest manifest (depend on Manifest uploading)
Scan and remove the expired locks, try add delmark when the data file is not locked by any store (depend on S3LockService)
Remove the data file with expired delmark

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/merge

/merge

/merge


refactor: on-demand remote pin status checks

This is bare minimum to restore remote pinning with rate-limited Pinata and close #1900
Not a perfect solution, but a fast-tracked fix to restore pinning functionality at all (right now Pinata is effectively broken in webui and ipfs-desktop – details in https://github.com/ipfs/ipfs-webui/issues/1900#issuecomment-1032030124).
Key changes:

[x]  Files screen does not make automatic requests to remote pinning service every time a new directory is opened

we progressively build a cache with remote pin states every time user opens "Set pinning" modal, and send requests only for files that we did not check the remote state before
we persist  the pinning bundle state with remote pin states with  createCacheBundle (src/bundles/index.js) and persistActions (src/bundles/pinning.js), which store data in browser's IndexedDB (uses money-clip as cache backend)
new users should not see any regression:  the pin would be added to the cache during pinning operation, and thanks to persisted cache, cloud pin will show every time Files screen loads.
old users may need to manually go to "Set pinning" to trigger status fetch, but that is the best we can do and a fair compromise, given nothing worked before this.

[x] The expensive ipfs pin remote service ls --stat checks  are executed  only on Settings screen – Files does not need them.
[x] Remote pin status check is triggered by opening "Set pinning"  modal via context menu or the pin icon, or by clicking on "Pin Status" column header.

[x] Clicking on "Pin Status" header bypassess remote pin status cache and forces online status re-check for all items in current directory (bit of a hidden feature / escape hatch for frustrated, existing users)

[x] Errors returned by pinning service are now correctly reported to the user. The CLI and ipfs-webui users will now see the same error message:

Fast-tracking this, as we need to  restore remote pinning on Pinata in go-ipfs 0.13 and ipfs-desktop 0.19.


DatePicker widget does not show white background.

Describe the bug
Questionnaire theme inherits material3 theme.
It shows blue container background in date picker widget.
Component
SDC library, reference app
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
It should show white background.
Screenshots

Smartphone (please complete the following information):

Device: [e.g. Pixel4a emulator]
Android version: [e.g. Settings -> About phone -> Android version]
Build number: [e.g. Settings -> About phone -> Build number]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.

With below change date picker container background color become white, but selected and current date does not show style.
<style
        name="ThemeOverlay.Questionnaire.DatePicker"
<EMAIL_ADDRESS>    >
        <item name="colorPrimary">?attr/colorSurface</item>
        <item name="colorOnPrimary">?attr/colorOnSurface</item>
</style>

so, this approach can not be used to make background white, because colorPrimary and colorOnPrimary are used to show current and selected date as well.

With below change it shows date picker white background but overlaps the title "select date".
<style
        name="ThemeOverlay.Questionnaire.DatePicker"
<EMAIL_ADDRESS>    >
        <item name="android:background">?attr/colorSurface</item>
</style>

So, can not apply this change.

It looks like dialog container color get applied as primaryColor value.
There is no style for dialog container which can be overridden for container color.
e.g Widget.Material3.MaterialCalendar.HeaderLayout can be used to override header background color.

Default datepicker material3 shows below visual.
ThemeOverlay.Material3.MaterialCalendar

@shelaghm


BTER returns bad ID on sendLimitOrder

Most exchange return a valid order id when sending a limit order, but not BTER, it returns an id, but not a valid one.  It can't be used to cancel orders.  When you use getOpenOrders() it returns different ids (which are valid for canceling orders).
This seems to be an issue on their side.  There are a lot of forum threads about this going back to 2013, so doubt they will fix it on their side.
Is there anything that can be done on feed side to help match up?  I've tried setting 'id' (in LimitOrder constructor) when sending orders, but don't know how to get it back.  Is there sometime of free form text field that could be set to help with matching?

String orderID = tradeService.placeLimitOrder(order);

1454808972188 [INFO]: Exchange Feed**: bter sendOrder: 9420284**
Order Id: 9420284
..
OpenOrders orders = tradeService.getOpenOrders();

Order: LimitOrder [limitPrice=0.00910000, Order [type=ASK, tradableAmount=1, currencyPair=LTC/BTC,id=174106304, timestamp=n

I looked at the BTER code, and you cannot pass an ID like you tried. No, there is no mechanism for matching. It sounds like their API is messed up, which is a bummer. The best you can do probably is to contact them directly.


Increase mon failover timeout to 15 min for IBMCloudPlatformType

mon C take time to come up on IBMCloudPlatform which timeouts and Mon d gets created. So increase the mon
failover timeout to 15 min for IBMCloudPlatformType to allow enough time
for mon c to come up.
Signed-off-by: rohan47<EMAIL_ADDRESS>

not yet tested on an actual cluster
/hold

Tested the code changes.
/hold

/retest

/ok-to-test

@rohan47 I think we can remove DNM label now? Its ready to merge, right?

/unhold

/cherry-pick release-4.7


nixos/luks: Silence killall complain about non-existing cryptsetup pr…

…ocesses
Motivation for this change
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Thanks. Makes sense.


Add code coverage for AMUSE base/core

Choose a tool (codecov, codacy, coveralls)
Integrate with Travis
Add nice button to README.md

No buttons, but yes code coverage would be good idea.

The configuration here could be used for inspiration: https://github.com/egpbos/xtensor-fftw/blob/master/.travis.yml


Option for filtering tables

If possible within the kicad_dbl file format, it would be very handy to be able to add a "filters" attribute to each library entry.
For example, only return parts in the "Resistors" category which have the "KiCadFootprint" parameter defined

Ah, that makes sense.

Is there a query argument that I can use to make the API do this kind of filtering? I had a quick look and I couldn't see anything obvious.

@clj a filter to test for the existence of a particular parameter? No, this would have to be added in, I don't think this is possible with the current API


tidb_query: Migrate json_extract and json_remove to RPN Function

What have you changed?

Migrate implementation forJsonExtractSig, JsonRemoveSig from builtin_json.rs to the new impl_json.rs. json_extract, json_remove are added.
Add support for JsonExtractSig, JsonRemoveSig in rpn_expr/mod.rs for components/tidb_query.

What is the type of the changes?
Pick one of the following and delete the others:

New feature (Support json_extract and json_remove in Batch mode)

How is the PR tested?
New unit tests
Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No.
Does this PR affect tidb-ansible?
No.
Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Any examples? (optional)

/run-all-tests

How about #5410 (comment) ?

Well, I think:

both JsonExtractSig, JsonRemoveSig are using it.
It just provide arguments to be (&Option<Json> , &[&Option<Bytes>])`

So I name it json_with_bytes_validator.

@mapleFU Looks like json_with_bytes is too general. The unique character for these two functions is not that they accept bytes, but they accept json path for extract or remove?

/run-all-tests

@mapleFU Looks like json_with_bytes is too general. The unique character for these two functions is not that they accept bytes, but they accept json path for extract or remove?

What about json_with_paths ?

/run-all-tests

/merge


Implement backpressure signaling for IdentityTransformStream writable

Enables optional use of writer.desiredSize/writer.ready for backpressure signaling with IdentityTransformStream and FixedLengthStream. See included test for example use.

@mrbbot ... just FYI on here... this change may need to be picked up by miniflare. See the included test for examples on the api change.


V2 API General Feedback

Describe the issue
I'm sure you already have a list of things to fix/implement on the V2 Alpha endpoint but here's a list of things that I noticed:

[ ] negative Longitudes displaying incorrectly (-75 shows as 285)
[ ] currently Block Missing
[ ] daily Block Missing
[ ] alerts Block Missing
[ ] Summary/Icon data points missing
[ ] precipType seems broken
[ ] hourly data points not in the same order as the live API
[ ] units parameter not working correctly
[ ] visibility is not capped
[ ] some data points using incorrect units for SI units (pressure, visibility, cloudCover, humidity and precipProbability)
[ ] precipAccumulation, nearestStormDistance and nearestStormBearing shouldn't be on the hourly block
[ ] sourceTimes is a floating point number instead of an integter
[ ] many data points being negative when it doesn't make sense (uvIndex, nearestStormDistance, etc.)
[ ] many data points have tons of decimal places
[ ] precipIntensityError seems to always display 2 on the minutely block

If anyone else is using the V2 Alpha API feel free to add things that you've run into. Also for things that are fixed on the V2 Alpha endpoint already do you want to close the issue or leave it open until it launches? I'm fine with leaving it open but it would clean up the issue list and the project list if marked as complete.
Acknowledgements

[X] I have searched this repository and Home Assistant Repository to see if the issue has already been reported.
[X] I have read through the API documentation before opening this issue.
[X] I have written an informative title.

@alexander0042 I'm guessing this is something you're working on? Been getting a Internal Server Error message whenever I try to visit the V2 endpoint URL and the V2 dev URL still does not work.

You guessed right- I was pulling together a paper for a conference last month, and then away skiing (and checking the weather constantly) this week. Back at this next week, so should be able to start checking some of these off! I really appreciate you putting this list together, since I'll let me keep track of the main things ✅

@alexander0042 The V2 Alpha API has been returning an Internal Server Error for the past day or so. Did you push up an update which broke things or did it just happen to break by itself?

Has the NBM data stopped integrating? I thought the model ran every hour and under sourceTimes I see this "nbm": "2024-03-05 17Z",
I thought that the API would fall-back to use other sources if the one used in the forecasts hasn't been updated in x number of hours. From what I can tell the data is still somewhat accurate but the temperatures are way off.

@alexander0042 I was getting an internal server error this morning and then it worked for a short while. Now I'm getting:
This site can’t be reachedpiratev2lb-a90c79daaddc2625.elb.us-east-1.amazonaws.com took too long to respond.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_TIMED_OUT
You working on something and it broke the site or is something else going on? The dev endpoint seems to be broken as well.

Yea, there was a bit of chaos there while I tried a bunch of different things. Adding NBM in turned out to be a bit more complex than I expected, since it meant that which model was being used to grab a specific variable became much more dynamic, instead of just HRRR/ GFS. But it's all in there now, and crucially, the infrastructure to actually serve data from it is now in place, which was a key step. I also ended up focusing more on response speed than I initially planned, since the times were pretty good, I wanted to see how fast I could get them (answer- real quick, at least 10x the speed of the old one, sometimes closer to 50x!)
If it makes sense to you, I'm going to start a new issue thread and pin it with some notes on version 2. I can't say enough how great your details are in this one, and I'll go through them one by one now that all the infrastructure is in place, but my ideas is adding some notes for others to a top level comment (or maybe as a discussion)?

Sure you can create a new issue for notes and v2 feedback. Will close this one so you can create your issue.


ROCm hipPointerGetAttributes returns error when pointer is unregistered

Before ROCm 6.0, hipPointerGetAttributes returns error on unregistered pointers.
Ref:

https://github.com/ROCm/HIP/issues/3057
https://github.com/ROCm/clr/blob/rocm-6.0.0/CHANGELOG.md#known-issues-1

@kmaehashi I think this PR should be cat:bug. It causes cupy 13+ cannot even create array with ROCm.
In core.pyx, cupy 13.0+ added the branch to determine whether the pointer is on pinned memory:
https://github.com/cupy/cupy/blob/22694a14896b691c6150c08d0d3f6c6f8c7c4039/cupy/_core/core.pyx#L2558
https://github.com/cupy/cupy/blob/22694a14896b691c6150c08d0d3f6c6f8c7c4039/cupy/cuda/pinned_memory.pyx#L355-L357
And ROCm returns invalid value error.

Hi @Berrysoft, thanks for the detailed insights and sorry for the delay in review! This PR looks good to me!
/test mini

This PR closes #8417.


Matrix multiplication kernel example is broken

Updating the numba_dpex/examples/matmul.py to use dpctl.tensor.usm_ndarray causes a type inference error. May be related to #871.

import dpctl
import dpctl.tensor as dpt
import numpy as np

import numba_dpex as dpex

@dpex.kernel
def gemm(a, b, c):
    """
    A basic DGEMM implemented as a ``kernel`` function.
    """
    i = dpex.get_global_id(0)
    j = dpex.get_global_id(1)
    if i >= c.shape[0] or j >= c.shape[1]:
        return
    c[i, j] = 0
    for k in range(c.shape[0]):
        c[i, j] += a[i, k] * b[k, j]

# Array dimensions
X = 1024
Y = 16
global_size = X, X

griddim = X, X
blockdim = Y, Y

def driver(a, b, c):
    # Invoke the kernel
    gemm[griddim, blockdim](a, b, c)

def main():
    a = np.arange(X * X, dtype=np.float32).reshape(X, X)
    b = np.array(np.random.random(X * X), dtype=np.float32).reshape(X, X)
    c = np.ones_like(a).reshape(X, X)

    device = dpctl.select_default_device()
    a_dpt = dpt.arange(X * X, dtype=dpt.float32, device=device)
    dpt.reshape(a_dpt, (X, X))
    b_dpt = dpt.asarray(b, dtype=dpt.float32, device=device)
    dpt.reshape(b_dpt, (X, X))
    c_dpt = dpt.ones_like(a_dpt)
    dpt.reshape(c_dpt, (X, X))

    print("Using device ...")
    device.print_device_info()

    driver(a_dpt, b_dpt, c_dpt)

    # Host compute using standard NumPy
    Amat = np.matrix(a)
    Bmat = np.matrix(b)
    Cans = Amat * Bmat

    # Check result
    assert np.allclose(c, Cans)

    print("Done...")

if __name__ == "__main__":
    main()

Backtrace

Traceback (most recent call last):
  File "/localdisk/work/diptorup/devel/numba-dpex/numba_dpex/examples/matmul.py", line 72, in <module>
    main()
  File "/localdisk/work/diptorup/devel/numba-dpex/numba_dpex/examples/matmul.py", line 58, in main
    driver(a_dpt, b_dpt, c_dpt)
  File "/localdisk/work/diptorup/devel/numba-dpex/numba_dpex/examples/matmul.py", line 39, in driver
    gemm[griddim, blockdim](a, b, c)
  File "/localdisk/work/diptorup/devel/numba-dpex/numba_dpex/core/kernel_interface/dispatcher.py", line 577, in __call__
    ) = self._compile_and_cache(
  File "/localdisk/work/diptorup/devel/numba-dpex/numba_dpex/core/kernel_interface/dispatcher.py", line 152, in _compile_and_cache
    kernel.compile(
  File "/localdisk/work/diptorup/devel/numba-dpex/numba_dpex/core/kernel_interface/spirv_kernel.py", line 123, in compile
    cres = compile_with_dpex(
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/localdisk/work/diptorup/devel/numba-dpex/numba_dpex/core/compiler.py", line 264, in compile_with_dpex
    cres = compiler.compile_extra(
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler.py", line 716, in compile_extra
    return pipeline.compile_extra(func)
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler.py", line 452, in compile_extra
    return self._compile_bytecode()
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler.py", line 520, in _compile_bytecode
    return self._compile_core()
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler.py", line 499, in _compile_core
    raise e
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler.py", line 486, in _compile_core
    pm.run(self.state)
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler_machinery.py", line 368, in run
    raise patched_exception
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler_machinery.py", line 356, in run
    self._runPass(idx, pass_inst, state)
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler_machinery.py", line 311, in _runPass
    mutated |= check(pss.run_pass, internal_state)
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/compiler_machinery.py", line 273, in check
    mangled = func(compiler_state)
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/typed_passes.py", line 105, in run_pass
    typemap, return_type, calltypes, errs = type_inference_stage(
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/typed_passes.py", line 83, in type_inference_stage
    errs = infer.propagate(raise_errors=raise_errors)
  File "/localdisk/work/diptorup/.conda/envs/dpex-devel/lib/python3.10/site-packages/numba/core/typeinfer.py", line 1086, in propagate
    raise errors[0]
numba.core.errors.TypingError: Failed in dpex_nopython mode pipeline (step: nopython frontend)
tuple index out of range
During: typing of static-get-item at /localdisk/work/diptorup/devel/numba-dpex/numba_dpex/examples/matmul.py (21)

File "numba_dpex/examples/matmul.py", line 21:
def gemm(a, b, c):
    <source elided>
    j = dpex.get_global_id(1)
    if i >= c.shape[0] or j >= c.shape[1]:

Fixed. The issue was in the example and the reproducer. The output of the reshape was not assigned to the array variable. Refer the updated matmul.py.


Update forked version of nexus to a more recent head

@delinhabit FYI. These changes are needed to support Django 1.7.


Use global batch size only in FFCV dataloader length calculation

We should use the dis.get_world_size() only for FFCV dataloader sample size calculation
Fixes #1154

Had to multiply by world_size but other than that testing looks good, here's from the last run:
:::MLLOG {"namespace": "", "time_ms":<PHONE_NUMBER>030, "event_type": "POINT_IN_TIME", "key": "train_samples", "value": 1281168, "metadata": {"file": "/usr/local/lib/python3.9/dist-packages/composer/callbacks/mlperf.py", "lineno": 235}}
:::MLLOG {"namespace": "", "time_ms":<PHONE_NUMBER>031, "event_type": "POINT_IN_TIME", "key": "eval_samples", "value": 50000, "metadata": {"file": "/usr/local/lib/python3.9/dist-packages/composer/callbacks/mlperf.py", "lineno": 235}}


Use of instanceof not allowed for PA1?

instanceof is used in the walkthrough video but code crunch showed error when i tried submitting my code that used instanceof, anyone knows how to fix this problem?

my code:

Hi there! it is only allowed if the class you are in is the same as the one that follows your instanceof keyword
(this method you are showing must be in the Transmitter class

does it work if the class extends/implements Transmitter?

I have faced a similar issue as you before and unfortunately the .equals() method has to be in the parent class

oh no... then I have to make a huge change to my code :(

thank you anyway!


Update family name info for phase 3.

This tracks changes previously made to noto_names.py.

all families use 'Regular' in the full name
all families are named to accommodate all wws style variations
since we assume all style variations, all fonts get preferred names

Pretty much all fonts will get shortened family names as a result.
The familyname_and_styles data was updated slightly to reflect decisions
on naming.  Note that it still contains some old names as well as new ones.
The new phase 3 xml data was generated with the following:
python check_familyname_and_styles.py -w |
xargs ./noto_names.py write -x -p 3 -f

I'm surprised that "Noto Music" wasn't among the additions, considering that the Phase III CMAPs have code points reserved for a music font.

@kanjilearner817 thanks, you're right.  It doesn't seem to be on our internal tracking, which is what the family name data was based off of.  @marekjez86, I suspect Music was originally planned for symbols but we broke it out because of different constraints on lineheight etc.  Can you check?


Javascript error is preventing summary table from appearing

Go to /explore.html
Select a Suggested Filter
Select Submit
The summary table is not updated and the console will display summary-table.js:564 Uncaught ReferenceError: track is not defined(…)

Issue resolved with PR referenced above. Closing.


Have the run button do something useful under restricted mode

Right now it doesn't do anything, but maybe it should prompt the user to leave restricted mode?

We have to decide if we want to notify about being in the untrusted mode or pop-up the trust view.

I like the idea of popping-up the trust view, even better if it's the same one as when you click on "Run and Debug" under untrusted mode:

We are reserving this issue for Grace Hopper's Open Source Day, which will take place on September 22nd, 2023. If you're part of the event and would like to submit a contribution to this issue, please let us know, and we'll be happy to assign it to you.
For other community members who are not participating in the event, we appreciate your interest in contributing! We kindly request that you wait until after September 22nd to work on this issue. If no one from the event has been assigned to it by then, we'll gladly assign it to you. Thank you for your understanding and support!

Can I be assigned to this issue?

Hi due to being involved in person at GHC conference this week, I don't think I will be able to finish resolving this issue within a week. Here is the information I currently gathered so far.
One I think the easier solution to this is to completely hide the "run button" when a file is opened in restricted mode for python files. This is probably done in package.json in the following block by adding another condition for restricted mode in the "when" tag. I tried poking around the vscode repo and thought it might be the restrictedMode setting but that is not it.
"editor/title/run": [
                {
                    "command": "python.execInTerminal-icon",
                    "group": "navigation@0",
                    "title": "%python.command.python.execInTerminalIcon.title%",
                    "when": "resourceLangId == python && !isInDiffEditor && !virtualWorkspace && shellExecutionSupported"
                },
                {
                    "command": "python.execInDedicatedTerminal",
                    "group": "navigation@0",
                    "title": "%python.command.python.execInDedicatedTerminal.title%",
                    "when": "resourceLangId == python && !isInDiffEditor && !virtualWorkspace && shellExecutionSupported"
                },
                {
                    "command": "python.debugInTerminal",
                    "group": "navigation@1",
                    "title": "%python.command.python.debugInTerminal.title%",
                    "when": "resourceLangId == python && !isInDiffEditor && !virtualWorkspace && shellExecutionSupported"
                }
            ],

I also thought it might be from https://github.com/microsoft/vscode/blob/c5e303a94af41bd3a3f2e0c5177c48f9ce0b22eb/src/vs/workbench/contrib/workspace/browser/workspace.contribution.ts#L54 but that is also not it. I was trying to get more familiar with how vscode sets this conditions which seem to act like environment variables but didn't get to it. I think for it to register as a conditional variable that can be used in package.json it has to be registered with  new RawContextKey<boolean>() which would require a change in the vscode repo.
Following the suggested flow to still have the button exist but then populate the popup I think would still require to find the ... ContextKey for restricted mode, which I could not find.

@jayleenli there's no rush! Do you want to still try to submit a PR? We can give you up to a month if you want.

Hi @jayleenli, since it's been one month since OSD I'm removing you as an assignee. You can still feel free to submit a PR to this issue if you'd like, but we're going to leave it open for other contributors too.


[ Wait for #2450 ] [ unittest ] Verify addition layer with fp16

For mixed precision, verify addition layer with half-precision using gtest
Add dataset generation code, generated data bin file, and test case accordingly

Self evaluation:

Build test:     [X]Passed [ ]Failed [ ]Skipped
Run test:     [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2446. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402020916420.24468588829041-b535a6c74ec344a278bc2788e6f608db41cf9f2c/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402021359360.39885807037354-9bd032ff75dc7f275c7402a82398f148ef0ddb9d/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402021359360.39885807037354-9bd032ff75dc7f275c7402a82398f148ef0ddb9d/report/pylint_result.txt.

@DonghakPark I am getting some pylint warning but cannot observe anything in the link. Could you check?

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402021359360.39885807037354-9bd032ff75dc7f275c7402a82398f148ef0ddb9d/report/pylint_result.txt.

@DonghakPark I am getting some pylint warning but cannot observe anything in the link. Could you please check?

This link (http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402021359360.39885807037354-9bd032ff75dc7f275c7402a82398f148ef0ddb9d/report/pylint_result.txt.) is TAOS CI's pylint report
and your PR pass TAOS pylint but got a Error on Gitaction Pylint
--> you can see the message in Details : gitaction tab
Here is gitaction pylint message
Run echo "packaging/unittest_layers_w16a16.tar.gz test/input_gen/gen_layer_tests.py test/unittest/layers/unittest_layers_addition.cpp" | tr " " "\n" | grep ".py$" | xargs pylint
************* Module gen_layer_tests
test/input_gen/gen_layer_tests.py:33:4: E0401: Unable to import 'tensorflow' (import-error)
test/input_gen/gen_layer_tests.py:34:4: E0401: Unable to import 'tensorflow.keras' (import-error)

Your code has been rated at 9.71/10
And this message is not belong to your code !!! it's ci error #2450 this pr will fix you pylint error

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402021359360.39885807037354-9bd032ff75dc7f275c7402a82398f148ef0ddb9d/report/pylint_result.txt.

@DonghakPark I am getting some pylint warning but cannot observe anything in the link. Could you please check?

This link (http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402021359360.39885807037354-9bd032ff75dc7f275c7402a82398f148ef0ddb9d/report/pylint_result.txt.) is TAOS CI's pylint report
and your PR pass TAOS pylint but got a Error on Gitaction Pylint --> you can see the message in Details : gitaction tab
Here is gitaction pylint message
Run echo "packaging/unittest_layers_w16a16.tar.gz test/input_gen/gen_layer_tests.py test/unittest/layers/unittest_layers_addition.cpp" | tr " " "\n" | grep ".py$" | xargs pylint ************* Module gen_layer_tests test/input_gen/gen_layer_tests.py:33:4: E0401: Unable to import 'tensorflow' (import-error) test/input_gen/gen_layer_tests.py:34:4: E0401: Unable to import 'tensorflow.keras' (import-error)
Your code has been rated at 9.71/10
And this message is not belong to your code !!! it's ci error #2450 this pr will fix you pylint error

Thanks a lot!

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402051028360.1785409450531-8c967a08ee5af98ab35bb45ba55a015db72b1126/report/pylint_result.txt.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2446-202402081144040.23438906669617-815286c36731e0be80d0c265172a0899baafee0e/report/pylint_result.txt.


Invalid cookie warning when trying to post journal

Recently I've been getting an error when I try to post a journal, saying that I need a valid FA_COOKIE header, even though I'm providing one. I think this worked at some point last year.
Other endpoints are working fine.
Here's the code I'm using to send the request: https://github.com/libertyernie/FAExportLib/blob/master/FAUserClient.vb#L37

I see what you're talking about.  Works fine locally but seems to be having issues on the live server.  Currently looking into it.

There are auto


Sell message not applying timezone offset correctly to the bought-on datetime

The timezone offset appears to be applied twice to the lastbought datetime, resulting in an incorrect time being displayed.

Could someone please help me apply this fix? I downloaded the .zip version of CryptoGramBot, and I can't find the file to modify to apply this fix. There is no EventBus folder within the CryptoGramBot folder, and I can't locate the "TradeNotificationHandler.cs" anywhere else within the folder. Any help locating the "TradeNotificationHandler.cs" file so I can apply this fix would be greatly appreciated. Thank you. -Abe


Add Next Uddannelse København

Official webpage: http://nextkbh.dk/
Link to (one) IT-related course: http://gymnasier.nextkbh.dk/gymnasier/sukkertoppen-gymnasium/htx/computer-science/
Screenshot: http://i.imgur.com/MpNIj6L.png
Login portal: http://edu.nextkbh.dk/

@YoonAddicting Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


Update SDK to the latest spec status.

Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
Update SDK to the latest spec status.
Special notes for reviewers:
Additional information (if needed):

sorry for late review. thank you!


Ability to Hide Recent Files

What's the Problem?
Unable to hide Recent Files
Solution/Idea
Please allow to turn off "Recent Files"
Alternatives
N/A
Priorities
Should
Files Version
<IP_ADDRESS>
Windows Version
20H2
Additional comment
No response

Hiding the widget helps a bit.
But there should be an option to not remember recent files at all.

Hiding the widget helps a bit. But there should be an option to not remember recent files at all.

I think you refer to #5882 ;)


_sa_skip_events error when invoking statement and calling SignallingSession

Hello, I've got instructed to post here from the very same issue I've created on this place: https://github.com/sqlalchemy/sqlalchemy/issues/8260
Here's the example code from here which I am using: https://github.com/sqlalchemy/sqlalchemy/blob/rel_1_4_39/test/ext/test_baked.py#L1023
When I try to execute a query with this event interceptor being in effect, I get the error about unexpected keyword argument _sa_skip_events, which I see is being appended to _bind_arguments in invoke_statement method, before calling execute: https://github.com/sqlalchemy/sqlalchemy/blob/rel_1_4_39/lib/sqlalchemy/orm/session.py#L221
Example code to reproduce:
from sqlalchemy.testing.fixtures import fixture_session
from sqlalchemy.orm.query import Query

class CachingQuery(Query):
    cache = {}

    def set_cache_key(self, key):
        return self.execution_options(_cache_key=key)

    def set_cache_key_for_path(self, path, key):
        return self.execution_options(**{"_cache_key_%s" % path: key})

def get_value(cache_key, cache, createfunc):
    if cache_key in cache:
        return cache[cache_key]()
    else:
        cache[cache_key] = retval = createfunc().freeze()
        return retval()

s1 = fixture_session(query_cls=CachingQuery)

@event.listens_for(s1, "do_orm_execute", retval=True)
def do_orm_execute(orm_context):
    ckey = None
    for opt in orm_context.user_defined_options:
        ckey = opt.get_cache_key(orm_context)
        if ckey:
            break
    else:
        if "_cache_key" in orm_context.execution_options:
            ckey = orm_context.execution_options["_cache_key"]

    if ckey is not None:
        return get_value(
            ckey,
            CachingQuery.cache,
            orm_context.invoke_statement,
        )

s1.query(User).filter(User.id == 7).set_cache_key("user7")

The error with the stack trace I'm getting:
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2896, in __iter__
  return self._iter().__iter__()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2903, in _iter
  result = self.session.execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1693, in execute
  result = fn(orm_exec_state)
File "/opt/project/app/project/__init__.py", line 63, in _do_orm_execute
  retval = orm_context.invoke_statement().freeze()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 233, in invoke_statement
  return self.session.execute(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1700, in execute
  bind = self.get_bind(**bind_arguments)
TypeError: SignallingSession.get_bind() got an unexpected keyword argument '_sa_skip_events'

Environment:

Python version: 3.9
Flask-SQLAlchemy version: 2.5.1
SQLAlchemy version: 1.4.39

It appears that in the latest official version (2.5.1) it's a bug: https://github.com/pallets-eco/flask-sqlalchemy/blob/2.5.1/flask_sqlalchemy/init.py#L187
While with the latest changes in this repository (main branch), it is already fixed: https://github.com/pallets-eco/flask-sqlalchemy/blob/main/src/flask_sqlalchemy/init.py#L175

Fixed in the linked commit, and addressed further in #1087.


Keep Runtime from HostConfig capitalized when stored in json format

Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>

@mlaventure build failing because of the removed import 😇

@vdemeester ah thanks. I shouldn't trust govendor it seems. It thought it wasn't needed anymore :)

LGTM

LGTM, dont forget to update the docs when vendoring in docker/docker


Fixed some issues for the self-update command

Currently, the self-update command does not return an alerting enough exit message or status code on permission errors.
I saw in the code that it was intended, but it did not work well enough.
This PR fixes this issue by modifying the thrown exception type in certain cases, and by making the fallback exception to return error code 1, and by coloring the rollback message.
Before:

After:

@smatyas it took us some time ... but this is finally merged! thanks for working on it.


Workspace.getEditors is deprecated.

Use Workspace::getTextEditors instead
Workspace.getEditors (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:368:7)
FuzzyProvider.module.exports.FuzzyProvider.buildWordList (/Users/gokmen/.atom/packages/autocomplete-plus/lib/fuzzy-provider.coffee:141:31)

It looks like #358 and #361 are duplicates of #350 and should also be closed by f8cac61.


feat: coinbase smart wallet support

@lochie can you expose the 'preference' field so that we can set it to 'smartWalletOnly', which is required until mainnet release to use with smart wallet?
Wilson exposed it in rainbowkit here:
https://github.com/rainbow-me/rainbowkit/pull/2002

@lochie can you expose the 'preference' field so that we can set it to 'smartWalletOnly', which is required until mainnet release to use with smart wallet? Wilson exposed it in rainbowkit here: rainbow-me/rainbowkit#2002

Have updated, thanks for the suggestion @Drewsapple 🙏


Implement patch API for datasources

Description
Implements PATCH api for data sources. This enables edit of data sources with partial fields, instead of requiring the whole data source metadata.
Issues Resolved
#2168
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@derek-ho can u please elaborate on the use case for which the patch is needed ?
can u plz add an issue describing this and the surrounding flow ?

87f0605

Done - 87f0605


Fixing anaconda link in about

Closes #165

Note that we will need a pyviz release to trigger a website build unless we want to push directly to gh-pages.

Looks good, thanks. I guess it should just be merged, as the errors appear to be timeouts, but I'm not sure why it's timing out.


Instantiating more than 4 WebGLRenderers causes black textures

If I instantiate and destroy more than 4 WebGLRenderers on a single page I get a black canvas, this behavior is consistent across chrome/ff/safari, I've included a minimal example, any ideas why this would be happening?
I'm in an "mvc" type page where the page is rarely refreshed, changing pages just swaps out content on the page, and my pages have a pixi instances on them.
var stage, renderer, container, redText, blueText, keepGoing;

var animate = function() {
	if (keepGoing) {
        requestAnimFrame(animate);
        renderer.render(stage);
    }
};

var startPixi = function() {
	stage = new PIXI.Stage();
    renderer = PIXI.autoDetectRenderer(1080, 393, {transparent: true});
    document.querySelector('body').appendChild(renderer.view);

    redText = PIXI.Sprite.fromImage("img/red-text.png");

    stage.addChild(redText);

    lastTime = new Date().getTime() / 1000;
    keepGoing = true;
    requestAnimFrame(animate);
};

var endPixi = function() {

    stage.removeChild(redText);

    redText.texture.destroy(true);
    keepGoing = false;
    renderer.destroy();

	var c = document.querySelector('canvas');
	document.querySelector('body').removeChild(c);
};

So calling startPixi() then endPixi() more than 4 times causes this behavior

I've run into this as well now. Is there a workaround for 2.x? I can't go back to 1.6.1 since I need features from 2.x.

@noseglid
you can just add a few more true statements to the problematic code
:neutral_face:

Won't really help me.. I don't know how many I need.

Well most browsers aren't capable of handling more than a couple dozen, so that's a starting point. Why do you need so many?
Sent from my iPhone

On Jan 7, 2015, at 3:18 PM, Alexander Olsson<EMAIL_ADDRESS>wrote:
Won't really help me.. I don't know how many I need.
—
Reply to this email directly or view it on GitHub.

It's not that I have many at the same time.

In previous projects I've used a singleton to re-use canvas contexts, but that can arguably get annoying to test and also isn't easily supported by some frameworks.
I suspect even if this bug is fixed you will find other issues with Pixi not cleaning up resources from earlier renderers (just off the top of my head: the texture cache). :sad:

This should be fixed now in v3. Using events from the texture that any number of renderers can listen for to update/destroy that texture.


WIP : V2.9

Solving all the issues of version 2.9

This update will take some time as i have to re rewrote the extension by having test cases in mind and supporting the OneDrive, Dropbox and other uploading Services.


Catalog unit test

This PR refactors the e2e catalog reconcile test to a unit test checking whether reconcile is triggered on catalog events (create, update, delete events). Reconcile is detected by scanning controller logs for logs from the reconcile loop for all operators.
See: https://github.com/operator-framework/operator-controller/issues/247

@ankitathomas can you please rebase?


feat: add '--server-addr' and '--mode' in sqlness runner

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Add --server-addr and --mode in sqlness runner, we can run the tests like:
cargo sqlness --server-addr <IP_ADDRESS>:4001 --mode standalone

cargo sqlness --server-addr <IP_ADDRESS>:4002 --mode distributed

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

It seems the --mode is duplicated with --test-filter. I'll remove it later.


appHistory shows "undefined" values

I can't seem to understand how I can configure appHistory.
My plan is that it should collect data from the appServiceFound and insert it in their right places:
Replication:

Go to the booking page and select any values you prefer.
Proceed to the next pages until you reach the Service Found page.
Wait for you to get back to the home page.
Open the History page.

Expected result:
On the unload event of the Service Found page it should save the data then send it to the History page once it's needed.
Actual result:
The values are undefined.

The code for appHistory can be found by clicking here. On the other hand, the code for appServiceFound can be found by clicking here.
Thank you in advanced for those who will be able to help me.

If this is still an issue, I can try looking into it!

I have fixed the issue it was showing undefined due to handlesubmit function

Thank you!


Implement UsaFileInput component.

Codecov Report

Merging #333 (aa8e174) into develop (3e0160c) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #333      +/-   ##
===========================================
+ Coverage    99.45%   99.49%   +0.04%
===========================================
  Files           99      101       +2
  Lines         1274     1397     +123
  Branches       205      221      +16
===========================================
+ Hits          1267     1390     +123
  Misses           7        7

Impacted Files
Coverage Δ

src/components/UsaFileInput/UsaFileInput.vue
100.00% <100.00%> (ø)

src/composables/useFileInput.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Need to  build a test container that can deploy successfully in PSP enabled setup.

Currently the test container  used in automation runs for validating clusters is built from "nginx" image.
nginx container does not deploy successfully on a cluster with "Pod Security Policy" set to "restricted".
Pod gets deployed and then gets into a crash loop with following error messages in the logs:
2020/04/23 20:11:05 [emerg] 1#1: chown("/var/cache/nginx/client_temp", 101) failed (1: Operation not permitted)
nginx: [emerg] chown("/var/cache/nginx/client_temp", 101) failed (1: Operation not permitted)

Need to find an alternate way to build a test container that can be used for automation runs.

Due to this bug, Longhorn UI 1.0.0 cannot be deployed to a cluster with Pod Security Policy "restricted" enabled on Rancher 2.4.3, too.

@FFock You can refer to https://github.com/longhorn/longhorn/pull/1281 and try workaround to deploy longhorn to a cluster with Pod Security Policy "restricted" enabled

I have tried longhorn/longhorn#1281 without success. Steps I had done:

Created a "longhorn-system" project in a cluster with default PSP "restricted"
Defined security policy for the project to "psp-longhorn-system" as described as "least privileged PSP" in https://github.com/longhorn/longhorn/issues/603
Launched Longhorn 1.0.0 in that project/namespace.
All pods deployed successfully except "longhorn-driver-deployer" hangs in "PodInitilization" and "longhorn-manager" is not running (intentionally?) on any pod.

I tried to add the "missing" serviceAccount values as mentioned in https://github.com/longhorn/longhorn/issues/603 but I have no clue were to do that and how. All I tried so far, had no effect.

@FFock You just need to deploy PSP as mentioned https://github.com/longhorn/longhorn/pull/1281#issuecomment-622924015 before launching longhorn app.
Try below steps:

Create a cluster with PSP enabled with 'restricted'.
kubectl apply yaml from https://github.com/longhorn/longhorn/pull/1281#issuecomment-622924015
Check the PodSecurityPolicy, it should be as below.

> kubectl get PodSecurityPolicy
NAME                      PRIV    CAPS   SELINUX    RUNASUSER   FSGROUP     SUPGROUP    READONLYROOTFS   VOLUMES
default-psp               true    *      RunAsAny   RunAsAny    RunAsAny    RunAsAny    false            *
longhorn-default-psp      false          RunAsAny   RunAsAny    RunAsAny    RunAsAny    false            configMap,emptyDir,projected,secret,downwardAPI
longhorn-privileged-psp   true    *      RunAsAny   RunAsAny    RunAsAny    RunAsAny    false            *
restricted-psp            false          RunAsAny   RunAsAny    MustRunAs   MustRunAs   false            configMap,emptyDir,projected,secret,downwardAPI,persistentVolumeClaim

Launch Longhorn app 1.0.0.  It should work.

Let us know if this works for you.

Had not luck yet. It seems that I got a bit further, but now the longhorn-engine pods are failing with:
cannot create regular file '/data/longhorn': Permission denied
Please note that I am using RHEL 7.8 with SELinux enabled.

Thanks @FFock for letting us know. Are you using k3s or k8s?
We had an issue with k3s https://github.com/longhorn/longhorn/issues/1273 which is solved now and will be out with longhorn version - v1.0.1

Issue longhorn/longhorn#1273 does not solve all needed issues when SELinux is enabled. I had to run
ausearch -c 'csi-resizer' --raw | audit2allow -M my-csiresizer
semodule -i my-csiresizer.pp
ausearch -c 'csi-provisioner' --raw | audit2allow -M my-csiprovisioner
semodule -i my-csiprovisioner.pp
ausearch -c 'csi-attacher' --raw | audit2allow -M my-csiattacher
semodule -i my-csiattacher.pp
on all nodes too, to get it working.


Clique leader not reachable from outgoing edges from a node in SciGraph

When querying SciGraph, I observed something odd:
If I query for an NCBIGene node and try to get OUTGOING edges, I do not get any HGNC node (even though the clique leader is expected)
Alternatively,
If I query for the same NCBIGene node and try to get INCOMING edges, I get the proper HGNC node.
Is there a reason why this changed? Shouldn't equivalentClass edges between the two nodes be bidirectional?
scigraph.scigraph_util.SciGraph.traverse_chain() fetches OUTGOING edges, by default.
Earlier this method would give the clique leader.
The context for all this is that scigraph.scigraph_util.SciGraph#gene_to_uniprot_proteins now returns no protein identifier for a gene unless the input CURIE is the clique leader.
So what changed? @kshefchek thoughts?

SciGraph does not add the inverse edge when an owl property is symmetrical.  But this is odd that it changed, I'll take a closer look.  Using /dynamic/cliqueLeader/{id} is the safest way to get a clique leader.

@deepakunni3 I don't see a change in the entrez gene ingest for making eqs to HGNC, do you recall the specific ID(s)?

To give more context:
Currently api-prod uses MyGeneInfo for converting gene-to-protein where as api-dev uses SciGraph for conversion (which is what we want).
https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene%3A6469/function?rows=100&facet=false&unselect_evidence=false&exclude_automatic_assertions=false&fetch_objects=false&use_compact_associations=false
Yields results since we convert NCBIGene:6469 to its equivalent UniProtKB via MyGeneInfo.
Now, the same query to api-dev,
https://api-dev.monarchinitiative.org/api/bioentity/gene/NCBIGene%3A6469/function?rows=100&facet=false&unselect_evidence=false&exclude_automatic_assertions=false&fetch_objects=false&use_compact_associations=false
Yields no result. This is because we don't get any clique leader for NCBIGene:6469, via scigraph.scigraph_util.SciGraph.traverse_chain(), which is required to fetch a UniProtKB identifier from SciGraph.

Because traverse_chain() first tries to get all edges for ENCODES and HAS_DBXREF
If it doesn't find any result then it tries to get clique leader, via equivalentClass, and then get all edges for ENCODES, HAS_DBXREF

After digging around, I noticed that the directionality of the equivalentClass edge changed.
traverse_chain() tries to get OUTGOING equivalentClass edges from a node. But in this scenario, there are no OUTGOING equivalentClass edges from NCBIGene:6469.
But there are INCOMING equivalentClass edges to NCBIGene:6469.
The logic for traverse_chain()  method hasn't changed in a long time. Which is what led me to believe that something else changed.
@kshefchek Would appreciate your inputs on this.
We cannot update api-prod until this is fixed.

I'll have to take a closer look at dipper to see if the data changed, but I think the easiest thing is to use the cliqueLeader service

Sure! It seems more straightforward and correct than getting it via traverse_chain 👍


Added ability to generate a component from the CLI

https://github.com/blackbaud/skyux2/issues/419

Codecov Report

Merging #330 into master will not change coverage.
The diff coverage is 100%.

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

Codecov Report

Merging #330 into master will not change coverage.
The diff coverage is 100%.

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

LGTM. General discussion which I wouldn't necessarily consider non-blocking feedback.
Is there an opportunity to combine this functionality with skyux new.  Perhaps either by running this command as part of the skyux new process, so that a new site will always contain the latest example of a component.
Or perhaps flip that, and keep the logic here but have it pull the source files from the template?

I think it makes sense to try to keep the generated components and the boilerplate components in the template in sync.  I'm not exactly sure what the right approach is, though.  Let's keep thinking about it.


license popup

Hello.
I Use this project but the pop-up license page is repeated in the app every time. How can i fix it ?

Hi @omiddehghan2036,
We checked your query to avoid a license popup, need to have a license key for your Syncfusion account, and by registering that in the UIKit application, the popup will not be shown.
Please find the below links to generate the license key for Syncfusion controls
https://www.syncfusion.com/kb/8976/how-to-generate-license-key-for-essential-studio-products
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#how-to-generate-syncfusion-license-key
How to register your license key in your application in order to avoid the licensing popup, please refer to the below links
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#how-to-register-the-syncfusion-license-key
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#how-to-generate-syncfusion-license-key
Please refer to the below link to get the license without having Syncfusion account (trial)
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#nugetorg-users-without-a-syncfusion-account
After addressing the suggestion on the links above, you are still facing the issue, please let us know.
Regards,
Hemalatha M.

Hi @omiddehghan2036,
We checked your query to avoid a license popup, need to have a license key for your Syncfusion account, and by registering that in the UIKit application, the popup will not be shown.
Please find the below links to generate the license key for Syncfusion controls
https://www.syncfusion.com/kb/8976/how-to-generate-license-key-for-essential-studio-products
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#how-to-generate-syncfusion-license-key
How to register your license key in your application in order to avoid the licensing popup, please refer to the below links
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#how-to-register-the-syncfusion-license-key
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#how-to-generate-syncfusion-license-key
Please refer to the below link to get the license without having Syncfusion account (trial)
https://help.syncfusion.com/common/essential-studio/licensing/license-key?#nugetorg-users-without-a-syncfusion-account
After addressing the suggestion on the links above, you are still facing the issue, please let us know.
Regards,
Hemalatha M.

This fixes it temporarily but the nag window returns every 30 days.
IMHO "nag-ware" is not the same as "free".
Right on the main GitHub page it says "Free and beautiful XAML template pages for Xamarin.Forms apps," and the word "free" is all over your promotional material.
This is false advertising if you ask me.
A free product has no strings attached, but this one has a string is quite large and heavy.

Hi @SwingsetTheory ,
The Syncfusion community licenses do not expire. You will continue to receive support and updates for new versions. Please refer to the below documentation to know more about the Syncfsuion community license.
https://www.syncfusion.com/products/communitylicense
Please let us know if you need any further assistance in this.
Thanks
Meikandan


the sort do not work when I use $regex , $ne or $not any one in selector

I have a requirement is to search for some content using a selector, then to sort the results according to the specified field
examples:
docs:
_id                Name                     Debut       Series
dk                 Donkey Kong         1981         Mario
falcon           Captain Falcon       1990         F-Zero
fox                Fox                         1993         Star Fox
kirby             Kirby                       1992        Kirby
link               Link                         1986        Zelda
luigi              Luigi                        1983        Mario
mario           Mario                      1981        Mario
ness            Ness                       1994       Earthbound
pikachu       Pikachu                   1996      Pokemon
puff              Jigglypuff                 1996     Pokemon
samus         Samus                    1986      Metroid
yoshi           Yoshi                       1990      Mario
code1: work correctly,  the results sorted by name desc
db.createIndex({
       index: {fields: ['name']}
}).then(function)(){
       return db.find({
           selector:{name:{$gt:null}},
           sort:[{name:'desc'}]
        })
}

code2: do not work
db.createIndex({
       index: {fields: ['name']}
}).then(function)(){
       return db.find({
           selector:{name:{$ne:"xx"}},
           sort:[{name:'desc'}]
        })
}

I read the pouchdb and couchdb's documents, knows that:
once we have an index on a field, we can sort documents by this field
but $regex, $ne and $not cannot use on-disk indexes, and must use in-memory filtering instead.
so this means we can't use the sort when we use $regex, $ne or $not in selector,

@hongzhongfang Its not possible to sort the results when there is just in-memory filtering. Sorting would require CouchDB to load the entire result set into memory and then sort it. This will lead to performance issues and out of memory issues on a large cluster.
For your query you need to add another field in your query that will use the "on-disk index"  and will then also be sorted.

Thanks @garrensmith and @wohali !


Allow adminstrator teams members to see other teams

Allow team members with adminstrator access, to view other teams.
Resolves https://github.com/go-gitea/gitea/issues/18885

It's better to change the concept from admin to manager, then no confusion anymore.
admin sounds like it can control everything, while manager sounds like it can only manage what it can manage.

It's better to change the concept from admin to team manager, then no confusion anymore.
admin sounds like it can control everything, while manager sounds like it can only manage what it can manage.

It's better to change the concept from admin to team manager, then no confusion anymore.
admin sounds like it can control everything, while manager sounds like it can only manage what it can manage.

Hmm, yes .... just a personal opinion to make the concept clear,  please ignore me ~~~

Blocked As per discussion in #maintainers
@lunny - do you think we should merge as is as is backportable to 1.16 and then move to a separate unit to 1.17

:rocket:


Modal Open Callback

I am using the modal tag callback system as made visible in the documentation:
Show Modal

The ready and complete callbacks trigger my functions just fine, however the open callback does not seem to trigger my function.
If this is not the intended purpose of the callback, could you please outline what it is meant to do?
(in the meantime I will be using ng-click to trigger my open method)
Thanks!

open is not a callback, it is a boolean variable that if set to true, opens the modal.
You can see that in the index.html file where the button Open from controller opens the modal when clicked.
We should properly make the documentation clearer about this.

Alright, thank you for clearing that up


MacOS window focus

Type: Bug
I can't quite put my finger on it exactly, but I keep on being in the wrong window randomly or scrolling up to the top in the current pane. For example clicking new file, usually opens up the pane but doesn't focus, then when you focus it using the mouse it closes or you end up on another project's window. A lot of time inside of terminal it all of a sudden scrolled to the top and I have not figured out if it's anything I did. The scrolling problem I am also seeing on ubuntu, but the focus problem is fine there.
 It uses ansi control sequences to put up a multi pane display, and then tears it down. After the command executes. You can type a command and execute the next command normally, but when scrolling you're at the top of the buffer rather than at the end.

is this window/aux window related? don't think I really follow the repro steps here

I don't think so. This just happens on a Mbp with either an external monitor or without. It seems be somehow affect focus randomly.
The scrolling problems seems to be related with CLI command lines which use positioning on the output. For some reason after the command the screen looks ok, but it's scrolled to the wrong line when looking at the scroll bar. When typing in the next command things move. I think the cli might be doing the wrong thing. This is specifically a problem with the turbo monorepo tool.
The focus most often happens when clicking on the exporer and clicking the new file button in the explorer. This correctly opens up the new area where the name of the new file should be, however the keyboard is not focused on the new file name. Then clicking on the file name actually aborts the file creation and you have to try it a second time when it works successfully.

This sounds like a duplicate of https://github.com/microsoft/vscode/issues/143968

Yes it looks that way, the scrolling problem was apparent at the same time but doesn't seem related at all. The scrolling problem might be a problem with turbo, but somehow when using a lot of ansi positioning codes in the terminal the scroll bar gets confused.


[SPARK-22721] BytesToBytesMap peak memory not updated.

What changes were proposed in this pull request?
Follow-up to earlier commit.
The peak memory of BytesToBytesMap is not updated in more places - spill() and destructiveIterator().
How was this patch tested?
Manually.

Sorry @hvanhovell for not getting it fully right the first time...

Test build #84619 has started for PR 19923 at commit 12de708.

yay! LGTM

Test build #84619 has finished for PR 19923 at commit 12de708.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84619/
Test FAILed.

jenkins retest this please

Test build #84627 has started for PR 19923 at commit 12de708.

Test build #84627 has finished for PR 19923 at commit 12de708.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/84627/
Test PASSed.

Merged build finished. Test PASSed.

Merging to master. Thanks!


Scaling is not gamma-aware

Thanks for your hard work on this library! Please consider making the scaling gamma-aware. For example, scaling this image down 50%:

produces:

but should look like:

This is the code I used to generate the scaled versions.
See Eric Brasseur's Gamma error in picture scaling for more details.

You are right, the implemented image processing functions do not convert images to/from a linear color space. It was a deliberate decision (at least for v1 of the package). Here are some considerations:

The image.Image type does not provide a color space information and I'm not sure if it's a good idea to assume all images are sRGB.
Extra convertion steps would make the image manipulation slower (I don't have any benchmarks, though).
The imaging package produces 8bit/channel images (image.NRGBA) only, which is not suitable to make the colorspace convertion a separate function.

If you really need a more accurate image scaling, consider using the other package I wrote - github.com/disintegration/gift. Here's the example:
package main

import (
	"image"
	_ "image/jpeg"
	"image/png"
	"log"
	"os"

	"github.com/disintegration/gift"
)

func main() {
	src, err := loadImage("gamma_dalai_lama_gray.jpg")
	if err != nil {
		log.Fatal(err)
	}

	w, h := src.Bounds().Dx()/2, src.Bounds().Dy()/2

	g := gift.New(
		gift.ColorspaceSRGBToLinear(),
		gift.Resize(w, h, gift.LanczosResampling),
		gift.ColorspaceLinearToSRGB(),
	)
	dst := image.NewRGBA(g.Bounds(src.Bounds()))
	g.Draw(dst, src)

	err = saveImage("out.png", dst)
	if err != nil {
		log.Fatal(err)
	}
}

func loadImage(filename string) (image.Image, error) {
	file, err := os.Open(filename)
	if err != nil {
		return nil, err
	}
	defer file.Close()
	img, _, err := image.Decode(file)
	if err != nil {
		return nil, err
	}
	return img, nil
}

func saveImage(filename string, img image.Image) error {
	file, err := os.Create(filename)
	if err != nil {
		return err
	}
	defer file.Close()
	if err := png.Encode(file, img); err != nil {
		return err
	}
	return nil
}

Very cool, thanks for the thorough answer. I'll check out gift.


Write a Ruby program to convert feet to inches

Description
Write a Ruby program to convert feet to inches
1 foot = 12 inches
Input  : 5
Output : 60

How to contribute

Save the solution in ConvertFeetToInches.rb file
Add ConvertFeetToInches.rb file in program/convert-feet-to-inches folder

!assign


Service is no longer working

Getting a 502 Bad Gateway result...

Fixed! I moved my server a few weeks ago and forgot to set up monitoring for this. Thanks for letting me know.

great!


Adding an IRoleStore and configuration helper so that it can be used with minimal changes from EntityFramework

@runxc1 thx for this!
I guess this has the changes from #5. If so, let's wait for that to be merged first, would that work @runxc1?
OTOH, I am not sure about having this 😞 Why do you use claims to store Roles and need this?

@tugberkugurlu waiting for changes from #5 is fine as this does contain that.   As for Roles, there is no reason not to provide an I RoleStore.  Roles and Claims both have their place.  Personally I prefer to program using claims but have the ability to assign claims to a role.
All of that aside I found the VS new project template use the IRoleStore so implementing it made it easier to start a new project and swap out SqlServer for Mongo

have the ability to assign claims to a role.

The thing I am confused is that a role is a claim and I don't understand why Identity system has IRoleStore. There could be totally valid reasons for that but I haven't seen any 😞

Seems like ASP.NET Core Identity 2 makes it easier to use the providers w/o roles. So, I will close this and still keep insisting on not implementing this 😄 Feel free to try to persuade me with reasons to implement it though!


Cannot npm install any of Material packages

I'm doing npm install @angular2-material/core
I'm getting :
          `npm ERR! must have a URL that starts with http: or https:`

Looks like the server does not have the packages.
I've tried :
npm set registry https://registry.npmjs.org/
No success .
npm set registry http://registry.npmjs.org/
No success.
node v5.10.1
npm  v3.8.3

The packages are definitely there.This is almost certainly a problem with your environment, which we unfortunately cannot debug.


build.sh: use TMPDIR if set

Would be useful for https://github.com/ocaml/opam-repository/pull/20390

Thanks!


support for terraform 0.12

/causedByExtension
Please file an issue for the Terraform extension you are using.


Requesting an OHM subdomain set up for ohmforum.discoursehosting.net

We need an OHM "home" subdomain set up for our Discourse Forums.
Ideally, it will be:
subdomain: forum.openhistoricalmap.org
points to:  ohmforum.discoursehosting.net.
Please note the "don't forget the '.' at the end" instructions below:

:)

@jeffreyameyer I have just added a subdomain as CNAME record, that points to  ohmforum.discoursehosting.net. 👇

AWESOME! Verified as working now: https://forum.openhistoricalmap.org/


CPLY Loader and Writer

Status:

loader and writer are refactored, but I'm not sure what about default shaders in the loader
after dealing with above if it's and issue I have to test it

@devshgraphicsprogramming maybe we should create more functions like setPostiionAttributeIx() for E_COL and E_UV?

@devshgraphicsprogramming maybe we should create more functions like setPostiionAttributeIx() for E_COL and E_UV? Writing explicitly numbers as literals is just weak I think

No, I dont want standards and reliance on semantic vertex attributes, really all you need to know about as an engine is the position and normal indices (cause you need to flip them)


is this normal ,

spend a lot of time on  vae encoding,  on RTX4090

It's related to the size of your image. and the frame_num amount.

It's related to the size of your image. and the frame_num amount.

thanks ,I tried with tile encode node, much faster


Render options

This PR makes possible to specify matching area thru selector:
expect(page).to match_reference_screenshot(selector: "#foo")

Refactored a little bit. Now it's possible to pass full: false too.

Looks good to me. I am gonna go ahead and merge this. Thanks :+1:

:+1: from the peanut gallery :)

Not at all) We're starting to work on the next one [#26] :smiling_imp:


Added Teia marketplace support for collab contracts

This commit contains changes required to migrate collab contracts from V2 marketplace to Teia marketplace. There is no back support for V2 swaps for collab contract, if this logic is required - it might be done by adding one more special swap case.
As far as I already started to work with xat/fix/refactorings, I decided not to switch back to main. Almost all collab swap logic was working good in this branch, but there was two exceptions: I wasn't able to pick collab in UI and looks like reswap is not working in this branch.
It would be nice to test if collab contract creation is still works: I refactored packParticipantsData function to be used with lambdas and I was not able to test it in this branch.
Also I decided to refactor createSwapCalls function a bit, because it got too sophisticated with all this proxy logic. I don't know if you accept this, but I feel it is better to split all this logic, but maybe it got a little messy. Finally, as far as reswap wasn't working in this branch, so I did not tested if it would work with all the changes I made.

@ztepler with no back support for v2 swaps: do you mean that it is not possible to cancel v2 swaps? i suppose a lot of users want to cancel their v2 swaps in order to then swap them on teia, otherwise, the swap doesn't show up on objkt.com.

@xat hmm, yes, this is very good point! I will add extra case to make possible cancel V2 swaps too

just commenting to link this to issue #82, which this will resolve when merged!
thanks! ❤

very nice :-)
i'll merge this now and create a new pr on top of the xat/feature/dipdup-5 branch. then we can ask users to do some testing, before it gets merged into main.


Imports  auto-update replaces relative path with alias-path

I've renamed file ChartWheel.ts -> ChartWheel2.ts
Vscode/ts updated import relative paths like ./ChartWheel -> ~/client/cycles/ChartArea/ChartWheel2
I would expect ./ChartWheel ->  ./ChartWheel2
tsconfig compiler options have following config for paths:

   "baseUrl": ".",
    "paths": {
      "~/*": ["./apps/*"],
    }

So is it possible for vscode/ts to keep existing import path "style" the same while updating imports?
btw is it more correct to create issues on auto-import in TS repo?

Try setting "typescript.preferences.importModuleSpecifier": "relative". This should make ts prefer using relative paths for quick fixes and auto imports (although we will continue to understand both paths styles)
@andy-ms By default do we prefer using paths over relative paths?

As of #25803 we should prefer the relative path when it's shorter, so I would consider this a bug.  I can't reproduce this problem in a simple project containing just apps/client/cycles/ChartArea/user.ts and apps/client/cycles/ChartArea/ChartWheel.ts and the compiler options posted above.
@whitecolor It would help if you could provide a specific repro for this. The only things that should matter are the path of the importing file, the path of the imported file, and the tsconfig.json. Also be sure you're testing with typescript@next (set up instructions for vscode).

@whitecolor can you provide the requested info and unassign yourself? Thanks!

Closing as not actionable without more information. We've also made a lot of fixes and improvements since it was opened
If you see this again with VS Code 1.53+ and TypeScript 4.15+, please let us know


oauth support

i am trying to make call using the "access token" but keep getting the error that i dont have access to the resources.
i see in the magento manual that a connection using only the token is disables by default
https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentication-token.html
but there "fix" to enable "enable_integration_as_bearer" is also no good, that has also been removed.
they continue to imply we should us oauth, is that supported?

Hey there,
There are no plans for OAuth as this package is native to Laravel's HTTP Client.  Feel free to fork your own version though!
Thanks!

Hey @medspec,
I found this workaround (not ideal) but it should get you working for now.


Can not connect to testnet

I am try to connect with testnet without any successful i am just add testnet=1 in config file, should i add
a specific test nodes if so what is it, kindly help

per @justinvforvendetta on
https://github.com/vergecurrency/VERGE/issues/687
https://github.com/vergecurrency/VERGE/issues/744
Testnet isn't available at the moment, but will be shortly.


Remove Cesium3DTilesetState

For #3241
Removed Cesium3DTilesetState. The tileset json is now requested by RequestScheduler.request which always returns a promise.

Looks god!


Build errors are not displayed correctly in VS

Two things we need to fix:

File names should have the correct slashes
Error code and error category needs to be printed when we are working with MS Build

Actual:
1>  C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\tsc.exe  --sourcemap --target ES5 --locale en-US "c:\users\mhegazy\documents\visual studio 2013\Projects\TypeScriptHTMLApp1\TypeScriptHTMLApp1\app.ts" (TaskId:15)
1>  c:/users/mhegazy/documents/visual studio 2013/Projects/TypeScriptHTMLApp1/TypeScriptHTMLApp1/app.ts(15,31): ';' expected. (TaskId:15)

Expected:
1>  C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\tsc.exe  --sourcemap --target ES5 --locale en-US "c:\users\mhegazy\documents\visual studio 2013\Projects\TypeScriptHTMLApp41\TypeScriptHTMLApp41\app.ts"
1>C:\Users\mhegazy\Documents\Visual Studio 2013\Projects\TypeScriptHTMLApp41\TypeScriptHTMLApp41\app.ts(15,31): error TS1005: Build: ';' expected.
1>  The command exited with code 1.

Does not seem to have any user impact. closing.


Mac: The installer should use the published version of GVFS.Service rather than dotnet GVFS.Service.dll

Currently the GVFS.Service is being launched using dotnet GVFS.Service.dll:
https://github.com/Microsoft/VFSForGit/blob/2d37c40e2b2b7cb51a2b87681decae8c8e6db2d8/GVFS/GVFS.Service/Mac/org.vfsforgit.service.plist#L22
And it should be launching the published version of GVFS.Service

@alameenshah can you take a look at this to unblock the release to EA?


Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
We did increase time out interval
jasmineNodeOpts: {
	showColors:true,
	defaultTimeoutInterval:100000,
	print:function() {}
}

Failing when running test cases
When you run locally, all test pass. But when same run on CD server it fails with above message.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 8.3.29
Node: 12.19.0
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package
  Version
------------------------------------------------------------
@angular-devkit/architect
  0.803.29
@angular-devkit/build-angular
  0.803.29
@angular-devkit/build-optimizer
  0.803.29
@angular-devkit/build-webpack
  0.803.29
@angular-devkit/core
  8.3.29
@angular-devkit/schematics
  8.3.29
@angular/cdk
  8.2.3
@angular/cli
  8.3.29
@angular/flex-layout
  8.0.0-beta.27
@angular/material
  8.2.3
@angular/material-moment-adapter
  12.0.0
@ngtools/webpack
  8.3.29
@schematics/angular
  8.0.0
@schematics/update
  0.803.29
rxjs
  6.6.3
typescript
  3.5.3
webpack
  4.39.2

Anything else?
No response

Angular 8 is no longer supported please update to a more recent version. Please see: https://angular.io/guide/releases#support-policy-and-schedule


iOS - screen freezes when 1d barcode lines are scanned in iOS devices

Tried to scan 1d barcode lines in my iPhone and while scanning the barcode application is stuck and freezing.
Could someone please help to resolve this?
Is there any exception handling mechanism to get the error?
mobile_scanner: ^2.1.0
iOS -> iPhone with iOS 16

Thanks for your response.
For me, 2 D QRCodes are scanning fine. But the 1 D Barcode lines are not and freezing the app

Please let me know if there is any update on this. Still not able to scan the 1D barcode in iOS devices. It is freezing screen


Feature Request: Option to disable health estimate for tokens

A per token option to disable the health estimate would be useful to not immediately show players the status of NPCs that already might be dead / unconscious before the players arrive.

That can be done using the Hide Estimates command, in the Configure Controls menu, but I've also added a Token Setting on the next release, so that should be easier.


suggestion: add a class for aviod dragging

for exmaple i have a card that has many components inside it.
i want the whole card beside lets say a button and a images to be able start initiate dragging,
so if i give the whole card the drag handle class, then also the btn and image will initiate dragging.
i whould like to have a class that i can give them that will let VueDraggable to know that items that have this class cannot initate a drag event.

你可以使用 filter 这个属性。下面我给出了一个示例，关于这个属性的简单例子，不知你的想法是否是这个。
示例

你可以使用 filter 这个属性。下面我给出了一个示例，关于这个属性的简单例子，不知你的想法是否是这个。
示例
@Ben-Avrahami


Docs: Replace MP intro table with cards

Environment Details

Helidon Version: 2.0.x
Helidon MP
JDK version: NA
OS: NA
Docker version (if applicable): NA

Problem Description
The information presentation in the MPintroduction table can be improved by using cards/pillars/icons - similar to what we had in the 1.x Overview topic https://helidon.io/docs/v1/#/about/01_overview
Steps to reproduce
https://helidon.io/docs/v2/#/mp/introduction/01_introduction see table in the About Helidon MP Components section.
Use https://github.com/oracle/helidon/blob/helidon-1.x/docs/src/main/docs/about/01_overview.adoc source code as an example.

PR 2195


UV hydro incorrect dimensions error fix

Don't merge this quite yet - submitting one more change based on Jordans comment

Should be good to go now :+1:


first run usability fixes

per #74, we have some confusing wording here. first attempt at cleaning this up.

include library progress in setup script - recommended in #74

It's a bit weird that you also updated the setup.ps1 file in a PR about readme document. Anyway, it's a good work overall. I have a few comment but they're all minor.

agreed, the pr name wasn't ideal. renamed. the idea was to fix #74 which included some setup.ps1 usability issues

@bengreenier Feel free to go ahead and merge.

@phongcao i want to fix the things you flagged first :) i'll try and get this merged by end of day 🚀