Push rejected: Syntax error: newline unexpected

I am getting the following error when pushing to Heroku. Looks like it's a problem installing meteor?
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching set buildpack https://github.com/AdmitHub/meteor-buildpack-horse.git... done
remote: -----> Node.js app detected
remote: -----> Installing node
remote: -----> Installing meteor
remote: /bin/sh: 2: Syntax error: newline unexpected
remote:
remote:  !     Push rejected, failed to compile Node.js app
remote:
remote: Verifying deploy...
remote:
remote: !	Push rejected to grocery-beta.

+1 Getting the same error

https://install.meteor.com is down.  #cloudfail

Looks like install.meteor.com is serving raw HTML as the app appears to be crashed,
Discussion at:
https://forums.meteor.com/t/https-install-meteor-com-is-down/16358

Thanks for the update. Ran into the same error myself.

It's back up now.


Repo publisher failure

[CHAO: dummy error1, CHAO: dummy error2]
cc @caesarxuchao @sttts @deads2k @lavalamp
[09 Feb 17 13:57 UTC]: CHAO: infof loop=0
[09 Feb 17 13:57 UTC]: CHAO: errorf loop=0

Saw the title and was scared.  I guess that counts as success. :)

Yeah, it's a test. I'll remove the cc. Sorry.

does this mean we're close?

Yeah, I still need to verify it can update issue.


[FR]: Remove debug logs from CI workflow

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the problem
The current state of AndroidCIWithGmd workflow generates a ton of logs because of this configuration:
https://github.com/android/nowinandroid/blob/803e64be53da2d17906a6d71d83f8c35dd580573/.github/workflows/AndroidCIWithGmd.yaml#L30
Is this still needed for debugging a specific issue or can we turn this off?
Describe the solution
Remove the following parameters to restore default logging behavior.
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true --info
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This option unnecessarily floods the GitHub Actions log


Error when Log In

Hello,
I don't know if I'm doing something wrong ( probably )
If you can help me thanks a lot !

Hi,
The steps to properly pass the current Cloudflare restrictions can seems weird.
The steps are:

open your favorite web browser normally, go to https://www.cardmarket.com/en
Wait until you pass the Cloudflare protection and landed on the website
Now you can, from your terminal, start cw-wizard with:
python3 cw-wizard-gui.py
The interface will ask for the name of your web browser, the one you used to open the Cardmarket website url in the previous step (should be chrome If you used Google Chrome, firefox if you used Mozilla Firefox,…)

If you still got the same 403 message, retry the described steps but first ensure all Cardmarket tabs are closed from your web browser (really important).
Normally in 1/2 try this will work.
When it’s working you can use cw-wizard-gui.py for 30mins/1hour without redoing the steps of opening the Cardmarket website on your web browser.
Let me know if after testing these steps you are still blocked, by the way which web browser are you using? (I only tested with Chrome and Firefox but this should work with all browsers)

Hello ! Thanks for the answer !
i've try on Opera first and Chrome in second but still don't work for me

I'm waiting for the cloudflare finish...etc but still have the 403 error
I've desactivate 2FA..etc

@yhngr I can reproduce the issue, currently investigating 🕵

Thanks a lot !  You are amazing ! Hope you will find something
it's too boring to have to go through the site's wizard system directly, or manually select the best vendor..etc x)

I just published a new version fixing the issue.
It's now require to pass the User-Agent in addition to the browser name (this is due to the increased protection set by Cloudflare).
I updated the README page, but in summary you need to open another tab in your browser and search for "my user agent", copy and pasting the value when requested by cw-wizard-gui.py.
User-Agent is a long string starting like: Mozilla/5.0 ...
After checking keep me informed if this is working on your side.
PS: I think is no more require to be logged-off before executing the script.

yeah work with chromee but not with Opera apparently !

doesn't respond but I guess it's normal ! take a few minutes probably !
Thanks a lot !

just got this error

the result

Don't understand if he finish or not to find the best
result on CM :

yeah work with chromee but not with Opera apparently !

doesn't respond but I guess it's normal ! take a few minutes probably !
Thanks a lot !

Thanks for the responses, for this screen it's seems like a code issue, will investigate to fix that tomorrow (I think the code try to load more offers but there is no more offers to load for this card).

just got this error
the result
Don't understand if he finish or not to find the best
result on CM :

If you got this message this means that the script made more than 10000 requests, I imagine you have huge wantlist(s) of set high max price for the cards in your wantlist(s).
You will need to wait for 12h/24h to be able to reuse Cardmarket because you reach the maximum number of requests allowed per day.
No big deal but be aware that this is something that can happen and try to either start the script with less wantlists or with more restricted max Price for the card you are interested in.

And last for the diff in the result, this is related to the limit of request that has been reached. The script don't crash but stop looking for cards so this is why you only have a partial result with the best candidate having only 9 cards you looking for.

Okay I see thanks !
now i set a maximum price..etc
And got that
Apparently an language for the cards error

And the script "crash" doesn't respond

@yhngr Thanks, I just released a new version that should fix the issues you mentioned.

And just want to thank you 😊 for the time you spend to check and report the issues so I can improve the script.

Thanks to you for ur work ! It's a pleasure aha ! If I can get better prices for the cards with your script, i'm not gonna say no ! And the better it work the better price I will get ! :') !

Not responding and this attributeError don't really know ?
This is the want list with price..etc

Will look into that, thanks for sharing the screen of the wantlist so I will be able to properly check the exact wantlist you have the issue with :)

@yhngr Just published a new version.
I'm please to tell you that there is indeed better result with CW-Wizard than just using the Cardmarket one.

Result of the best deals for minimum shipping of Cardmarket:

Result of CW-Wizard:

I haven't checked in full details the difference, I let you tell me after testing it.

Perfect I'm gonna test this ! thanks for your time !

Btw can you show me a screen of the wishlist u made ? to see the price you put..etc ? I'm reaching limit at the end of the search
Thanks in advance

Okay why not aha ! Thanks perfect !

Last info, currently the quantity value specified in wantlists isn't used by the script, dealing with that is a little bit tricky, I will maybe add the support for that in the future.


Add the possiblity to set action container html tag through settings

I'm using the table lay-out and there is no easy way to add the buttons to a  without creating that template part manually. So i added the possiblity to change the tag through the settings with a default value 'div'.
Would it be possible to merge this request, or if you need me to change something about it just let me know.
Robbert

Cool feature indeed! Thanks 👍

Nice, then i can switch back to your repo in my dependencies 👍


[BD-46] feat: notification prop for Tab

Add notification prop to the Tab component

override Tabs so that conditionally add Bubble to child props  if notification is passed
add styles
add tests
add example

JIRA: PAR-776

Thanks for the pull request, @monteri! I've created BLENDED-1193 to keep track of it in Jira.   More details are on the BD-46 project page.
When this pull request is ready, tag your edX technical lead.

Thanks for the pull request, @monteri! I've created BLENDED-1194 to keep track of it in Jira.   More details are on the BD-46 project page.
When this pull request is ready, tag your edX technical lead.

@monteri When you get a chance, do you mind rebasing with master? The recently merged PR to add Bubble component now conflicts with this PR, but it's otherwise all set to merge!

@adamstankiewicz Of course, rebase completed

@monteri 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.

:tada: This PR is included in version 19.17.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error when using 16 bit precision

Hi, thank you for the great integration of Lightning & Ray!
I found that using 16 bit precision returns the following error: pytorch_lightning.utilities.exceptions.MisconfigurationException: You have asked for native AMP on CPU, but AMP is only available on GPU
Using the same script, with 32 bit works fine.
I believe this is due to the fact that the number of GPU's is only set in the Ray Plugin and not in the Lightning Trainer, and this check happens prior to the Ray plugin being utilized. More generally it may be a bit dangerous to not set the Trainer number of gpus when actually intending to use GPU's as there may be other internal checks that Lightning does which could lead to unexpected behavior such as this one.
Would appreciate any tips on getting this integration to work with half precision training, thank you!

@amogkam it appears that the fix you proposed breaks tune usage, i get errors of the type: you requested gpus [0] but you machine has []. Removing the gpu argument to the Trainer results in tune working as expected

I am encountering this issue too.
I am following the recommendation for leaving the head node configured with resources: {"CPU": 0}  to avoid scheduling additional tasks on it. ( https://docs.ray.io/en/master/cluster/guide.html#deployment-guide )
The pattern of CPU head and GPU worker nodes seems very reasonable (at least for large clusters)
Also If one has a mix of workers with acceleator_type:T4 and others with accelerator_type:V100 Currently there is no way one can specify WHERE to schedule these actors.


[AIRFLOW-XXX] Fix spark submit hook KeyError #4578

Make sure you have checked all steps below.
Jira

[ ] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.
All the public functions and the classes in the PR contain docstrings that explain what it does

Code Quality

[ ] Passes flake8

Softagram Impact Report for pull/1 (head commit: 4bbc2c505d26)
:warning: Copy paste found
:information_source: spark_submit_hook.py: Copy paste fragment on line 117 shared with ../../operators/spark_submit_operator.py:
        self._py_files = py_files
        self._driver_classpath = driver_classpath
        self._jars = jars
        self._java_class = java_class
        self._packages =...(truncated 580 chars)

Now that you are on the file, it would be easier to pay back some tech. debt.

:star: Change Overview

(Open in Softagram Desktop for full details)

:page_facing_up: Full report

Permalink: Full report for pull/1

Impact Report explained. Give feedback on this report to<EMAIL_ADDRESS>


RP2350 RISC-V compilation fails due to invalid inline asm machine constraint - platform.h

When trying to compile a program using LLVM (clang) for the RISC-V mode of RP2350, an error is thrown at /src/rp2350/pico_platform/include/pico/platform.h:249:31:
error: invalid output constraint '+l' in asm
247 | __force_inline static int32_t __mul_instruction(int32_t a, int32_t b) {
248 | #ifdef __riscv
249 |     __asm ("mul %0, %0, %1" : "+l" (a) : "l" (b) : );
    |                               `- error: invalid output constraint '+l' in asm
250 | #else
251 |     pico_default_asm ("muls %0, %1"     : "+l" (a) : "l" (b) : "cc");

Looking at GCC's machine constraints for RISC-V, there isn't any l constraint specific to RISC-V, and there's no general l constraint. This also goes for LLVM.
This leads me to believe this was a mistake, since l is valid on ARM and was previously used for the ARM compilation mode. I'm not sure why / how this compilation succeeds on GCC, even though l is an invalid constraint for RISC-V.
One option is to replace the l constraint for RISC-V with r like this:
247 | __force_inline static int32_t __mul_instruction(int32_t a, int32_t b) {
248 | #ifdef __riscv
249 |     __asm ("mul %0, %0, %1" : "+r" (a) : "r" (b) : );
250 | #else
251 |     pico_default_asm ("muls %0, %1"     : "+l" (a) : "l" (b) : "cc");

Makes sense, I might not have used it in my testing. Thanks for merging!

Yeah; i mean i think it is the same on Clang - we do check Clang compilation; i imagine it may be related to swift bridge headers - in any case the fix is in


occlusions added

Dear Arneli,
thanks for taking time to improve on your pull request. Now it is much better visible what you changed and we can start to dicsuss on that.
There are still some things to improve before we can merge those new nice features.
I think it is not necessary to rename README.md to TODO.txt in folder bip
My main concern is that bfm and face12 are now always rendered together. This is specific to your usecase and might be unecessary for most other usecases. Please exclude all changes that always render both models. This makes it not possible to use other models anymore.
Please apply only the necessary changes to example config files. Changes in Landmarks and Models, number of ids, rendersettinges path of bip, yaw-distribution etc. are not necessary.
Please add a config file to generate a set of occlusion faces e.g. with the name "full_dataset_controlled".
Please remove the file "Release Notes" and add it in form of comments to the occlusion example config file - see other config files for comparison.
What is the source and license of the occlusion sample files?
There is a typo occolusion at various points.
Best
Bernhard

I just realized that this PR is removing the controlled setting by commenting it out.
I'm fine if the occlusions are only supported in conjunction with the random setting (like for expressions), but we need to keep the controlled setting as is.

Hello Bernhard,
The code is now so that he uses only one model in the controlled setting and does not render an occlusion (according to your last post). In the config files, fewer landmarks must be used because the 'face12' does not recognize a few (eg right.ear.lobule.attachement). I have all the pictures of google. Unfortunately, I have not noted their source.
Best
Arneli

Hello Bernhard
I talked to Adam and I completely rewrote the software because I misunderstood the requirements. Is this what you imagined? If so, I will improve the software a little bit and start a new PR.
PS: I work with Windows and git automatically renames .md files to .txt files. (LF will be replaced by CRLF in git) that is the warning by git:
warning: LF will be replaced by CRLF in data/bip/README.txt. The file will have its original line endings in your working directory.

Hi Arneli,
thanks for investing time to do that. It is however hard for me to tell from the other repository if that is what I thought of...
On the first gist it looks like some of my comments where not incorporated (like not changing config files and adding a new config file). I also don't get imidiatly where the occlusion now comes in.
Just update that PR or make a new one - then it is much easier for us to judge on it and put comments...
Best
Bernhard


Tickets/sitcom 948

Pull Request to include the latest changes in technote SITCOMTN-088
Changes:

Upgrade to new technote format. Old format is deprecated https://documenteer.lsst.io/technotes/migrate.html
Remove sections "SITCOM-797: M1M3 - Slewing analysis" "Positioning SITCOM-798: M1M3 - Settling time after a slew" and put the corresponding technote links in section "M1M3 Performance Analysis Tech Notes"
Add new technote https://sitcomtn-107.lsst.io/ to the listing

Introduction is still pending.

Thanks @dsanmartim  and @b1quint. Acoording to your suggestions, changed the technote's title to "M1M3 Tests" and removed the detailed description of the requirements, but keeping the reference to the LTS-088 document. Is that ok?


Add AWS Analytics Reference Architecture CDK Constructs for EMR on EKS

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?
CDK Constructs for easy deployment of EMR on EKS and EMR Studio with EMR on EKS  already exists in the AWS Analytics Reference Architecture. The CDK Constructs include automation on EKS to implement best practices related to workload isolation, autoscaling, spot, local shuffle performance optimization...
We should reference this content to help customers using CDK to bootstrap EMR on EKS.

Describe the solution you would like

Add a readme in the analytics folder of this repository to reference the CDK Constructs. Or add a page in the website to reference the CDK Constructs.
Describe alternatives you have considered

Additional context

@vgkowski  Thanks for providing the details of EMR on EKS Reference Architecture with CDK.
Happy for you to raise a PR with Doc referring to this architecture. Let me know if you need any feedback.
Here is the location for the doc. You can use one of the existing .md file to create a new one. You can test the doc site locally by running the following commands
# Intall nodejs
cd website
npm install
npm run start

You should see the docs under  http://localhost:3000/. Once you are happy with the format then you can raise a PR.

This PR close this https://github.com/awslabs/data-on-eks/pull/75


FAB Gravity not changing in RelativeLayout

Hi, i'd like to use your awesome library to integrate a FAB in my app and I don't really need to attach it somewhere right now. I added the repo to my project, and added it to my layout with:
android:layout_gravity="bottom|end"

But the FAB always appears TOP-LEFT, I tried to attach it to a listview, but nothing happened.
Here is my layout:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:fab="http://schemas.android.com/apk/res-auto"
    android:fillViewport="true"
    android:layout_height="match_parent"
    android:layout_width="match_parent">

    <RelativeLayout [...] >

            <com.melnykov.fab.FloatingActionButton
            android:id="@+id/fab123"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|end"
            android:layout_margin="16dp"
            android:src="@drawable/ic_add_white_24dp"
             />

    </RelativeLayout>
</ScrollView>

Putting the FAB inside the ScrollView (Removing the RelativeLayout) solves the problem. I'd like to know if I can move it bottom right in a RelativeLayout. Thanks

I forgot the  FrameLayout!! I put the FAB in the FrameLayout having width&height = match_parent and everything worked fine. :)


ignore generated files?

Do you think it should ignore the generated files like src/index.ngsummary.json and src/seed.component.ngfactory.ts for example?
Maybe add some more rules to the .gitignore ?

Nice suggestion. Thanks!
Actually, I don't like to see them in my local src folder either. It would be better to copy the whole source to a .temp folder and compiling from there, and then ditching it.
I'll try to find some time to tackle that later today.

I have something like:
"outDir": "./aot/build"

and
"angularCompilerOptions": {
    "genDir": "aot"
    ....
}

then remove the aot directory at rebuild + exclude from git.
Therefore I don't see the generated files inside my source.
Something to try and experiment with?

Thanks for the suggestion, @philjones88. Moved generation to a .tmp folder. Much cleaner now.


[Task]: Why Predicted Heat maps trained using efficient_ad models look strange.

What is the motivation for this task?

This is the result picture I got when I trained the efficient_ad model using the default data set format, why the predicted heat map here is strange, all green.

Why is the anomaly_maps data always the same value 0.4975?

But on the same data set, using other models such as fastflow, this is what the predicted heat map looks like.
Describe the solution you'd like
Why is that？
Additional context
No response

This issue was discussed here: https://github.com/openvinotoolkit/anomalib/discussions/1647

Closing as it is a duplicate of #1647. Let's continue the discussion there..


[Helix] Move helix arm run to ci

This should make helix passing on arm queues required for PR checks

Wish me luck, I told people to contact me directly if things blow up


can not open  in VS 2017

hello,
there   always    exits a  error that
“"E:\Anik\Work  Files\XMLeditor\srcc\PublishDrop.cmd" "E:\Anik\Work  Files\XMLeditor\srcc\Application\bin\Debug" > "E:\Anik\Work  Files\XMLeditor\srcc\Publish.log"
”已退出，代码为 4。	Application			生成

Hmmm, can you attach the Publish.log file that is created? All the script is trying to do is copy files to the ~\Application\bin\Debug folder, the binaries and help files.  It might fail if some of those files are locked?

I fixed this bug.  I was due to the "spaces" in your file path there.


Remote database

How to use with a remote database?

The image does not limit the use to local servers. Be aware that you have to properly configure the server to allow connections via TCP to the user(s) you are configuring (pg_hba.conf) and also that PostgreSQL by default only listens to local interfaces and you may have to adjust the corresponding setting (listen_addresses in postgresql.conf).
This link contains a small tutorial on that matter.

@rsilva4 thanks.
It would be great to add some info about it to docs.


Header Fixes

The navbar is way too high, you can correct that with the margin & padding property of CSS.

I am working on it.

I am working on it , Ill create a pr within a few hours

Great !! Assigned @copyNinja1219

Hey Sandhya, I ha

The navbar is way too high, you can correct that with the margin & padding property of CSS.

Hey! , I have fixed the header issue. Could you please check it?

pr no - #22

I can make the full responsive header could you please assign this task to me.


Coverage remained the same at 72.763% when pulling 08e5ad98a66aeb43ce9ac45e573067cf74313623 on purificant:master into a71fe82596e2f36f7424e2f8376c5d91a8288c51 on Miserlou:master.


Check discovery not showing resources

Fixed the discovery page not showing search resources issue. The issue is caused by the result table id conflicts. my-resource.html page's result table has the same id as the result table in search.html. The js for my-resource table conflicts results table in discovery search.html

Can one of the admins verify this patch?

+1


DRY up Establishments UseCases

Remove the Get Establishment by URN UseCase
We have recently added a Get Establishments By URNs UseCase. We can call this
when we want to retrieve a single Establishment in order to DRY up our
UseCases.
We have seen some performance improvements on the new UseCase, so this will
bring those to the single resource endpoints, as well as making the code more
maintainable.
This includes some additional changes:

The get Establishments by URNs endpoint and get Trusts by UKPRNs endpoint
will now return Census data.
The Census Gateway is updated, so that we do not need to read the CSV for each
URN when we need census data.
Removes the separate GetEstablishment tests for each piece of related data and
squashes them into one, as they aren't providing any value by being separate.

Remove GetEstablishmentByUkprn UseCase
We have recently added a Get Establishments By UKPRNs UseCase. We can call this
when we want to retrieve a single Establishment in order to DRY up our
UseCases.
We have seen some performance improvements on the new UseCase, so this will
bring those to the single resource endpoints, as well as making the code more
maintainable.
The Establishment Gateway is updated, so that we do not need to perform a query
for each separate UKPRN.

Closing this. As I worked through the Establishments UseCases and the Trusts UseCases, I noticed some slight variances which would add complexity to a single DRY UseCase.
This, coupled with the fact that I don't have full control over all of the places that the endpoints are called in case I break anything, means that I'm not confident merging.


BindException Can't contact LDAP server

Laravel Version: 5.5
Adldap2-Laravel Version: latest
PHP Version: 7.0

Description
I can go by command line and do a search for a user, I can then import that user... (php artisan adldap:import some.dude). That works perfect. However, on the front I always get a "(1/1) BindException Can't contact LDAP server" when trying to log in.
When I do a:
$user = \Adldap\Laravel\Facades\Adldap::search()->users()->findBy('samaccountname', 'some.dude');

dd($user);

In the routes/web.php I get the same error with the "Can't contact LDAP server.".
Even stranger is I'm using LDAP Browser with the same settings and can hit the server and view all people in on the AD.
I am using use_ssl = true along with the addition of
'custom_options' => [
    // See: http://php.net/ldap_set_option
    LDAP_OPT_X_TLS_REQUIRE_CERT => LDAP_OPT_X_TLS_NEVER
],

The addition of the custom_options was the key to making the command line search and import to work. But on the front, doing a log in there is no love.
I have successfully configured this for other servers using no ssl connection.
I have seen a few others that have had the same problem but there has been no "fix" for this that I can find.  I also might add that I have no problem connecting with LDAP Browser (4.5) and Microsoft's ldap admin tool over ssh.
Any help would be greatly appreciated.

I'm having the same issue and not finding much help so far. I developed my site on my laptop using port 389 and everything worked great. Now that I need to put it in production, I changed to port 636 and set the same options as the OP. Just like @JustJeremy , I'm seeing the "Can't contact LDAP server" error but I can successfully view 122 users when I run the "php artisan adldap:import" command. What could cause this?
@ZebraTurkeyFish were you able to solve this?
Thanks in advance!


replaced npm and added dev profiles

Nice work!
I'm not a designer, but seeing your themes made me want to learn more about sass. I found the npm requirement a bit annoying though, so I wrote a tiny maven plugin (sass-cli-maven-plugin) that downloads an appropriate dart-sass binary and executes it with user provided args. IMO this results in a much cleaner integration.
I used your project for testing the plugin on Windows / Linux / macOS, and as far as I can tell the behavior is still correct.
I also added maven profiles for enabling hot reload without requiring extra scripts, so dev mode can be enabled directly from maven:
# run sampler app in dev mode
mvn javafx:run -pl sampler -Pdev

# run hot reload sass
mvn compile -pl styles -Pdev

I hope this helps

Thanks! That's a really great job, and it's exactly what I searched for when I started the project. There is, however, one unresolved issue. I want to allow users to build custom themes based on AtlantaFX SASS. To achieve this, one should either download and copy styles/ from project repository, which isn't very convenient, or use package manager. I can't publish SASS on Maven Central because Dart Sass can't import from JAR anyway, so I had plans to publish styles module to the NPM repo just for that purpose. Though it won't happen in the near future. But I agree that your plugin makes the build much cleaner and easier to support, and I can still use global NPM for publishing. Sorry, I can't merge this PR immediately because I need some time to check and adapt the new build process. I will return to it as soon as I finish with showcase branch. Thanks again for your work.

Fwiw, I think it would be easier to use the unpack goal of the maven-dependency-plugin to unpack the scss files from the jar, e.g., something like
<!-- Unpack styles jar -->
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <version>3.3.0</version>
    <executions>
        <execution>
            <id>unpack</id>
            <phase>prepare-package</phase>
            <goals>
                <goal>unpack</goal>
            </goals>
            <configuration>
                <artifactItems>
                    <artifactItem>
                        <groupId>${source.groupId}</groupId>
                        <artifactId>${source.artifactId}</artifactId>
                        <version>${source.version}</version>
                        <type>jar</type>
                        <overWrite>true</overWrite>
                        <outputDirectory>${project.build.outputDirectory}/styles</outputDirectory>
                    </artifactItem>
                </artifactItems>
            </configuration>
        </execution>
    </executions>
</plugin>

and then add the output as an additional load path for sass, e.g., --load-path=${project.build.outputDirectory}/styles/<path-in-jar>

Works like a charm, thanks! It's even faster than Grunt-based workflow.

I saw that you added the scss files to the styles jar, and I tried using it as a dependency for an old demo app (see here). The whole sass generation works, but actually developing a theme is difficult due to cssfx not reloading useragent stylesheets. I tried developing a theme using the sampler app, but it looks like the dev mode is currently broken due to directory issues (theme-test is missing/not being generated).
The code needed for extracting the sass files and using it as a library is
<properties>
    <atlantafx.version>1.0.0</atlantafx.version>
    <atlantafx.scssDir>${project.build.directory}/atlantafx/styles/</atlantafx.scssDir>
    <scss.inputDir>${project.basedir}/src/main/resources/styles/</scss.inputDir>
    <css.outputDir>${scss.inputDir}</css.outputDir>
</properties>

<plugin> <!-- unpack sass files for theme dev -->
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <version>3.3.0</version>
    <executions>
        <execution>
            <id>unpack</id>
            <phase>generate-resources</phase>
            <goals>
                <goal>unpack</goal>
            </goals>
            <configuration>
                <artifactItems>
                    <artifactItem>
                        <groupId>io.github.mkpaz</groupId>
                        <artifactId>atlantafx-styles</artifactId>
                        <version>${atlantafx.version}</version>
                        <includes>atlantafx/styles/**</includes>
                        <outputDirectory>${project.build.directory}</outputDirectory>
                    </artifactItem>
                </artifactItems>
            </configuration>
        </execution>
    </executions>
</plugin>

<plugin> <!-- Sass w/ atlantafx lib -->
    <groupId>us.hebi.sass</groupId>
    <artifactId>sass-cli-maven-plugin</artifactId>
    <executions>
        <execution>
            <id>run-sass</id>
            <phase>generate-resources</phase>
            <goals>
                <goal>run</goal>
            </goals>
            <configuration>
                <args>
                    <arg>${scss.inputDir}:${css.outputDir}</arg>
                    <arg>-I${atlantafx.scssDir}</arg>
                    <arg>--no-source-map</arg>
                </args>
            </configuration>
        </execution>
    </executions>
</plugin>

Yes, there's no good support for creating custom theme from the SASS sources yet. I've just finished the docs and created a sample theme repository that uses the code snippet you shared earlier. (thanks for the great idea!) I do have plans to implement external theme support in Sampler, but a bit later.


Similar project

Hi, just bought your book about this project, looks cool!
Here is another port of RVSoC that I did last year:
https://gitlab.com/r1809/rvsoc
I've gone in a slightly different direction, porting to the ULX3S board from the University of Zagreb and using the open source Yosys tool chain.
Some of our ideas are the same: I'm also looking into doing a two-core version.
Other ideas include:

adding a frame buffer
adding a USB port (https://gitlab.com/pnru/usb_host)

Have you seen this video on YouTube?
https://youtu.be/Kt_iXVAjXcQ
I think it is from the original authors and shows RVSoC with a frame buffer and X.

hello,
valuable info, thank you
i want to port rlsoc to tangnano 20k; simulation is done
i will share the code if i will have success
On 7/30/23, pnrhub @.***> wrote:

Hi, just bought your book about this project, looks cool!
Here is another port of RVSoC that I did last year:
https://gitlab.com/r1809/rvsoc
I've gone in a slightly different direction, porting to the ULX3S board from
the University of Zagreb and using the open source Yosys tool chain.
Some of our ideas are the same: I'm also looking into doing a two-core
version.
Other ideas include:

adding a frame buffer
adding a USB port (https://gitlab.com/pnru/usb_host)

Have you seen this video on YouTube?
https://youtu.be/Kt_iXVAjXcQ
I think it is from the original authors and shows RVSoC with a frame buffer
and X.
--
Reply to this email directly or view it on GitHub:
https://github.com/laurentiuduca/road-to-linux/issues/1
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

hi, rlsoc is working now on tang nano 20k.
if you want to, give me your contact address to send you the docs

Sure, how do I send that to you without it appearing on the Github thread?
Paul

On 4 Nov 2023, at 13:15, Laurentiu-Cristian Duca @.***> wrote:
hi, rlsoc is working now on tang nano 20k.
if you want to, give me your contact address to send you the docs
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

just send me an email at laurentiu dot duca at gmail dot com
On Sun, Nov 5, 2023 at 2:05 PM pnrhub @.***> wrote:

Sure, how do I send that to you without it appearing on the Github thread?
Paul

On 4 Nov 2023, at 13:15, Laurentiu-Cristian Duca @.***> wrote:
hi, rlsoc is working now on tang nano 20k.
if you want to, give me your contact address to send you the docs
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

—
Reply to this email directly, view it on GitHub
https://github.com/laurentiuduca/road-to-linux/issues/1#issuecomment-1793717727,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKBRLN747VUSMCGALI2T2CTYC56G3AVCNFSM6AAAAAA246EDJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTG4YTONZSG4
.
You are receiving this because you commented.Message ID:
@.***>


[NTR] 0001 INTELLECTUAL DEVELOPMENTAL DISORDER, AUTOSOMAL DOMINANT 65 (OMIM)

Preferred term label:
0001 INTELLECTUAL DEVELOPMENTAL DISORDER, AUTOSOMAL DOMINANT 65
Definition (free text, please give PubMed ID, if applicable, in format PMID:#######)
OMIM, MIssing
https://www.omim.org/entry/609765#molecularGenetics

https://www.omim.org/entry/610740#molecularGenetics
.0001 GLOBAL DEVELOPMENTAL DELAY WITH SPEECH AND BEHAVIORAL ABNORMALITIES
also seems to be missing?

@ValWood we have MONDO_0030995 'global developmental delay with speech and behavioral abnormalities' (equiv to OMIM:619243)

thanks!


[Feature] Disco should be able to autowire bean instances

As discussed with @Ocramius today it would make sense for Disco to be able to support autowiring for bean instances to reduce the amount of configuration code needed and to be able to get rid of traits for structuring the configuration code.
The following configuration:
/** @Bean */
protected function database() : Database
{
    return new Database('mysql://user:secret@localhost/mydb');
}

/** @Bean */
public function productService() : ProductService
{
    return new ProductService($this->database());
}

could then be simplified like this:
/** @Bean */
protected function database() : Database
{
    return new Database('mysql://user:secret@localhost/mydb');
}

/** @Bean */
abstract public function productService() : ProductService;

At a later stage we could move the methods into separate interfaces - to be able to get rid of the abstract keyword and ultimately get rid of the trait approach.
A few problems need to be solved:

[ ] When using interfaces as configuration source, how to cope with method naming clashes?
[ ] When there are multiple database instances available how would Disco decide which one to use? We would need a way to pass the method name or alias name to the bean configuration of the ProductService.
[ ] For Constructor Injection things are simple, but to be able to decide which methods needs to be called for Setter Injection we might need annotations on the setter methods of the class. So far the goal of Disco was to keep annotations just in the configuration class. Maybe we can solve this differently?
[ ] How to cope with primitive values that should be injected? Maybe we could rely on the same naming scheme - e.g. when the parameter of the bean definition method is called $dsn we check if the class has a parameter with that name as constructor argument, same for the setter methods.
[ ] For primitives we obviously need to skip the whole injection logic.
[ ] When adding this feature it might make sense to enable the production autoloader of Proxy Manager by default as the constant parsing could slow things down quite a bit.

Just a quick thought: As for primitive value injection we could potentially do some name matching with the parameters injected to the bean configuration method.

Didn't have much time to work on this, but I'm currently working on Roave/DependencyResolver (currently private).
The idea is to have following:

analyze existing code
build complete dependency graph (find constructors, setters, etc)
run "compiler passes" on the dependency graph (allows replacing dependencies, providing dependencies for when none could be resolved, etc)
select dependencies (we don't need everything)
run further compiler passes to define which ones are consumer-exposed dependencies, and which ones are just private dependencies (services to never be exposed by the container directly)
generate factory code (container-specific, in this case - this is not part of Roave/DependencyResolver)

What you'd do is probably expose a CLI script to generate factory snippets to be copied in the container. What you will get from Roave/DependencyResolver is a framework-agnostic dependency graph that you can traverse and modify.

Instead of sprinkling annotations in the whole cod base to configure setter injection, named injection etc. we could simply add those annotations to the bean configuration method.


FLA-1100 - Add Key Cloak to AI Reviewer API.

Description
This PR includes the following proposed change(s):

FLA-1100
Secured endpoints located in DocumentsApiDelegateImpl, DocumentConfigurationsApiDelegateImpl and RestrictedDocumentApiDelegateImpl with the exception of documentEvent and documentWebhookEvent as instructed.
Added KeycloakSecurityConfig
Removed CorsConfg
Added Unit test for KeycloakSecurityConfig
Updated Postman collection and environment setttings
Updated docker compose to include key cloak

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.

ran unit tests
tested all postman collection calls successfully

Does the change impact or break the Docker build?

[x] Yes
[ ] No

If Yes: Has Docker been updated accordingly?

[x] Yes
[ ] No

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes

Awesome work Brian, and team!


Got no video when remaking calls

Everything is almost the same as what is in the NativeDemo, the only difference is that when I  make a video call, I present the video call VC and dismiss it when the video call is done.
The problem only happens after I successfully made a call. If I make another call, the call will go through and the audio is fine, but the videos do not show up(both self and remote) with an error message:** (:533): CRITICAL **: _owr_window_registry_register_renderer: assertion '!data->renderer' failed.
Should I do some additional work to avoid this error?

@songzhe1988 Hello,
Did you find a solution for your problem?
I am facing the same issue, and cannot solve it. Can you help please?


⚠ BCR Bot has degraded performance

In 9a84a3b, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1174 ms

Resolved: BCR Bot performance has improved in 5c79be6.


Show Bible Ref navigation in app bar according to if book is opened - and which book is current active

The Bible Ref navigation in the app bar does not make sense to be visible, until there is a book opened.
Once there is a book opened, then this navigation needs to be showing the position in the current active window
Note:
There is a need to keep a reference to which book is the current active window (probably in the AppContext) and change the Bible Ref navigation in the app bar accordingly

@abelpz can you please review this issue

Currently, In develop, there is no navigation bar in the blue header when the user logs in and then when a book is added, Navigation bar shows that book.

Looks good in v1.0.0 build 0168902 QA.


#27 added tests for group_messages

Thank you very much, merged in https://github.com/lock8/journald-2-cloudwatch/commit/ee6ca9e1f58091af089e25a99a0a4e18b91ce532 finally and tagged as 0.2.1.


Price for interaction ao

:tada: This PR is included in version 1.2.0-alpha.9 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ci: pin pnpm v6

pnpm v7 was released but has some breaking changes

Example from
https://github.com/prisma/prisma/runs/6255506802?check_suite_focus=true#step:6:12
  pnpx -y -p @prisma/ensure-npm-release enr update -p @prisma/engines -u 3.14.0-9.4d7582140aed26be568717a4142f28e8d4a147ab
...

 ERROR   ERROR  Unknown option: 'y'


Use CSS hack to fix IE8 .caret regression

Fixes #16172. Confirmed via Sauce Labs manual testing in IE8.
Refs #15697.
Demo: http://jsfiddle.net/nLr8o82w/1/show/
CC: @mdo for review

Does this happen on our tooltips and popovers, too?

@mdo No, because #15697 only touched .caret and tooltip arrows already use solid not dashed (ditto for popovers).


[BUG]Test images not displaying in CheXNet Workflow Example notebook

Describe the bug
The CheXNet Workflow Example notebook (CheXNet Workflow Example.ipynb), no longer displays the example images, found in the first section.  There doesn't appear to be any visible error messages in the notebook.  They also appear to be missing from https://github.com/edhenry/chexnet/blob/master/CheXNet Workflow Example.ipynb.
To Reproduce
Steps to reproduce the behavior:

Execute sudo ansible-playbook -i hosts build_site.yml
Point browser to http://<IP_ADDRESS>:8888/tree
Open jupyter_env/CheXNet Workflow Example.ipynb
See error

Expected behavior
Example images should be visible.
Screenshots
If applicable, add screenshots to help explain your problem.

'NoneType' object is not iterable
Getting this error when open and send the image to Kafka but the prediction was not showing anymore.
What can be the reason for it.
Please help @kholohan @edhenry


chore: upgrade go to 1.23.2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
812

Relevant Lines:
812

💛  - Coveralls


[MatCheckbox] value should of type any instead of string

Bug, feature request, or proposal:
Proposal
What is the expected behavior?
value attribute in matCheckbox component should be declared accepting any type.
What is the current behavior?
value attribute in matCheckbox component is declared accepting only string type.
What is the use-case or motivation for changing an existing behavior?
basic angular checkbox accept any type as value.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

Closing as this is working as intended.  The value is a string because this is the type that is used in the underlying HTML checkbox.

@josephperrott @RelikDream
I think this should be reopened because there is a clear inconsistency.
The MatRadioButton accepts as value any, while MatCheckbox accepts only string.


Fsharp single thread

Faster tagMap
stackalloc acc data
Use Stopwatch for timing

Looks like you accepted the other PR. This is what I would do for single-threaded

Yea, I just copied the folder and rename it. Thanks

Looking forward to the updated results!


Support newlines in info message format

Expected behaviour:
Setting "gitblame.infoMessageFormat": "${commit.hash}\n${commit.summary}"
should display the hash and summary on separate lines. This should also work for \r\n.
Actual behaviour:
The \n is swallowed up. Hash and summary appear on the same line.

Hey Matthew. Thank you for the issue!
Sadly this is not possible with the vscode API.

Hey Matthew. Thank you for the issue!
Sadly this is not possible with the vscode API.


L1HandlerTransaction::create_for_testing should not be part of any non test binary

This is a test-only function. It should be behind a #[cfg(test] flag. Or if you want to have it available for other crates while testing, you may want to create a testing feature. But regular lib users, building regular production code, should not be exposed to this method.

A lot of other types have a similar method, but are implemented under crates/blockifier/src/test_utils/struct_impls.rs which is behind this flag #[cfg(any(feature = "testing", test))]. That's indeed the correct way to do it


winget list shows uninstalled applications

Brief description of your issue

The list command of the winget tool displays a list of the applications currently installed on your computer. The list command will show apps that were installed through the Windows Package Manager as well as apps that were installed by other means.

Based on https://learn.microsoft.com/en-us/windows/package-manager/winget/list , winget list should not list any application that is not installed.
The issue seems to be due to contents of C:\ProgramData\Microsoft\Windows\AppRepository\.
Steps to reproduce

Not exactly sure why winget thinks WinMerge is installed.

Expected behavior
Uninstalled app should not be listed by winget list based on C:\ProgramData\Microsoft\Windows\AppRepository\.
Actual behavior
winget list lists any application that is not installed:
PS C:\Users\Anutrix> winget list Winmerge
Name     Id                                           Version
-------------------------------------------------------------
WinMerge MSIX\WinMerge_<IP_ADDRESS>_neutral__83g614hpn1ttr <IP_ADDRESS>

PS C:\Users\Anutrix> winget list Notepad++
Name                   Id                                                  Version Available Source
---------------------------------------------------------------------------------------------------
Notepad++ (64-bit x64) Notepad++.Notepad++                                 8.7     8.7.1     winget
Notepad++              MSIX\NotepadPlusPlus_<IP_ADDRESS>_neutral__7njy0v32s6xk6 <IP_ADDRESS>

I don't have any <IP_ADDRESS> version of Notepad++ either.
Environment
Windows Package Manager v1.9.25180
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.2161
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25180.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

@Anutrix - Can you share the list of installed apps from Apps & Features ?

@Anutrix - Can you share the list of installed apps from Apps & Features ?

Case 1: WinMerge is not installed at all.

Case 2: Notepad++ is installed once but shows twice and with unknown version.

Just had this happen with OneDrive using winget ls, after I had manually removed OneDrive from my computer. Neither:
$env:OneDriveCommercial
$env:OneDriveConsumer
would return any value, nor did I see OneDrive in the "Add or Remove Programs" window.
Proceeded with winget uninstall OneDrive, which was successful.

All of those are shell extensions.
WinMerge, Notepad++, WinRAR, and other apps use shell extensions to add its own context menus into File Explorer.
These used to be displayed in Settings > Apps > Installed apps; but was later removed in newer releases of Windows 11.
Your issue with WinMerge seems to be a problem with the uninstaller not uninstalling the shell extension before WinMerge is fully uninstalled.
WinMerge:
        <desktop4:Extension Category="windows.fileExplorerContextMenus">
          <desktop4:FileExplorerContextMenus>
            <desktop5:ItemType Type="Directory">
              <desktop5:Verb Id="WinMergeDir" Clsid="90340779-F37E-468E-9728-A2593498ED32" />
            </desktop5:ItemType>
            <desktop5:ItemType Type="Directory\Background">
              <desktop5:Verb Id="WinMergeDir" Clsid="90340779-F37E-468E-9728-A2593498ED32" />
            </desktop5:ItemType>
            <desktop5:ItemType Type="*">
              <desktop5:Verb Id="WinMerge" Clsid="90340779-F37E-468E-9728-A2593498ED32" />
            </desktop5:ItemType>
          </desktop4:FileExplorerContextMenus>
        </desktop4:Extension>

Notepad++:
        <desktop4:Extension Category="windows.fileExplorerContextMenus">
          <desktop4:FileExplorerContextMenus>
            <desktop5:ItemType Type="*">
              <desktop5:Verb Id="EditWithNotepadPlusPlus" Clsid="E6950302-61F0-4FEB-97DB-855E30D4A991" />
            </desktop5:ItemType>
          </desktop4:FileExplorerContextMenus>
        </desktop4:Extension>


NativeLib repository not found!

Hi! thanks you in advance for your contribution with this plugin.
I follow all the steps but i reach always the same error.
First I download NativeLib from 'AssetLib' and after that i check the DrMoriarty plugin at Project -> Config --> Plugins.
Using Godot 3.5 Stable + Python 3.12 (tried other versions too).
But I obtain this error:

modules/gdscript/gdscript_functions.cpp:775 - NativeLib repository not found! Search at C:\Users\jonca
/.nativelib/meta

modules/gdscript/gdscript_functions.cpp:775 - Try to update repository info (button "REPO")

Hi! I have exactly the same problem(

Bro, I found a temporary solution!
Install as normal go to your addons folder > NativeLib > MainUI.gd and find the load_storage function and replace the path with a direct path to your meta folder as I have done in the image below. Not perfect but should get it running for now

Great! thanks a lot @GudsSonn!
In my case was:

Careful with de slash orientation!


Lesson 3.3 - 3.4 Hack Submissions

Only submit the link to your blog post here.

Liav Bar Review Ticket

Steven Zhu's review ticket

Taiyo Iwazaki's Unit 3 Section 3-4 Review Ticket

Table 8 Review Ticket (Alexa, Ava, Lydia, Sri)

Jake Warren's Review Ticket

Finn Carpenters Ticket

Shruthi's Review Ticket

Steven Zhu's review ticket

@SAnd353 incomplete hacks

Table 0 Review Ticket

Nathaniel Capule's Review Ticket

Link to the Issue that has my notes and Hacks

Noor Bijapur's issue link

Lydia Cho's Hacks
(also submitted with group's)

Kaiden Do's Hacks

Luna Iwazaki Review Ticket
Unit 3.3-3.4 HACKS

https://github.com/paravsalaniwal/firstrepo/issues/14#issue-1472362240

Parav's Review Ticket

Alex's Kumar hacks

David's Review Ticket

Amay's Hacks
Notes

Safin's Review Ticket

Jeongwoo's Review Ticket

Only submit the link to your blog post here.
🎉 = 1 😄= .9 👍 = .8

yasha's review ticket
I linked the image to my quiz score on the actual review ticket.

kush's review ticket

Aaron's review ticket

https://nikhilc3.github.io/Blog1/2022/11/30/Hacks.html#Crossword-Puzzle

Quinn's


Source version for custom package

Hi,
I'm developing a Firefox add-on which uses a customized highlight.pack.js(generated here) as its syntax highlighter. But due to Mozilla's policy, I need to provide source code for any obfuscated code included in my add-on or submissions will be denied. So is there any chance to adding a "Download source" button for custom packages?

As far as I know you don't need to provide the source code if you use a common library. It may be enough to provide a link to this GitHub repository.
I had no problems getting my add-on reviewed without providing the source code for any minified library I used (angular.js, highlight.js, ...).

@frigus02 My last submission to Firefox was rejected so I made a request here. Maybe because I used a customized pack.

@Justineo Right, maybe the customized pack was the reason. So, as long as the website does not support getting a source version, you might want to get a customized pack using the build script. It supports uncompressed builds already:
http://highlightjs.readthedocs.org/en/latest/building-testing.html#building

OK, thanks! I'll try this.

@Justineo is suggested solution works for you?

I built a customized pack without compression using the building script and submmited a new version but the addon is still waiting for review. I think this should work.

Let us know if it will not be accepted and feel free to reopen this issue.


Create codeql-analysis.yml

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Looks like a bot. Closing and blocking.


Clarification Request ebMS core element name updates

We have been working with the ebMS core code for awhile, but have refrained from upgrading because of the element name updates. For example, an element like "InsertCPA" has been renamed to "insertCPA"
This is, in our case, introducing breaking changes for any user that tries to send a request for "InsertCPA" since it doesn't comply with a schema anymore.
What is the best way forward for upgrading, but retaining backwards compatibility? Our 600+ suppliers that make use of the Digikoppeling connections we have take a long time to upgrade, so this is a change that has a lot of impact.

Sorry for that. Did not realize that it would have such an impact, but I wanted to do that for years already. The good news is that the interface is stable now.
You could write a transformer that can transform request messages from version 2.17 to 2.18 and vice versa for the response messages (you could use XSLT for that). Then you could upgrade and expose 2 endpoints: 1 with the new 2.18 interface and 1 with the 2.17 interface that transforms the messages. You could also expose 1 endpoint and use a content based router to route to either one.
Another option (depending on your configuration) would to run 2.17 and 2.18 in parallel, because they run on the same database model. But this holds only for version 2.18, because 2.19 (that will be released soon and runs on java 11) will have database changes.

Or we could try to make the 2.17 interface available again in version 2.19 next to the 2.18 interface, if this is really necessary. We would rather not take this route, because it takes extra time and code, and we are busy to cleanup the code.

If the database model between 2.17 and 2.19 is different it would indeed mean a lot of overhead if solved in a code-wise manner. I'll have to discuss internally what way forward we can follow (probably the transformation route), but also double check how other ART's in the organisation use ebMS / Digikoppeling.
I'll keep you posted.

Btw, I did not see it well, but there are some database changes in version 2.18 as well (a few tables where renamed), so you cannot migrate through 2.18 with the same database.

Thanks for that heads-up. We're exploring the original idea of two end-points where one is pretty much the 'front' for the other (i.e. the XSLT or something compatible that you mentioned). Let's see of such a façade can be made part of this code base as an open source contribution (I have to deal with red-tape though)

I want to take a look this week if I can integrate the 2.17 interface into the application. Could you let me know which interfaces you expose to you suppliers? I mean the CPA, UrlMapping, CertificateMapping and/or the EbMSMessage interfaces.


Automatically select the closest server

How can I automatically specify the closest server? Without any parameters, its choosing random servers.

There is often no single closest server.  I have 5 that are equidistant.  As such, the way this application works is to select the 5 closest servers, and then perform a latency test against each one to find the closest server with the lowest latency, and then that server is used for testing.
There is no automatic way to select the closest server.  You would need to use --list and pick a server manually.


Correct typo their > there

Fixing a typo

@CharlesZ54 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Update package.json

Correct module path

Hey @plesiecki,
Thanks for sending this pull request. Can you provide more information about why this is needed?

Sure, I bundle using Rollup, looks like rollup reads module field from package.json and I got Unresolved dependencies error because src/ is "npmignored".

@zenorocha should this PR be merged?

Thanks @plesiecki!

I don't understand this PR. dist/clipboard.js is not an ESM module, why is it listed in the module field?


Unhandled Exception - Umbraco 7.11 and Chauffeur 1.2.0

I have installed the package as per description in the documentation. When I run it though using Chauffeur.Runner.exe command I get:
Unhandled Exception: System.ArgumentNullException: String reference not set to an instance of a String. Parameter name: s    at System.Text.Encoding.GetBytes(String s) ...
error. I'm using Umbraco 7.11 and latest version of Chauffeur which is currently 1.2.0. Has anyone else experienced similar issue?
A side question. Would Chauffeur allow me to install Umbraco package from a .zip file using command prompt?

Hi, thanks for getting back to me. I have followed the  getting started instructions from this page:
https://aaronpowell.github.io/Chauffeur/getting-started.html
I've installed both packages, deleted bin and obj folders, built the solution and run the Chauffeur.Runner.exe from within bin folder using powershell. I got the exception described above and the Chauffeur application shell didn't open.

Hi @aaronpowell , would you have any suggestions with how to approach this issue and what could possibly be a reason for it? I have installed Chauffeur in a test application with a fresh instance of Umbraco and I haven't seen this error there.

I started looking last night but my kids were not settling so I didn't get far.
Can you try the 1.1.1 release to see if it's a 1.2 problem, or an Umbraco 7.11 problem?

Just had a look at your stack trace, are you using the alternative XML cache for Azure AppServices (https://our.umbraco.com/documentation/getting-started/setup/server-setup/azure-web-apps#umbraco-xml-cache-file-and-other-temp-files)?

@mderriey I think this is the same as the error you showed me yesterday.

I'm not using XML cache for Azure AppServices (as per description from the link). Shold I add <add key="umbracoContentXMLStorage" value="EnvironmentTemp" /> to my web.config?
with regards to the versioning, my test application has the same versions for .NET, Umbraco and Chauffeur and everything seems to work fine.

Adding <add key="umbracoLocalTempStorage" value="EnvironmentTemp" /> is known to cause a stack trace like you're experiencing above.
Are you able to share your web.config (obviously without sensitive info)?

@bartek4c Ace - it's a problem that @mderriey brought to my attention yesterday. I wasn't aware of the change that had been made in Umbraco around handling temp locations within Azure App Services.
The current workaround is that you remove that setting before running Chauffeur and then re-apply it when deploying into Azure.
I'm looking at a proper fix at the moment and I'll post an update when I get to it. Hopefully the workaround isn't too much of a pain for you as an interim fix 🙂.
The problem boils down to the fact that I don't actually start the HttpRuntime when running Chauffeur, I just bootstrap what Umbraco requires (and I didn't realise that any part of Umbraco core still depended on the HttpRuntime).

Thanks again for all of your help and explanation. Will be looking forward for the fix!

I think I've fixed it. I've created a PR + a pre-release NuGet package with the fix: https://www.nuget.org/packages/Chauffeur/1.3.0-local-temp-168 (and https://www.nuget.org/packages/Chauffeur.Runner/1.3.0-local-temp-168)
Give that a try and let me know how it goes (I still have to fix the tests 😝).

Will have a go at it this evening. Thanks got keeping me up to date

Hi there 👋
Thanks for putting a prerelease together so quick 👍
I tried running Chauffeur 1.3.0-pre-value--171 locally with the umbracoLocalTempStorage application setting set to EnvironmentTemp.
Unfortunately it didn't work, I got the exact same stack trace as the one reported a few comments earlier.
Let me know if I can provide any more information ✌

Was it when you ran locally or on Azure that you saw the error this time?

 The change actually resides in that, not the Chauffeur package.

Was it when you ran locally or on Azure that you saw the error this time?

Locally.

 The change actually resides in that, not the Chauffeur package

I didn't; let me try that.

Installing Chauffeur.Runner version 1.3.0-pre-value--171 fixed the issue for me 👌
One small thing that I believe is not Chauffeur-related is that the update of System.ValueTuple introduced a new binding redirect to <IP_ADDRESS> without removing the existing one to <IP_ADDRESS>, which caused issues; removing the old one was simple and obvious enough 😇
Thanks again 💪

Death to binding redirects!
I did bump the version of System.ValueTuple that Chauffeur depends on, it should've been a cascading update though. Not sure if I can easily introduce a binding redirect update through ☹.

I'd say this is most probably a NuGet bug/quirk and not something Chauffeur should try to address.

Hi @aaronpowell, the bug fix seems to work as expected. Haven't got any issues with running Chauffeur.
Regarding ExternalPackages plugin, can I point it to a specific location, from where I could upload a custom package in a zip format?

Awesome, glad to see the fix working for everyone 😁.
For the external package plugin, it just uses the umbraco package feed and thus the umbraco package format. Basically it handles the download and unpacking of the zip, then uses the Chauffeur package deliverable to install everything 😜


Re-using RuleBook instance

Hi Clayton, I have a question. Is it possible to re-use a RuleBook instance? So, is it possible to call run method in a cycle for example ? Thanks.

Yes, you should be able to re-use a RuleBook by repeatedly calling run in the same thread.
Currently, RuleBook will chain the facts supplied to each rule on the run method.

Ok, probably I'm using it in a wrong way but I try to explain as better as I know.
The problem I meet is this: I have a collection of rules that will evaluate a list of input objects, so my RuleBook represent a list of rules I want to "test" on all those objects that, according to tests, will be clustered setting a PeopleCluster enum value through the Consumer implementation.
If I instantiate it once, I have "repeated objects" in output not corresponding to their input objects.
If I instantiate it in the loop I have the correct behavior or better the behavior I expect.
And this is the example...
I have a testCases method which returns a list of NameValueReferableMap where MyBean is a simple bean with properties the rules will test through their predicates:
List<NameValueReferableMap<MyBean>> factsList = testCases();
All those beans are loaded from database and populated.
Then, I create my rules book EvaluationRuleBook which is an extension of CoRRuleBook, which contains a set of rules in defineRules method:
@Override
public void defineRules() {

	addRule(RuleBuilder.create().withFactType(MyBean.class).withResultType(MyResult.class)
				.when(ageLessThan(18)).then(unevaluated()).stop().build());
	addRule(RuleBuilder.create().withFactType(MyBean.class).withResultType(MyResult.class)
				.when(peopleFromUS()).then(evaluatedWith(true, true, PeopleCluster.F_1))
				.build());
         // and so on
}

Then I'm going to test this implementation:
RuleBook<MyResult> evaluationRuleBook = RuleBookBuilder.create(EvaluationRuleBook.class)
					.withResultType(MyResult.class)
					.withDefaultResult(new MyResult(null, false, false, null))
					.build();

factsList.forEach(x -> {
		evaluationRuleBook.run(x);
		evaluationRuleBook.getResult().ifPresent(result -> {
		MyResult ref = result.getValue().getRef();
		System.out.println(String.format("Item: %s, PeopleCluster: %s", ref.toString(), ref.getCluster().name()));
});

The unexpected is that in my loop I have the same number of input objects but "repeated": It seems return value is stored and for some reason not overwritten.
I expect that for every single object I "run" I have a return result referred to its input value.
On the contrary, if I instantiate the evaluationRuleBook inside the loop so that a new instance is built and used for each element of the factsList I have the expected results.
Is it my fault? Am I using it in a wrong way? Is the code sufficient to understand my problem?
Thanks in advance,
Alessandro.

I repeated tests and understood that when rules predicates are not met, it returns the last not-null Result stored.
I expected a default Result like:

new MyResult(null, false, false, null)

as declared:
RuleBook<MyResult> evaluationRuleBook = RuleBookBuilder.create(EvaluationRuleBook.class)
					.withResultType(MyResult.class)
					.withDefaultResult(new MyResult(null, false, false, null))
					.build();

Ok, I understood and now I need your help to understand if my concept of "default result" is the same of yours.
Method setDefaultResult is called inside withDefaultResult, so it's called once when we build the RuleBook and it stores the "default" return value in the same property used for the real return value.
When some rule is met and we have a real result, that default result is overwritten by the real return value and so we don't have a default result anymore.
What I needed was to store a default return value for the whole RealBook life-cycle and I thought that withDefaultResult method, called on the RealBook level, could be used for this purpose.
So the final question is... is the default result valid until we have a not-null result to return? or simply is it a bug?
Thanks in advance,
Alessandro.

You are correct that withDefaultResult sets the initial result for the RuleBook by calling setDefaultResult. Within RuleBook, the Result object contains a reference to an object of the result type you specified. The withDefaultResult method initializes the Result object and allows that object to be chained across rules within a RuleBook. It is in effect an entity for that RuleBook (think DDD).
So, a default Result is never actually overwritten. However, the value of the Result object can be changed.
If you want to get the reference to the current result value, then modifying your example, you could do something like this.
public class EvaluationRuleBook extends CoRRuleBook<MyResult> {
    @Override
    public void defineRules() {
        addRule(RuleBuilder.create().withFactType(MyBean.class).withResultType(MyResult.class)
                .when(facts -> facts.getOne().getAge() <18) //assuming only one fact is used
                .then(f -> {})
                .stop()
                .build());
        addRule(RuleBuilder.create().withFactType(MyBean.class).withResultType(MyResult.class)
                .when(facts -> facts.getOne().isFromUSA()) //still assuming only one fact is used
                .then((facts, result) -> result.getValue().getPeopleInUSA().add(facts.getOne()))
                .build());
    }
}

public class MyBean {
    public MyBean(String name, int age, boolean american) {
        this.name = name;
        this.age = age;
        this.american = american;
    }

    private String name;
    private int age;
    private boolean american;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isFromUSA() {
        return american;
    }

    public void setFromUSA(boolean fromUSA) {
        american = fromUSA;
    }

    @Override
    public String toString() {
        return "MyBean{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", american=" + american +
                '}';
    }
}

Then you could run it using something like the following.
    public static void main(String args[]) {
        RuleBook<MyResult> evaluationRuleBook = RuleBookBuilder.create(EvaluationRuleBook.class)
                .withResultType(MyResult.class)
                .withDefaultResult(new MyResult())
                .build();

        MyBean[] beans = new MyBean[] {
                new MyBean("Herbert", 25, true),
                new MyBean("Edgar", 53, false),
                new MyBean("Joe", 17, true),
                new MyBean("Buck", 20, true)};

        for (MyBean bean : beans) {
            NameValueReferableMap<MyBean> facts = new FactMap<>();
            facts.setValue(bean.getName(), bean);

            evaluationRuleBook.run(facts);
        }

        evaluationRuleBook.getResult().ifPresent(result ->
            result.getValue().getPeopleInUSA().forEach(System.out::println));
    }

Using the above example, the MyBean instances for Herbert and Buck are in the rulebook's result upon completion of the loop and as a consequence they are printed to the console.
Personally, however, I would probably set different facts and run through the set of rules all at once instead of repeatedly calling your RuleBook subclass. Of course, I may have misinterpreted your exact application. :-)
Did that help to clarify?


Modifying the message in a stage will result in panic

Hello and thank you for your contribution to the community !
I have probably misunderstood how it is supposed to work - modifying the message will immediately result in panic.
What am I doing wrong ?
Here is my modification of the sample code:
package main

import (
	"fmt"
	"time"

	"github.com/usedatabrew/tango"
)

func main() {
	instance := tango.NewTango()

	stages := []tango.Stage{
		{
			Channel: make(chan interface{}),
			Function: func(msg interface{}) (interface{}, error) {
				return fmt.Sprintf("%v stage 1", msg), nil
			},
		},
		{
			Channel: make(chan interface{}),
			Function: func(msg interface{}) (interface{}, error) {
				if msg.(int)%5 == 0 {
					time.Sleep(time.Millisecond * 10)
				}
				return fmt.Sprintf("%v stage 2", msg), nil
			},
		},
		{
			Channel: make(chan interface{}),
			Function: func(msg interface{}) (interface{}, error) {
				return fmt.Sprintf("%v stage 3", msg), nil
			},
		},
	}

	instance.SetStages(stages)

	instance.OnProcessed(func(i interface{}, err error) {
		if err != nil {
			_ = fmt.Errorf("messages happened in the last stage %v", err)
		}
		fmt.Println("Message processed", i)
	})

	producerChannel := make(chan interface{})

	go func() {
		for i := 0; i <= 10000000; i++ {
			producerChannel <- fmt.Sprintf("item %v", i)
			time.Sleep(time.Millisecond * 200)
		}
	}()

	// Tango will consume messages from the producer channel and
	// pass them through the stages.
	instance.SetProducerChannel(producerChannel)

	if err := instance.Start(); err != nil {
		panic(err)
	}
}

Running this code will panic:
$ go run main.go
panic: interface conversion: interface {} is string, not int

goroutine 35 [running]:
main.main.func2({0x4ffce0?, 0xc000194010?})
        /home/user/go/src/testTango/main.go:23 +0xcd
github.com/usedatabrew/tango.(*Tango).Start.func1(0x1)
        /home/user/go/pkg/mod/cache/github.com/usedatabrew/tango@v0.0.5/tango.go:86 +0x171
created by github.com/usedatabrew/tango.(*Tango).Start in goroutine 1
        /home/user/go/pkg/mod/cache/github.com/usedatabrew/tango@v0.0.5/tango.go:75 +0x125
exit status 2

Thanks for your enlightening !

Hey @SoftExpert
Thanks for your question.
From what I see here you are pushing a string to the first stage
producerChannel <- fmt.Sprintf("item %v", i)
But stage number 2 treats your message as int
Therefore you receive panic.
if msg.(int)%5 == 0 {
    time.Sleep(time.Millisecond * 10)
}
return fmt.Sprintf("%v stage 2", msg), nil

@SoftExpert
I believe that the processing could be parallelized but, I'll have to think about the way to synchronize the messages since I want to keep the ordering of the messages.
This is something that I'm thinking about, but right now can't say for sure when or how it's going to be implemented.
But this is definitely one of the things to consider in case we have slow stages

@SoftExpert Regarding starting multiple Tangos using the dispatcher feels great but, only as an external package that orchestrates the tango queues.
Therefore you will be able to create multiple queues that will be executed in parallel.  But it will not help if you have to keep message ordering.


Interactive window fails to connect to jupyter server when running through AML Tutorial setup.... (jupyter server is likely crashing)

Run the first several steps documented here:
https://docs.microsoft.com/en-us/azure/machine-learning/service/quickstart-create-workspace-with-python
(Here they are for reference)
conda create -n myenv -y Python=3.6
conda activate myenv
pip install --upgrade azureml-sdk[notebooks]
conda install nb_conda
conda install -y cython matplotlib pandas
pip install --upgrade azureml-sdk[automl]
Open VSCode and try to start the interactive window. It will fail with a connection refused error. This is likely due to the jupyter server having crashed.
The problem seems to relate to our jupyter initialization finding C:\Users\user\Anaconda\envs\myenv\etc\jupyter\jupyter_notebook_config.json. This file is created when
conda install nb_conda
is run.

This works fine for me. What's your version of jupyter? Or can you give me a repro box?
Here's what I get:
Jupyter Server URI: http://localhost:8888/?token=35e50bff0aab55cf6f6b3854316efe99c812415ff4ce5bd6
Python Version:
3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
C:\Users\rchiodo\AppData\Local\Continuum\anaconda3\envs\econnrefused\python.exe
Jupyter Notebook Version: (5, 7, 4, '')


nonreactive examples for hooks were not compilable as written

My code was out of date, so I missed https://github.com/DioxusLabs/dioxus/commit/b6d3da2b31c336fdf38845a790969edda9f8e0e7 -- but I still caught one more, and added an example. Also tweaked the comments.

Notably: for the example, I did not call &*res.read_unchecked() as the docs suggest on https://dioxuslabs.com/learn/0.5/reference/use_resource -- instead choosing to simply do res(), which definitely works. If the longer syntax is preferred / recommended, I would like to update my example to keep best practices in all places, but I'd also like to hear why, thanks.


Add Select bank widget to app

Added the Select Bank Widget to the demo to better reflect the preferred implementation of Trustly UI
Added a screenshot of the app to the Readme

👍


Switch to PSR-4

https://getcomposer.org/doc/04-schema.md#psr-4

In what state is this? I think I can finish it, if needed.

@TomasVotruba It needs merge conflicts resolved and tests passing.

Don't even believe this is needed. PSR-0 is working fine. Closing.

@RobLoach It is not needed, but convenient as PSR-0 is deprecated since 2014-10.


the bundle for npm run dev is too big

I run the  npm run dev as the SetUp said,no other package,but the bundle of the result is so big that even reach by 4MB, anything wrong?

This is expected for dev builds, they contain sourcemaps and devtools you don't have in production. The dev build is also not ran through uglify. If you want to see the production bundle run npm run build npm run start


updating the config service policy

Email from AWS "As part of our continued effort to provide AWS customers with fine grained and secure permissions management solutions, AWS Config has published a new managed policy called AWS_ConfigRole that is scheduled to replace and subsequently deprecate AWSConfigRole on December 1, 2020. This new policy removes the "S3:GetObject" permission as AWS Config does not need permissions to read S3 objects.
The AWSConfigRole managed policy will continue working for all currently attached users, groups, and roles. However, effective December 1, 2020, AWSConfigRole managed policy cannot be attached to any new users, groups, or roles. No action is needed if your account does not utilize the AWSConfigRole managed policy."
Also see Issue here: https://github.com/trussworks/terraform-aws-config/issues/85

Will maybe also backport to tf12.


Inheritance Issue

HTML
<template name="parent">

    {{> child }}
</template>

<template name="child">
    child template

</template>

JS
Template.parent.viewmodel({
    name: 'xxx'
})

OUTPUT
xxx child template
Only the span in the parent template shows up correctly. If I am right, the child template should inherit the name property so the expected output should be
xxx child template xxx
or am I wrong ?

Meteor <IP_ADDRESS>
manuel:viewmodel 4.1.4

It's working as designed. For child to "inherit" name you need to pass it
to it in the context.
On May 12, 2016 7:26 PM, "LoTi"<EMAIL_ADDRESS>wrote:

HTML

JS
Template.parent.viewmodel({
name: 'xxx'
})
OUTPUT
xxx child template
Only the span in the parent template shows up correctly. If I am right,
the child template should inherit the name property so the expected output
should be
xxx child template xxx
or am I wrong ?

Meteor <IP_ADDRESS>
manuel:viewmodel 4.1.4

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ManuelDeLeon/viewmodel/issues/253

Like {{> child name=name }}

If this is by design then it is at odds with how blaze's datacontext inheritance works, isn't it?
I agree, explicit is better than implicit. But there seems to be some inconsistency of how this is treated.
<template name="people">
  {{#each people}}
    {{> person }}
  {{/each}}
</template>

<template name="person">

    <button {{b "click: parent.remove(_id)"}}>Remove</button>

</template>

Template.people.viewmodel({
  remove: function(_id) {
    var indexToRemove = _.findIndex(this.people(), function(person) {
      return person._id === _id;
    });
    this.people().splice(indexToRemove, 1);
  },
  people: [
    { _id: 1, name: "Alan"},
    { _id: 2, name: "Brito"}
  ]
});

This is the inheritance example from the documentation. In this example person template automatically inherits the part of viewmodel it is in without explicitly passing.

In this case the person view model "inherits" all properties from its context. The context is the object being iterated upon (e.g. { _id: 1, name: "Alan"}), so the person view model has _id and name. However it doesn't have the properties of the parent (remove or people).

Then if apply the same logic, in the first example, the child view model should also "inherits" all properties from its context, which is the entire parent view model, given the child template is not within any each or with helper.

Once again, in your first example the context of the child is nothing (an empty object actually). Inside an each block the context is the item being iterated upon.
Putting that aside, think of what you want in practical terms. It would mean that if you have a view model nested 10 levels below, that view model will have each and every one of the properties from all view models above it. That's a debugging nightmare.


Added searching and filtering to games in search page

Check the code and once you approved, merge it into your current project and then test the searching feature out. Might be bugs but unsure.

looks good to me


MessageBox not responsive (included fix)

ElementUI version
1.0.4
OS/Browers version
54.0.2840.71 (Official Build) (64-bit) (Linux )
Vue version
2.0.1
Steps to reproduce
Just open a messagebox as described in the docs.
What is Expected?
The messagebox should show properly on mobile devices.
What is actually happening?
The messagebox looks very awkward and sized wrong on mobile devices

I found that it is caused by the message body being set to a fixed width. I changed the current value of the width to the max-width and set the width to be 100%; which ends up with something like this:
.el-message-box {
	width: 98%!important;
	max-width: 420px;
}

Which results in the dialog looking like this on mobile:

This also doesn't change anything on tablet or desktop view as the width is limited to what it's currently set to when the screen is bigger than the current width.
I tried cloning the repository to see if I could create a PR but so far I have yet to make sense of the CSS files.

Element is not meant for mobile devices. Maybe you can try Mint UI.
If you want to stick with Element, please override MessageBox's CSS.


Authorization safety

I noticed that we're allowing the user to pass their authentication tokens via query parameters to the API instead of using a bearer token. Is there a specific reason for this?
There's a few security issues with passing credentials via query parameters in certain environments. A few notable ones:

Query parameters get saved in browser history and often in server logs

Browser extensions are often given access by users to query parameters from any site. While headers and cookies are only available to domains that the user permits.

I'm not sure the full context in which this API is going to be utilized but this was something I at least wanted to point out.

IIRC it was suggested in https://github.com/ipfs/pinning-services-api-spec/issues/6#issuecomment-655056961:

Authorization: Bearer <key> has the benefit of limiting the problems you’re taking on. If you accept it via header and querystring you’d have a fast path to adoption in pretty much any client.

@mikeal how strongly do you feel about querystring? Removing qurystring and leaving http header only would simplify the spec and remove concerns mentioned above. I believe most of HTTP clients will be capable of setting Authorization: Bearer <key> header anyway, including fetch in browser contexts.

There’s a tradeoff either way so I would just go with whatever is easiest.


Theme Submission: PaperMod

Thank you for providing a nice platform to showcase themes :)

@JugglerX Can you please review the PR. Thanks


Added solution to the problem 83. Remove Duplicates from Sorted List

Pull Request Template
What have you Changed(must): Added solution to the problem
Issue no.(must) - #1093
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will be marked as spam.
[x] My file is in the proper folder
[x] I am following clean code and Documentation.
[x] I have added the title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

@SSKale1 @Yashica7 @swaingotnochill @JOKUE2002 feel free to merge this..


Updated Kompose to latest release

test this

Codecov Report

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

@@            Coverage Diff             @@
##           master     #797      +/-   ##
==========================================
- Coverage   98.28%   98.22%   -0.06%
==========================================
  Files          33       33
  Lines        3032     3217     +185
  Branches      254      453     +199
==========================================
+ Hits         2980     3160     +180
+ Misses         52       51       -1
- Partials        0        6       +6

Impacted Files
Coverage Δ

browser/model/helpers/downloader.js
96.94% <0%> (-1.52%)
:arrow_down:

browser/model/jbosseap.js
98.8% <0%> (-1.2%)
:arrow_down:

browser/model/cdk.js
99.22% <0%> (-0.78%)
:arrow_down:

browser/services/data.js
97.26% <0%> (-0.56%)
:arrow_down:

browser/model/jdk-install.js
97.29% <0%> (-0.45%)
:arrow_down:

browser/model/devstudio.js
89.13% <0%> (-0.41%)
:arrow_down:

browser/model/jbossfuse.js
100% <0%> (ø)
:arrow_up:

browser/model/installable-item.js
100% <0%> (ø)
:arrow_up:

browser/model/helpers/installer.js
100% <0%> (ø)
:arrow_up:

browser/pages/account/controller.js
100% <0%> (ø)
:arrow_up:

... and 19 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 d945e20...a8e411a. Read the comment docs.

Funny enough I was just about to open up an issue for this.
Thanks @sudhirverma


Installation via: python setup.py develop

When installing using the setup.py file via the command 'python setup.py develop' the installation hangs on the installation of ccxt and crashes on the installation of  bottleneck.  I installed these packages via pip and rerun 'python setup.py develop' and the installation completed successfully.

Hi @frisitano, thanks for bringing up this issue. In order to get a better look on your issue, I need to know what are you trying to accomplish.
In addition could you please share the following details:

Operating System: (Windows Version or $ uname --all)
Python Version: $ python --version
Python Bitness: $ python -c 'import math, sys;print(int(math.log(sys.maxsize + 1, 2) + 1))'
How did you install Catalyst: (pip, conda, or other (please explain))
Python packages: $ pip freeze or $ conda list
Thank you

Hi @frisitano I am closing this issue due to low activity.
Feel free to reopen if there is still an issue.


How to send security advisory?

Hello,
I have sent a report to<EMAIL_ADDRESS>as instructed, but no reply after months. What is the current way to submit reports?

I will notify the right people. Thanks.

The right person has been made aware and will contact you by Monday.


Update wiesbaden scraper and geojson

This PR updates the Wiesbaden scraper and geojson:

The public_url has moved to https://www.wiesbaden.de/leben-in-wiesbaden/verkehr/auto/parken/parkhaeuser.php
Parking lot "PH Galeria Kaufhof" was added
scraping was failing, as Status has been moved from a td to a th/h3
additionally, the PH Luisenforum request is currently failing (see screenshot below). I informed the Imprint contact who forwarded the issue to the responsible person. The scraper is now a bit more robust and ignores such issues.

@hbruch,
seems like something in the API has changed again.
The correct source url is now
https://geoportal.wiesbaden.de/cgi-bin/mapserv.fcgi?map=d:/openwimap/umn/map/parkleitsystem/parkhaeuser_intern.map&...
The last part of the path has changed from /parkhaeuser.map to /parkhaeuser_intern.map.
However, the old url now responds with json data! The encoding seems to be bad, though. example link

I now scrape the html list as it is just one request compared to the hard to maintain GetFeature-requests, which in addition do not provide the status information.
It's a pitty, wiesbaden does not publish a WFS service, as they seem to already have a mapserver in place...


Helidon tracing custom spans

What is the correct way to create custom spans in Helidon Tracing? I see different places use different approaches to getting the current span, so I end up having to use a utility like the below
private <T> T runInSpan(final Span span, final Callable<T> callable) {
    final var context = Context.builder()
            .update(it -> Contexts.context().ifPresent(it::parent))
            .build();
    // OpenTelemetryDataPropagationProvider uses the span from the context
    context.register(span);
    // WebClientTracing uses the SpanContext from the context
    context.register(span.context());
    // Not sure about this one, but TracingFilter adds it
    context.register(TracingConfig.class, span.context());
    return Contexts.runInContext(context, () -> {
        // enables propagation on the underlying OTEL framework
        try (final var scope = span.activate()) {
            return callable.call();
        } catch (RuntimeException ex) {
            span.end(ex);
            throw ex;
        } finally {
            span.end();
        }
    });
}

If I miss any of the 3 above steps, my custom scope is only propagated "sometimes" and I end up with a mess

Environment Details

Helidon Version: 4.0.9
Helidon SE
JDK version: GraalVM CE 22+36.1 (build 22+36-jvmci-b02)
OS: Sonoma 14.5

The issue description talks about creating custom spans but the code deals quite a bit with context propagation.
A few thoughts...

Helidon's tracing implementations should automatically propagate the current tracing information when a new Context is created, without your code having to do that. There are some changes in this area in 4.0.10 (releasing soon) which fix problems with propagation of tracing information via Context.
Do you see the same problems if you do not use GraalVM?
In general, and specifically for both of the above questions, it would be great if you could share a simple project that shows in specific coding examples what you expect to work that does not. Your utility avoids for you (and therefore hides) which specific problem or problems might be present in particular coding situations.
I'd like to better understand what "sometimes" and "a mess" mean for you! ;-)

The issue description talks about creating custom spans but the code deals quite a bit with context propagation.
A few thoughts...

Helidon's tracing implementations should automatically propagate the current tracing information when a new Context is created, without your code having to do that. There are some changes in this area in 4.0.10 (releasing soon) which fix problems with propagation of tracing information via Context.
Do you see the same problems if you do not use GraalVM?
In general, and specifically for both of the above questions, it would be great if you could share a simple project that shows in specific coding examples what you expect to work that does not. Your utility avoids for you (and therefore hides) which specific problem or problems might be present in particular coding situations.
I'd like to better understand what "sometimes" and "a mess" mean for you! ;-)

Yes, you are right - my main concern is the "correct" current span being propagated in various ways; and the propagation for

OTEL native stuff like OKHttp instrumentation
Helidon WebClient
across threads via context

is all different.
I'll find some time to build a demonstrator to show what I'm encountering - hopefully this week.

I've been working on a reproducer, and you're right @tjquinno that 4.0.10 fixes the main issue I was having in that the context propagation was looking for the current span in the Helidon Context not in the ThreadLocal that OTEL uses.
I did find weirdness though - the code in io.helidon.common.context.ContextAwareExecutorImpl check for an active context before it propagates anything
Optional<Context> context = Contexts.context();
if (context.isPresent()) {

But OpenTelemetryDataPropagationProvider actually makes no use of the context - it propagates the Helidon Tracing active Scope - it doesn't really care about or reference the Helidon Context.
But what that means is that if you don't have a Helidon Context no propagation happens - even though one is not required.

Interestingly Log4jMdcPropagator has the same behaviour.
So I wonder if the problem isn't tracing at all, but the ContextAwareExecutorImpl?

TL;DR: As you mentioned, there are several types of "propagation" possibly in play in this discussion, some involving tracing specifically, some using Context and some not, etc. All types of propagation should "just work."
But if--even with the recent tracing improvements--you are still seeing specific problems, please report them here (or in other issues) so we can reproduce and track each one...preferably with a reproducer.

Longer discussion...
You pasted a bit of code from ContextAwareExecutorImpl (which actually appears in both wrap methods in that class). Do you observe a specific problem that you think is caused by that code?
As you point out, that code propagates nothing if there is no current context to propagate into. But I think--perhaps @tomas-langer can confirm--that there is almost always--perhaps always always--a current context, the global context if nothing else: https://github.com/helidon-io/helidon/blob/aa3ab1772be6fdffe09a5fa028eed01ef627a546/common/context/src/main/java/io/helidon/common/context/Contexts.java#L66-L77  So propagation should happen all the time as contexts come and go.
You mentioned that the Helidon OTel propagation provider does not use the context, but it does not really need to. The ContextAwareExecutorImpl#wrap methods do the following:

Invoke each propagation provider's data method (which gathers the current values of whatever data that propagator manages) and stores it in a private data structure.
Before the user's task executes (likely in a new thread), uses that private data structure to invoke each propagator with the data it previously provided.
After the user's task completes, invokes the propagator's clearData method so it can clean up anything necessary.

Any code can register data in a Context but its propagation providers that actually capture, set, and restore their own particular states in the thread.

@boris-senapt This has been idle for a couple weeks. If you still see specific problems please feel free to reopen this issue with the details or create a new issue.