Running other node applications and/or reverse proxying?

Hi,
Love this adapter, have you been able to get it working with any other node library/app other than express?
I'm trying currently with directus (https://github.com/directus/directus) with external sources for db and assets but having issues with port mapping.
I've tried various iterations using directus' docker base image and also using alpine, nginx and reverse proxying - but still have no luck. I assume this is because of the inability to communicate internally via TCP on lambda.
Wondered if anyone had had any luck with anything similar?
Appreciate any help.

Hi Greg,
Thanks for your interest in this tool. The adapter communicates with the web app via HTTP. Did you know which port Directus server is listening on? Directus's default port is 8055. You can specify the environment variable PORT=8055 on the lambda function. At the init phase, the adapter also sends http GET requests to the app and waits for http 2xx response. The default path is "/" for readiness checks. If Directus does not return 2xx response at "/" path, you need to find such a path and configure it via environment variable READNIESS_CHECK_PATH.
Hope this is helpful. If you need additional support, could you please share a test container?
Harold

Thanks for the response @bnusunny -
`FROM directus/directus:9
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3.3 /lambda-adapter /opt/extensions/lambda-adapter
COPY --from=directus/directus:9 /directus /directus
ENV DB_CLIENT="mysql"
ENV DB_HOST="xxx"
ENV DB_PORT="3306"
ENV DB_DATABASE="directus"
ENV DB_USER="xxx"
ENV DB_PASSWORD="xxx"
ENV KEY="6144a906-f54b-4c74-a8f7-xxx"
ENV SECRET="Kr6x8TlAD1QLH2RcFX9hIJ-xxx"
ENV READNIESS_CHECK_PATH="/admin/login"
ENV READNIESS_CHECK_PORT=8055
ENV ASYNC_INIT="true"
EXPOSE 8055`
Here's what I have. With your Readiness check advice now. Will just try it and see.
I've tried various renditions of this using nginx and the CO
<img width="1287" alt="Screen Shot 2022-08-02 at 10 35 25 am" src="https://user-images.githubusercontent.com/735514/182267305-4b018046-c0fb-4f9d

-b456-6d7434310ba3.png">
PY --from line you see commented out - through which I was running npx directus start and nginx (as per your example) in a run.sh file via CMD.
I'm now trying your advice and trying various versions of the above - some with asyn_init true, some with all env var's modified, or partial. The output I get is the same as attached for all though :/
This image starts directus up on load. You're right it does hit another path other than "/" -

Could you add one more environment variable? ENV PORT=8055 This tells the adapter the web app is listening on port 8055.

Sorry should have mentioned I've tried that too but hadn't included that in the snippet above:
....
ENV PORT=8055
ENV READNIESS_CHECK_PATH="/admin/login"
ENV READNIESS_CHECK_PORT=8055
ENV ASYNC_INIT="true"
Still the same output.
Directus uses the PORT env var too could that be tripping it up?
I will mention this flow works locally - however it often needs a refresh as directus takes a minute to start up. This is why I used your ASYNC_INIT var.
Any other suggestions? I feel like I'm really close.

Just adding to this - this is what directus does on entry - if that makes sense - but ends up on HOST/admin/login
03:14:22 ✨ request completed GET 302 / 7ms
03:14:22 ✨ request completed GET 304 /admin 5ms
03:14:22 ✨ request completed GET 200 /admin/assets/index.917a76e9.entry.js 67ms
03:14:23 ✨ request completed GET 200 /extensions/interfaces/index.js 180ms
03:14:23 ✨ request completed GET 200 /extensions/panels/index.js 186ms
03:14:23 ✨ request completed GET 200 /extensions/displays/index.js 184ms
03:14:23 ✨ request completed GET 200 /extensions/operations/index.js 182ms
03:14:23 ✨ request completed GET 200 /extensions/layouts/index.js 187ms
03:14:23 ✨ request completed GET 200 /extensions/modules/index.js 200ms
03:14:23 ✨ request completed POST 200 /auth/refresh 177ms
03:14:23 ✨ request completed GET 304 /auth 55ms
03:14:24 ✨ request completed GET 200 /server/info?limit=-1 197ms
03:14:24 ✨ request completed GET 304 /users/me?fields[]=email&fields[]=first_name&fields[]=last_name&fields[]=last_page 93ms
03:14:28 ✨ request completed GET 200 /admin/assets/index.917a76e9.entry.js 39ms

That should work. Could you enable debug log for the Adapter by setting the environment variable RUST_LOG=debug?

That gives me:

Which is similar to what I got when I used reweb. Not sure where the 9001 comes from.

9001 is Lambda Runtime API's port. This is normal.
The repeated request to http://<IP_ADDRESS>:8055/ are readiness checks. Could you go to the end of the logs? There should be some logs about Runtime.ExitError.

Thanks. That’s in my first screenshot - 254
On Tue, 2 Aug 2022 at 16:36, Harold Sun @.***> wrote:

9001 is Lambda Runtime API's port. This is normal.
The repeated request to http://<IP_ADDRESS>:8055/ are readiness checks.
Could you go to the end of the logs? There should be some logs about
Runtime.ExitError.
—
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-lambda-web-adapter/issues/57#issuecomment-1202076847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTSGTB5MRC347FZQQDLV3VXC6VVANCNFSM55ESVBOQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Could you share your whole Dockerfile with all credentials removed?

`FROM directus/directus:9
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.3.3 /lambda-adapter /opt/extensions/lambda-adapter
COPY --from=directus/directus:9 /directus /directus
WORKDIR "/directus"
ENV DB_CLIENT="mysql"
ENV DB_HOST="xxx-ap-southeast-2.rds.amazonaws.com"
ENV DB_PORT="3306"
ENV DB_DATABASE="directus"
ENV DB_USER="root"
ENV DB_PASSWORD="xxx"
ENV KEY="6144a906-f54b-4c74-a8f7-xxx"
ENV SECRET="Kr6x8TlAD1QLH2RcFX9hIJ-xxx"
ENV HOST="<IP_ADDRESS>"
ENV PORT=8055
ENV READNIESS_CHECK_PATH="/admin/login"
ENV READNIESS_CHECK_PORT=8055
ENV ASYNC_INIT="true"
ENV RUST_LOG=debug
EXPOSE 8055`
This is it in it's current state. Just trying different variations of options atm

@gkodikara It looks like Directus write to extensions directory when it boots up first time. Lambda's root file system is read-only, except /tmp directory. Is there a way to pre-generate those extensions when building the docker image?
Another workaround is to mount an EFS file system under /mnt and make symbolic links for upload and extensions folder.

This was actually the next problem I was aiming to solve - uploads and extensions.
Uploads will be handled via S3 adapter and extensions will be COPY'd in.
Just didn't know this was why it would be crashing out.
Although there is still some fine tuning with base urls and the aforementioned uploads. It's working now. Thank you so much!

@gkodikara Welcome! Would you like to create an example for this application when it is ready?

@bnusunny yes definitely. I'm just trying to get the setup as lean as possible - Just got it saving to S3 and next going to see if I can get it running off SQLite via EFS.
Should I DM it to you or fork when ready?

Just fork and send a PR when ready.
In addition, I would advise against putting a SQLite database on EFS. It might be okay for Dev environment, not a good idea for production environments.

Will do.
Yes definitely not for prod, just an easy one stop shop to spin up a pretty
head of the pack CMS with little overhead (thanks to your adapter).
The idea would be to work on it then migrate over to MySQL for prod or use
some form of SSR / SSG and just not have a dynamic relational layer.
But I’ll detail this when I put a PR in. Give me a couple of days.
Thanks again!
On Wed, 3 Aug 2022 at 16:44, Harold Sun @.***> wrote:

Just fork and send a PR when ready.
In addition, I would advise against putting a SQLite database on EFS. It
might be okay for Dev environment, not a good idea for production
environments.
—
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-lambda-web-adapter/issues/57#issuecomment-1203549476,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTSGXAQPVP72M6PF3I5G3VXIIONANCNFSM55ESVBOQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Rewrite of the pair-counting engine

As of this PR submission, the current branch is NOT READY TO BE MERGED. This is a code-review request.
The underlying engine that drives the two-point function calculations has been rewritten. This is now being handled by the FlatRectanguloidDoubleTree class. The most important change is that the size of the cells into which the simulation subdivided is now mostly decoupled from Rmax and Lbox, and all three dimensions are now being treated entirely independently. The currently pushed version has only been implemented for the 3d, unweighted pair-counter. I anticipate the generalizations to the MCF, jackknife, 2+1 dimensional counters to be mostly straightforward, but will involve careful attention to details.
In a little more detail, the API is such that an approximate cell size is passed to FlatRectanguloidDoubleTree. The constructor uses this approximate guess and chooses the closest cell size that meets the following constraints:
1. The cell size in each dimension must evenly divide the size of the simulation box in that dimension
2. The cell size must at least exceed Rmax in each dimension
3. There must be at least 3 cell-lengths per dimension
I find that I can improve typical pair-counting for SDSS-like samples in Bolshoi by a factor of 2-3, and in Multidark by 2-100x, depending on the regime. However, I have not yet found a universal organizing principle for how to choose the optimal cell size, and the performance depends fairly sensitively on the choice. My current solution is to use Lbox/10 as the default, which I find always gives reasonable results, and to be very explicit in the docstring that some experimentation should be done for performance-critical applications.
CC @duncandc , @surhudm

Two more comments about the changes implemented to the engine:
4. The length of the cells of data2 are required to evenly divide the length of cells of data1 in each dimension
5. I pre-shift each sub-volume of points before passing the pair of sub-volumes to cython. In this way, I always compute pure Euclidean distances within the tight double-for loop, and never call the _pbc functions.


Update shell.nix to nixpkgs-24.05 and LLVM 18

Updates nixpkgs in shell.nix to 24.05 release. This release also brings LLVM 18 (and drops LLVM 11) so we update LLVM as well.
Closes #14269, #14592

Like in #14592 there are some spec failures in CI related to iconv.
Somebody should investigate that on a macOS machine.

Apparently Apple replaced the system iconv implementation from an old GNU libiconv to a FreeBSD-based one in 2023, so this is why I recalled not seeing those spec failures on my M2 in the past?

We should pass either -Dwithout_encoding or -Duse_libiconv. The latter requires pkgs.libiconvReal rather than pkgs.libiconv, but there isn't an associated pkg-config file and the linker flag is only available in $NIX_LDFLAGS?

My bad, it's -Dwithout_iconv rather than -Dwithout_encoding

Now for some reason CI on macOS doesn't even complete anymore. https://github.com/crystal-lang/crystal/actions/runs/11682308922/job/32535751549?pr=14651 is running for 4 hours now.

I think I have seen that outside this PR (https://github.com/crystal-lang/crystal/actions/runs/11856091183/job/33041700399), so I think we're fine?

Without completion of the CI job we cannot be sure the changes in this PR actually work as expected.
We can of course test it locally to give some confidence, but CI is a different environment.
Also the fact that this hangup reproduces consistently makes me think it is related to the change.

I tried applying #15150 and I think CI is progressing now: https://github.com/HertzDevil/crystal/actions/runs/11893760288/job/33139453764

@HertzDevil That seems to have resolved it. So this is ready for review now.
We can probably updated to nixpkgs 24.11 soon.


Settings Table to hold Text

Hi Stuart, I have been looking at your TeamLink app and thinking of using it. Its a really well designed app.
While testing, we saw 2 things. You now have a settings table which is great (most my apps run off a global settings/ref table. One table to rule them all) and I was wondering if some of the wording in the app can be set from the settings table. That way we can setup the app to suit us without touching your code. And when you do another update, we won't loose any word changes we have done.

Hi @Sim2K.  Great shout and is most definitely the direction of travel for the app as we start to get more requests for customisations they are being built into the settings.
The next big release is focusing on accessibility for screen readers and then the release after is focusing on customisation and personalisation.

Hi @Sim2K - in the latest release we have included additional languages and all text is now held in a new table Languages.  You can make edits to this to personalise.


Automatic decommission

For those that always want their Netbox 100% up-to-date, a cron-mode could be provided so that every agent fills in a last update date while another mechanism on the Netbox-side would be in charge of removing expired resources.

Netbox has attribute on Device to see when was the last update
But if there's no local modifications (IPs, new hardware etc) it won't be updated
I see two ways:

we could add a last_cron_update in the JSON Config Context but there is now way to filter on configcontext value
the other way is to use a CustomField, it's searchable but it needs to be created on the user's netbox instance


Incorrect formatting of Notion bookmark

When importing from Notion, Bookmarks is formatted incorrectly.
Notion -> Obsidian

Notion Export.zip
Obsidian Import.zip

Maybe using a info callout and just dismiss the banner and favicon, like the image below would be a solution.


Scroll to Top button

Let me add a button on the page to scroll to top?

no need of it for now , might be in future when chat ui is completely made


How to integrate a trained binary model in iOS?

Hi,
Thanks for your great work! I try to retrain resnet 18 binary on imagenet. I can convert weight to binary storage by using model_convert function. However, when I use that model run on iOS, it does not work. Also, I try to run amalgamate_mxnet_mac.sh but it gives an error: "fatal error: src/ndarray/autograd.cc: No such file or directory". I run everything in Linux Ubuntu (except to iOS app in macOS). Could you show me the step by step to build everything on iOS.
Thanks,
Hai

Hi,
did you check the two application projects offered by @mtin ?
https://github.com/hpi-xnor/ios-image-classification
https://github.com/hpi-xnor/ios-mnist

Hi,
Yes, I try the two above applications. But I want to re-train a binarized models on ImageNet and integrate to iOS. My current re-trained models get crash when doing prediction? So Could you show me how to train a binary network using BMXNet and integrate to iOS?
Thanks,
Hai

just one possible tip: pls use "uint32" as the BINARY_WORD_TYPE, compiling the project and using model converter to recreate the binarized model. This may solve your crashing problem in iOS prediction.


feat: add memoize package

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.7%) to 89.655%

Totals

Change from base Build<PHONE_NUMBER>:
4.7%

Covered Lines:
24

Relevant Lines:
25

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.7%) to 89.655%

Totals

Change from base Build<PHONE_NUMBER>:
4.7%

Covered Lines:
24

Relevant Lines:
25

💛  - Coveralls


ISPN-8448 Retried prepare times out while partition is in degraded mode (8.2.x)

https://issues.jboss.org/browse/ISPN-8448
Throw an AvailabilityException if the cache is in degraded mode
before sending the prepare command remotely.
Please also cherry-pick to 8.1.x

@danberindei there are a bunch of failures in CI...

@pruivo unfortunately the 8.2.x already has lots of failures even without this PR, I don't think any of the failures are related:
http://ci.infinispan.org/job/Infinispan/job/8.2.x/16/

Merged, thanks

Cherry-picked to 8.1.x as well


fix: custom registry onpremises configuration

Added .spec.kubernetes.advanced field check

@ralgozino if I remember correctly we can set defaults only for distribution values with the current template system implementation

@ralgozino if I remember correctly we can set defaults only for distribution values with the current template system implementation

I'm not sure I understand. What I ment was that , if we set .spec.kubernetes.advanced to an empty object {} in the defaults/onpremises-kfd-v1alpha2.yaml file like we do for customPatches for example, we don't need to check if it is defined in the template.

@ralgozino if I remember correctly we can set defaults only for distribution values with the current template system implementation

I'm not sure I understand. What I ment was that , if we set .spec.kubernetes.advanced to an empty object {} in the defaults/onpremises-kfd-v1alpha2.yaml file like we do for customPatches for example, we don't need to check if it is defined in the template.

Unfortunately defaults files are applied only to spec.distribution furyctl configurations.


Update state cache versions.

"Detected state cache version v10" is the highest it gets.
The most current state cache version is v15.

Never mind! It actually does recognize v15 but for some reason it didn't recognize v11-v14.
Maybe the format didn't change much and they were compatible with v10.


DO NOT MERGE - testing: Revert "MB-2845: Update Dependabot config file"

Reverts transcom/mymove#4352

Messages

:book:
:link: MB-2845

  Generated by :no_entry_sign: dangerJS against 305d4d2bd9c6f75b45aa479b8a66be29f134d7ee


Issue68 hourly albedo

Allow RGB and time-series albedo in bifacial_radiance.

@shirubana - take a look.  Things are mostly the way you left them.  I did reconfigure some of the albedo checking and added a printGroundplane() function in GroundObj to return the correct string for generating the ground text in the sky.rad file.  That way we can keep some of the albedo handling details out of gendaylit and gencumsky.  It also streamlines these functions.
I did include your API change for gendaylit to make metdata an optional parameter, and changed the example notebooks and pytests accordingly.

ps there are a pile of Auto-PEP8 changes in spacing etc mixed in there too.

i'll check it out.!! ty!!

pps - I reverted all the autoPEP8 changes to make it easier to review changes.  they're stashed in the PEP8_cleanup branch and can be applied later.


fix(compiler-sfc): fix rewriteDefault problem when using<EMAIL_ADDRESS>

same as https://github.com/vuejs/vue/pull/12906

Duplicate of #7165

Outdated.


Module test added for CGetThread, GetUserId, OnReceive new msg

This PR makes changes to so many files from other modules too. This is because of the code cleanup (4df0296) commit.


test_gradgrad fails on cpu and gpu

I built the library just fine, all unit tests complete except test_gradgrad().
The error I get is 'Numerical gradient for function expected to be zero'.
Note, I am building this on a host that has no GPU.
Using Pytorch 1.6

Just tested on gpu and the same error occurs. I am wondering if this impacts the usage of the operator.


recover parse failures for unterminated interpolations

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
1.build attached project
2.crash
What is the expected output? What do you see instead?
I was compiling my dart web app with some incorrect code (unknowingly of course) and the compiler said it was broken and it crashed.
What version of the product are you using?
Dart 1.10
On what operating system?
Ubuntu 15.04 armhf in a chroot on a samsung chromebook
What browser (if applicable)?
I had not tested the code in a browser yet but I intended to test it in chrome as an app.
Please provide any additional information below.
I know that armv7 is not supported but I figured that seeing as the sdk worked perfectly when compiled on arm I figured I might as well submit the issue anyway.
It should be know that the attached app is not in a workable state but instead is halfway ported to dart and because of so a error in my code has caused this issue the error is located on line 24 of web/dart/money_text.dart
the output from the dart compiler is in an attached file labeled compiler-output.txt

Attachments:
compiler-output.txt (6.82 KB)
project.zip (2.77 MB)

Here is the isolated repro case:
main() => '$\';

@peter-ahe-google - just saw this old bug related to recovery. The failure is in the dart2js' string_validator, but I'm guessing in the future this kind of validation might be done directly in fasta, correct?

I probably copied the bug, as I ported string_validator to fasta (I couldn't use it directly, as I wanted it to compute a string, not validate a character sequence).

Note to myself: the problem is a call to ErrorToken.value, since this getter always throws an exception.

Analzyer, dart2js, and dart VM all report a missing identifier and do not crash.


Added a Few more Colors to choos from

Maybe I exaggerated a bit
but better more to choose form
if not just yeet the pr

@tobiasreichel Why did you close this?

To many errors and typos will make a clean one in just a bit

Alrighty, I see - that's all fine though, I always run PR's through the automatic linter and make any required changes/additions

If you don't have a problem then please open it again ☺☺

This un-does changes I made to the last PR, you should update your codebase to the latest version
I've replicated the PR in #59


From which number of training samples does it not make sense anymore to use SetFit?

I'm building a classifier that assigns news articles to one of 8 categories, I was wondering if there was a rule of thumb that over a certain number of training samples per class it would make more sense to use a traditional transformer classifier such as roberta-large? Or will SetFit always be more accurate?

I was wondering if there was a rule of thumb that over a certain number of training samples per class it would make more sense to use a traditional transformer classifier such as roberta-large?

That is a good question. I would bet that this depends on the dataset?

Or will SetFit always be more accurate?

See: https://huggingface.co/blog/setfit
In the blog, Roberta-Large with all examples is better than SetFit with up to 60 examples per class.


Geode crash

Geode Issue

[ ] I confirm that this crash is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
Geode Version
beta.7
Mods Installed
No response
Steps to Reproduce
wait around on main menu for a bit or also try switching windows and sleeping pc.
Crash Report
Geode 24 Jan 19.07.29.log
Additional Information
No response

that is not a crash report that is just the console log, and this log tells me everything is fine


FR: Integration of Dozzle

Is your feature request related to a problem? Please describe.
Dozzle is a real-time log viewer for docker containers. Right now we are in the process of creating a simple log viewer for all services. A proper log reader with search, etc. is still a benefit for experienced users.
Website: https://dozzle.dev/
Github: https://github.com/amir20/dozzle
Describe the solution you'd like
Integration of Dozzle like Grafana, Prometheus, ... as a service plugin. Optional installable, no need for integration in OneClickInstaller. Integration of Dozzle alongside our own simple log viewer in Stereum Launcher would be a great addition.
Describe alternatives you've considered
Developing the same functionality ourselves would take longer time and effort we could use otherwise.

Yesterday, our dear discord user Loth111 requested a 1-click tail of the logs of all containers.
I would like to bring this issue about Doozle again, supporting this at least as an installation option & maybe push this as a prio soon to fullfill this request!


HHH-18522 Drop hard requirements on Jandex

https://hibernate.atlassian.net/browse/HHH-18522
the only remaining Jandex dependencies are in org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

close if favor of https://github.com/hibernate/hibernate-orm/pull/9017


Spanish Energetic CO2 Emissions per sector chart

The Spanish (2030) Energetic CO2 Emissions per sectorchart probably has a value for the Other section which is too large. It is given in teratonnes (I believe) and it is much bigger than the values of other sectors (which do appear in the table view). For reference, the values for this chart in the Netherlands are in Mtonnes and the Other section is much smaller.

@ChaelKruip , could you check whether this value is correct?
Re-assign at will.

Good point, @RobTerwel . Interestingly, the total CO2 emissions as shown in the dashboard item are only 267.53 MT :confused:


Refactor ActivityMap

The goal of this change is to improve performance of the server and decrease amount of used resources (first of all load on the database)

Added support for load/unload functionality (in a similar way CMC ChunkMeta does)
It loads into the memory only those regions that belong to loaded chunks and unload those that are not used by loaded chunks
activity-map-resolution should be multiple of 16 i.e. aligned with chunk size
Only one thread is loading regions and only one thread is saving regions
Introduced a new command am stat (permission citadel.admin) that shows ActivityMap statistic:

Very cool and clear as always

This adds a significant amount of complexity for what is essentially optimistically loading chunks from the database, why is this necessary?

This adds a significant amount of complexity for what is essentially optimistically loading chunks from the database, why is this necessary?

We have at the moment 3 main problems:

ActivityMap creates too many async tasks which use too many connections. This makes problems not only for ActivityMap by itself but also for other functionality in Citadel that uses connections like reading reinforcements from DB.
ActivityMap creates too many updates, we don't need to update group regions if they have been updated recently. Imagine a bunch of players with similar groups running together. Also, it is enough to update ActivityMap once per 1 - 3 hours, in the scope of 2 months - this is nothing.
ActivityMap very often doesn't contain the required information and it is needed to load data from DB in "main thread"

For example, the recent RB problems were related indirectly to ActivityMap - ActivityMap occupied all connections, Citadel was not able to load reinforcements, this slowed down loading ChunkMeta and RB was not able to get data in time.


Remove ip rules when Tun drops so that they don't linger after connlib process ends or doesn't accomulate when restarted

This is only relevant on the context of #3391

Adding is needed to prevent packet loops but removing is not trivial

I think this will be significantly easier once we have https://github.com/firezone/firezone/issues/4473. The client knows when it is shutting down and can still execute commands.

I think the routes get cleared by all operating systems as soon as the device disappears?


Geofence not working while the app is closed on different Android OS'

I am using this NuGet on Android 7, 8 and 9 and if I close the app the geofence doesn't work anymore. It works while the app is open or while in foreground but if I close it, nothing works anymore. I implemented everything needed (at least that's what I think), especially the GeofenceService and AppStarter in my Android project (I am using Forms) but still it doesn't work.

Update: Think everything works besides the CrossGeofenceListener which cannot be executing code while the app is closed. Tried making it a service in different ways, but still haven't got anywhere with it. Will be trying some more and update this if I get somewhere.

I have the same problem with you, Is it work when minimzize?

@nguyenthanhliemfc Yes, it does.
I took a deeper look in the plugin files and at least it should display a notification when I enter or exit a geofence with the app closed, if it doesn't execute the CrossGeofenceListener code, but it doesn't do a thing. I also tried with release version and still nothing. I am not sure what to try, I tried different things.

@coosmiyn @nguyenthanhliemfc Hey guys I was having the same issue and doublechecking I was missing some of this permission on manifest:
android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_COARSE_LOCATION com.google.android.providers.gsf.permission.READ_GSERVICES android.permission.RECEIVE_BOOT_COMPLETED. This permission allows the plugin to restore any geofence region previously monitored marked as persistent when rebooting.

I only see Write Gserveice not have Read Gservice???

Could it be related to GeofencePlugin is using an IntentService (which on Android O API level 28 and later) will apply background execution limits. Seems that the GeofencePlugin should be using a JobIntentService instead.


Uninstall documentation does not mention removing devworkspacetemplates

Describe the bug
The docs for uninstalling WTO do not mention removing the devworkspacetemplates CRD from the cluster. This will cause issues once the DevWorkspace Operator deployment is removed, as it will break the conversion webhooks for DevWorkspaceTemplates.

Docs updated in https://github.com/openshift/openshift-docs/pull/39532


Update configuration so a user may add in arbitrary coordinates for a LLM of their choice.

As of early April 2024 we are limiting the choices a user may choose for a model to be based on models available from IBM's BAM service or OpenAI.
We want to provide a means that users may configure arbitrary coordinates for a LLM service so they can test with any LLM of their choice.
I assume this means we need to open up the Model Provider a little so we can overwrite endpoints at a minimum

Related to #148


failed pack dependency installation

my setup is running into the same error each time, can't figure out why it is failing on the Ansible installation pack
==> chatops: id: 59ad556e0a84b422cb842b77
==> chatops: action.ref: packs.install
==> chatops: parameters:
==> chatops:   packs:
==> chatops:   - ansible
==> chatops: status: failed
==> chatops: result_task: install pack dependencies
==> chatops: result:
==> chatops:   exit_code: 1
==> chatops:   result: None
==> chatops:   stderr: "st2.actions.python.SetupVirtualEnvironment

------

==> chatops: traceback: None
==> chatops: failed_on: install pack dependencies
==> chatops: start_timestamp: 2017-09-04T13:30:22.129460Z
==> chatops: end_timestamp: 2017-09-04T13:30:55.177667Z
==> chatops: +--------------------------+------------------------+------+--------+-----------------+
==> chatops: | id                       | status                 | task | action | start_timestamp |
==> chatops: +--------------------------+------------------------+------+--------+-----------------+
==> chatops: | 59ad556e0a84b41f320e2bcc | succeeded (4s elapsed) | down | packs. | Mon, 04 Sep     |
==> chatops: |                          |                        | load | downlo | 2017 13:30:22   |
==> chatops: |                          |                        | pack | ad     | UTC             |
==> chatops: | 59ad55720a84b41f320e2bcf | succeeded (2s elapsed) | make | packs. | Mon, 04 Sep     |
==> chatops: |                          |                        | a pr | virtua | 2017 13:30:26   |
==> chatops: |                          |                        | erun | lenv_p | UTC             |
==> chatops: |                          |                        |      | rerun  |                 |
==> chatops: | 59ad55740a84b41f320e2bd2 | failed (26s elapsed)   | inst | packs. | Mon, 04 Sep     |
==> chatops: |                          |                        | all  | setup_ | 2017 13:30:28   |
==> chatops: |                          |                        | pack | virtua | UTC             |
==> chatops: |                          |                        | depe | lenv   |                 |
==> chatops: |                          |                        | nden |        |                 |
==> chatops: |                          |                        | cies |        |                 |
==> chatops: +--------------------------+------------------------+------+--------+-----------------+
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

I think it have to do something with .h:17:27: fatal error: gssapi/gssapi.h: No such file or directory but don't know for sure

Confirming.
Looks like a new package/lib dependency for Ansible itself.
The following should work:
sudo apt-get install libkrb5-dev
st2 pack install ansible

Thanks, working now

Thanks for reporting this!


resolves #2710 by stopping start.js from overwriting user.js settings

Allows editor settings to persist when running locally. Not sure if this will affect users logged in via Github

Yes it does, that was the issue. start.js was overwriting the user.js version of jsbin.

I'd like to check this in both production mode and non-production mode.

No worries, do whatever you like with it. It's working for me locally so I thought you might be interested. Thanks for the advice earlier!

Any progress on this? I'm curious if it works in production.


a11y-review-2

Second part of the a11y/accessibility review. Changes should look and behave mostly the same as they currently do.
Updates include:

Complete refactor of icon buttons in test items to accommodate screen readers and tab nav
Navigation panel icon tab nav clean-up
Replace header margin with spacing for VoiceOver
Reconfiguration of report view to disable button actions for keyboard
Color contrast fixes
Aria label fixes

Codecov Report

Merging #187 (d0d6a47) into main (63875a1) will increase coverage by 17.04%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #187       +/-   ##
===========================================
+ Coverage   76.84%   93.88%   +17.04%
===========================================
  Files         175      110       -65
  Lines        3947     2797     -1150
  Branches      367        0      -367
===========================================
- Hits         3033     2626      -407
+ Misses        912      171      -741
+ Partials        2        0        -2

Impacted Files
Coverage Δ

client/src/components/Footer/Footer.tsx

...lient/src/components/InputsModal/InputTextArea.tsx

...ient/src/components/InputsModal/InputTextField.tsx

client/src/components/InputsModal/InputsModal.tsx

client/src/components/LandingPage/LandingPage.tsx

...src/components/PresetsSelector/PresetsSelector.tsx

...nfigMessagesDetails/ConfigMessagesDetailsPanel.tsx

...mponents/TestSuite/TestRunButton/TestRunButton.tsx

...nents/TestSuite/TestSuiteDetails/TestGroupCard.tsx

...s/TestSuite/TestSuiteDetails/TestGroupListItem.tsx

... and 55 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 63875a1...d0d6a47. Read the comment docs.

Are we getting conflicting advice from axe? I'm not sure if this overlapping warning is new.

Elements must have sufficient color contrast

Reason shown in axe's lower panel:

Element's background color could not be determined because it is overlapped by another element

Yeah this is what it says, it's a warning to do a manual review because Axe can't figure out the contrast so not actually an error. WAVE tool is more reliable on contrast errors and that says we are good to go.


Renamed package from GoogleTest to GTest to be compatible with the old GTest package

The package can now be found and linked like this:
find_package(GTest CONFIG REQUIRED)
find_package(GMock CONFIG REQUIRED)
...
target_link_libraries(
  MyExe PUBLIC
  GTest::gtest
  GTest::main
  GMock::gmock
  GMock::main
)

Merged. Great, thank you!


Track Java "shaded"/uberjarred/jarjared hidden deps vulnerabilities

See:

https://github.com/jensdietrich/xshady and https://github.com/jensdietrich/xshady-release/ by @jensdietrich et al. and paper at https://arxiv.org/abs/2306.05534
we have some PurlDB WIP on Uberjar detection and related issues at:

https://github.com/nexB/purldb/issues/154
https://github.com/nexB/purldb/issues/69
https://github.com/nexB/purldb/issues/98
https://github.com/nexB/scancode-toolkit/issues/2418

@jensdietrich I read "Those projects were detected with a research tool our team has developed" ... is this open source?
See also https://github.com/ctcpip/java-shaded-example as a example by @ctcpip

@pombredanne thanks for reaching out -- the software is not yet open source but will be once our paper has been published.  There is a preview here: https://arxiv.org/abs/2306.05534 .  Some of the vulnerabilities found have led to changes in the GHSA, such as https://github.com/github/advisory-database/pull/2258 (has references to a few more).
I am pretty open-minded about making the tool available (before officially open-sourcing it, or perhaps even fast-tracking this) and working with your project, it would be useful for us (there are two more team members) if you could describe how you would integrate and use this.

@jensdietrich And thank you for taking the time to reply! At a high level, we are providing an open source SCA solutions backed by open data.
There are two sides to the problem at hand of shared JARs: detecting that a JAR shades other packages and which ones and in general when a package embeds another packages beyond JARs, and reporting the corresponding vulnerabilities if any.

For the detection side, we want to be able to detect shaded JARs in ScanCode and using the PurlDB index as needed. One approach is to map the binaries of JAR to its corresponding source code as we do in this pipeline https://github.com/nexB/scancode.io/blob/main/scanpipe/pipelines/deploy_to_develop.py : the parts that are not mapped to the corresponding sources are therefore from another origin that can be matched in the PurlDB. Another approach is matching so find embedded code, and when this is implies rewritten bytecode, using various "features" that we could extract from these such as symbols, code graphs, or a decompilation to abstract the class paths. Or your approach!

For the vulnerability side, this would likely be resolved with a VulnerableCode improver that would using the results of 1. above, doing by a matching or lookup by PURL in PurlDB from VulnerableCode and would be updating the VulnerableCode DB to update the embedding package with the vulnerabilities affecting its embedded package(s).

So 1. would be integrated in ScanCode, ScanCode.io and PurlDB, and 2. in VulnerableCode

@pombredanne   Thanks for the clarification.  In our approach, we associate bytecode with sources using the Maven Rest API . This enables us to perform matching on the source level, using a custom AST analysis (that ignores package names, as they usually change during shading).   But to precisely detect vulnerabilities (i.e. avoid false positives) we rely on a proof-of-vulnerability project for each CVE that makes it testable. Those projects then get instantiated for clones, and the respective tests are executed to check whether the vulnerability is still present. There are a few POVs we collected here for evaluation purposes: https://github.com/jensdietrich/xshady/. POVs can often be created from patches, but the process cannot be completely automated IMO and may therefore not scale sufficiently for you. Also, our approach does miss some clones, for instance, we limit the number of REST queries for performance reasons.
We are also working on matching binaries -- a dual setup with an old-fashioned engineered solution, and a dataset that might be suitable to train a classifier to match binaries. Focus atm is on the dataset. Work is in progress, we hope to have something by the end of the year. Being an academic and teaching makes things slow. Our main use case here is not vulnerability detection, but reproducible builds.
I read that NLnet sponsors some projects in this space, perhaps we could apply for this to hire students to help with this.
Re making our tool available -- I will discuss this with my collaborators.  It will take a few days through.


Add missing exception in ExecutionState copies

Description
We missed information about encountered exceptions during copying of the execution state. In this request, I added them back.
Fixes #656
Type of Change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Automated Testing
I added the test from the issue into our test cases: org.utbot.examples.mixed.XmlExampleTest#testExample
Manual Scenario
I didn't check it with the plugin.
Checklist:

[x] The change followed the style guidelines of the UTBot project
[x] Self-review of the code is passed
[x] No new warnings
[x] New tests have been added
[ ] All tests pass locally with my changes

There is no need in this request -- seems like these exceptions are not missed, but intentionally set to null and processed through symbolicResult mechanism instead. Also it doesn't fix the issue it was created for, explanation can be found in the issue.


[BUG] GUI doesn't work for Linux using VST3 plugin

Describe the bug
Opening the VST3 plugin in Renoise has no GUI and returns the following log:
Renoise LOG> Vst3Plugs: Instantiating: /home/music-plugins/vst3/ChowKick.vst3...
Renoise LOG> Vst3Plugs: Failed to apply initial controller state to controller (not critical)
Renoise LOG> Vst3Plugs: Failed to suggest speaker arrangement (not critical)
Renoise LOG> Vst3Window: Creating a new main window...
Renoise LOG> Vst3Window: Setting window properties...
Renoise LOG> Vst3Window: Creating plugin parent window...
Renoise LOG> Vst3Window: Mapping the window...
Renoise LOG> Vst3Window: Attaching the plugin to the plugin parent window...
Renoise LOG> Vst3Window: Plugin requested new Windowsize 850, 600
Renoise LOG> Vst3Window: Plugin window attached via _XEMBED_INFO
X ERROR: Returned 'BadValue (integer parameter out of range for operation)' for operation 'Unknown'

To Reproduce
Steps to reproduce the behavior:

Open Renoise
Open ChowKick VST3
See error above

Expected behavior
To be able to open the plugin in Renoise and have a GUI.
Screenshots

Desktop (please complete the following information):

OS: Gentoo Linux
DAW: Renoise v3.4.2
ChowKick Version: v1.1.1

Hi, thanks for the bug report!
My best guess as to the root cause of the issue is that their may be some compatibility issue with the plugin's OpenGL support, and the OpenGL support available on your system. It should be possible to turn off OpenGL support in the plugin, by commenting out the juce::juce_opengl and FOLEYS_ENABLE_OPEN_GL_CONTEXT=1 lines in modules/CMakeLists.txt. Definitely let me know if that strategy helps on your system!

Yep, after doing this it works, but seems to be using a lot of CPU power.

Ah okay, that's good to know. Frankly I'm not super familiar about the way JUCE's OpenGL renderrer interfaces with the system's OpenGL capabilities, so that may be a bit of a blocker as far as actually getting the plugin GUI working with OpenGL support on your system.
For the CPU usage, I'd first double check that you're compiling with all the proper "release build" flags. When compiling with Makefile-based CMake generators, I ususally do:
cmake -Bbuild -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
cmake --build build/ --target ChowKick_VST3 --config Release

Hi, The GUI works for me only if I update juce from 7.0.3 to 7.0.4 before building :) I had the same problem. I didn't edit any cmake file. Just rm -fr JUCE and git clone, did it.  Thanks for mentioning that, I hadn't noticed that JUCE 7.0.4 was out, and that it included some OpenGL fixes for Linux. I pushed a commit a few minutes ago that has the Linux build use the same strategy for auto-detecting OpenGL support that the plugin uses on Windows. If any of you have a chance to try out the next nightly build (probably ready in an hour or so), that would be awesome!

Hi, I noticed you upgraded the chowdsp_utils module and not JUCE. Note sure why, it wont build now. It did work yesterday if I just upgraded the JUCE module.

Ah, that'll teach me not to be to trigger-happy with git push at 2am.
So it looks like all the plugins can build fine when linked with OpenGL, except the LV2 build, which fails when generating TTL files.I'm going to back out the change which linked with OpenGL by default on Linux, and hopefully that will improve the situation.
That's a bit of a bummer though... I think I'd prefer to stop shipping the LV2 format, but I think there's enough folks using it that I should stick with it for now.

Okej, if you want you could make the build without LV2 if the user want Opengl and disable Opengl if the user want LV2. I know the TTL file generator could fail when there was some memory problem with initializing the plugin, could be on JUCE side also.

Okej, if you want you could make the build without LV2 if the user want Opengl and disable Opengl if the user want LV2.

Yeah,  I might go with this strategy, I'll just have to work it out in my build scripts.

I know the TTL file generator could fail when there was some memory problem with initializing the plugin, could be on JUCE side also.

It's a bit hard to know where the problem is coming from... it definitely could be a JUCE thing, but another thought was that I usually build my plugins from a "headless" setup (whether at home or on a build server), and since the TTL generator needs to create the plugin UI that might be causing problems as well.


Change domain adress via iframe src

Thank you for iframe resizer - I use it with no problems.
But today I have this trouble:
I have iframe with src affiliate link. All is ok, but if I click on the link in included affil page and the address of domain is changed, the height of iframe with new domain is not calculated. New domain has resizer scripts of course....And I tested new domain in its own iframe - Its ok. But if I use link on new dom via iframe it doesnt calculate height.
Can give me advice how should I solve it please? [I apologize for my English] thx

Have a look at the checkOrigin option in the docs.

Solved, thank you very much!! :)


NuGET deltalake.net.0.2.0 is missing libdelta_kernel_ffi

I was trying to use the NuGet by adopting the example and instead of referencing the csproj and native binaries directly, I used the NuGet package.
I.e. my .csproj looks like this
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="DeltaLake.Net" Version="0.2.0" />
    <!-- Entra ID interaction with Azure Data Lake Storage -->
    <PackageReference Include="Azure.Identity" Version="1.12.1" />
  </ItemGroup>

</Project>

Project compiles fine, however when running, I get
python-env) ➜  cli git:(main) ✗ dotnet run $PWD/demo-table 20
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'delta_kernel_ffi' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
[...(truncatd for brevity)...]

So I've downloaded the package manually and unzipped it, verifying its contents, and indeed, that file is missing.
(python-env) ➜  deltalake.net.0.2.0 git:(main) ✗ tree
.
├── DeltaLake.Net.nuspec
├── README.md
├── [Content_Types].xml
├── _rels
├── lib
│   ├── net6.0
│   │   ├── DeltaLake.dll
│   │   └── DeltaLake.xml
│   └── net8.0
│       ├── DeltaLake.dll
│       └── DeltaLake.xml
├── package
│   └── services
│       └── metadata
│           └── core-properties
│               └── 30cc255eb0124b6a8ddc995f282b59f8.psmdcp
└── runtimes
    ├── linux-arm64
    │   └── native
    │       └── libdelta_rs_bridge.so
    ├── linux-x64
    │   └── native
    │       └── libdelta_rs_bridge.so
    ├── osx-arm64
    │   └── native
    │       └── libdelta_rs_bridge.dylib
    ├── osx-x64
    │   └── native
    │       └── libdelta_rs_bridge.dylib
    └── win-x64
        └── native
            └── delta_rs_bridge.dll

20 directories, 13 files

Having had a look at DeltaLake.csproj, it seems like its currently referencing the debug binary of the missing file, even in release mode (due to reasons well explained in the file). So maybe it's a case of this file not being explicitly built in the Github Action package.yml ?

@dmunch We weren't setting the KernelLibraryRoot parameter in the dotnet pack command. I removed the listing for the 0.2.0 package, and I will get the fixed version out there soon.

Unfortunately publishing the NuGet is now failing since the package size (305mb) exceeds the package size limit of 250mb. https://github.com/NuGet/NuGetGallery/issues/9473

@mdrakiburrahman We have this comment in the code about release builds of delta_kernel. I have tried testing locally with a release build and it seems to work. Are you still experiencing this issue? This is working on a branch with the latest delta-rs.

The CI test was failing when I wrote that. If it's working now, then it's probably some Rust thing that I do not understand, and no concerns on my end if we want to start using the Release build

@mightyshazam - so basically, if the branch above passes the new read test I added with the Kernel-based read, we're good to go.
If not, then let me know, if this Nuget size is caused due to the debug build, I need to sort that out since I introduced it.

The nuget size is probably due to the debug build. It adds 50MB on osx-arm, so it is safe to assume the other targets are responsible for at least 50 more, putting us over the limit. I have a PR to test the build #108 with the update to delta rs.

Sounds good, please let me know if you need me for anything.

Thanks again for the quick turnaround: NuGet with version 0.22.3 now works fine on my local machine


A process stops printing data in a while loop when I use "Process" library to start this process in background

OS: Windows 10
Python: 3.12.0
Robotframework: 7.0.1
I use "Process" library to start this process(print.py) in background. The process will keep writing data to a file in a while loop.
Start Process     python     print.py
However, the process will suddenly stop print data to a file due to unknown reason while running test cases.
Could you help check and solve this issue? Thanks.

@pekkaklarck
Thank you for your reply.
You are right, the issue should be caused by the output buffers getting full.
If I redirect both stdout and stderr to file the issue will not happen.
Is there any limitation about the output buffers with robotframework?
If I manually run the original print.py in another terminal instead of robotframework, the issue will not happen.

The output buffer size is determined by the operating system. The reason there's no problem when you run it from the cli is that the terminal consumes the output from the buffer so it doesn't get full. When you use the process library, nobody consumes it until the process has finished. We probably could implement some system for consuming the content, but it would likely require threads and be fairly complicated. Redirecting outputs to files solves the issue so easily that spending time for it hasn't been considered worth the effort.


importScripts in workbox-build?

Library Affected:
workbox-build
Browser & Platform:
all browsers
Issue or Feature Request Description:
@gauntface Is there a way to import scripts with workbox-build if I want to include a JS file containing routes, for example? With sw-precache I could do something like the following to include some toolbox routes from another file in the generated service worker:
gulp.task('service-worker', function(callback) {
  swPrecache.write('service-worker.js', {
    staticFileGlobs: [
      'index.html',
      'css/main.css',
    ],
    importScripts: [
      'node_modules/sw-toolbox/sw-toolbox.js',
      'js/toolbox-script.js'
    ]
  }, callback);
});

Couldn't find an equivalent in the workbox reference. I tried just using importScripts in generateSW but it was ignored.
gulp.task('bundle-sw', () => {
  return wbBuild.generateSW({
    globDirectory: './',
    swDest: './sw.js',
    staticFileGlobs: [
      'index.html',
      'css/main.css'
    ],
    importScripts: ['routes.js']
  })
  .then(() => {
    console.log('Service worker generated.');
  })
  .catch((err) => {
    console.log('[ERROR] This happened: ' + err);
  });
});

For that use case, injectManifest() is a better choice than using generateSW().
injectManifest() lets you supply a full service worker file, including the routes and any other additional logic, as its swSrc input, and checks for a placeholder call to precache([]) within the file. That precache([]) gets replaced with the actual manifest of URLs to precache, and then it's written out to swDest.
You can see an example of this in action in our iFixit example's gulp task and source service worker file.
CC: @jpmedley as another heads up (similar to #583). This is an important use case and it appears like the getting started material isn't leading developers in the right direction.

Ok makes sense. Thank you!


Manipulate Array Data

I've been digging into ways to build a csv helper on top of the standard array class and its decorators. I'm trying to find where I can access the values already entered. I'm not seeing the values in Item or Model array and the internals make it look as though 'list' is the storage mechanism here.
Is there a way to access these items without overriding the standard array.js?

They should be in the model, actually. Is this still a problem?
Can you perhaps provide an example of what you are trying to do?

Please re-open if you can provide information to help is assist you.


Fix pkl path

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the back-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.10 out of 11 committers have signed the CLA.:white_check_mark: VVsssssk:white_check_mark: ZCMax:white_check_mark: Tai-Wang:white_check_mark: jshilong:white_check_mark: Xiangxu-0103:white_check_mark: lianqing11:white_check_mark: tpoisonooo:white_check_mark: ice-tong:white_check_mark: JingweiZhang12:white_check_mark: lianqing01:x: canqunxiangcanqunxiang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Use susaas NS in example

First off, I really like this e2e example, really great :)
when deploying to kyma, there are instructions to create and label a susaas namespace:
kubectl create namespace susaas
kubectl label namespace susaas istio-injection=enabled
but then in the further examples, it uses the "default" namespace. This PR aligns the helm release susaas to also be deployed in the susaas NS

Thanks for your contribution corey-alioa, LGTM.


11th Physics - Chapter-4 (Work, Energy and Power)

I have fixed some errors in headings and formulae.

@devyanshirai please change images as flowchart wherever required


SSR  Invalid vnode type when creating vnode

i have installed everything working on client side but server side showing this issue...
Starting SSR server on port 13714...
Inertia SSR server started.
[Vue warn]: Invalid vnode type when creating vnode: undefined.
[Vue warn]: Invalid vnode type when creating vnode: undefined.
[Vue warn]: Invalid vnode type when creating vnode: undefined.
[Vue warn]: Invalid vnode type when creating vnode: undefined.
[Vue warn]: Invalid vnode type when creating vnode: undefined.

Hi @touhid12310,
This is likely because of your setup method, please see issue #498.

Yes, agreed, setup must use App instead of app. Also this isn't a bug with the Laravel adapter, so I'm going to close this 👍


Linux ci_yaml flutter roller failing: "Error: key "dependencies" not in dict"

I tried to create two new builders (one renamed, one actually new) in https://github.com/flutter/flutter/pull/119971 and Linux ci_yaml flutter roller failed with:
[P7999 15:34:54.716 generate.go:94 I] Generating configs using lucicfg v1.37.2...
Traceback (most recent call last):
  //main.star:249:21: in <toplevel>
  //flutter_config.star:59:21: in _setup
  //lib/ci_yaml/ci_yaml.star:471:14: in _generate
  //lib/ci_yaml/ci_yaml.star:371:40: in _builders
  //lib/ci_yaml/ci_yaml.star:227:34: in _properties
Error: key "dependencies" not in dict

https://ci.chromium.org/p/flutter/builders/try/Linux ci_yaml flutter roller/2023
I'm not quite sure why, I don't think dependencies should be required if there are none, but in this case both tasks do have a dependencies key.
  - name: Mac_x64 verify_binaries_codesigned
...
    properties:
      dependencies: >-
        [
          {"dependency": "xcode", "version": "14a5294e"}
        ]

  - name: Mac_arm verify_binaries_codesigned
...
    properties:
      dependencies: >-
        [
          {"dependency": "xcode", "version": "14a5294e"}
        ]

This is blocking https://github.com/flutter/flutter/pull/119971.

Putting this in the infra queue since I'd really like https://github.com/flutter/flutter/pull/119971 to land before next week's release.

Oh actually I know what happened, I misspelled the platform_property Mac_arm64 as Mac_arm, so it didn't "inherit" correctly.  I don't think dependencies should be required, and maybe this can be a better error message?
In any case this is a nice-to-have, removing from the queue.

The "fix" to make dependencies optional would be upstream in lucicfg, no?

I was thinking more of handling the key not being present and assuming it's empty here:
https://flutter.googlesource.com/infra/+/refs/heads/main/config/lib/ci_yaml/ci_yaml.star#227

@jmagman do you have a fix/workaround for the original issue, or do you need someone to look at this?

This isn't blocking anything, I can file a new, more focused version of this issue if I see it again.


(request org repo) highlightjs-flogram

I would like to request the creation of a highlightjs-flogram repository for my 3rd party grammar.

[https://github.com/Flogram/Syntax-Highlighter I have an existing personal repository ready to go

Metadata

Grammar Name: flogram
Link to repo: https://github.com/Flogram/Syntax-Highlighter

Requirements

[x] I've read the language Contributor Checklist
[x] I've read the Language Contribution Guide
[x] I'm currently willing to support and maintain this grammar over time
[x] That repo includes a dist folder with CDN-ready CJS and ESM builds
[x] That README.md includes examples of simple web usage
[x] That README.md includes examples of Node.js usage

Afterwards
Submit a PR that:

[x] adds mention of your new language to CHANGES.md
[x] updates SUPPORTED_LANGUAGES.md in the main library

Awesome!
Please use our built in build process to generate both CJS and ESM ready to go distributable.  Your file in dist does not appear to be a CJS CDN-ready file.  The built in process will generate the files for you, you just need to check them into git.

Ping.

Oh! right. I will fix that and get back to you

Closing due to inactivity - this can re-opened at any time you have time to push this forward.


[BUG] Google Slides Add On - Issue in Backend API

The add on takes URL of the simulator, extracts id or friendly slug depending on the URL type and performs a query to extract image. However, the API gets the image based on id. So it cannot get the image based on friendly slug.
function getCircuitImagePath(id) {
  var queryUrl = `circuitverse.org/api/v1/projects/${id}/image_preview`;
  return JSON.parse(UrlFetchApp.fetch(queryUrl))["project_preview"];
}

File of API usage: https://github.com/CircuitVerse/CircuitVerse-Presentation-Embed/blob/5b7d02aaec4a662749c1a3a26dd425a2cb6db136/Google Slides Add On/Code.js#L42
I think there are a few options

Modify API to work with both friend slug and id
Create a new API which works with both friendly slug and id
Create another API which gives ID, given slug

@tachyons, @Nitish145  any inputs here?

api was supposed to accept both slug and id, current behavior is a bug


chore(Topology/Group): move QuotientGroup to a new file

bors merge

I've merged master. I'm going to fix it, then merge.


Can't find 472oop/ github learning lab

472oop : search for repositories belonging to 472 Joseph Cooper,
github. com/472oop / Learning lab- bot

Completing Final copy 472oop website - - index.html/472oopslideshow

github.com/472oop Joseph Cooper

Joseph Cooper<EMAIL_ADDRESS>

472oop : search for repositories belonging to 472 Joseph Cooper/
github. com/472oop / Learning lab- bot


Create Ecotype-Grouped Graphs

Implement ecotype-grouped embayment habitat extent graphs.

Needed: where to find data on embayment habitat ecotypes

CEI/MassBays will provide this information when it is ready, but it will be weeks/months before we get that dataset.


[Question] Update existing Harvester Configuration

I have a question about updating an existing Harvester configuration.
For example, if I want to change the management address on an existing host, what is the best practice for doing so?
I see in the docs where it talks about the configuration https://docs.harvesterhci.io/v1.0/install/harvester-configuration/. But how do I update an existing configuration, not a new install?
I don't really see in the docs how to edit existing configurations. Would appreciate any help here! TIA

The harvester configuration is stored as /oem/harvester.config for reference after installation. Changing this file has no effect after a system is provisioned.
Behind the scene, the config file is converted into cOS cloud-init file /oem/99_custom.yaml, so if we want something on the system to change, that's the right place to go.
Please be aware we don't support and didn't test changing management addresses before.

Thanks for the help!


allow different polygons in sc.pl.spatial

[ ] Additional function parameters / changed functionality / changed defaults?
[ ] New analysis tool: A simple analysis tool you have been using and are missing in sc.tools?
[ ] New plotting function: A kind of plot you would like to seein sc.pl?
[ ] External tools: Do you know an existing package that should go into sc.external.*?
[x] Other?

e.g. squares, hexagons cc @jwrth

New analysis tool: A simple analysis tool you have been using and are missing in sc.tools

What about alternative normalization tools like SCTransform? I read that they are supposed to be better for spatial data. As non-mathematician of course I'm not sure how big the difference will really be in the end but it would be great if there was a easy way to call and test them if it's worth it.

New plotting function: A kind of plot you would like to seein sc.pl?

I think a plot that shows the gene expression profile along a spatial axis would be nice if this is not planned yet. So to draw in e.g. a line in napari and get the gene expression of certain genes along this line.

External tools: Do you know an existing package that should go into sc.external.*?

A package I found very useful and easy to integrate with scanpy is SpatialDE. Are you planning to provide this in sc.external.*? And of course tools to integrate sc-RNA-seq and spatial data (like Stereoscope, cell2location,...) would be great! But I think you mentioned that there are plans for own tools, right?


bundle exec <cmd> gives "command not found" on JRuby+Windows

Windows 10
jruby <IP_ADDRESS> (2.5.7) 2019-10-30 458ad3e Java HotSpot(TM) 64-Bit Server VM 25.231-b11 on 1.8.0_231-b11 +jit [mswin32-x86_64] installed via official installer JRuby <IP_ADDRESS> Windows Executable (x64)
Any Ruby project with Gemfile, for example takahashim/epubcheck-ruby
gem install bundler (installs bundler-2.1.4 as of today)
bundler install (installs rake-12.3.3 as of today for given example project)
bundler exec rake

Expected: default rake target is executed
Actual:
bundler: command not found: rake
Install missing gem executables with `bundle install`

However, bundle exec rake test works!
This problem doesn't reproduce on Linux/MacOS. This problem doesn't reproduce with MRI. This problem happens on all of my Windows machines. Additionally, it happens on GitHub Actions Windows nodes, so I believe bug is not caused by my misconfiguration. I do not have any evidence that it works on any Windows machine.
Further testing shows that any bundle exec <cmd> fails, however bundle exec <cmd> <at least one more argument> works.
I'm not sure whether this is Bundler or JRuby issue.

I reported to JRuby as well as I think it might be a JRuby bug: https://github.com/jruby/jruby/issues/6053


htlcswitch: ensure the packet queue exits on stop

In this commit, we ensure that the packet queue will always exit, by
continually signalling the main goroutine until it atomically sets a
bool that indicates its has been fully shutdown. It has been observed
that at times the main goroutine will wake up (due to the signal), but
then bypass the select and actually miss the quit signal, as a result
another signal is required. We'll continue to signals in a lazy loop
until the goroutine has fully exited.

PTAL.


Build script: improved code blocks

Builds on

#3992

[x] code blocks are sequentially focusable (for example via TAB key)
[x] no empty line at the start of each code block

Please compare

with this improvement: https://ralfhandl.github.io/OpenAPI-Specification/oas/latest-code.html#format
current state: https://ralfhandl.github.io/OpenAPI-Specification/oas/latest.html#format

Could you perhaps change the base of this PR, to the head of the previous PR?


added a new site type to hotel ads

Docs Build status updates of commit e4f6861:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Advertising/hotel-ads/release-notes.md
:white_check_mark:Succeeded

Advertising/hotel-service/reference.md
:white_check_mark:Succeeded

Advertising/hotel-service/reporting.md
:white_check_mark:Succeeded

Advertising/pos-feed/create-pos-feed.md
:white_check_mark:Succeeded

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


[Tool] Formula predict

Added a tool for formula prediction opening the window and updating on changes. Users can supply isotope pattern to get the isotope score.

Needs some love


micah/22/edge arrow support dot file

This PR accepts the nice contribution by @geminoa in PR https://github.com/almende/vis/pull/3888

notice the differences:
dot --> both dot
vee --> back vee
http://localhost:8080/examples/network/data/dotLanguage/dotEdgeStyles.html
before

after

:love_letter: Thanks @geminoa for your contribution!
This pull-request has been merge into https://github.com/visjs/vis-network/pull/19


Incorrect documentation regarding test argument

The README says that tests defaults to false, but the action yaml shows that it defaults to true.

wheels, package_name are also incorrect

updated & pushed to main directly, because we do things live - cheers!


Overriding components: Adding vertical/horizontal padding/margin is ignored.

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When overriding any base component, the MUI shortcuts would not work. (py, px, my, mx, p, m, etc). They are being added straight as px: 1rem.

Expected behavior 🤔
When adding any padding or margin in a short way to a component override, they would get interpreted like using sx prop. p: '1rem would be padding: 1rem
Steps to reproduce 🕹
Steps:

Create a file destined to override any component (i.e. Button)
Override the root style root: { p: '1rem'}
Inspect and check the override

Your environment 🌎

npx @mui/envinfo
Browser: Chrome Version 102.0.5005.115
  System:
    OS: macOS 12.3.1
  Binaries:
    Node: 14.17.6 - /usr/local/bin/node
    Yarn: Not Found
    npm: 8.12.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 103.0.5060.53
    Edge: Not Found
    Firefox: 92.0.1
    Safari: 15.4
  npmPackages:
    @emotion/react: ^11.9.3 => 11.9.3
    @emotion/styled: ^11.9.3 => 11.9.3
    @mui/base:  5.0.0-alpha.86
    @mui/icons-material: ^5.8.4 => 5.8.4
    @mui/lab: ^5.0.0-alpha.88 => 5.0.0-alpha.87
    @mui/material: ^5.8.6 => 5.8.5
    @mui/private-theming:  5.8.4
    @mui/styled-engine:  5.8.0
    @mui/system:  5.8.5
    @mui/types:  7.1.4
    @mui/utils:  5.8.4
    @mui/x-data-grid: ^5.12.3 => 5.12.3
    @mui/x-date-pickers:  5.0.0-alpha.1
    @types/react:  18.0.14
    react: 17.0.2 => 17.0.2

These shortcuts work in the sx prop, not in style overrides.
Have you found a place in the docs that suggests otherwise?


Pre compiled version for windows using node-pre-gyp

Windows users require a complicated setup for Visual Studio VC++. It would be very helpful to have gc-stats as pre-compiled module e.g. using http://www.appveyor.com/  and https://github.com/mapbox/node-pre-gyp

Sorry,
But I don't have any windows boxes to test and develope for windows
PR is welcome

:) That's why I asked -  http://www.appveyor.com/  provides the windows boxes.

Need help with this?

@robrich +1 for help :)

Is there a move to have compiled binaries for all archs?

@gabrielcsapo We have a fork of this lib which we are keeping up to date https://github.com/RisingStack/node-gcstats . We host binaries and use node-pre-gyp for automating this. Currently we do not build for Windows though.

@dainis is the problem solved with introducing appvyeor file in the repository? Sorry, i don't have windows to check...

@megastef windows has prebuilt binaries, MacOs still doesn't have

@dainis should we then close this and open a new ticket for MacOS binaries?

FYI -- v1.4.0 with Node v12 is missing Windows binaries because the build failed:
https://ci.appveyor.com/project/dainis/node-gcstats/builds/24916323
v1.5.0 looks like it will be ok once #49 is resolved.
https://ci.appveyor.com/project/dainis/node-gcstats/builds/33597418
On MacOS support (which I agree should be tracked in a new ticket), @paulrutter and I recently added support for native binaries in node-oom-heapdump using Github Actions. It would be possible to create a workflow that is triggered by a publish, which then builds on MacOS like Travis/Appveyor.

Is this ever going to be fixed for 1.4.0?


Proposal: use dictionaries with already defined frequencies

When using the dictionaries now, the frequency is not yet set for the words. This means that it will take significant time before that more-frequently used words appear first in the suggestions list for each language.
A possible solution is to use the AOSP dictionary files here. These already have a frequency count built-in for each word. In addition, these dictionaries are kinda the standard as it goes for custom keyboards, like AnySoftKeyboard and Florisboard. This means more predictable behavior and less weird/wrong words.
In addition, the use of these dictionaries could improve speed. The idea is for the compiler to convert these AOSP dictionary XML files to .sql at compile-time. This means they would only have to be activated when the user selects the language, instead of being converted and imported to sql on the device itself, saving a lot of time for the user. Maybe in combination with #53?

Even now the dictionaries are in CSV format, it's just they have a single value per row. So, it is not so difficult to "upgrade" the format and use word,frequency, instead of just word.
I agree that the AOSP dictionaries may be of higher quality, containing less nonsense words, but I don't believe priorities will change the game that much.
Have in mind T9 predictions are very different from QWERTY predictions. For example, if you wanted to type fondly, in QWERTY mode you would want suggestions that are similar to fo, fond and finally, fondly.
But in T9, you always type numbers and get predictions for the given number sequence. So, for 466359 (fondly), you would get do (46) and FM (46); food (4663), gone (4663), done (4663), fond (4663); finally, you will get to fondly. As you see, no matter the priority, you will always get completely different suggestions, until you get closer to the word you have in mind, because it is most important to match the sequence and then order them by priority. So, yes, predefined priorities may help a little, but don't expect mircales.
If I have enough free time, I may experiment and see if there is a significant benefit, but for now I don't feel like it is worth the effort.

Out of curiosity, I ran some benchmarks. It turned out converting the words to digit sequences actually takes significant amount of time.
Here are some test results:
// Read "en-utf8":
// (Read the file without doing anything else)
I/tt9.DictionaryLoader.importAll: Dictionary: 'en-utf8.txt' processing time: <130 ms

// Read "en-utf8" + validateWord():
// (Read the file and validate the words)
I/tt9.DictionaryLoader.importAll: Dictionary: 'en-utf8.txt' processing time: ~130 ms

// Read "en-utf8" + validateWord() + ArrayList management:
// (Read the file, validate the words and build ArrayLists to be inserted in the database, but do not insert them)
I/tt9.DictionaryLoader.importAll: Dictionary: 'en-utf8.txt' processing time: ~150 ms

// Read "en-utf8" + validateWord() + ArrayList management + getDigitSequenceForWord():
// (Same as the above, but convert the words to digit sequences. e.g. "food" -> "3664")
I/tt9.DictionaryLoader.importAll: Dictionary: 'en-utf8.txt' processing time: 6.3 s

// Read "en-utf8" + validateWord() + ArrayList management + getDigitSequenceForWord() + DictionaryDb.insertWordsSync():
// (Same as the above, but insert the data. This is how the importer works today)
I/tt9.DictionaryLoader.importAll: Dictionary: 'en-utf8.txt' processing time: 11.3 s

// Read "en-utf8" + validateWord() + ArrayList management + DictionaryDb.insertWordsSync():
// (Normal inserting, but as if the sequences are pre-generated at build time)
I/tt9.DictionaryLoader.importAll: Dictionary: 'en-utf8.txt' processing time: 4.6 s

Test Conditions:

TT9 v11.0, debug build
Device: Qin F21 Pro+ (no Google)
The charger is plugged in.
The screen stays on during the test.
The Settings screen is on during the test. No scrolling or other interaction.
There are no toast messages during the test.
Results are the average of 3 test runs. The database is truncated before each run.

This means, if sequences are pre-generated at build time, dictionary importing could become more than 2 times faster. However, the dictionary files would become 2 times bigger.

After additionally researching, it turned out it is not possible to directly use the AOSP dictionaries, because they contain repeating words (e.g. "i've" and "I've"), but TT9 requires unique words in the database to work properly.
However, having predefined frequencies definitely appears to be beneficial, despite the predictions working differently in T9 mode.
So, in order to implement this task, do the following:

Enable dictionaries in CSV format.

There is no header
Rows are in the format: String(tab)Integer
String is the word
Integer must be a non-negative integer and is the frequency
Integer is optional. If missing it is assumed to be 0.

Validate the CSV when building.
Change the DictionaryLoader to support the new dictionary format.
Similar to the capitalize-dictionary-words.js script create a script for injecting the priorities. Repeated words or multiple runs would overwrite the priority, if already set.


Improve code documentation coloring on the diff view for Noctis Azureus

Further, I noticed it's hard to read the documentation comments. Here is an example:

It's a C# file it that matters. Please consider bumping the color!

Good catch mate. This time I decided to dial down the diff's color luminosity and to slightly increase the luminosity for comments. Please let me know how this suits you.
Cheers!

Good catch mate. This time I decided to dial down the diff's color luminosity and to slightly increase the luminosity for comments. Please let me know how this suits you.
Cheers!

This looks great✌👍👍👌😎😎


PLAT-64864: Remove page control's composite layers

Checklist

[X] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[ ] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
We overrided the Button's CSS styles by using CSS element selector to remove page control's composite layers and to enhance scroll performance. But the Button's DOM structure changed and some composite layers were not removed because we used the CSS element selector.
Resolution
I reverted the previous patch to remove page control's composite layers.
I override the Button's CSS styles by using CSS class selector.
Additional Considerations

The ScrollButton's CSS classes are defined in not ScrollButton.less but Scrollbar.less. So I moved them to the ScrollButton.less.
I forgot to remove direction prop in ScrollButton.js in  PLAT-39161. I'll do it in PLAT-64865.
To override Button's client class, I add client string to the publicClassNames of the Button and the Icon Button. If it is not proper, I could override it with the following code.

AS-IS
	.client {
		overflow: hidden;
	}

TO-BE
	.bg ~ div {
		overflow: hidden;
	}

To override the Button's CSS styles, I added ccc={css} in the ScrollButton's render function. I think we could remove it because rest includes css property. But it did not work if removing it.
==> As @0x64 mentioned, css is NOT enumarable.  So rest could not include css property with render: ({children, disabled, ...rest}) code.

Before removing css={css}
	render: ({css, children, disabled, ...rest}) => {
		delete rest.active;
		delete rest.direction;

		return (
			<IconButton
				{...rest}
				backgroundOpacity="transparent"
				css={css}
				disabled={disabled}
				small
			>
				{children}
			</IconButton>
		);
	}

After removing css={css}
	render: ({/*css, */children, disabled, ...rest}) => {
		delete rest.active;
		delete rest.direction;

		return (
			<IconButton
				{...rest}
				backgroundOpacity="transparent"
				/*css={css}*/
				disabled={disabled}
				small
			>
				{children}
			</IconButton>
		);
	}

Links
PLAT-64864
Comments

LGTM

closing out as associated jira has been closed


Shared DB instances are not supported anymore

As I just found out after upgrading LocalDB from v13 to v15, shared DB instances don't seem to work anymore.
https://feedback.azure.com/forums/908035-sql-server/suggestions/36481279-sql-server-2017-express-localdb-shared-instance-co

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

ID: ea66ca27-e0b1-cd1e-a8ef-55911169c71a
Version Independent ID: f2340ce9-9771-851e-60a7-237c6e55f085
Content: SQL Server Express LocalDB - SQL Server
Content Source: docs/database-engine/configure-windows/sql-server-express-localdb.md
Product: sql
Technology: configuration
GitHub Login: @markingmyname
Microsoft Alias: maghan

@mcurko,
Thanks for bringing this to our attention.
Our engineering team is investigating this issue.  We are still not at a phase where we can document this yet.
However, we will update the article accordingly if we determine this to be a limitation or restriction.
For further assistance, please contact support.
Please visit one of the following pages depending on your product or service.
On Prem users
SQL on Azure
Services Hub (Unified/premier customers)
We apologize for the inconvenience.
Thank you.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site.


Vimeo support?

Hey!
Thanks for a great plugin!
Any ambition for including Vimeo as well?
Cheers!

Guess not, as you might see in the videogular issues.
I thought about maybe creating one, but I won't start until the end of the
current semester (summer) .
Am 24.04.2015 11:28 schrieb "Philippe Luickx"<EMAIL_ADDRESS>Hey!
Thanks for a great plugin!
Any ambition for including Vimeo as well?
Cheers!
—
Reply to this email directly or view it on GitHub
https://github.com/NamPNQ/bower-videogular-youtube/issues/35.

Allright, thanks for the info!

You can check this project: https://github.com/bagabont/videogular-vimeo. Still a rough implementation, but any help is welcome.

Awesome, thanks!


solver fix for variant splitting

A fix for the core solver that I'm surprised doesn't come up more often. Also added a test to illustrate the problem.

It does :) That's the same fix here: https://github.com/nerdvegas/rez/pull/425
I'm fine with either pull.

Thanks guys, good to know the resolve error is one and the same. I'll refer
to both PRs and take the tastiest of both :)
A
On Sat, Aug 19, 2017 at 7:53 AM, Blazej Floch<EMAIL_ADDRESS>wrote:

It does :) That's the same fix here: #425
https://github.com/nerdvegas/rez/pull/425
I'm fine with either pull.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/pull/448#issuecomment-323469131, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABjqSqMSRMjKxbLB-P59vFZvagq6fIl9ks5sZgfAgaJpZM4OpI5P
.


Fake PR to file an issue wrt MetaImage format

(Issues seem to be disabled)
This PR is just to file an issue with regards to the MetaImage format. The documentation seems somewhat sparing (see my comments here). One thing I most want to know is whether the ObjectType field is guaranteed to come first: if so, then I can use it for magic bytes in Julia's general "figure out what type of file this is" library.
First person to answer this, please close.

I just found https://github.com/Kitware/MetaIO/issues/. Sincere apologies for the noise.


Autocomplete input value doesn't load updated props in TextField of dropdown

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
I have Autocomplete as a reusable component that appears to have an issue with updating incoming placeholder values.
I have two Autocomplete dropdowns placed in the header of my and the functionality works fine selecting different values, but once I change the one of the left, which makes a new API call and feeds new data into the right-side dropdown, the current selected value is held and new placeholder props are not updating in the TextField.
Expected behavior 🤔
I have two Autocomplete dropdowns placed in the header of my and the functionality should be, once the value is selected in the dropdown on the left changes, the left dropdown selected value is updated with a re-set value.
Steps to reproduce 🕹
No response
Context 🔦
In the browser console it mentions "You can use the isOptionEqualToValue prop to customize the equality test. "
But so far I haven't found a way to get isOptionEqualToValue to successfully work. Any suggestions would be a huge help.
Thanks M
Your environment 🌎
import React from 'react';
import { Autocomplete, TextField } from '@mui/material';
import PropTypes from 'prop-types';
const Dropdown = (
{
label,
options,
onChange,
id,
width,
placeholder,
}
) => {
const Text = (params) => {
return (
<TextField
{...params}
label={label}
placeholder={placeholder}
InputLabelProps={{ // without this the placeholder, current selected props won't show
shrink: true
}}
/>
)
}
return (
<Autocomplete
disableClearable
options={options}
getOptionLabel={option => option.name}
// Note, in version 5.x.x of MUI, getOptionSelected has been renamed to isOptionEqualToValue
// isOptionEqualToValue={(option, value) => option.id === value.id}
onChange={onChange}
size="small"
id={id}
sx={{ width: width, padding: '15px' }}
renderInput={params => (
<Text
{...params}
/>
)}
/>
);
};
Dropdown.propTypes = {
label: PropTypes.string,
options: PropTypes.any,
onChange: PropTypes.func,
id: PropTypes.string,
width: PropTypes.number,
placeholder: PropTypes.any,
disableClearable: PropTypes.any,
};
export default Dropdown;

Hi.
In this codesandbox, I duplicated your code and refactored to mimic your situation. Can you go to the link and finish it so that it reproduces the error you are having?

@hbjORbj thanks for setting up a sandbox. Without actually calling new APIs each time we select something, I've put in mock data and you can see after you select from both dropdowns, then change the selected item in the first one a yellow error to MUI options missing the id of the second selector
Sandbox Demo Here

Hi.
Here is a working solution: https://codesandbox.io/s/lucid-heisenberg-pyhx25?file=/src/Demo.tsx
What you were looking for is value prop. Also, please note that the initial value passed to value prop shouldn't be undefined in order for you to use the component in controlled state.


Enable/Disable grid in real time

How can you enable and disable the grid in real time with angular. Perhaps a boolean that toggles whether dragging and resizing is enabled?

@codingfriend1 you have resolve? I need this option too

I didn't.

did someone know how?

+1
I need that feature

I found a solution
function edit() {
    vm.state = !vm.state;

    angular.forEach($scope.gridstacker.grid.nodes,
        function(s) {

                $scope.gridstacker.resizable(s.el, !vm.state);
                $scope.gridstacker.movable(s.el, !vm.state);

        });

}

@ancabi Where did you add this code?

@dharmic sorry for taking a long time to answer, that function is called when I click in a button


Custom categories not displaying correctly

We've managed to deploy the custom Learning site beautifully using the PnP Provisioning service.
We're now trying to set up custom categories and playlists but this isn't working for us as we'd expect. We can create the custom playlist and this works fine within a Microsoft category. However, when we create a custom category, it the category doesn't appear in the main list and the playlist doesn't consistently appear when we use the Web part to filter to the new category - I have to  keep changing the category name and re-saving playlists to get them to appear.
Specific scenario details

Custom playlist created in existing Microsoft category (successful)
Custom sub-category created (successful)
Custom playlist created in custom sub-category (successful)
Custom sub-category displayed in un-filtered Web Part (failed - sub-category not listed)
Custom sub-category displayed when Web Part filtered to custom category (intermittent - filter applied but playlist doesn't always appear on first save attempt. This is sometimes resolved by re-applying the list to the custom category in at admin section)

Current work around for getting custom playlists to show

Rename the sub-category
Edit each playlist to apply new sub-category name
Refresh web page with filtered web part
Custom playlists appear

Screenshots

Correct me if I'm wrong but do you have two windows open and are changing admin and then switching to a different tab or browser window to update the web part on the page?
The web part does a lot of caching to try and deal with the fact that there would be a lot of data having to be correlated on each load. If you make change in the Admin and then don't refresh your page where your custom learning web part is it's holding the state of the configuration in memory things may not show up as you expect until the page is refreshed so it can pick up the changes that the admin web part made to the underlying list object. If that's not the case, we'll look into it more deeply.

Hi Julie. Thanks for the comment. I did have multiple tabs open - mainly to capture the admin and the viewer page in the same screenshot. The pages were both refreshed a few times with no difference. There is of course allways the chance of human error but I've had multiple issues with the custom lists from the beginning - although it's sometimes hard to fully replicate them.
Thanks for looking into this. There's a chance a few of us may be having similar issues - here's a link to a thread in the Microsoft Tech community - https://techcommunity.microsoft.com/t5/Driving-Adoption/Using-the-Custom-Learning-Site/m-p/393105#M758
If there's anything I can do to help get to the bottom of this, please let me know.

Ok, thanks for the update.  I'm struggling to reproduce the problem but I'll work on it some more and see if I can figure out exactly what the problem is.

@phil-maynard I've figured out how to reproduce the issue and will fix it.
The issue is with creating a new custom sub-category and then adding a playlist to it.  That code has a bug about determining the number of playlists that exist under the sub-category. It believes, incorrectly that there are none and therefore won't show the new subcategory because it has no playlists.  An interim fix is that after you add at least 1 playlist to a new custom sub-category, refresh the admin page.  Doing so rebuilds the cache and corrects the count issue.

Temporary work around.  It appears that you can work around this bug by doing 2 things:

Select a Technology for your custom playlist, even though it doesn't necessarily have one.
After adding the playlist to the custom sub category, refresh the administration page which will reset the cache.
Your sub category and playlist will now show up.
These bugs will be corrected in a future release.

@juliemturner thanks. Those steps work perfectly! :-)

I'm not sure if this is related, but from the initial description it seems like it would be. My customer loves the idea of technical training being provided from Microsoft for all things Microsoft, but they're wanting to extend the site to all things training, e.g. new employee on-boarding, annual refresher training, etc. In order to do so we thought we'd want to add new categories for content not related to O365. Is that even possible? Thanks! Love the offering!


Tour Pitch and Yaw

Sorry if this is a double Issue...
If I create a tour and switch the Scene with '"type": "scene",' the Pitch and Yaw will always reset to the original Values.
I write some JS to get the Pitch,Yaw and Hfov of the old scene to the new to keep the Orientation.
var tmpYaw = 0;
var tmpPitch = 0;
var tmpHfov = 110;
$(document).on("click", ".pnlm-hotspot-base", function() {
	tmpYaw = viewer.getYaw();
	tmpPitch = viewer.getPitch();
	tmpHfov = viewer.getHfov();
});
$(document).on("touchstart", ".pnlm-hotspot-base", function() {
	tmpYaw = viewer.getYaw();
	tmpPitch = viewer.getPitch();
	tmpHfov = viewer.getHfov();
});
function sceneChangeListener() {
	viewer.setYaw(tmpYaw,0);
	viewer.setPitch(tmpPitch,0);
	viewer.setHfov(tmpHfov,0);
	viewer.setHfov(110);
};
viewer.on('scenechange', sceneChangeListener);

But is there a better way to solve this problem?

Hot spots have optional targetPitch, targetYaw, targetHfov parameters. If these are set to same, the current values are used for the new scene, which seems to be what you're trying to accomplish.


Point time stamp of New College dataset

Hi authors, I wish to know how to produce time stamp of each point in raw scan.
As far as I know, there is no timestamp for each point in the New College dataset.
I'm really sorry if I'm wrong about that.
Thank you!

By reading past issues more closely, I understand that you created relative time stamps based on azimuth. So I close this issue.


<IP_ADDRESS>:8000 doesn't work in web browsers without being more explicit

Change Type
[ ] Addition
[X] Correction
[ ] Deprecation
[ ] Cleanup (formatting, typos, etc.)

Proposed Changes
In python3 manage.py runserver <IP_ADDRESS>:8000 --insecure wouldn't it be easier if we specified port 80?  I realize this means you need to be running as root, but most of the install process requires root anyway.  When I initially read the docs I thought this was going to <IP_ADDRESS>:0000 (all zeros) and I didn't notice while cut and pasting it.  So when I got connection refused I thought I had done something wrong.
Alternatively the docs could specify that you need to go to IP:8000 in the browser instead of

if we navigate to the name or IP of the server (as defined in ALLOWED_HOSTS) we should be greeted with the NetBox home page

which doesn't imply needing to go to any specific port.

Don't run runserver as root. From the Django docs:

DO NOT USE THIS SERVER IN A PRODUCTION SETTING. It has not gone through security audits or performance tests.

Port 8000 is the default for the service. We're specifying <IP_ADDRESS>:8000 here simply to make it accessible via any IP (not just the loopback) since it's likely not being installed on the local machine.
I'll add a note to the docs to make it more obvious that the service is running on port 8000.

Your docs made it perfectly clear that it wasn't ready for production at this stage in the process.  I just discovered this while trying to test it.


Turn on automatic bank transfer contributions for NZ+Aus (and other countries?)

User story
Recently we released a feature automating bank transfer contributions for EU/US. What would be required to turn this on for NZ/Aus so more Hosts could use it? What about other countries?
Best solution for this problem
The same functionality we have for ACH/SEPA for other countries
Metrics
Save admin time processing bank transfers, Collectives get monty faster, more accurate accounting, more contributions in more countries.

The "and other countries" part of the issue make it too wide. Let's be specific and constrained about what we want to support.
For NZ and AUS specifically, we checked and there is unfortunately nothing clear for bank transfers in those countries supported by Stripe. https://stripe.com/docs/payments/payment-methods/overview.

Are there any services in Aus/NZ that do support bank transfers that we could look into using? Does it have to be Stripe?

If Stripe, it's now easy for us to implement. If it's another provider (which one?) it's suddenly more complicated.
Editing the issue title to be about NZ and AUS specifically.


Implement Pipeds stat cleaner

What this PR does / why we need it:
Ensure remove staled Pipeds' stat using cleaner.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

Nice one
/approve

/approve


Data scientist/Analyst: Model the green, yellow, red alert thresholds

I just completed a model with simulated data

Received the documentation, will post and close.


Test if BTC node inavailablity breaks AE wallet use

https://aeternity-blockchain.atlassian.net/browse/SW-1177
Description

temporarily change BTC endpoint to a broken one
check how that affects the wallet use of aeternity accounts

Odo's comment:
After broken the BTC endpoint address, then i tested AE functionality. App works correctly for AE accounts. I can sent tokens, claim a name, fetch transaction list, create multisig account and create proposal transaction. LGTM
But when we want send BTC, then we get error about "Failed to fetch".  I think we should disable the BTC send button when Network is broken.

LGTM, I have created a separate issue to disable send buttons for each network
https://github.com/superhero-com/superhero-wallet/issues/2528


Installation problem @Ubuntu 14.04.1 LTS

Installation command: pip install python ends with:
"/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1"
Please add zlib1g-dev package as a dependency.

Hey, sorry - just came across this somehow. Have you figured the issue out ? Otherwise I'll check this.