[WARP] Open directory command browsing doesn't work

Extension
https://www.raycast.com/warpdotdev/warp
Description
Unable to find any directory with the open directory command, browse is always empty.

Steps To Reproduce

select command
type few key to search folder

Current Behaviour
browser list is empty
Expected Behaviour
should populate the list with matching folders name

Internally, this command uses Spotlight's index to search for directories. Is Spotlight indexing the directory you're searching for?

yes and I also tried other directories too, including my home directory. same result. I also have Raycast full access to disk and file and folders in security and privacy tab in the settings.

Ok, thank you. And just to confirm, if you search within the Spotlight app itself, you get results?

Yes i confirm that from spotlight and Raycast built in search files command get results

@fascox ok, I'm going to try and improve the error messaging around this to see if we can get to the bottom of it.

@fascox OK, I'm going to try and improve the error messaging around this to see if we can get to the bottom of it.

Any news regarding improvements to error messaging for detecting this issue?

I have the same issue with this problem, it would be great if there is some news to this issue ? :)

I also have the same problem.

Same here


Windows previous versions documentation needs to be Bing-able and Google-able

It is my understanding that now that all older documentation for Windows 7, 8.1, Server 2008 R2, Server 2012 R2 located here: https://docs.microsoft.com/en-us/previous-versions/windows/  is not searchable using normal standard web tools such as bing or google.
Given that Windows 7 is still is in it's supported/extended lifecycle, given that documentation is part of support may I respectfully request that normal standard search tools are allowed to search this documentation.

And this link is broken:  https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-essentials

@presleyy Can you take a look at this?

@Khairunj probably would be the correct driver for this experience.

Stay on 'em Susan!

@SusanBradley - Hi, Susan - thanks for letting us know about the broken Essentials link. It's fixed now. Thanss - Liza

I just finished implementation of a new Dell server that came preinstalled with Windows Server 2016 Essentials.  It was NOT easy!  The setup and config steps are not clear, and absolutely NONE of the help links work!  They all fail as described here:  https://social.technet.microsoft.com/Forums/en-US/2e1187f8-45e8-4e4d-b64f-8d0548b8f8ca/windows-server-2016-essentials-dashboard-help-links-useless?forum=winserverManagement
After many years of well developed SBS products, this one was very disappointing.  I've finally got everything working, except for Remote Desktop accessed via the Remote Web Access page.
I really wish Microsoft's product engineers would pay a little more attention to detail with this product.

@gwieder65 I found this page [https://docs.microsoft.com/en-us/windows-server-essentials/manage/manage-remote-web-access-in-windows-server-essentials] that might be helpful.

the correct link is provided to the customer

No one answered my question about the searchability.  Did that get fixed or not?


Marathon REST API for retrieving the status of an app.

Hi Everyone,
I'm seeking for the marathon REST API that get status of an app (whether it is running, suspend, waiting or destroying). I went through the REST API of marathon but I couldn't see something like that.
So I'm wondering, may be I went through such api without knowing.
Any clue please?
Thanks.

Hey @neddogg I would suggest GET /v2/apps/{appId} See documentation here: https://mesosphere.github.io/marathon/docs/generated/api.html#v2_apps__app_id__get
Especially see all embed options to get the state you are interested in.


Drag and drop into already occupied slots

based on Davors suggestion

Probably needs wrapper component with dropzone with functions of suggester which will be possible to add anywhere.
Maybe even use the new component in suggester to not duplicate the DnD logic.


[Bug]: Pathless layout route causes invalid conflict

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[X] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.1.1
What version of Node are you using? Minimum supported version is 14.
16.1.0
Steps to Reproduce
Create a route structure like so:
routes/__foo/index.tsx
routes/__bar/bar.tsx
routes/__foo.tsx
routes/__bar.tsx

Expected Behavior
That the/ route goes via __foo/index.tsx & the /bar route goes via __bar/bar.tsx.
Actual Behavior
The error is thrown when starting remix:
Path undefined defined by route "routes/__bar" conflicts with route "routes/__foo"

You can see a reproduction here.
At the moment, if I edit the check here I can get it to work.
- if (typeof uniqueRouteId !== "undefined") {
+ if(uniqueRouteId)

The uniqueRouteId variable will never be undefined, since it's concatenated - this allows invalid checking of the unique route ids for the layout route.
let uniqueRouteId = (fullPath || "") + (isIndexRoute ? "?index" : "");

Came here for the same issue. Apparently it got fixed in v1.1.2 here

Looks like it - will close.


Always render the duration as a decimal integer.

Part of the spec. Safari refuses to play a video with a non-integer target duration.

Coverage remained the same at 100.0% when pulling 85b4ea4d9a9fac63c3b8500f811c52049793d03f on jviney:master into b480a436137413ee20e0911f87be707f8e36754e on sethdeckard:master.

Coverage remained the same at 100.0% when pulling 5f0e2fdfcbdcaeb6fb06f18cb075e57c00efb802 on jviney:master into b480a436137413ee20e0911f87be707f8e36754e on sethdeckard:master.

Nice, thanks!


OpenCL errors

I am testing the latest roflcoopter/amd64-cuda-viseron image with old Nvidia GT730 2GB GPU (compute cap. 3.5).
I started my test with the following config but I noticed errors after the first motion was detected:
cameras:
  - name: raspicam
    host: <IP_ADDRESS>
    port: 8555
    stream_format: rtsp
    username: user
    password: password
    path: /unicast
    width: 1280
    height: 720
    fps: 10
    codec: h264_cuvid
    ffmpeg_loglevel: info
    logging:
      level: debug

Please find attached logfile.
https://pastebin.com/SUkFGvjB
Then I modified the config file with following changes:
cameras:
  - name: raspicam
    host: <IP_ADDRESS>
    port: 8555
    stream_format: rtsp
    username: user
    password: password
    path: /unicast
    width: 1280
    height: 720
    fps: 10
#  codec: h264_cuvid
#  ffmpeg_loglevel: info
    logging:
      level: debug

and no errors at the beginning.
After the first motion was detected the picture was saved in recordings folder immediately.
The mp4 file was recorded as there was no motion.
Unfortunately after the second motion detected the container stopped working and there were errors regarding recording proces.
The log file from the last configuration.
https://pastebin.com/b2AtWaGF
From NVTOP I can see that GPU% memory is about 50-70% utilized.

I think (?) this was solved over on the Home Assistant forum so i am closing this.
Please reopen if issue still persist


Unable to install SIFT - Ubuntu 14.04.6 LTS

Hi:
im getting below error when i try to install sift:
remnux@remnux:~$ sudo sift install

<EMAIL_ADDRESS>sift-version: notinstalled

Installing and configuring SaltStack properly ...
Command failed: apt-get install -y --allow-change-held-packages salt-minion
E: Command line option --allow-change-held-packages is not understood
Error: Command failed: apt-get install -y --allow-change-held-packages salt-minion
E: Command line option --allow-change-held-packages is not understood
at ChildProcess.exithandler (child_process.js:205:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Socket.<anonymous> (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at Pipe._handle.close [as _onclose] (net.js:511:12)

remnux@remnux:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.6 LTS
Release:	14.04
Codename:	trusty

14.04 is not supported
Sent from my iPhone

On Sep 7, 2019, at 05:52, bmi000<EMAIL_ADDRESS>wrote:
Hi:
im getting below error when i try to install sift:
remnux@remnux:~$ sudo sift install
<EMAIL_ADDRESS>sift-version: notinstalled
Installing and configuring SaltStack properly ...
Command failed: apt-get install -y --allow-change-held-packages salt-minion
E: Command line option --allow-change-held-packages is not understood
Error: Command failed: apt-get install -y --allow-change-held-packages salt-minion
E: Command line option --allow-change-held-packages is not understood
at ChildProcess.exithandler (child_process.js:205:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Socket. (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at Pipe._handle.close [as _onclose] (net.js:511:12)
remnux@remnux:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.6 LTS
Release:	14.04
Codename:	trusty
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks
So we can't anymore install SIFT on remnux?
On Sat, Sep 7, 2019, 5:31 PM Erik Kristensen<EMAIL_ADDRESS>wrote:

14.04 is not supported
Sent from my iPhone

On Sep 7, 2019, at 05:52, bmi000<EMAIL_ADDRESS>wrote:
Hi:
im getting below error when i try to install sift:
remnux@remnux:~$ sudo sift install
<EMAIL_ADDRESS>sift-version: notinstalled
Installing and configuring SaltStack properly ...
Command failed: apt-get install -y --allow-change-held-packages
salt-minion
E: Command line option --allow-change-held-packages is not understood
Error: Command failed: apt-get install -y --allow-change-held-packages
salt-minion
E: Command line option --allow-change-held-packages is not understood
at ChildProcess.exithandler (child_process.js:205:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Socket. (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at Pipe._handle.close [as _onclose] (net.js:511:12)
remnux@remnux:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.6 LTS
Release: 14.04
Codename: trusty
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/teamdfir/sift/issues/383?email_source=notifications&email_token=AGB7XTR2NRFVTGQ7PC2SYVLQIO3N5A5CNFSM4IUPZ6FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6E2BQY#issuecomment-529113283,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGB7XTT42LAR7SCSI2JUIGTQIO3N5ANCNFSM4IUPZ6FA
.


Layout js

This PR moves the layout calculations from python to js. This dramatically reduced the size of the resulting html file in the .qzv. Before a tree with ~460,000 nodes created an html file with 171mb and after removing just the coordinate information brought down the file size to 50mbs. In addition, all node names in feature metadata (compressed_tm and compressed_im) and feature ids/feature map in the biom-table (fid2idxs and f_ids), were replaced with their postorder positions. Note that if a name in the internal feature metadata table mapped to multiple nodes, then all nodes would be added to compressed_im. Finally _namesToKeys was removed from empress since all internal data structures now return/use postorder positions of nodes instead of names.
Summary Notes:

Layouts are calculated in js

bp-tree now uses postorder for names/lengths array

Empress:

getAttr now takes a node's postorder position instead of its _treeData array
_namesToKeys has been removed. All data structures (i.e. metadata/biom-table now store a nodes postorder position instead of node name. So, for example the keys for _tipMetadata/_intMetadata are now nodes postorder positions. In addition functions like getObservationUnionForSamples() no longer return a list of node names but instead returns a list of postorder positions which can then be directly used to index _treeData/metadata. Also, since internal nodes may not be unique, if multiple internal nodes with the same name exist in the feature metadata, then they will all be added to _intMetadata. Store all nodes with the same name (only if they have an entry in the feature metadata) might be a bit more memory intensive and might be worth addressing in future PRs however, this solution was the simplest to implement.

keepUniqueKeys is a bit faster (Note: The goal was to speed up things such as sample metadata coloring however, it turns how initialization of Sets was the bottleneck for more details see #339.

The following artifacts were built for this PR: empire-biplot.qzv, empire.qzv, empress-tree.qzv

Thanks so much @kwcantrell! Looks good to me.


Add Utility Script is Malfunctioning

When attempting to add a utility script into a notebook, the 'Add Data' window is rendered (on the right); however, no utility scripts are listed. The 'Add Data' window is essentially blank.

Hi @john-james-ai - it seems like you're referring File menu option in the Kaggle web UI?  We're in the process of removing that menu option, but you can still add utility scripts in the right hand panel under "Add Input".  Hope that helps!


issue converting model dpt_beit_large_512 to onnx

Issue converting the pytorch model to onnx with the attached script

pt_to_onnx.py.gz

Like I mentioned in https://github.com/isl-org/MiDaS/issues/218#issuecomment-1761541243, there's this:
https://github.com/parkchamchi/MiDaS/releases/download/23.02.18/dpt_beit_large_512.onnx


z3 build failure with triplet x86-windows-static z3

Host Environment

OS: Windows

To Reproduce
Steps to reproduce the behavior:
vcpkg install --triplet x86-windows-static z3
Building package z3[core]:x86-windows-static...
-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: C:\Users\default.DESKTOP-Q4FDM2G\Documents\code\vcpkg\triplets\community\x86-windows-static.cmake
-- Using cached C:/Users/default.DESKTOP-Q4FDM2G/Documents/code/vcpkg/downloads/Z3Prover-z3-78ed71b8de7d4d089f2799bf2d06f411ac6b9062.tar.gz
-- Using source at C:/Users/default.DESKTOP-Q4FDM2G/Documents/code/vcpkg/buildtrees/z3/src/11ac6b9062-f0652d692b
-- Configuring x86-windows-static
-- Building x86-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v
    Working Directory: C:/Users/default.DESKTOP-Q4FDM2G/Documents/code/vcpkg/buildtrees/z3/x86-windows-static-dbg
    See logs for more information:
      C:\Users\default.DESKTOP-Q4FDM2G\Documents\code\vcpkg\buildtrees\z3\install-x86-windows-static-dbg-out.log
      C:\Users\default.DESKTOP-Q4FDM2G\Documents\code\vcpkg\buildtrees\z3\install-x86-windows-static-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/z3/portfile.cmake:28 (vcpkg_install_cmake)
  scripts/ports.cmake:90 (include)

Error: Building package z3:x86-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: z3:x86-windows-static
  Vcpkg version: 2020.02.04-nohash

@nunoplopes for reference

Can you attach the logs under See logs for more information: ?

I checked the logs and found out that the problem was not related with z3.
Sorry about that


Update CODE_OF_CONDUCT.md

I've improved the CODE_OF_CONDUCT.md file and fixed some typos and errors. Kindly review it.

@holopin-bot @amoghak-ds

can you please add the Hacktoberfest label if you don't mind? It'd be counted as one of my contributions for the month.


feat: if allow is empty, set allow at * by default

The author should do the following, if applicable

[x] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code

sorry, miss


Letting the user override the code generation a bit.

Example of use:
protoc --grpc_out=use_system_headers=false,grpc_search_path=a/b/c/d:path/to/output/...

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Merged from master and taking comments into account.

There's a new flake I haven't seen before. https://grpc-testing.appspot.com/job/gRPC_pull_requests/7050/config=opt,language=c,platform=linux/testReport/junit/(root)/tests/bins_opt_lb_policies_test/

@yang-g ping


Repair create name in storage classes

Description
Repair create name in storage classes
Changes proposed in this pull request:

Added name to creation modal
...
...

Related issue(s)

/retest

/test pre-busola-integration-test-k3s

/test pre-busola-integration-test-k3s


fixReducedOffersV1: curtail the occurrence of order books that are blocked by reduced offers

High Level Overview of Change
The goal of this amendment is to curtail the occurrence of order books that are blocked by reduced offers.
This commit identifies three ways in which offers can be reduced:

A new offer can be partially crossed by existing offers, so the new offer is reduced when placed in the ledger.

An in-ledger offer can be partially crossed by a new offer in a transaction.  So the in-ledger offer is reduced by the new offer.

An in-ledger offer may be under-funded.  In this case the in-ledger offer is scaled down to match the available funds.

Reduced offers can block order books if the effective quality of the reduced offer is worse than the quality of the original
offer (from the perspective of the taker).  It turns out that, for small values, the quality of the reduced offer can be significantly affected by the rounding mode used during scaling computations.
This commit adjusts some rounding modes so that the quality of a reduced offer is always at least as good (from the taker's perspective) as the original offer.
These rounding changes are on an amendment because they will affect transaction outcomes.  The amendment is titled fixReducedOffersV1 because additional ways of producing reduced offers may come to light.  So there may be a future need for a V2 amendment.
Context of Change
Occasional blocked order books have been a long-standing low-level irritant with the DEX.  There has been at least one patch that helped to manage the problem.  But the patch did not really make the problem go away.  This pull request goes to the root of these blockages and just makes them go away.
First, it's important to recognize that both XRP and IOUs have finite representations in the ledger.  For example, it is not possible to represent fractions of drops.  IOUs also have a finite representation that becomes apparent with very small or very large numbers.  So when a number cannot be precisely represented in XRP or by an IOU it must be rounded.
This pull request changes the rounding mode that is used when calculating a reduced offer.  The rounding is changed so that the quality of the reduced offer is always the same or better than the quality of the original offer (viewing the offer's quality from the taker's perspective).
Note that this change affects the values that offers in the ledger contain.  However the change in representation is at most either...

One drop of XRP or
1e-81 of an IOU.

As the values in offers get tiny, rounding effects can have an outsize influence on the quality of an offer.  But the offers are only being adjusted by minute amounts of actual funds.
Type of Change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Tests (tests for the changes are included in this pull request)
[x] Documentation Updates

I'm calling this a breaking change because outcomes on the DEX are affected.  People who care deeply about the specifics of DEX corner cases would do well to understand the consequences of this pull request.  The pull request also includes an amendment, which can cause amendment blockage.
I'm unsure whether the Doc team will want to include discussion of the details of this change.  But they should be aware of the change and decide for themselves.

Rebased to 1.10.0-b1.

Thanks for the review @seelabs!  I've addressed your comment.  I also rebased to 1.10.0-b2 so I could test syncing without being amendment blocked.

@intelliot, this is absolutely worth doing.  However after rebasing a number of the tests are failing.  I suspect there's fallout from the Number class merge and unification, but I haven't proven that yet.  Would you like me to close this until I have the unit tests passing again?

Yes. Feel free to reach out to Howard if that may be helpful, of course.

Closing until newly introduced test failures are resolved.

Updated to be compatible with Number and opened as a new PR: https://github.com/XRPLF/rippled/pull/4512


Feature/updates for api

Codecov Report

Merging #22 (2117d81) into main (f1860e1) will decrease coverage by 0.78%.
The diff coverage is 89.75%.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   99.26%   98.49%   -0.77%
==========================================
  Files          60       60
  Lines        1609     1648      +39
  Branches       60      198     +138
==========================================
+ Hits         1597     1623      +26
- Misses          8       18      +10
- Partials        4        7       +3

Impacted Files
Coverage Δ

...rowdin_api/api_resources/distributions/resource.py
100.00% <ø> (ø)

crowdin_api/api_resources/languages/resource.py
100.00% <ø> (ø)

crowdin_api/api_resources/screenshots/resource.py
100.00% <ø> (ø)

...owdin_api/api_resources/source_strings/resource.py
100.00% <ø> (ø)

crowdin_api/api_resources/webhooks/resource.py
100.00% <ø> (ø)

crowdin_api/api_resources/translations/resource.py
97.50% <50.00%> (-2.50%)
:arrow_down:

crowdin_api/api_resources/users/resource.py
83.34% <57.15%> (-16.66%)
:arrow_down:

crowdin_api/api_resources/projects/enums.py
100.00% <100.00%> (ø)

crowdin_api/api_resources/projects/resource.py
100.00% <100.00%> (ø)

crowdin_api/api_resources/projects/types.py
100.00% <100.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


need an Indicator or progress bar for pending transactions,  iOS and Android

When user click a MagicLink to import a token,
The asset card should show up immediately,
Inside the asset card, the token display is in grey colour, and cannot be selected, with an Indicator or progress bar on it to show user this is a pending transaction.

Closed by #2650 and follow ups


Update configurator to 0.3.9

Awaiting the release of 0.3.9 with this PR: https://github.com/danielperna84/hass-configurator/pull/188.

Configurator 0.3.9 has been released. This PR can be merged. 👍

I just tested it locally (this time, I made sure I was not looking at a cache 🙈 ).
Works well! Thanks!


show py leak

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Nice idea but (1) have to activate testing on osx_arm-64 to try to approach error and (2) it solves for py310 anyways. So it's never showing the intended trigger behavior.


Improve Elapsed Documentation

You can actually called elapsed as many times as you'd like, anywhere in the chain. In order to be most useful, you should probably call it at the end.

noice, thank you


fix(publisher): ensure creating the directory if none exists

See comment for more information.
Closes #3819

Code LGTM, testing upgrade scenario now.

for anyone else who wants to test this scenario:

deploy v1.6.1
deploy an app, any app (I used example-go)
upgrade to v1.7.0, notice that deis open shows a 404
upgrade publisher with deisctl config publisher set image=deisci/publisher:jenkins-test-ec2-1242

Your app should be working, and /deis/services/ should be properly populated again.

I was not able to recreate step 3, "notice that deis open shows a 404", at least on vagrant, despite waiting for a few minutes after deisctl uninstall platform. I tried to recreate the conditions with deis scale web=0 and removing the key and dir with etcdctl, then upgrading, and a 404 persisted after ugrading to v1.7, but deis scale web=1 repaired it immediately.
tl:dr, couldn't reproduce, so couldn't verify, at least on vagrant. Trying EC2 now...

We must be getting inconsistent results then. Here's a raw deploy for me: https://gist.github.com/bacongobbler/4bb73ec9f1889594f1f5
EDIT: for some reason, rebooting publisher on v1.7 no longer causes this issue. I guess that means that my theory has been thrown out of the question :(

@bacongobbler Should we close this until we find the root issue with publisher, or is this a useful bugfix to have anyway? It doesn't seem to be causing the root issue.

yes, this doesn't seem to be our smoking gun. Back to the drawing board. :pencil2:

I'll pull out the logging in a separate PR as those are still useful. It'll probably get slogged in after I deal with #3729 since that touches logging as well.


Type-Ahead Filter

We require a Type-Ahead Filter component that supports a variety of filtering use case across products. Some requirements for this can be found here: https://docs.google.com/document/d/15w2gpUb7__4oINMtnU7hwSqtlD6cwDIvkDeHM1TMfiQ/edit?usp=sharing and also a preliminary design here:
Unified Filter Design Concept: https://docs.google.com/presentation/d/1yK7HUtUQZLBZGv-NjHGuMpDTs5Iq1mTqQCggGfDb1AQ/edit?usp=sharing
This should be designed and implemented to use a consistent type-ahead approach with the Type-Ahead Select (Ref #722 ).

Closing this because this example will appear in Filter Demo


utils/github: use x-access-token

This is mandatory for GitHub App tokens.
It seems to also work for PATs - documentation isn't exactly clear on that but I think it works.
Probably fixes https://github.com/Homebrew/actions/issues/584

Error: Failure while executing; `/usr/bin/env git push --set-upstream ***github.com/Goooler/homebrew-repo bump-kotlin-explorer-1.6.0:bump-kotlin-explorer-1.6.0` exited with 1. Here's the output:
To https://github.com/Goooler/homebrew-repo
 ! [rejected]        bump-kotlin-explorer-1.6.0 -> bump-kotlin-explorer-1.6.0 (non-fast-forward)
error: failed to push some refs to 'https://github.com/Goooler/homebrew-repo'

https://github.com/Goooler/homebrew-repo/actions/runs/10700380504/job/29663997922
Originally posted by @Goooler in https://github.com/Homebrew/actions/issues/584#issuecomment-2328635754


Add GovInfoEvent and add event testing capabilities to ImpTest

Description
This PR adds an event to EPOCH which contains sets with expired and enacted governance actions and a set with all the governance action IDs that are unclaimed.
I also added a way to write tests about events and cleaned up Conway events. The ConwayUtxosEventis necessary because we have to get rid of PPUP events in Conway as we no longer have a PPUP rule.
resolves #4165
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[x] New tests are added if needed and existing tests are updated
[x] When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
versioning process.
[x] The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
[x] All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
[x] Code is formatted with fourmolu (use scripts/fourmolize.sh)
[x] Cabal files are formatted (use scripts/cabal-format.sh)
[x] hie.yaml has been updated (use scripts/gen-hie.sh)
[x] Self-reviewed the diff

Will finish reviewing tomorrow, there's a lot here! (some of it above my head)

I still don't understand what we wouldn't be able to do without the new EraRuleEvent ( I don't even see any type annotations being removed, if anything, we seem to have added more , like going from: mapM_ (tellEvent . SuccessfulPlutusScriptsEvent) (nonEmpty ps) to mapM_ (tellEvent . injectEvent @"UTXOS" . SuccessfulPlutusScriptsEvent @era) (nonEmpty ps), for example ), but I can tell it's the technique used for EraRuleFailure, so I'll approve and hope to understand better one day.

The main point for adding EraRuleEvent is to enable using injectEvent. Without it we'd run into the same issue that #4071 was solving, but with events. This injectEvent will be useful for writing tests and also makes it easier to reuse existing rules in future eras. It's a bit of an ugly solution, but we should be able to make it better when we refactor after Conway.


Change Benefit Checker credentials

Due to the previous development credentials becoming public, new
clientOrgId and clientUserId keys are being used.
This amends the helm values files so that the new credentials are
used in uat and staging environments.
Note: Should only be merged after https://github.com/ministryofjustice/laa-benefitchecker-1.0-big/pull/53 has been merged and applied.
Checklist
Before you ask people to review this PR:

[x] Tests and rubocop should be passing: bundle exec rake
[x] Github should not be reporting conflicts; you should have recently run git rebase master.
[x] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[x] The PR description should say what you changed and why, with a link to the JIRA story.
[x] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

💭 Given we're changing these settings, I'm wondering if it would be worth to add the production credentials as it's currently blocking production deploys.


Error Seen when Syncing Settings in VS Code

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

VS Code Version: 1.71.2 (Universal)
OS Version: MacOS 12.6

I had noticed that some of my synced settings had been lost (specifically related to dotfiles). On investigation, I looked at the logs for sync and on at least one of my devices I'm seeing intermittent errors. The result is that settings sync is not reliable (sometimes works, sometimes doesn't).
I see the errors on one particular machine. On my other laptop (same version of VS Code, same version of MacOS) I don't see these errors in the logs. UPDATE: I see this error on both devices (I hadn't waited long enough on the 2nd device to see one occur)
I use github for settings sync
The following sync logs included some logs from before and after the error, for context. Logs taken from an instance of VS Code launched with code --disable-extensions:
[2022-10-06 10:26:12.349] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-10-06 10:26:12.446] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-10-06 10:26:12.450] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-10-06 10:26:12.453] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-10-06 10:26:12.455] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-10-06 10:26:12.461] [settingssync] [info] GlobalState: No changes found during synchronizing ui state.
[2022-10-06 10:26:12.560] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-10-06 10:26:12.561] [settingssync] [info] Sync done. Took 125ms
[2022-10-06 10:26:35.201] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-10-06 10:28:29.068] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-10-06 10:28:29.073] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-10-06 10:28:29.077] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-10-06 10:28:29.080] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-10-06 10:28:29.092] [settingssync] [info] GlobalState: No changes found during synchronizing ui state.
[2022-10-06 10:28:29.197] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-10-06 10:28:29.198] [settingssync] [info] Sync done. Took 141ms
[2022-10-06 10:29:06.809] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-10-06 10:31:16.824] [settingssync] [info] Request failed https://vscode-sync.trafficmanager.net/v1/manifest
[2022-10-06 10:31:16.824] [settingssync] [error] RequestFailed (UserDataSyncError) syncResource:unknown operationId:unknown: Connection refused for the request 'https://vscode-sync.trafficmanager.net/v1/manifest'.
    at R.request (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:146108)
    at async R.manifest (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:143819)
    at async r.createSyncTask (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:119470)
    at async r.doSync (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:115960)
[2022-10-06 10:31:16.825] [settingssync] [error] RequestFailed (UserDataSyncError) syncResource:unknown operationId:unknown: Connection refused for the request 'https://vscode-sync.trafficmanager.net/v1/manifest'.
    at R.request (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:146108)
    at async R.manifest (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:143819)
    at async r.createSyncTask (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:119470)
    at async r.doSync (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:83:115960)
[2022-10-06 10:34:32.013] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-10-06 10:34:32.331] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-10-06 10:34:32.338] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-10-06 10:34:32.343] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-10-06 10:34:32.347] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-10-06 10:34:32.683] [settingssync] [info] GlobalState: Updated remote ui state
[2022-10-06 10:34:32.705] [settingssync] [info] GlobalState: Updated last synchronized ui state
[2022-10-06 10:34:32.811] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-10-06 10:34:32.813] [settingssync] [info] Sync done. Took 499ms
[2022-10-06 10:35:06.422] [settingssync] [info] Auto Sync: Triggered by Activity
[2022-10-06 10:35:06.665] [settingssync] [info] Settings: No changes found during synchronizing settings.
[2022-10-06 10:35:06.671] [settingssync] [info] Keybindings: No changes found during synchronizing keybindings.
[2022-10-06 10:35:06.675] [settingssync] [info] Snippets: No changes found during synchronizing snippets.
[2022-10-06 10:35:06.678] [settingssync] [info] Tasks: No changes found during synchronizing tasks.
[2022-10-06 10:35:07.004] [settingssync] [info] GlobalState: Updated remote ui state
[2022-10-06 10:35:07.026] [settingssync] [info] GlobalState: Updated last synchronized ui state
[2022-10-06 10:35:07.142] [settingssync] [info] Extensions: No changes found during synchronizing extensions.
[2022-10-06 10:35:07.143] [settingssync] [info] Sync done. Took 510ms

VS Code Version information:
Version: 1.71.2 (Universal)
Commit: 74b1f979648cc44d385a2286793c226e611f59e7
Date: 2022-09-14T21:05:37.721Z (3 wks ago)
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.6.0
Sandboxed: No

I had settings for Remote Containers, related to dotfiles. These had been set up, and were working, on my device.
They've since disappeared, and I had suspected that this error was the cause, or that another device had over-written these settings (back to being unset) because of this sync error.
Is there any way to see the stored settings against my profile, and to see the history of their values?

Specifically:
remote.containers.dotfiles.installCommand
remote.containers.dotfiles.repository
remote.containers.dotfiles.targetPath

Is there any way to see the stored settings against my profile, and to see the history of their values?

Yes. You can browse the history/activity of your data on the server using the command Settings Sync: Show Synced Data. There using the Sync Activity (Remote) view you can see which machine has updated/removed these settings.

When I try this, I get errors in the UI that look very similar (Connection refused for the request) and none of the nodes in the tree view expand.
I see spinners...

... and errors...

The expanded error:

FYI after a restart the connection errors and spinners in the UI are now resolved.
Thanks, @sandy081 , for the guidance on where to look at the settings and which machine contributed to the issue. I've done some digging and will keep an eye on it.
I'm happy to help if you want to track down why I was seeing the UI issues mentioned above (you're welcome to contact me via my microsoft alias), but if you'd like to close this for now that's also fine with me.

These are network issues, probably got resolved after restart. Please reopen if you see them again


External IPs not being assigned if node's access config name != 'external-nat'

1. Describe the bug:
After successfully - and VERY easily :kudos: - deploying Kubeip on my GKE cluster, I noticed it wasn't assigning free external IPs to nodes with ephemeral IPs. In the logs, the following error was appearing:
level=error msg="AddAccessConfig \"googleapi: Error 400: At most one access config currently supported., badRequest\"

2. Cause:
The steps that Kubeip follows to replace an ephemeral IP with an external IP on a given node are, among others:

Delete the node's access config called 'external-nat' (https://github.com/doitintl/kubeip/blob/master/pkg/kipcompute/compute.go#L126)
Create a new access config for the node with a free external IP.

The cause of the error in the log is that Kubeip was not successfully deleting the node's access config. And this happened because, in my case, the access config's name was not 'external-nat' (interestingly enough though, the gcloud API did return a 200).
Due to this, when Kubeip later attempted to add another access config with the external IP, the gcloud API returned the aforementioned error in my logs, stating that 1 is the max number of access configs allowed.
3. Expected behavior
IMHO, Kubeip should assign free external IPs to nodes with ephemeral IPs independently of the nodes' access config name.
4. Proposed solution:
Although my experience with go is scarce, building products on top of AWS/Azure/GCloud/Kubernetes APIs is my daily job :)
My preffered approach of this case would be, instead of assuming that the state of the resources on GCloud will be X (IE: the name of the access config will be 'external-nat'), query the API and actively retrieve the state of, in this case, the node's access config. Finally, rely on the access config 's state retrieved from the API (more specifically, its name) to issue the DeleteAccessConfig request.
I have submitted a MR implementing this solution: https://github.com/doitintl/kubeip/pull/60
I'd appreciate if you could review it and please, feel free to suggest any change you see fit.
(the "patched" version is already running on my cluster and producing the expected results)

@ureesoriano PR approved and merged. Thank you!


Test and document alternative solutions to increasing the font weight

What
Test and document alternative solutions to increasing the font weight.
Increasing the font weight of the navigation items will:

make it harder for users using high contrast colour modes to distinguish a navigation item from any other text in the navigation bar, for example the service name.
remove any visual hierarchy between other content in the 'before page content' area.

Why
Users have let us know they find it hard to read, it is also recognised as failing with a new method of measuring colour contrast of text on a background.
Additional context
Issues on alphagov repositories

Links on grey have low colour contrast #3862
Problems with New Transport font for vision impaired users #2755
Preliminary work into new APCA method
Colour styles tested for contrast via the Bridge-PCA method showing other components affected by this colour combination

Done when

[x] The contrast of tints of the grey background have been tested with the new colour contrast method
[ ] The contrast of tints of the blue text colour have been tested with the new colour contrast method

Name
Background colour
Text colour
APCA Contrast score
Minimum font size for 400 font weight (GDS Transport light)
Minimum font size for 700 font weight (GDS Transport bold)
Pass on mobile
Pass on desktop

Navigation item (on white)
#ffffff
#1d70b8
75.1
18px
14px
Y
Y

Navigation item (50% lighter background)
#f9f9f8
#1d70b8
71.5
19.5px
14.5px
N
N

Navigation item (20% lighter background)
#f5f5f4
#1d70b8
69.1
20.25px
15px
N
N

Navigation item (as is)
#f3f2f1
#1d70b8
67.5
20.75px
15px
N
N

Navigation item (on white)
Pros

doesn't look unusable

Cons

doesn't stand out as much (which becomes more important with other elements like the 'switcher')

Navigation item (50% lighter background)
Pros

Less WCAG risks (apart from the obvious contrast)

Cons

perception as white, advantages of it being a different colour to distinguish are lost

Navigation item (20% lighter background)
Pros

Less WCAG risks (apart from the obvious contrast)

Cons

Not 25% as styles guidance suggests
perception as white, advantages of it being a different colour to distinguish are lost

Navigation item (with 10% darker text)
Could also be done with filter: brightness(.9); combined hex code would be: #1B64A6 (from picker, rough)
Pros

precedent of doing something similar before with text colours (notification banner, existing header)
similar enough that users may not notice

Cons

not using a colour that's in our existing colour palette is not best practice


fix(@schematics/angular): remove IE9/10 from browserslist for new projects

BREAKING CHANGE:
Deprecated support for IE 9-10 has been removed in Angular 11.
Only IE 9-10 support has been removed. IE 11 is officially supported in Angular 11.

Should we do a migration to remove these from existing project?

I think leaving existing projects is acceptable.  IE9/10 while not officially supported may still work for a given project and users may wish to keep that behavior.
I do think some form of warning and/or future health check audit may be prudent to help users optimally configure their projects.


Extend variants exercise

Added a function that counts the number of neutrons. This suggests the use of inspecting a variants currently held alternative.

I'm not sure this addition brings much here. With typeid yes, but probably we should have dedicated slide and example. With get_if, it does not add much to the exercise providing we already add the first (non perfect) solution using it.

I'm not sure this addition brings much here. With typeid yes, but probably we should have dedicated slide and example. With get_if, it does not add much to the exercise providing we already add the first (non perfect) solution using it.

You are probably right. I wanted to construct a case where std::visit is not the right tool and you have to use a different feature of std::variant to find out which type is currently held.
I leave it up to you! We can include this, or a similar function. Or we can just leave the exercise as is.

Ok, I'm closing this without merging on the base of my last comment. Feel free to reopen if you think it's not the right move !


test/library/encryption: add aesgcm

Cherry-pick a missing commit with testing code for AES-GCM that was added for 4.13 release.

@ibihim FYI

@soltysh PTAL. Thanks

The commit is from this PR: https://github.com/openshift/library-go/pull/1475


Add an option to print YouTube URLs

Requested Feature
Hi. yt-dlp has an option that allows you to print the URLs of a link to the terminal (-g / --get-url). What do you think of including something similar to spotdl that doesn't necessarily involve downloading the song?

Possible implementation
spotdl --get-url

I will add dry run option in v4.1.0

Here you go: e8cf6dd4cf04a88fe3f036bde03ac533f13681a4
To use it update to dev version and then run: spotdl url [url1] [playlist] [search term]

Hi, spotdl url [playlist] today returns a list of download URLs, not the watch links.
Is there an option to get the regular YouTube watch URLs, or even the ids?


feeble attempt to display room names in mobile view

An attempt to show room names in mobile view and resolve https://github.com/EuroPython/website/issues/667.
Currently, it has a separate row instead of being inside the each session's grid. But it might still be readable.
For registration sessions, the name is not displayed in mobile view as it is already in session title.

I've made a different implementation in #754, it's similar to last year 😊


fix ThreadlessExecutor doc comment

What is the purpose of the change
fix ThreadlessExecutor doc comment
Brief changelog
In the comment should be thread call this method, not thead.
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

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

@@             Coverage Diff              @@
##             master    #5549      +/-   ##
============================================
- Coverage     61.17%   61.14%   -0.04%
+ Complexity      423      421       -2
============================================
  Files           922      922
  Lines         37512    37512
  Branches       5433     5433
============================================
- Hits          22949    22937      -12
- Misses        12074    12083       +9
- Partials       2489     2492       +3

Impacted Files
Coverage Δ
Complexity Δ

...he/dubbo/common/threadpool/ThreadlessExecutor.java
55% <ø> (-5%)
0 <0> (ø)

...rg/apache/dubbo/remoting/utils/PayloadDropper.java
30.76% <0%> (-15.39%)
0% <0%> (ø)

...che/dubbo/remoting/transport/mina/MinaChannel.java
43.42% <0%> (-10.53%)
16% <0%> (-1%)

...ng/exchange/support/header/HeartbeatTimerTask.java
73.68% <0%> (-5.27%)
0% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
61.38% <0%> (-3.97%)
0% <0%> (ø)

...pache/dubbo/remoting/transport/AbstractServer.java
53.75% <0%> (-3.75%)
0% <0%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
70.17% <0%> (-3.51%)
8% <0%> (-1%)

...c/main/java/org/apache/dubbo/rpc/RpcException.java
80% <0%> (-3.34%)
0% <0%> (ø)

.../exchange/support/header/HeaderExchangeServer.java
65.09% <0%> (-1.89%)
0% <0%> (ø)

... and 9 more

Continue to review full report at Codecov.

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


improve performance of funcphys.py

Changes in funcphys:

fpvs was modified to take 2D arrays

Changes in radiation_driver:

The section that uses fpvs was vectorized.

Computing time is reduced from 205 to 51 seconds

Changes in funcphys:

fpvs was modified to take 2D arrays
Changes in radiation_driver:
The section that uses fpvs was vectorized.
Computing time is reduced from 205 to 51 seconds


Prepare presentation for HCA LATAM

Description of the task:
We have been given a short presentation (~10 minutes) for the HCA LATAM meeting coming Oct 6-7th.
The full topic is yet to be discussed amongst @gabsie , the organising committee and myself.
Acceptance criteria for the task:

[x] Topic has been decided
[x] Slides have been created
[x] Slides have been reviewed by the team

A slot for rehearsal has been discussed for tomorrow, Tue 5th Oct, at 1 PM
Slides are here: https://docs.google.com/presentation/d/1OEXhsaV4tUZm-5OhtkHhwZJa2ZElNwX5Q4UKyxFhYRI/edit#slide=id.p


Add Support for bitwise OR opeator(|) token in translator codegen frontend #107

PR Description
New PR ( similar to PR #154 ) after resolving conflict with the main branch.

Feature: Added support for the Bitwise OR token (|) in the translator frontend, addressing issue #107. This ensures proper translation across the DirectX, Metal, and OpenGL backends.
Fix: Resolved a minor issue in crosstl/crosstl/src/translator/parser.py, where "ASSIGN_SHIFT_LEFT" and "ASSIGN_SHIFT_RIGHT" were mistakenly placed on the same line without a comma.
Maintenance: Updated .gitignore to remove unnecessary files from the project, streamlining the repository.

Related Issue
#107
shader Sample
shader OrTestShader {
    vertex {
        input vec3 position;
        output vec2 vUV;

        void main() {
            // Perform OR on the x and y components of the position
            vUV.x = float(int(position.x) | 3);  // OR with 3
            vUV.y = float(int(position.y) | 5);  // OR with 5
            gl_Position = vec4(position, 1.0);
        }
    }

    fragment {
        input vec2 vUV;
        output vec4 fragColor;

        void main() {
            // Use OR in fragment shader
            float result = float(int(vUV.x) | int(vUV.y));
            fragColor = vec4(result / 10.0, 1.0 - result / 10.0, 0.0, 1.0);
        }
    }
    }

Checklist

[x] Have you added the necessary tests?
[ ] Only modified the files mentioned in the related issue(s)?
[x] Are all tests passing?

hii @mr-195 can you please resolve the merge conflicts

Sure, I'll do it right away

hii @mr-195 the test are not passing here can you please have a look on this.

Definitely, I am looking into this. I'll raise a new pr if it doesn't work.


Add efficient versions of Java 8 Map's methods  (primitive specializations)

map.putIfAbsent(k, v): v
map.replace(k): v
map.replace(k, v): boolean
map.remove(k, v): boolean
Even not talking about lambda-accepting methods, putIfAbsent() is a painfully missing part.

Man, you're so right. Pull request? ;)

Did you check the current fastutil 8 version on GitHub? It's very close to release and fixes this and more.


release(versioning): update version to 2.1.1

Automated PR to bump the version pre-release.

:tada: This PR is included in version 2.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How do I uninstall dragenengine?

 How do I uninstall everything? Didn't found how to do it with scons.

You can uninstall any target individually with scons by appending "-c". So to uninstall you can run one of these commands:

scons -c install => Remove all install targets and their dependencies
scons -c install-engine-runtime => Remove all install engine targets which includes the game engine and all modules
scons -c install-igde-runtime => Remove all install igde targets which includes the igde and editors

If you run scons -h you see all supported targets. Any can be reversed with "-c".

Out of curiosity... what went wrong? I did sudo scons installs before and had no troubles. Depending on what went wrong it could be fixed.

Oh... Sorry, forget to write in op... Restless night :)
I was installing 1.4 release from source tarball, after successful installation i decided to remove it. Command 'scons -c install' left headers in /usr/incude and /usr/dragenengine with subfolders. Maybe something else. How to do a complete deinstallation?
Installing something in root not with package manager - is a crime, that's why it was bad idea. It's not safe and it's hard to keep tracking files, upgrading and so on.
Interface and the engine was terribly slow on my laptop on both, Intel and Nvidia, some examples crashed with some weird errors. As I understand - the engine is not ready for casual poking of guy like me. This was a reason not to build or try Dragenengine again.

I see. The source code is set up for developing modules and editors and creating distribution files. It is not intended to be used directly by end users.
Instead to use the game engine (as gamer) or create games (game developer) you do not use the game engine sources, instead you use the distribution packages. This way installing the engine goes through the package manager of your distribution and allows proper uninstalling as well as proper updating. That's the intended way to use the game engine both for players and game developers. In particular that's how casual poking at the game engine is supposed to be done. Building the engine source code is only required for a specific group of people with specific needs.
For this reasons "scons -c" is not going to remove all files. In particular it leaves behind directories. This is how SCons works. You can though easily remove these directories after running "scons -c" like this:
rm -rf /usr/{include,lib,share}/{dragengine,deigde}
Which are in total 6 directories that can be safely deleted recursively.
Can you also tell me what kind of CPU and GPU you are using? This would allow me to better understand what hardware configurations work or do not work.

But script that I should download as a regular gamer/developer will install it in /opt, not a big difference. If it doesn't produce package to install it should run from users folder where it can be easily removed.
As for specs - here is my lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93)
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)

The other laptop I tried was with Nvidia 1660ti, don't remember CPU, but acted very similar, slideshow in dstestproject and errors on others. Bad luck. Maybe I should try some other building options, but nah, not interesting.

You can install into a specific directory by using SCons parameter "prefix=path/to/directory" or using "custom.py" (examples in "dist.custom.py" and "dist.posix.custom.py", copy and adjust). That's what I use for active development. It would be possible to modify the default path in SCons. I'll consider it. That said the "install" target is for engine development and package building using sandboxing (SCons option "--install-sandbox=path/to/sandbox").
The GPU looks fine. You should have no troubles running DSTestProject on it (the least demanding example). If the result is so bad I suspect problems with the OpenGL driver. Please provide the log files mentioned above, then I can tell more. On my Laptop I've got nVidia GPU too so that by itself should not be the problem.

Wait a moment... I totally forgot. You are compiling from "master" branch, is that right? The master branch is currently in progress of working on a new feature and is not stable right now. If you use the master branch right now you are going to get into troubles. Please use the "stable" branch. It points to the v1.4 release.

No, I was using 1.4 release. Ok. Tomorrow I give it another try, this time  I will write down all errors and logs to help you understand what's happening. In new issue?
As for this issue with complete removal I think that there must be a bit more in readme, or in manual.

It's certainly not wrong to create a new issue for these errors. Helps others looking for problems if issues are not mingled.
I've adjusted the README. More changes can be made if required.

Oh... Installed install-dragengine-1.4-linux64.sh and install-deigde-1.4-linux64.sh... How do I remove them now? Scons provided -c option, but by installing with scripts I can't really know how to remove them back. This is wrong. I quit.

The uninstall option I've added for the 1.5 release. You can use them already now by getting the nightly build installers since their uninstallers work also for older installation. To uninstall run the installers with the "--uninstall" option: https://github.com/LordOfDragons/dragengine/releases/tag/nightly .

I'll close this issue since the information provided in here should be sufficient.
Concerning the running issues please create a new ticket and attach the above mentioned log files.


Possible assertion error

Are you sure about that code? Shouldn't it feature _Static_assert actually, since static_assert is C++'s stuff.
this also seems a better hacky solution alternative for the second:

Are you sure about that code? Shouldn't it feature _Static_assert actually, since static_assert is C++'s stuff.

Yes. static_assert is C11 stuff too. It is a macro which is defined in assert.h and expanded into _Static_assert

this also seems a better hacky solution alternative for the second:

This is pretty much the same solution, except msg is not a string but a token, and it tests the condition.

I actually had a problem while compiling that statis_assert was not defined, but _Static_assert worked fine. Are you sure it is defined in assert.h and that file is actually included?

Yes, it is. as per C11:

The header <assert.h> defines the assert and static_assert macros

and assert.h is unconditionally included in m-core.h
Which system are you using?

I can't say exactly what I've used that day, but only changing to _Static_assert has fixed the issue for me. Let me check one more time later.

Here is what I did to reproduce:
Note: My fork uses M_ prefix for array definitions. So I have removed the M_ from here in the test-marray.c

Now I get this error:

If I replace with Static_assert the assertion is showed correctly.
I'm using this command to compile on Windows 10:  C:\PROGRA~1\LLVM\bin\clang.exe -D__STDC_WANT_LIB_EXT1_=1 -D__STDC_WANT_LIB_EXT2__=1 -I../. -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -fmacro-backtrace-limit=0 -Wall -Wextra -Werror -Wno-unused-function -Wno-unused-macros -Wno-gnu-zero-variadic-macro-arguments -Wno-c++98-compat-pedantic -Wno-old-style-cast -Wno-zero-as-null-pointer-constant -MD -MT tests/CMakeFiles/test-marray.dir/test-marray.c.obj -MF tests\CMakeFiles\test-marray.dir\test-marray.c.obj.d -o tests/CMakeFiles/test-marray.dir/test-marray.c.obj -c ../tests/test-marray.c

I was able to reproduce this behavior.
This is definitely a bug in CLANG for windows as it claims to be C11 but fails to deliver a working assert.h
I have implemented a workaround in master.


java.lang.ClassNotFoundException: Class: android.support.v7.widget.RecyclerView$Adapter release

When I updated nativescript-telerik-ui-pro to nativescript-pro-ui and tried to create release apk
npm run build-android-bundle -- --release --keyStorePath store.path --keyStorePassword store.password --keyStoreAlias alias.name --keyStoreAliasPassword alias.password
or better way
npm run build-android-bundle -- --release --uglify --snapshot --keyStorePath store.path --keyStorePassword store.password --keyStoreAlias alias.name --keyStoreAliasPassword alias.password
I tested with this repo.
I got the same error in my project.
Exception in thread "main" java.lang.ClassNotFoundException: Class: android.support.v7.widget.RecyclerView$Adapter
        at org.nativescript.staticbindinggenerator.Generator.getClass(Generator.java:709)
        at org.nativescript.staticbindinggenerator.Generator.collectInterfaceMethods(Generator.java:675)
        at org.nativescript.staticbindinggenerator.Generator.getPublicApi(Generator.java:212)
        at org.nativescript.staticbindinggenerator.Generator.writeBinding(Generator.java:326)
        at org.nativescript.staticbindinggenerator.Generator.generateBinding(Generator.java:117)
        at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:157)
        at org.nativescript.staticbindinggenerator.Generator.generateBindings(Generator.java:77)
        at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:54)
        at org.nativescript.staticbindinggenerator.Main.main(Main.java:15)

FAILURE: Build failed with an exception.

Adding this  in nativescript-pro-ui/platforms/android solved the problem.

Hey @naturalfreak
As an alternative to the solution you found, you can avoid having to manually copy-paste that into the plugin directory, and instead explicitly declare a dependency to the RecyclerView library in your app.
Add the following inside the dependencies { } scope of your app/App_Resources/Android/app.gradle
    compile 'com.android.support:recyclerview-v7:21.0.+'

Of course the recyclerview should come by default with the nativescript plugin, and we'll look into addressing it.

Hi @naturalfreak @Pip3r4o ,
Thank you for bringing this to our attention. Indeed there was an issue in the latest version of nativescript-pro-ui and the include.gradle file was missing from the plugin. I have resolved this issue and the fix is currently available in our "next" version, you can test it by adding the following dependency:
tns plugin add nativescript-pro-ui@next
Note that the "next" version should not be considered for use in production app versions because it is the current "development" version of the plugin that is being updated on hourly/daily basis.

Just to correct @Pip3r4o 's fix - using 21.0.+ could cause problems if you use swipe actions in the list view. With release settings the app crashes. Here is the issue for the crash: https://github.com/telerik/nativescript-ui-feedback/issues/360
That's because RadListView uses SimpleItemAnimator  which was added in 23.0.1. So you should use any version greater than that. In my project personally I'm using the following and it is working ok
compile 'com.android.support:recyclerview-v7:25.+'

Better yet, check whether the project has supportVersion present, and apply that one instead:
if (project.hasProperty("supportVersion")) {
	supportVer = supportVersion
}

compile 'com.android.support:recyclerview-v7:supportVer'

@Pip3r4o , actually your snippet has problems. here is a working one with using the project's supportVersion
// TODO: this should be removed in version 3.2+ of the natviescript-pro-ui
dependencies {
  def supportVer = "23.0.1" //Required for SimpleItemAnimator used by RadListView
  if (project.hasProperty("supportVersion")) {
    supportVer = supportVersion
  }
  compile "com.android.support:recyclerview-v7:$supportVer"
}


Remove pre-v1 docs

Removing pre-v1 documentation folders to reduce the build time.
Also removed references to those folders in the gendoc scripts and in the spelling overrides file.
I've left the pre-v1 release-notes pages and upgrade notes.
In another PR we could remove some of the older v1 docs too, but this seemed like a good start.

FTR: We discussed it further in the following Slack thread:

https://kubernetes.slack.com/archives/CDEQJ0Q8M/p1673965910827399


Error on Startup

I've tried reinstalling but it did not help
Log Entry: 6/9/2019 9:44:00 AM
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section runtime. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config line 13)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationManager.PrepareConfigSystem()
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Xml.Serialization.TempAssembly.get_UseLegacySerializerGeneration()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at AudioSwitch.Classes.Settings.Save()
at AudioSwitch.Classes.Settings.Load()
at AudioSwitch.Classes.Program.Main(String[] args)

This error message indicates that one of the .NET Framework's configuration files is corrupt. The most common fix for this is to visit WindowsUpdate and install all available .NET Framework updates. If that doesn't work, try re-installing the .NET Framework. https://dotnet.microsoft.com/download/dotnet-framework

I have the same problem but I have the latest .NET on my computer.

I'm getting this as well, the program's also been automatically switching devices rapidly, and in general not working well the last 2 days. Currently pretty unusable.


Better way to list all sponsors/backers?

Is there an easy way to list all the sponsors of a project? I noticed that for both avatar and url you use a pattern: http://opencollective.com/{project}/sponsor/{index}/avatar but it requires {index} to be specified. What I want is to make a request and have access to a list of sponsors that I can loop through. Is this possible?

Yes, you can do https://opencollective.com/:collective/:tier.json
E.g.

https://opencollective.com/webpack/sponsors.json
https://opencollective.com/mochajs/backers.json

note: amounts are in cents.
  {
    "id": 666,
    "createdAt": "2016-06-27T20:53:09.343Z",
    "name": "Michael Mullins",
    "firstName": "Michael",
    "lastName": "Mullins",
    "username": "webdesserts",
    "role": "BACKER",
    "avatar": "https://opencollective-production.s3-us-west-1.amazonaws.com/MnVnHySWjpeg_5242ada0-55b2-11e6-9c43-07f2ad068cf4.jpeg",
    "website": "http://webdesserts.com",
    "twitterHandle": "webdesserts",
    "totalDonations": "6000",
    "firstDonation": "2016-06-27T20:53:18.669Z",
    "lastDonation": "2016-11-27T21:54:17.315Z",
    "tier": "backer"
  },
  {
    "id": 768,
    "createdAt": "2016-07-11T15:29:25.099Z",
    "name": "Mtkastner ",
    "firstName": "Mtkastner",
    "lastName": "",
    "username": "mtkastner",
    "role": "BACKER",
    "avatar": "https://d1ts43dypk8bqh.cloudfront.net/v1/avatars/e32e44ed-41e1-45b4-91de-e30207edfe91",
    "website": "http://www.galt.de",
    "twitterHandle": null,
    "totalDonations": "5000",
    "firstDonation": "2016-07-11T15:29:34.549Z",
    "lastDonation": "2016-11-11T16:29:45.731Z",
    "tier": "backer"
  }, ...
]

@xdamman That's exactly what I was looking for! Thanks.


Create test.txt

thre should be an issue

thre should be an issue

not able to create one

@mkjaswal please check


Swipe list gesture bad on Android and very bad on iOS

Description
I have configured a swipe left to delete, swipe right to add to favorite action with the sample code from example.js.
I am comparing the swipe from my app when I try to swipe left/right with another app I am referring to as an example of valid user experience.
1\ iOS
The focus get lost super quickly in iOS interrupting the action, this require the user to be careful and the user experience gets badly degraded. I explain down below what cause the issue.
2\ Android
On Android, the scroll works way better, but compare to my sample application, if I try to swipe fast (like on tinder app), instead of swiping, there is some delay making it look not fluid at all and degrading the user experience.
Reproduction
https://snack.expo.io/@kopax/react-native-swipe-list-view-408
Environment

OS: iOS and Android
RNSLV Version: 2.1.3
RN Version: expo SDK36

Possible fix
For (1), I have locked my wrapper <ScrollView /> to use onScrollEnable:
function ListView({
  Link,
  pages,
  t,
  theme,
  dimensions,
  ...rest
}) {
  const { colors } = theme;
  const [scrollEnabled, setScrollEnable] = useState(true);
  return (
    <ScrollView
      bounces={false}
      scrollEnabled={scrollEnabled}
      {...rest}
    >
        <SwipeListView
          // make the list longer for optimization testing purposes
          listViewData={[...itemList, ...itemList, ...itemList, ...itemList]}
          dimensions={dimensions}
          onScrollEnabled={setScrollEnable}
        />
    </ScrollView>
  );
}

This work properly on Android and iOS, it locks the scroll of the wrapper view, but on iOS, onScrollEnabled is called way more times than it should, switching from true/false while swiping.
This is probably why it loses the event focus, and it seems the value that causes the error is from this library and could be fixed.
I am not used to iOS and Android development, do you know if I should configure every parent view to disable events and make it more smooth for the user experience?
Possibly related issues

https://github.com/jemise111/react-native-swipe-list-view/issues/34

Thanks and best

I am considering to add some infinite scrolling (loading list while scrolling), I feel like the longer the list is, the worst is the user experience when swiping.
Has anyone ever tried to implement such feature using react-native-swipe-list-view. Thanks again?

@kopax This is a recording of your snack. I see absolutely no issues with gesture recognizing, scrolling, locking scrolling, anything like that. I really don't understand this issue..?

Hi jemise, I believe if you don't see the same issue perhaps you should test on a real devices. let's close this for now. I replaced react native swipe list view with react native gesture handler swipeable. This solved my issue.

Sure thing, just FYI this was on real device


$uibModalInstance breaking tests

By using the $iubModal service to open a modal window, we need to inject the $uibModalInstance in the modal controller to close or dismiss the modal window, this injection break down my unit tests.
The error thrown is: Error: [$injector:unpr] Unknown provider: $uibModalInstanceProvider <- $uibModalInstance
Here's a plunker to illustrate the issue:
http://plnkr.co/edit/w4D2c25aa45OSXn3ZsJb?p=preview
Note: unit tests work before $uibModalInstance is injected.

You have an error in your code.  Unfortunately, I'm on mobile right now and can't look.  Questions like these are best suited for stack overflow as documented in our readme.  You may use our provided modal plunker example from our modal documentation as a launch point.

http://stackoverflow.com/questions/34482810/angular-ui-bootstrap-uibmodalinstance-breaks-down-unit-tests

Still on mobile.  I'm with my family on holiday.  Not sure when I'll have a chance to take a more thorough look at this.  Maybe this afternoon.

I apologize cause I'm some kind of a grinch. I'm so sorry and just ignore this, and happy holidays. :+1:

@slackmart @icfantv , Did you find any solution, or figured whats the issue here?
Please let me know the solution , I am facing same issue.

Hi @bhavesh-vyas,
The solution was provided by Sunil D. (http://stackoverflow.com/a/24376344/977593); he basically suggest to mock the $uibModalInstanceProvider.close method by using the jasmine spyOn helper and assert that method was called.
Here a working example: http://plnkr.co/edit/PajJ5iBmoBS2hGybhxM4?p=preview

@slackmart Thanks, but I am still getting this error
angular.js:12477 Error: [$injector:unpr] http://errors.angularjs.org/1.4.7/$injector/unpr?p0=%24uibModalInstanceProvider <- %24uibModalInstance <- LoginCtrl How you solved that

Does the error arise when you add the test, or it is thrown directly from your LoginCtrl?
Maybe I can help you, if you provide a plnkr with a minimal setup showing the error you're getting.

@bhavesh-vyas @slackmart, the right way to do this is to mock the object before injection.  in your mock, define the methods you need to invoke and define the behavior you expect.

Hi @icfantv , Could you help me to understand what's wrong with this:  http://plnkr.co/edit/PajJ5iBmoBS2hGybhxM4?p=preview
I've done almost that you have said: mock the object -> inject the $uibModalInstance when instantiating my controller -> assert method was called.
I think it's ok, what do you believe?

@slackmart, your goal is to mock the object such that you can call the corresponding methods and then any subsequent logic that follows.  if you like what your code is doing, then it's fine.


(Dev Widescreen Fix) Some GUI does not respect widescreen

The following GUI does not respect widescreen:

[ ] The News Button
[ ] The Cog Gallery Frame

this should be fixed when adding my eventual widescreen update will ignore for now

Alright!


Update SHA sum to match new release

https://pkgsrc.joyent.com/packages/Darwin/bootstrap/bootstrap-2015Q3-x86_64.tar.gz updated 16-Nov-2015 15:24
Thanks for your work!

Hey, thanks! I can't confirm this at the moment, as I'm abroad at the moment, but I trust this is valid.
I'll merge and confirm when I'm back tomorrow :)


Numpy large tensor tests batch 3

This pr adds more large tensors tests for numpy operators
All tests have been run locally; they either passed or were skipped until a fix is provided
sample passing run:
ubuntu@ip-172-31-38-169:~/incubator-mxnet$ pytest tests/nightly/test_np_large_array.py::test_identity
/home/ubuntu/anaconda3/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
  return f(*args, **kwds)
/home/ubuntu/anaconda3/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
  return f(*args, **kwds)
/home/ubuntu/anaconda3/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
  return f(*args, **kwds)
===================================== test session starts ======================================
platform linux -- Python 3.7.7, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: /home/ubuntu/incubator-mxnet, inifile: pytest.ini
plugins: remotedata-0.3.2, openfiles-0.4.0, astropy-header-0.1.2, hypothesis-5.8.3, arraydiff-0.3, doctestplus-0.5.0
collected 1 item

tests/nightly/test_np_large_array.py .                                                   [100%]

======================================= warnings summary =======================================
tests/nightly/test_np_large_array.py:89
  /home/ubuntu/incubator-mxnet/tests/nightly/test_np_large_array.py:89: DeprecationWarning: invalid escape sequence \
    '''

tests/nightly/test_np_large_array.py:1260
  /home/ubuntu/incubator-mxnet/tests/nightly/test_np_large_array.py:1260: DeprecationWarning: invalid escape sequence \
    '''

-- Docs: https://docs.pytest.org/en/latest/warnings.html
================================ 1 passed, 2 warnings in 7.07s ================================

@access2rohit @josephevans could you review?

@mxnet-bot run ci [centos-cpu]

@mxnet-bot run ci [sanity]

@mxnet-bot run ci [unix-cpu, windows-cpu]

@mxnet-bot remove [pr-awaiting-testing]

@Zha0q1 Can you change names of variables from A,B,C to input, output and input.grad ? its not good practice to use these variable names

@Zha0q1 Can you change names of variables from A,B,C to input, output and input.grad ? its not good practice to use these variable names. Or link a new PR to address this issue in the PR.

I created this PR https://github.com/apache/incubator-mxnet/pull/19147/files. After prioritizing full coverage we can tweak the naming in this wip pr for better readability

Left minor comments. Rest is fine !

Left minor comments. Rest is fine !

Thanks Rohit! Will update the tests when we come back to them

@access2rohit  Would you take a look again, I fixed the issues we discussed a while back

@mxnet-bot run [unix-cpu, windows-gpu]

@samskalicky can you merge ?

@sxjscience Thanks for comments. I addressed them and rebased

What's the status of the nightly pipeline, are all these tests passing there?

What's the status of the nightly pipeline, are all these tests passing there?

They are not run now. We need to enable them.

What's the status of the nightly pipeline, are all these tests passing there?

They are not run now. We need to enable them.

Let's enable these tests in the nightly pipeline, or it will get difficult to maintain them. I'm fine with doing it in a separate PR.

@mxnet-bot run ci [centos-cpu]

@Zha0q1 We will need to enable these tests in the nightly tests in a separate PR.


docs: Automated Changelog Update for v5.0.0-beta5.probe.3

copilot:all
Automated changes by create-pull-request GitHub action

🤖 Generated by lychee action
Summary

Status
Count

🔍 Total
1258

✅ Successful
378

⏳ Timeouts
0

🔀 Redirected
0

👻 Excluded
879

❓ Unknown
0

🚫 Errors
0

Full action output
Full Github Actions output


[FEATURE]: use only tailwind css for Icon Toggle like we do in SimpleToggle

Feature Description 📝
since we have migrated back to only using Tailwind CSS for SimpleToggle component, we can do the similar thing for IconToggle as that component is basically inherited from SimpleToggle component.
PR for reference: https://github.com/Ansub/SyntaxUI/pull/201
Screenshots 📸
No response

Hi @Ansub, Can you please assign me on this.

All yours @shashank6341

Hi @Ansub thanks a lot.
Updated the codebase and created a Pull Request.

@Ansub We should be able to close this now


no GetProcessId from mingw

MinGW's Win32 doesn't support GetProcessId.

According to this, it depends on the Windows version:
http://lists-archives.com/mingw-users/05842-undefined-reference-to-getprocessid.html
Maybe we should just set the appropriate defines?

-D_WIN32_WINNT=0x0502 -DWINVER=0x0502 would be the appropriate values I think (XP w/ recent service pack). Maybe you could try updating the build to include that on mingw, syntheticpp?

I did a patch 6be76e56b74 in past November regarding this issue. The work around was to use GetCurrentProcessId() which is more supported (I mean before WinXP). According to "git grep GetProcessId" we use it in only on place. Maybe we could work around this issue by using GetCurrentProcessId() again if possible.

Seems I found different google entries, but yes, defining -D_WIN32_WINNT=0x0501  is better and solves the problem.
Updated the branch:
Also configure.py now supports mingw on Windows, but bootstrapping is missing.
Need to pass a argument to bootstrap, or checking a env var in the script.

0x501 means Windows Server 2003, Windows XP or higher:
http://msdn.microsoft.com/en-us/library/aa383745

Sure it works. I was just hoping to be able to keep ninja working on version of Windows before XP like 2000. But that's not a big deal.


feat/ Implemented LIC9 and corresponding unit tests

Implements lic9.
Implements lic9 unit tests.
Removed some local code from main and corrected a variable in calcAngle method.
Closes #11

Merge conflict currently preventing review.


How to set table width to 100%

Thanks for this awesome piece of code!
I am using this since v1.5 and back then, tables had the same width as text:

I updated to v2.0.3 and all the tables became individual widths:

This could be solved with:
/* maximal table width */
table.markdownTable, table.fieldtable {
  width: 100%;
}
table.markdownTable td:last-child, table.markdownTable th:last-child, table.fieldtable dt:last-child {
  width: 100%;
}

But this hack is not working anymore with v2.1. I am not to much into css, so I would like to see a section about how to modify tables here or at least get some advise what I could do. Maybe I am missing something obvious.
Thanks!

But the mentioned hack also just expanded the last column to fill the space. I'd like to expand the cols equally to be 100% of the text width.

I guess, I just struggle with markdown tables in general. Reading about it, many people seem to struggle with formatting them.
For now, I reworked all tables and centered them, since I don't think there is an answer to my rather unspecific question.

If you are still interested in full-width tables. I've figured out that this may work:
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) {
    display: block;
}

.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody {
    display: table;
    width: 100%;
}

This restores full-width for markdown and doxygen tables. But apply it with caution! It breaks the overscroll behavior of tables that are wider than the max-content-width.  Especially on small screens parts of the table may be hidden!
The problem with tables in this theme is that they technically are not tables. I had to override the default display: table style in order to accomplish the rounded corners and the overflow scrolling behaviour. This is why they are kind of messed up.
Bottom line: I'd recommend to stick with your approach of centering the tables, instead of forcing them to cover the full width!

@jothepro thanks for that fix. It works.
I still noticed some problems: Putting tables in <CENTER>...</CENTER>, I faced two problems:

all the table content is centered as well (needed to add :--- to align content left)
I have to add table{padding:1px;}, otherwise the tables are a tiny bit to wide in mobile view, or borders of wide tables disappear

What is the best way to center a table then?

Hm, good point. I'll have to dig into that, I cannot come up with an easy solution rn. It should definitely be possible to center the table with <center>. See #91.

I've added documentation on how to make a table full-width and centered in the latest release v2.2.0.
In case this is still a requirement for you check out the documentation.


[Coverity CID :203492]Memory - corruptions in /drivers/net/ppp.c

Static code scan issues seen in File: /drivers/net/ppp.c
Category: Memory - corruptions
Function: ppp_driver_feed_data
Component: Networking
CID: 203492
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

False positive.


Configured class: com.foo.reportListener.handler.SpecYamlGetHandler has not been found

Using latest master 9dc732f27a46692275ac79a539f3a80b4bbcb05d of lite-codegen I generated a project.

I build it fine with mvn install
I run it mvn exec:exec with no change I get the following exception:

19:25:32.562 [main] com.foo.report-listener-1.0.1  ERROR com.networknt.server.Server main - Server is not operational! Failed with exception
java.lang.RuntimeException: Configured class: com.foo.reportListener.handler.SpecYamlGetHandler has not been found
        at com.networknt.handler.Handler.splitClassAndName(Handler.java:445)
        at com.networknt.handler.Handler.initStringDefinedHandler(Handler.java:359)
        at com.networknt.handler.Handler.initHandlers(Handler.java:71)
        at com.networknt.handler.Handler.init(Handler.java:53)
        at com.networknt.server.Server.start(Server.java:151)
        at com.networknt.server.Server.main(Server.java:123)

Did you include com.foo.reportListener.handler.SpecYamlGetHandler in handler.yml? You need to specify all handler classes in handler.yml sp the Dependency Injector can load it during startup.

Yes its in there, I am simply running the project as generated with no code changes by me.

@farrukhnajmi I have tried to compile and start the latest https://github.com/networknt/light-example-4j/tree/master/rest/openapi/petstore without any issue. Also, is this class SpecYamlGetHandler your own? I cannot find any reference from our source code.

It seems that my adding the following in my openapi.yaml caused the problem:
paths:
  /spec.yaml:
    get:
      exec: spec

  /specui.html:
    get:
      exec: swaggerui

I did this based on the possibly incorrect or misleading docs at:
https://doc.networknt.com/style/light-rest-4j/openapi-display/#path-for-specification-display
When I take it out all is well. Thanks.


[WIP] Carousel

resolves #411

Messages

:book:

The file packages/carousel/src/react/__specs__/storyshots.spec.js may contain skipped tests.

  Generated by :no_entry_sign: dangerJS against 71006324fd9c784006a4ecacd15e7d8faeed456f


Inconsistences with memory usage and possible VRAM not being released

The first generation can be run at ~12% higher resolution but subsequently generations will result in a OOM error, any OOM error will make it necessary to reopen the webUI

Try Settings -> Actions -> Unload SD checkpoint to free some VRAM. The inconsistency is due to this implementation using diffusers. A rewrite is coming, but I cannot guarantee when.

It was ran in debug mode, no sd checkpoint was loaded


Possible bug following examples in the README?

I can't tell if this is an MSVC thing or not, but when I try doing this:
struct X {
std::string a, b, c, d, e, f;
};

struct Y {
std::string f, o, o;
X xs;
};

struct Z {
std::string bar, qux;
Y ys;
};

I get very weird compiler warnings and errors like:
glaze/util/for_each.hpp(108): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(108): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(109): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(109): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(110): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(110): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(111): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(111): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(112): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(112): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(113): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(113): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(114): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(114): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(115): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(115): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(116): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(116): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(117): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(117): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(118): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(118): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(119): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(119): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(120): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(120): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(121): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(121): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(122): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(122): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(123): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(123): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(124): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(124): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(125): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(125): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(126): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(126): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(127): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(127): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(128): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(128): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
glaze/util/for_each.hpp(129): warning C4003: not enough arguments for function-like macro invocation 'GLZ_EVERY_HELPER'
glaze/util/for_each.hpp(129): warning C4003: not enough arguments for function-like macro invocation 'GLZ_CASE'
...
glaze/util/for_each.hpp(108): error C2760: syntax error: 'case' was unexpected here; expected 'expression'
glaze/util/for_each.hpp(108): error C3878: syntax error: unexpected token 'case' following 'expression'
glaze/util/for_each.hpp(108): note: error recovery skipped: 'case constant'
glaze/util/for_each.hpp(108): error C2760: syntax error: ':' was unexpected here; expected ';'
glaze/util/for_each.hpp(108): error C3878: syntax error: unexpected token ':' following 'expression_statement'
glaze/util/for_each.hpp(108): note: error recovery skipped: ':'
glaze/util/for_each.hpp(108): note: error recovery skipped: 'case constant'
glaze/util/for_each.hpp(108): note: error recovery skipped: ':'

Is this a bug in glaze, or do I have to do a glz::meta for substructs? None of the structs in my app use anything more complex than at most an std::unordered_map, though I may need to use glz::json_t for reading arbitrary JSON schemas (one of the fields has an arbitrary schema as a value in one of the structs I have yet to implement).

That is a strange issue. I'm going to be out of pocket for the next two weeks. You could try an older version to see if your code works. Jumping all the way back to v2.9.5 should work, and I'd expect some of the earlier v3 versions to work.
I'll try to figure this out ASAP when I have time again.

@ethindp, in your example your struct Y has duplicate fields called o, which is invalid C++. When I tried building this code on MSVC the error std::string Y::o redefinition showed up, so I'm not sure why you're getting these confusing errors.
Fixing this bug builds and runs on MSVC.
Let me know if you run into other issues. Thanks for your interest in Glaze!


Add npm version badge to Readme

Nice to have:

Codecov Report

Merging #227 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #227   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          35     35
  Lines         418    418
=====================================
  Hits          418    418

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 f257e1e...17cb02d. Read the comment docs.