TP2000-695 S3 loading reports integration

TP2000-695 S3 loading reports integration

Why

As part of the packaging automation work, TAP is required to save HMRC's loading reports to S3 and make them available to view and download.
What

This PR:

Adds support for uploading a loading report file during the HMRC accept and reject envelope journeys.
Formats the email notification emails with details of the loading report.
Makes loading reports available to view, filter and download from within the Django admin site.
Fixes some issues related to other tickets (open Jira link in separate window, increase max comments to 1000 words).

This change adds a new variable, loading_report_message, to Notify templates and also removes the link_to_file variable. Because Notify requires all variables to be passed in to a template, the following deployment sequence is necessary:

Deploy this PR.
Update the Notify templates to remove the deleted template variable, link_to_file.
Deploy a follow-on PR that removes link_to_file from the set of variables passed into the Notify templates.

Checklist

Requires migrations? Yes
Requires dependency updates? No

Codecov Report
Base: 91.92% // Head: 91.71% // Decreases project coverage by -0.21% :warning:

Coverage data is based on head (913be09) compared to base (9473109).
Patch coverage: 38.52% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #810      +/-   ##
==========================================
- Coverage   91.92%   91.71%   -0.21%
==========================================
  Files         398      398
  Lines       25899    25994      +95
  Branches     1944     1958      +14
==========================================
+ Hits        23808    23841      +33
- Misses       1711     1773      +62
  Partials      380      380

Impacted Files
Coverage Δ

publishing/urls.py
100.00% <ø> (ø)

publishing/forms.py
67.92% <23.07%> (-15.01%)
:arrow_down:

publishing/admin.py
44.75% <31.88%> (-13.58%)
:arrow_down:

publishing/models/packaged_workbasket.py
81.67% <37.50%> (+1.12%)
:arrow_up:

publishing/views.py
60.16% <37.50%> (-1.65%)
:arrow_down:

settings/common.py
75.55% <50.00%> (+0.13%)
:arrow_up:

publishing/models/loading_report.py
88.88% <81.81%> (-11.12%)
:arrow_down:

publishing/storages.py
60.00% <100.00%> (+1.66%)
:arrow_up:

workbaskets/views/ui.py
83.03% <100.00%> (+0.06%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


workflows: esr: pass input parameters to workflow_call

Change-type: patch
Signed-off-by: Alex Gonzalez<EMAIL_ADDRESS>

Can one of the admins verify this patch?

lgtm


How to use GPU in version 1.1.0

    I couldn't figure out how to use the GPU with the `run-sl` command either, but

I was able to use the GPU by using SWOP.
I added the following Docker GPU options to the SWOP Profile.
      usrcontaineropts:
        - gpus: "all"

or something like this.
      usrcontaineropts:
        - gpus: "device=6,7"

The document I referred to is below.
https://github.com/HewlettPackard/swarm-learning/blob/master/docs/User/Frequently_asked_questions.md#-how-do-you-run-swarm-learning-on-gpu
Originally posted by @IMOKURI in https://github.com/HewlettPackard/swarm-learning/issues/101#issuecomment-1158404855

    I couldn't figure out how to use the GPU with the `run-sl` command either, but

I was able to use the GPU by using SWOP.
I added the following Docker GPU options to the SWOP Profile.
      usrcontaineropts:
        - gpus: "all"

or something like this.
      usrcontaineropts:
        - gpus: "device=6,7"

The document I referred to is below.
https://github.com/HewlettPackard/swarm-learning/blob/master/docs/User/Frequently_asked_questions.md#-how-do-you-run-swarm-learning-on-gpu
Originally posted by @IMOKURI in #101 (comment)

I am able to run model on GPU (Nvidia Geforce 3090) without docker/swarm learning. How can I utilize the GPU for swarm learning environment? How to add the above mentioned script in swop profile? Thanks.

Hi @h-ahmad,
User container has to be build to support GPU access.
For Tensorflow - Tensorflow-gpu installation comes with required GPU libraries, so it takes care of cuda dependencies.
- FROM tensorflow/tensorflow:2.8.0-gpu
For  pytorch - You need to install cuda dependencies explicitly.  You need to start with cuda image.
- FROM nvidia/cuda:10.2-devel-ubuntu18.04
Start user container with cuda image to support your host cuda version, then install python3 and other packages as needed.
Before enabling Swarm Learning, run user container with SWARM_LOOPBACK set to True, and verify whether local training could able to access GPUs for training. Once it is successful, remove SWARM_LOOPBACK so that it uses Swarm callback.
Hope this helps.
Following is for your reference - build steps in my user container to support host cuda drivers.
- FROM nvidia/cuda:10.2-devel-ubuntu18.04
- ' '
- RUN apt-get update && apt-get install -y apt-transport-https software-properties-common
- ' '
- RUN add-apt-repository -y ppa:deadsnakes/ppa
- ' '
- RUN apt-get install -y python3.8
- ' '
- RUN rm /usr/bin/python3
- ' '
- RUN ln -s /usr/bin/python3.8 /usr/bin/python3
- ' '
- RUN apt-get install -y python3-pip
- ' '
- RUN pip3 install --upgrade pip
- ' '
- RUN pip3 install imutils opencv-python pandas pillow service_identity sklearn networkx
- ' '
- RUN pip3 install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
- ' '
- RUN mkdir -p /tmp/hpe-swarmcli-pkg
- COPY swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl  /tmp/hpe-swarmcli-pkg/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl
- RUN pip3 install /tmp/hpe-swarmcli-pkg/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl

Closing this issue, as there are no follow up questions, @h-ahmad please reopen if you have further questions.


Feature Request: Divide Quora into Catagories

Suppose I have three categories working, learning and entertainment.
When I feel like working, I may set the quora for work category to 10, learning to 4 and entertainment to 2. Then items for working category may take a maximum of 10 sessions.
When I feel like learning, I may set the quora for work category to 4, leanring to 10 and entertainment to 2. Then items for working category may take a maximum of 4 sessions.

@TommyX12

Hi there, thanks for the feature request. It's interesting to be able to set quota for particular categories, and I do feel like it will be a useful feature. Unfortunately the project isn't under active development, but any PR is welcome. I will see if I have time to implement it.

Actually I have a revised edition of this proposal, which may lead to a totally different time management system, where we have various constraints and tasks as input and automatically generated schedule as output. With carefully designed constraints, we may have both efficient algorithm and maximised flexibility.


Missing artifact ca.uhn.hapi.fhir:hapi-fhir-validation-resources-dstu2:jar:2.2-SNAPSHOT

games,
i'm getting the above problem in pom.xml, so please  suggest me to solve this.

I'm closing this ticket, please see the comment here for details: https://github.com/jamesagnew/hapi-fhir/issues/498
If you want to open any more tickets please leave a complete description of what you are trying to accomplish as well as a DETAILED explanation of the steps you have taken, any steps you have taken, etc.


feat(GitHub): Adding a ReadMe In french

feat(GitHub): Adding a ReadMe In french

Thank you so much!


how to limit one connection/user with oAuth2

Hi
I used Spring Security OAuth2 in my project, but i don't know how to limit one connection/user with oAuth2.  I can't tolerate one account to login on two devices. what can I do?
look forward to receiving your reply. Thanks.

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.


SecurityStrategy supporting 403 (#219)

Proposed changes to add support for logging requests and responses with HTTP 403 status in the default SpringBoot setup, as discussed in  #219.

Is there any documentation to update?

I don't think so.

:+1:

@fschlesinger Thanks for the contribution :tada: I released the fix as 1.7.2


Missing Hacktoberfest Label for the repository

There is a missing Hacktoberfest label for the repository which means the PRs are not considered valid.
Added the label and/or adding the label hacktoberfest-accepted  to the PRs will fix the issue.

This Issue was active or not ?

Go for it @jyotirmaya907

There is a missing Hacktoberfest label for the repository which means the PRs are not considered valid. Added the label and/or adding the label hacktoberfest-accepted to the PRs will fix the issue.

could you do it i mean make a pr


b[:] = ['111', '222'] causes wrong redraw

Describe the bug
b[:] = ['111', '222'] causes wrong redraw
To Reproduce
vimrc:
set nocp
set hidden
set nu

new|hide

func!

Expected behavior
The screen should not be changed.
Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.
Environment (please complete the following information):

Vim version [e.g. 8.1.1234] (Or paste the result of vim --version.) 8.2.2282
OS: [e.g. Ubuntu 18.04, Windows 10 1809, macOS 10.14] centos 7
Terminal: [e.g. GNOME Terminal, mintty, iTerm2, tmux, GNU screen] (Use GUI if you use the GUI.) GNOME Terminal

A little simpler MWE:
set hidden number

new
hide

sil call setline(1, repeat(['aaa'], &lines) + ['bbbbbb'])

fu Func()
python3 << EOF
import vim
b = vim.buffers[2]
b[:] = ['', '']
EOF
endfu

norm! Gzb
call feedkeys(":call Func()\r", 'n')

The last bbbbbb line is no longer displayed.  Pressing <C-L> or executing :redraw! is necessary for Vim to display it again.

asan log
valgrind log

The asan log reports memory leaks:
SUMMARY: AddressSanitizer: 461288 byte(s) leaked in 386 allocation(s).

The valgrind log reports a bunch of errors from different contexts:
==3271== ERROR SUMMARY: 2756 errors from 121 contexts (suppressed: 0 from 0)


Mempool Dashboard - Version 2

Project Abstract
Mempool Explorer enables Polkadot ecosystem members to monitor pending transactions across several parameters and gain meaningful insights.
Follow-up of Mempool Dashboard - Version 1

Link to the phase 1 project: medium

However the project was created by a different team, Protofire. Currently it's not in working condition, the provided link https://mempool.dot.protofire.io/ doesn't work anymore.
Grant level

[x] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[ ] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[ ] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @muddlebee:matrix.org (change the homeserver if you use a different one)

hey @semuelle if you remember, we had a discussion around this long time back at the element channel of web3 foundation

Hi @muddlebee, thanks for the application!
In the meantime, could you please make the following (minor) edit?

@0xCaso done. thank you

Did you want this discussion to be private, @muddlebee?
Sounds like this could also be a maintenance grant, @Noc2?

Thanks a lot for the application. It’s nice that you want to maintain this. I have a few initial comments/questions:

Could you combine both milestones in one milestone? We usually don’t fund milestones that only focus on technical education.

Done

Feel free to add more details to the technical specifications (e.g. programming language, supported functions, etc.).

I have provided some details at ### Project Details and #### Technology stack section. If you want me to add more specific details, please let me know.

Ideally, you would immediately add a payment address as part of the application or at least share your bank account details with us via a private channel (email or elements). See our recent fiat payment update: #1556

Yes I will share the bank details for the fiat payment. I was doubtful over this newly added method
@Noc2

Did you want this discussion to be private, @muddlebee?

@semuelle its okay if we discuss here, I am also present at the element community @W3f Grants Community and @muddlebee:matrix.org

I also added you to a private channel to discuss the bank details and the fiat payment. The main reason for a private channel is that this way, no one else can send us an invoice later and get paid for your work.

Thanks for the update. But there seems to be an issue with the formating now. Could you fix this?

@Noc2 fixed the formatting.

Thanks for the update. To confirm: given that it's only one milestone now, you can only deliver both parts simultaneously. Having different parts for a single milestone might confuse a few people. It would be easier if you just combined everything in one table, with one estimated duration, FTE, costs, etc.

@Noc2 I have done the above changes, merged into one table, with one estimated duration, FTE, costs, etc.
Please let me know if any other amendments :)

@Noc2 oh that is just to distinguish the two separate tasks. I couldn't think of any other way. If you have any suggestions please let me know.

@Noc2 oh that is just to distinguish the two separate tasks. I couldn't think of any other way. If you have any suggestions please let me know.

Maybe 4a and 4b instead of 1a and 1b

@Noc2 oh that is just to distinguish the two separate tasks. I couldn't think of any other way. If you have any suggestions please let me know.

Maybe 4a and 4b instead of 1a and 1b

@Noc2 I have done the changes as per this. thank you

Made some clarification and cleanup for the polkadot JS API tutorials section.

we are on track for the 8 weeks timeline given. faced some issues due to internet blackout in our area for 1-2 weeks.
Now back on track.
Development, unit testing is complete. for both the milestones.
Currently doing end to end testing and audit of all the work done.
Expected delivery : end of this month


Remove or reduce unsupported API console warnings

Is your feature request related to a problem? Please describe.
When we build our application with pre-rendering enabled, we get a host of console warnings about the API being unsupported like this one. Because, this message is called for every instance of the hook, it drastically clutters our console.
Describe the solution you'd like
I certainly understand the value of this message, but it would be great if this feature could be disabled.
Describe alternatives you've considered
Alternatively, a reduction in the number of consoles would be an improvement. For example, you could limit the number of times a particular message is called. This would preserve the purpose and value of the message, but limit the number of consoles and dramatically reduce the clutter.
Additional context
By the way, our team loves this package. Thanks for putting it together!

HI @marksmccann thanks for the feedback
I see your point and I agree it makes sense to disable or limit the console.log messages.
I would prefer to limit each message to one message as first improvement... something like:
const cache = new Map();

const warningMessage = (message) => {
  if(!cache.has(message) {
     cache.set(message, true)
     console.log(message)
  }
}

I'll try to make this improvement as soon as possible but feel free to open a PR if you want

hi @marksmccann the last release of this library should solve your problem, please update and let me know if we can close this issue

Looks great, thanks! Feel free to close.


Enable serialization of user attributes of a DockContent

This change enables the serialization of user attributes of a IDockContent interface.

I think all changes are OK as it demonstrates how to load/save custom things. But I don't think DockPanel.Persistor.cs should be changed.

Custom serialization is purposefully handled outside of the DockPanel persistence; this was not by accident:  https://github.com/dockpanelsuite/dockpanelsuite/wiki/LayoutPersistence
Embedding user data in the XML for the DockPanel persistence makes serialization of the DockPanel extremely fragile.  I would vote we decline this pull request and custom persistence should be handled as a concern of the application using the hooks provided in the wiki link above.

Hy Ryan, I agree that it is possible user serialization using the DeserializeDockContent delegate. IMHO this new optional persistance allow work with XmlReader/XmlWriter for persist more complex structured data in a more comfortable style that parse manually a single string.
Best Regads
Alvaro

Hi, I added serialization of global user attributes of a DockPancel

Hi, I close this very old pull. Thanks for your reviews!


Fix failing IModelTransformerHub integration test

Missing saveChanges was causing integration test to fail.
First guess was a problem with querying for CodeSpecs. Decided to leave the improved CodeSpecs.queryId implementation even though it was not related to the actual problem.

@calebmshafer This fixes the integration test that we spoke about yesterday. Could you please review/approve?

Can you un-skip the test? Otherwise, LGTM

Done.


Another color issue...

Not sure when this started as I haven't used WSL for development in a while but I had previously set up colors mimicking Ubuntu some time ago using the color palette in the Properties settings.
Previously the text in the JSON output was yellow but now they are the same color as the background:

This is how JSON looks now, the actual JSON text is (copy/pasted from the console):
QIPJS: { document_id: '207867',
  receiver_data:
   { externalId: '1003',

Which color is used for the string in the JSON output above?

Closing on not WSL actionable.


[Bug Report] emit an event on el-dropdown-item click not working

Element UI version
2.7.2
OS/Browsers version
mac os
Vue version
2.6.10
Reproduction Link
https://codepen.io/masber/pen/gyGPRG?editors=1111
Steps to reproduce
extend "dropdown list" and click on "Action 1"
What is Expected?
to print 'event recorded!' in the console
What is actually happening?
nothing, the event is not sent

- new Vue().$mount('#app')
+ new Ctor().$mount('#app')

You also need to use $on to add event listener for test evnet.
created() {
   this.$on('test', fn);
}


Auto Scrolling Issue on Landing Documentation Page

Description
On the landing documentation page, there is an issue with the auto-scrolling behavior of the starter links.
When initially clicking on a starter link, the page correctly scrolls to the desired section.
However, if the user manually scrolls back to the top and clicks on the same starter link again, the page does not scroll to that section.
See the attached video and the steps to reproduce.
https://github.com/hashgraph/hedera-docs/assets/18725916/158e5be2-c839-40a0-a255-de7e1966c4da
Steps to reproduce

Go to the landing page.
Click on  "Environment Setup"
The page will auto-scroll to the corresponding section.
Scroll back up to the top of the page.
Click on the "Environment Setup" link again.
Notice that the page does not auto scroll to the desired section, instead staying where it is.

Additional context
No response
Hedera network
mainnet, testnet, previewnet
Version
current version
Operating system
macOS

Update from GitBook support:

I'm afraid I don't have an update to share yet. We do want to improve how scrolling works with cards. However this might not happen soon. Not because we think this is not important. It's because we are dealing with numerous issues that are equally or more severe, and everyone in engineering is focusing on those currently.

Closing as GitBook is aware of this problem


Scroll not working in IE-11

In IE-11 when setting a max-height and overflow: auto, when selecting the scrollbar with the mouse to view the results the suggestions disappear and the input loses focus.
Mouse wheel and keyboard arrows work fine. Firefox and Chrome are also ok.

Anyone close to having a fix for this?  I've been very happy with this autosuggest tool, but my client is pushing to use something else because of this bug.  I've been putting him off looking for a fix but haven't been able to figure it out.  This is my last ditch plea...  thanks

Could you provide an example where this happens? I can't reproduce it with my own code, but it might be due to what I've done in my fork (https://github.com/moroshko/react-autosuggest/pull/155).

Sample here:  https://accounts.workorder.es/sandbox
As stated in original issue, when selecting the scrollbar with the mouse to view the results the suggestions disappear and the input loses focus.
Mouse wheel and keyboard arrows work fine. Firefox and Chrome are also ok.
thanks

I have shouldRenderSuggestions set to always return true.  In IE, if you select an item first, you can then click on the scrollbar and it works, though now hard to get rid of the suggestion box.  If nothing is selected, that's when it disappears.   Your fork may be working due to the changes where you bypass the shouldRenderSuggestions check.

I got the latest version (including fork #155) but I still have the same issue on IE.
@gainsboroughtech, were you able to solve this issue?
Thanks

I´m having this issue too using 5.0.1 version in IE11. Any hints to fix this?
Thanks.

Just heads up that I plan to fix this bug some time next week.

This should be fixed now in v5.0.2.

still i am facing issue. when i used renderSuggestionsContainer scroll not working in IE 11. Please help me on this :)


Use MessageFlags as the type for InteractionResponseData and WebhookParams  response Flags

According to the Discord documentation, the values for InteractionResponseData.Flags and WebhookParams.Flags are just a subset of the standard MessageFlags:
https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-messages
https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params
https://discord.com/developers/docs/resources/channel#message-object-message-flags
So use that type instead and put a note indicating the valid subset of flags for each of them.
This is a breaking change, as the type is changing, so any code that is setting those flags will need to change to use the MessageFlags values instead, as it was done in the examples.

Made the additional changes in the examples and rebased from master

Thanks for your contribution!


matcher changeEtherBalances breaks with ethers 5.0.25

    const amount = parseEther('0.05');
    await expect(() =>
      faucet.connect(wallet).withdraw(amount)
    ).to.changeEtherBalances([faucet, wallet], [amount.mul(-1), amount]);

(node:778233) UnhandledPromiseRejectionWarning: TypeError: account.getAddress is not a function
    at Object.getAddressOf (node_modules/@ethereum-waffle/chai/dist/cjs/matchers/misc/account.js:13:24)

reverting back to ethers 5.0.24 fixes the problem. happy to create this issue in ethers if its appropriate

Hi @clifton, thanks for reporting!
I couldn't reproduce the bug myself. Could you check the types of faucet and wallet, please?

Hi @clifton, thanks for reporting!
I couldn't reproduce the bug myself. Could you check the types of faucet and wallet, please?

Those are contracts created by hardhat-waffle's deployContract.  This seems to be fixed in ethers 5.0.26 without any other changes made in the app, so I'll close the issue. thanks!

Those are contracts created by hardhat-waffle's deployContract.  This seems to be fixed in ethers 5.0.26 without any other changes made in the app, so I'll close the issue. thanks!


Add the ability to load a subtitle

I think is directed towards the desktop app instead of the module right?

@DiegoRBaquero Yeah, you're probably right.
https://github.com/feross/webtorrent-desktop/issues/281


Forbid Zero-sized types from deserialization

Resolves RUSTSEC-2023-0033
Resolves #19
Resolves #52

Great! As soon as a release is published I will make sure that the RustSec advisory is updated.

Looks like a release was made just a few days before this getting merged. Are we going to get a new release soon?

@paolobarbolini I guess we will make release this week when I finish my PR and another one(pretty small).


Reimplement useProxy option

useProxy: If set to dev-only and nuxt is in dev-mode, the module automatically configures /api to the Drupal backend via @nuxtjs/proxy and uses it instead of the Drupal backend, such that there are no CORS issues. Other values supported are always or false.
@nuxtjs/proxy does not support Nuxt 3. There is an open issue: https://github.com/nuxt-community/proxy-module/issues/107.
There is also https://vitejs.dev/config/server-options.html#server-proxy if we want to support only the dev-only option.
If we want to support also the always option, then we need to find a suitable solution. Maybe https://github.com/wobsoriano/nuxt-proxy?
But I need feedback if this is important to support in production mode (always option) @fago?

But I need feedback if this is important to support in production mode (always option) @fago?

I don't think this is important. I suppose it would have to be done manually when desired, what should not not be hard with nuxt3.
I think our module should just integrate with the existing nuxt-ecosystem and use what's there, when production-proxy is not there for nuxt3, let's not support it and build upon the vite-proxy for now. We just need to clearly document what's supported and what not.
Generally, I think we should stop doing "dev-only" as default and turn this feature off by default. We have localhost added as allowed CORS for develoment sites, so this should be good enough. Let's not do too much magic by default, but have people opt-in better

Actually, we figured this is quiet helpful for authentication, since requests go via the frontend domain also, so it can be helpful with setting up cookie based authentication. so having this is a valuable option still, but it can be turned off by default.
The feature is available in nuxt3 via nitro route rules

this is shipped in https://github.com/drunomics/nuxtjs-drupal-ce/releases/tag/v2.0.0-beta4


Dingo and JWT

Hi Guys,
I setup dingo and JWT. In a controller I have
  public  function __construct(AppointmentRepository $appointmentRepo,BusinessRepository $businessRepository)
    {
        $this->appointmentRepository = $appointmentRepo;
        $this->businessRepository = $businessRepository;
        $this->user = $this->user();
        $this->middleware("api.auth");
    }

It keep giving me
{"message":"Maximum function nesting level of '100' reached, aborting!","code":1,"status_code":500}

But when I setup middleware like
    $api->group(['middleware' => 'api.auth'], function ($api) {
        $api->resource("appointments", \App\Http\Controllers\API\AppointmentAPIController::class);
    });

It's working fine.
Any Ideas ?
Thank you

Laravel or Lumen? Make sure you're extending the base Laravel/Lumen controller.

Avoid calling $this->user() in the constructor.


Add Demo gif

Put a gif of the following in the readme:

This was an attempt to get github to host my image without putting it in the repo, but seems like they do some private links with jwt tokens now, so wasn't sure if it'd work. So I just committed to the readme.


RootLookuper: fix CNAME handling

@karasz amended as suggested

<EMAIL_ADDRESS>tagged


Installation Issue, Ubuntu 22.10   ".txt file does not exist!!"

Describe the bug
Failure to install correctly
To Reproduce
Steps to reproduce the behaviour:
Installation via your installer
" mkdir -p "$HOME/.fusion360/bin" && cd "$HOME/.fusion360/bin" && wget -N https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/install.sh && chmod +x install.sh && ./install.sh "
Expected behavior
clean install, ability to launch F360 from icon or command line, instead we receive: .txt file does not exist!

Desktop (please complete the following information):

Version number of Autodesk Fusion 360: AFAIA: V.2.0.15299
Graphics card model + Graphics card driver (Version number) Nvidia RTX A4000, 252 driver
Operating system Ubuntu 22.10 64bit
Desktop environment GNOME 43.1, X11
DXVK- or OpenGL-Mode: both failed

Additional context
Many thanks for you time, effort and outlook.
I am but a smooth brain, forgive me. I have had success with your installer on the recent stable version of Ubuntu, however my current GPU fails with 252 driver for that release. I have only had success with the 252 on Ubuntu 22.10 but alas, you most brilliant work around for F360 does not function any longer.
I have had difficulty uninstalling F360 and have now got 2 instances of it.
I take it the most stable distro would be opensuse?
I am happy to jump ship to get this cad "workstation-esque" machine on the road.
Many thanks for you time.
PS where is best to buy you a drink? Do you still use your amazon wish list? SSD's and printer ink etc?
Take care

I'm getting this error as well on my system:
Fusion version: 2.0.15277
GPU: NVIDIA Corporation GA104 [GeForce RTX 3070 Lite Hash Rate] (rev a1)
OS: Ubuntu 22.04.2 LTS
Desktop: Ubuntu/GNOME
DXVK- or OpenGL-Mode: didn't try
But agreed that this is an amazing project and cryinkfly deserves a drink, or at least printer ink!

Greetings @poon-holder,
so if you did the standard installation, then you only need to delete the entire content in the folder "$HOME/.fusion360/wineprefixes/default" to start a new attempt.
$HOME = your username (home directory)
You can do this via your file manager (e.g. Thunar) or via the terminal.

How much money do you have to budget for it to work again, for dummies (noobs) :) (computer illiterate)

That's relatively difficult to assess ... Because it's the case that in the summer I'm on the road a lot because of my main job and therefore have less time than in the winter.
And then I look after other projects in addition to this one.
In short, any support from the community is worth its weight in gold to keep such projects running better and for that reason there are ways to do it.
So if you're really interested in helping me, check out the following link: https://cryinkfly.com/sponsoring/

I am truly grateful for the work you have put in on top of your busy schedule!

Thanks so much!

Thank you kindly Mr Zabka for you detailed response.
The fresh install went without a hitch. Un till trying to save bodies as mesh onto local computer.
Here the files are seen in the fusion browser but not to be found in the computer.
this either from '3D print' tab or by right clicking on body and selecting 'save as mesh'.
So,
your install works well again,
fusion launches, cursor good etc
bodies WILL convert to mesh.
Can not then export or save mesh outside of fusion.
Is this issue #362 ?
Many thanks again.

Ok, so
my ape mind figured it out, mesh files are being saved to:
/home//.fusion360/wineprefixes/default/drive_c/users//Documents/
where ***** is your username.
Hope this helps others.


(gdk): automatic generation of artifacts URIs when using custom build scripts

Feature Description
When using custom build scripts, the scripts must copy the recipe.yaml in the greengrass-build/recipes folder, and update the artifacts URI to the s3 path corresponding to the bucket set in gdk-json.
The gdk should provide a setting to allow such process to be executed by the gdk tool even when using a custom build script.
Use Case
To be able to use custom build scripts
Proposed Solution
GDK should always take the recipe.yaml and replace the artifact URI with the correct value and copy the file in greengrass-build
Other
Add detailed explanation, stacktraces, related issues, links for us to have context, etc

[ ] :wave: I may be able to implement this feature request
[ ] :warning: This feature might incur a breaking change

Hi Massi,

GDK builds artifacts and recipe in a certain way when default options like maven, gradle and zip are chosen for build system in the config file.  With our default build systems, gdk knows where to find the built artifacts. If custom option is chosen, we have no idea where to look for the artifacts. So, we need customers to put them insidegreengrass-build.

The intent behind using custom build command is to customize the way both artifacts and recipes of a component are built without being restricted by gdk in anyway. It's absolutely flexible where gdk doesn't do partial building of them.
For eg. If the source code of a component produces an arn which needs to be updated in the recipe configuration during the build, customers can update the recipe as needed before gdk uses it to publish the component.

For the comment on updating the s3 artifact URIs in build, it is done only in the publish command. It's the same behavior for both the default and custom build systems. We update the s3 URIs in only publish command for both the build systems.

Thanks for the clarification.
Regarding the custom build, say I specify the Artifact path in the recipe as s3://abc.zip, where should my custom build script put the abc.zip file for gdk to find it? What would be the resulting S3 key of the uploaded object?

Thanks for the clarification.
Regarding the custom build, say I specify the Artifact path in the recipe as s3://abc.zip, where should my custom build script put the abc.zip file for gdk to find it? What would be the resulting S3 key of the uploaded object?

The artifact abc.zip must go into greengrass-build/artifacts/component-name/component-version/ directory where component-name and component-version are the ones specified in the gdk-config.json file. Eg. if component name is ABC and component version is NEXT_PATCH in the config file, you need to copy the artifacts to greengrass-build/artifacts/ABC/NEXT_PATCH/ directory.
The recipe recipe.yaml must go into greengrass-build/recipes/ directory.
The resulting s3 URI of the artifact will be s3://bucket-name/component-name/component-version/abc.zip where bucket-name is formed from bucket-prefix from the gdk-config file appended with region and account number.

Hi Massi,
Closing the issue. Please reopen if there are more questions or concerns related to this.
Thanks!


JWT Middleware accepts expired tokens

Hi,
I can't rule out that I might be missing something in the config but I don't know what it is. Prestd (v1.2.2 in this case but so behaved v1.1.5 similarly) is working perfectly fine with expired JWT tokens too. So having a token is for life. The env vars I altered:
PREST_JWT_KEY=...
PREST_AUTH_TYPE=basic
PREST_DEBUG=false
PREST_AUTH_ENABLED=true
DATABASE_URL=postgres://...

Let me know if additional info needed. Any guidance would be greatly appreciated.

Hi @kalmarz, thanks for reporting, this is a known issue, we want to solve it in the next patch, but we also got some problems that might line before this.


Parse Server app structure

My app is getting pretty big on the server side. All the main logic is on cloud code basically, organised by classes. I find it now a bit messy and I'm looking for a better app structure.
I have a very clean MVC on the iOS side with all my models subclassing PFObject. And I wish I had something similar to organise my app on the server side.
I hope this makes sense and I would love to share file structures with anyone interested in this topic.

Not sure how we can help here. That's a general question about building nodejs/express apps. It all depends on your coding style, philosophy, etc... Maybe better suited on stackoverflow.
If you look at the code we have in the repo, we sliced Routers and Controllers, have a few pure prototypical objects like RestQuery and RestWrite, use a mix of factories and Classes etc...


Looper cannot handle multiple partition submission

Slurm has the ability to accept a comma-delimited list of partitions. You can submit to:
--partition=normal,long and the job will run on whichever partition it can first
At least in my limited testing, this isnt possible with looper (see below, KeyError). This seems like it would be an easy fix?
[mcorces@sh-ln02 login! /scratch/users/mcorces/TCGA_ATAC/alignments/170614_TCGA_A602]$ looper run --compute howchang,owners ./config/170714_TCGA_A602_config.yaml
Command: run (Looper version: 0.6.0-rc1)
Creating Project from file: './config/170714_TCGA_A602_config.yaml'
Loading PEPENV: /share/PI/howchang/users/mcorces/tools/python/virtualenv/python-2.7.13/lib/python2.7/site-packages/looper/submit_templates/default_compute_settings.yaml
Loading PEPENV: /share/PI/howchang/users/mcorces/tools/pepenv/stanford.yaml
Parsing Project config file
Results subdir: /scratch/users/mcorces/TCGA_ATAC/alignments/170614_TCGA_A602/results_pipeline
Traceback (most recent call last):
  File "/share/PI/howchang/users/mcorces/tools/python/virtualenv/python-2.7.13/bin/looper", line 11, in <module>
    load_entry_point('looper==0.6.0rc1', 'console_scripts', 'looper')()
  File "/share/PI/howchang/users/mcorces/tools/python/virtualenv/python-2.7.13/lib/python2.7/site-packages/looper/looper.py", line 800, in main
    prj.set_compute(args.compute)
  File "/share/PI/howchang/users/mcorces/tools/python/virtualenv/python-2.7.13/lib/python2.7/site-packages/looper/models.py", line 812, in set_compute
    self.compute.add_entries(self.environment.compute[setting])
  File "/share/PI/howchang/users/mcorces/tools/python/virtualenv/python-2.7.13/lib/python2.7/site-packages/looper/models.py", line 268, in __getitem__
    raise KeyError(item)
KeyError: 'howchang,owners'

@nsheff it seems like this contravenes the notion of a resource bundle and would be a case for which it'd be tricky (or impossible) to create a submission script? Caveat: I have limited SLURM knowledge.

I may be wrong but I think that all you have to do is allow the --compute parameter to accept a comma-delimited list and pass this for the --partition parameter of the submission file.
This would be a valid submission:
#!/bin/bash
#SBATCH --job-name='mySubmission_ATACseq.py'
#SBATCH --output='output_ATACseq.log'
#SBATCH --mem='32000'
#SBATCH --cpus-per-task='16'
#SBATCH --time='11:00:00'
#SBATCH --partition='long,normal'
#SBATCH -m block
#SBATCH --ntasks=1

Yeah that's how interpreted what you were saying. Sorry, I think my point was poorly raised. What I was trying to say is that such a submission script implies the same resource request for memory/cores/time for both of those different partitions, which has seemed to not be the case in the config files I've seen. It's not that it's not possible I guess, or even not desirable, just that it seems to suggest a lack of coupling between partition and resources. I don't know about the extent to which that does or doesn't reflect a typical cluster configuration, though.

I see. Thats a fair point. On our cluster, we have "owner" nodes (partition = howchang) that you purchase and you get priority access to. This also gives you access to the nodes of other owners while they arent using them (partition = owners). The nodes are configured identically. So to make the most of resources, you can prioritize your jobs to submit to your owner partition (howchang) and if that isnt available submit the job to the partition of other owners' nodes (owners). The jobs on the partition "owners" can be preempted.
my example of using "long" and "normal" was a poor choice.

@rcorces You're confusing the resource bundle name (a looper thing) with the partition name (a slurm thing).
In many examples we make these the same thing, because it makes sense, but they are not.  Then on the command line you say --compute dualpriority.
Right now you're indexing into this file with an index called "howchang, owners": https://github.com/pepkit/pepenv/blob/master/stanford_sherlock.yaml
but the only possible indices are: defaullt, local, normal, dev, and bigmem. See how those just happened to map exactly to the value under partition? That's where the confusion comes from. Define a new one like this:
compute:
  dualpriority:
    submission_template: templates/slurm_template.sub
    submission_command: sbatch
    partition: "howchang, owners"

make sense?

So just for clarity: you cannot specify two compute bundles to looper on the command line. but you (I think) can specify multiple partitions within a compute resource bundle, which solves your use case better, in fact.

@vreuter I think your point still stands, though I don't think it is exactly what's going on here... actually, resources requested (defined in pipeline interface) are already decoupled from partition (defined in compute config), so it's already the user's responsibility to choose the right partition for the resources.
But really, it's solved by the flexibility of the compute bundles. Users can really do whatever they want -- looper doesn't prevent you from using SLURM however you want to. You just define your compute settings (or templates or whatever) exactly how you want. looper is really transparent in this case, it imposes no extra restrictions on how you want to use slurm. I think that's the way it should be.

you're absolutely right! sorry about that. I was confusing the resource compute bundle with the partition. great! so I'm closing this because its not an issue.


Update labels in MKDE (BBMM) tab

Update the "MKDE" tab label to "BBMM" and "Variance" to "Local error variance (meters)". See attached figure

i also updated the display instructions on the right for selecting plot type to:


⚠ Bofrost.at has degraded performance

In e8b561a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2289 ms

Resolved: Bofrost.at performance has improved in 247f879 after 10 minutes.


javalsp - no completion available

Information
VIM version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug 22 2018 23:46:39)
Included patches: 1-320
Operating System:
Debian GNU/Linux buster/sid
What went wrong
There is no completion offered at all when writing Java code.
Reproducing the bug
Follow the instructions to install javalsp.
I installed javalsp in Visual Studio Code and it works.
I tried another LSP (for bash) and it sort of works. At least, I get a popup with suggestions as I type. Though the popup is not as elaborate as in VS Code.
:ALEInfo
 Current Filetype: java
Available Linters: ['checkstyle', 'javac', 'javalsp', 'pmd']
  Enabled Linters: ['javalsp']
 Suggested Fixers:
  'google_java_format' - Fix Java files with google-java-format.
  'remove_trailing_lines' - Remove all blank lines at the end of a file.
  'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
  'uncrustify' - Fix C, C++, C#, ObjectiveC, ObjectiveC++, D, Java, Pawn, and VALA files with uncrustify.
 Linter Variables:

let g:ale_java_javalsp_jar = '/home/marcel/git-clones/java-language-server/out/fat-jar.jar'
 Global Variables:

let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 1
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_fixers = {'javascript': ['eslint']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 0
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {'markdown': ['remark'], 'sh': ['language_server'], 'java': ['javalsp'], 'javascript': ['eslint']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 5
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 0
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 0
let g:ale_set_quickfix = 1
let g:ale_set_signs = 1
let g:ale_sign_column_always = 1
let g:ale_sign_error = '┃'
let g:ale_sign_info = '┃'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '┃'
let g:ale_sign_style_warning = '┃'
let g:ale_sign_warning = '┃'
let g:ale_statusline_format = ['✗ %d', '⚠ %d', '✓ ok']
let g:ale_type_map = {}
let g:ale_use_global_executables = v:null
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
  Command History:

(started) ['bash', '-c', '''java -cp /home/marcel/git-clones/java-language-server/out/fat-jar.jar -Xverify:none org.javacs.Main''']

How did you try to use autocompletion in Java? Can you share any example code you were testing with, and where you positioned your cursor?

Did you set let g:ale_completion_enabled = 1 before any plugins are loaded, or after they are loaded?

All plugin-specific settings are done after they are loaded. Should I try the other way around?

Yes, you must set that setting before ALE is loaded.

I updated the documentation to tell people to set that setting to 1 before the plugin is loaded in every place that it's mentioned.

OK, tried it. But still I do not get any completion ;-(

Out of curiosity, do you have utilize any delimiter auto-pairing plug ins?
I ask this because I find that ALE's (python) completion for me breaks fairly easily with auto-pairing enabled (whereas other language clients still complete, so I assume it has to do with processing before the completion suggestions are generated).
ALEInfo
 Current Filetype: python
Available Linters: ['flake8', 'mypy', 'prospector', 'pycodestyle', 'pyflakes', 'pylint', 'pyls', 'pyre', 'vulture']
  Enabled Linters: ['flake8', 'pyls']
 Suggested Fixers:
  'add_blank_lines_for_python_control_statements' - Add blank lines before control statements.
  'autopep8' - Fix PEP8 issues with autopep8.
  'black' - Fix PEP8 issues with black.
  'isort' - Sort Python imports with isort.
  'remove_trailing_lines' - Remove all blank lines at the end of a file.
  'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
  'yapf' - Fix Python files with yapf.
  'remove_trailing_lines' - Remove all blank lines at the end of a file.
  'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
  'yapf' - Fix Python files with yapf.
 Linter Variables:
let g:ale_python_flake8_auto_pipenv = 0
let g:ale_python_flake8_change_directory = 1
let g:ale_python_flake8_executable = 'flake8'
let g:ale_python_flake8_options = ''
let g:ale_python_flake8_use_global = 0
let g:ale_python_pyls_auto_pipenv = 0
let g:ale_python_pyls_executable = 'pyls'
let g:ale_python_pyls_use_global = 0
 Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = v:null
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 1
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '[%linter%]% code%: %s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace'], 'python': ['black']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = v:null
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 0
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 0
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {'python': ['pyls', 'flake8']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = v:null
let g:ale_list_vertical = v:null
let g:ale_loclist_msg_format = v:null
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = v:null
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 1
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = v:null
let g:ale_sign_error = '✖'
let g:ale_sign_offset = v:null
let g:ale_sign_style_error = v:null
let g:ale_sign_style_warning = v:null
let g:ale_sign_warning = '⚠'
let g:ale_statusline_format = v:null
let g:ale_type_map = v:null
let g:ale_use_global_executables = v:null
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1

The following snippet completes as expected:
# python snippet in neovim, no auto-pairing plugin:
class MyBase:
    pass

class K(My # <C-x><C-o> suggests MyBase

Wheras the same snippet with manually paired parens (or auto-paired via a plugin) produces:

<C-x><C-o> isn't used for triggering ALE completion. Suggestions are shown while you type.

<C-x><C-o> isn't used for triggering ALE completion. Suggestions are shown while you type.

Fair enough, but the trivial example of completion failing inside parenthesis occurs even when ALE completion is automatically triggered after the delay. Obviously it is a separate issue to the original one concerning Java, so if anything once I get some time I will try to go through the steps of creating a new issue.

@w0rp I am also unable to get auto-completion working with ale. Not sure at what point I updated that broke this but was working before (I wrote javalsp support).
ALEInfo shows the LSP command is executed and started but completion, go-to-definition, and friends do not do anything.
Is there a way to debug the communication between ALE and the LSP server?? like output the request/response between in the channels to a file to see what is going on?
I am also currently implementing LSP support for Eclipse LSP w0rp/ale#1996, it is almost ready (see hsanson/ale) but it does not seem to do anything like javalsp.
I also tested the javalsp with visual studio code and there it work perfectly. I can get autocompletion and jump to definition/references without problem.

Yes, the easiest way to debug ALE and LSP communication is to use the ch_logfile function. Write all of the communication to a file, and you can open it in Vim or watch it with tail. You have to run Vim 8 or above for that. There is no equivalent in NeoVim, without editing the code heavily.

call ch_logfile(expand('~/something.log'), 'w') is probably what you want.

Ok when running vim 8.0 within a docker container I get the error above. I installed vim 8.0 from apt-get in my dev machine and was able to get the following log:
==== start log session ====
  0.077471 : Starting job: /bin/bash  -c  'java -cp /home/ryujin/.config/nvim/tools/javacs.jar -Xverify:none org.javacs.Main'
  0.077547 on 0: Created channel
  0.079150 SEND on 0: 'Content-Length: 234

{"method":"initialize","jsonrpc":"2.0","id":1,"params":{"initializationOptions":{},"rootUri":"file:///home/ryujin/Projects/Join/join-rest-api","capabilities":{},"rootPath":"/home/ryujin/Projects/Join/join-rest-api","processId":10081}}'
  0.079447 on 0: channel_select_check(): Read EOF from ch_part[1], closing
  0.079482 RECV on 0: '/bin/bash: java -cp /home/ryujin/.config/nvim/tools/javacs.jar -Xverify:none org.javacs.Main: No such file or directory
'
  0.079488 on 0: channel_select_check(): Read EOF from ch_part[2], closing
  0.096925 : looking for messages on channels
  0.096951 on 0: Closing channel because all readable fds are closed
  0.096956 on 0: Closing channel
  0.096969 on 0: Dropping message '/bin/bash: java -cp /home/ryujin/.config/nvim/tools/javacs.jar -Xverify:none org.javacs.Main: No such file or directory
'
  0.096980 on 0: Job ended
  0.096992 : looking for messages on channels

Not really sure what I should be looking here but seems the command to invoke the LSP server fails with "No such file or directory" error.
I checked that the command actually works and starts the LSP server in the terminal:
[~]> /bin/bash  -c  'java -cp /home/ryujin/.config/nvim/tools/javacs.jar -Xverify:none org.javacs.Main'
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"java.version is 1.8.0_191"}}

Also verified that the rootUri and rootPath exists and point to the directory where the java project is located.
P.S. replicating the issue above is easy running vim inside a ubuntu:18.10 docker container with vim installed via apt-get.

Okay, I can merge your pull request to make the executable configurable, and I'll create a second issue for catching write error and either ignoring them or logging them. Either way, they should not be interrupting whatever you are doing in Vim.

Hm, still does not work correctly for me. When I create a log as suggested earlier for debugging (https://github.com/w0rp/ale/issues/1994#issuecomment-444064091), I see something like this:
{"jsonrpc":"2.0","id":36,"error":{"code":-32603,"message":"Internal error.","data":"java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\n\tat org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)\n\tat org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)\n\tat org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)\n\tat org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)\n\tat org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192)\n\tat org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)\n\tat org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:834)\nCaused by: java.lang.reflect.InvocationTargetException\n\tat jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)\n\t... 11 more\nCaused by: java.lang.NullPointerException\n\tat org.javacs.JavaTextDocumentService.completion(JavaTextDocumentService.java:84)\n\t... 15 more\n"}}'
 54.382577 RECV on 3(err): '2018-12-14	10:45:19	SEVERE	org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError	Internal error: java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
	... 11 more
Caused by: java.lang.NullPointerException
	at org.javacs.JavaTextDocumentService.completion(JavaTextDocumentService.java:84)
	... 15 more

'
 54.421452 : looking for messages on channels
 54.421510 on 3: Invoking channel callback <SNR>201_VimOutputCallback
 54.422450 on 3: Dropping message '2018-12-14	10:45:19	SEVERE	org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError	Internal error: java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192)
	at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
	at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
	... 11 more
Caused by: java.lang.NullPointerException
	at org.javacs.JavaTextDocumentService.completion(JavaTextDocumentService.java:84)
	... 15 more

I tried building https://github.com/georgewfraser/vscode-javac as suggested in the docs AND also took the version (2.6) installed via VSCODE.
I am still trying to do something simple as I wrote in https://github.com/w0rp/ale/issues/1994#issuecomment-429963300

That looks like vscode-javac is crashing for you. Make sure you compile it with java 8.
You can try with the eclipselsp (https://github.com/w0rp/ale/pull/2121) I added in a separate branch. I find this one works better than vscode-javac. Unfortunately this one cannot be merged to master until #2132 is completed.

Oh, Java 8, really? Because on the project site it says at least Java 10 is needed .... I'll give it a try anyway. Thank you.

Interesting. With Java 8 now not errors any longer. But completion does not work, anyway :-(.
 Current Filetype: java
Available Linters: ['checkstyle', 'javac', 'javalsp', 'pmd']
  Enabled Linters: ['javalsp']
 Suggested Fixers:
  'google_java_format' - Fix Java files with google-java-format.
  'remove_trailing_lines' - Remove all blank lines at the end of a file.
  'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
  'uncrustify' - Fix C, C++, C#, ObjectiveC, ObjectiveC++, D, Java, Pawn, and VALA files with uncrustify.
 Linter Variables:
let g:ale_java_javalsp_executable = 'java'
let g:ale_java_javalsp_jar = '/home/marcel/git-clones/vscode-javac/out/fat-jar.jar'
 Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 1
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 1
let g:ale_fixers = {'javascript': ['eslint']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 0
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_insert_leave = 0
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_linter_aliases = {}
let g:ale_linters = {'markdown': ['remark'], 'sh': ['language_server'], 'java': ['javalsp'], 'javascript': ['eslint']}
let g:ale_linters_explicit = 0
let g:ale_list_vertical = 0
let g:ale_list_window_size = 5
let g:ale_loclist_msg_format = '%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 0
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 0
let g:ale_set_quickfix = 1
let g:ale_set_signs = 1
let g:ale_sign_column_always = 1
let g:ale_sign_error = '┃'
let g:ale_sign_info = '┃'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '┃'
let g:ale_sign_style_warning = '┃'
let g:ale_sign_warning = '┃'
let g:ale_statusline_format = ['✗ %d', '⚠ %d', '✓ ok']
let g:ale_type_map = {}
let g:ale_use_global_executables = v:null
let g:ale_virtualtext_cursor = 0
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
  Command History:
(started) ['bash', '-c', '''java'' -cp /home/marcel/git-clones/vscode-javac/out/fat-jar.jar -Xverify:none org.javacs.Main']

I've been fiddling with this as well. The project has now updated to Java 11 and is using JLink to make a distribution, instead of creating a fat jar.
I've forked ALE and updated the code to start it up correctly, see https://github.com/jqno/ale/commit/5ce1e9b0b4c59457cdfb68be13216e162a6eab9e (I can make a PR if desired).
The server starts locally when I run it from the commandline, but now I get errors when I try to use it from Vim and I'm at a loss how to fix those:
Error detected while processing function <SNR>84_VimOutputCallback[6]..<lambda>2[1]..ale#lsp#HandleMessage[30]..ale#definitionHandleLSPResponse:
line 15:
E716: Key not present in Dictionary: uri)
E116: Invalid arguments for function ale#path#FromURI(l:item.uri)
E15: Invalid expression: ale#path#FromURI(l:item.uri)

Any ideas?

Dunno what those errors mean. That shouldn't happen. Could you provide the steps of what you did exactly which led to those errors?

I checked out the master of https://github.com/georgewfraser/java-language-server (it's at commit ef082220c1121d89bfefe4decc77b56c75d7813b when I'm writing this, don't know if that matters)

I built a distribution of the project with scripts/link_mac.sh

I copied the contents of dist/mac in a convenient folder (in my case, ~/Dropbox/bin/java-language-server

I made some changes to ALE as well, see https://github.com/jqno/ale/commit/5ce1e9b0b4c59457cdfb68be13216e162a6eab9e (this was to make the javalsp linter work with their new method of distribution). I've created a PR for this, in case that makes things easier: #2284.

I added these lines to ~/.vim/ftplugin/java.vim:
let g:ale_java_javalsp_executable = expand('~/Dropbox/bin/java-language-server/bin/java')
let g:ale_linters.java = ['javalsp']

Then I opened a Java file and tried :ALEGoToDefinition. That's when I got the error.

Here's my output of :ALEInfo:
 Current Filetype: java
Available Linters: ['checkstyle', 'javac', 'javalsp', 'pmd']
  Enabled Linters: ['javalsp']
 Suggested Fixers:
  'google_java_format' - Fix Java files with google-java-format.
  'remove_trailing_lines' - Remove all blank lines at the end of a file.
  'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
  'uncrustify' - Fix C, C++, C#, ObjectiveC, ObjectiveC++, D, Java, Pawn, and VALA files with uncrustify.
 Linter Variables:

let g:ale_java_javalsp_executable = '/Users/jqno/Dropbox/bin/java-language-server/bin/java'
 Global Variables:

let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = v:null
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = v:null
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_insert_leave = 0
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'never'
let g:ale_linter_aliases = {}
let g:ale_linters = {'java': ['javalsp']}
let g:ale_linters_explicit = 0
let g:ale_list_vertical = 0
let g:ale_list_window_size = 10
let g:ale_loclist_msg_format = '%code: %%s'
let g:ale_lsp_root = {}
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 0
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 0
let g:ale_set_quickfix = 1
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_info = '--'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '>>'
let g:ale_sign_style_warning = '--'
let g:ale_sign_warning = '--'
let g:ale_statusline_format = v:null
let g:ale_type_map = {}
let g:ale_use_global_executables = v:null
let g:ale_virtualtext_cursor = 0
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
  Command History:

(started) ['sh', '-c', '''/Users/jqno/Dropbox/bin/java-language-server/bin/java'' -Xverify:none -m javacs/org.javacs.Main']

Actually language server features seem to have stopped working for me. I tried javalsp, eclipselsp for java, and pyls for python and autocompletion is not working.
I also tried the ch_logfile() call to check what is going on but I get no output at all with Vim:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58)

I merged that pull request now. Everyone should update javalsp and run their script.

Thanks!
I just tried again, using ch_logfile (from this comment: https://github.com/w0rp/ale/issues/1994#issuecomment-444064091 ) and this is the result:
==== start log session ====
  8.061286 SEND on 1(in): 'Content-Length: 236

{"method":"textDocument/hover","jsonrpc":"2.0","id":2,"params":{"textDocument":{"uri":"file:///Users/jqno/w/equalsverifier/equalsverifier/src/main/java/nl/jqno/equalsverifier/EqualsVerifier.java"},"position":{"character":22,"line":52}}}'
  8.061574 : looking for messages on channels
  8.063689 RECV on 1(err): '10:59:17.028	INFO	org.javacs.JavaLanguageServer updateActiveFile	Recompile active file...
'
  8.063694 on 1: Dropping message '10:59:17.028	INFO	org.javacs.JavaLanguageServer updateActiveFile	Recompile active file...
'
  8.064184 RECV on 1(err): '10:59:17.028	SEVERE	org.javacs.lsp.LSP connect	null
java.lang.NullPointerException
	at javacs/org.javacs.JavaLanguageServer.updateActiveFile(JavaLanguageServer.java:626)
	at javacs/org.javacs.JavaLanguageServer.hover(JavaLanguageServer.java:636)
	at javacs/org.javacs.lsp.LSP.connect(LSP.java:338)
	at javacs/org.javacs.Main.main(Main.java:25)

'
  8.064188 : looking for messages on channels
  8.064205 on 1: Dropping message '10:59:17.028	SEVERE	org.javacs.lsp.LSP connect	null
java.lang.NullPointerException
	at javacs/org.javacs.JavaLanguageServer.updateActiveFile(JavaLanguageServer.java:626)
	at javacs/org.javacs.JavaLanguageServer.hover(JavaLanguageServer.java:636)
	at javacs/org.javacs.lsp.LSP.connect(LSP.java:338)
	at javacs/org.javacs.Main.main(Main.java:25)

'
  8.064661 RECV on 1(out): 'Content-Length: 49

{"jsonrpc":"2.0","id":2,"result":{"code":-32603}}'
  8.064664 : looking for messages on channels
  8.064682 on 1: Invoking channel callback <SNR>84_VimOutputCallback
  8.065039 : ERROR: Error detected while processing function <SNR>84_VimOutputCallback[6]..<lambda>2[1]..ale#lsp#HandleMessage[30]..ale#hover#HandleLSPResponse:
  8.065110 : ERROR: line   26:
  8.065127 : ERROR: E716: Key not present in Dictionary: contents
  8.065144 : ERROR: E15: Invalid expression: l:result.contents
  9.071554 : looking for messages on channels

I clearly see a NullPointerException, so I dove into the code of java-language-server. I'm not familiar with the Language Server Protocol, but what I gather from the code is that the compiler variable is null. It's supposed to be initialized when it receives a message initialized (https://github.com/georgewfraser/java-language-server/blob/32123abda7097d14b1a326e6e9bee52d9ae94761/src/main/java/org/javacs/lsp/LSP.java#L239, which goes to https://github.com/georgewfraser/java-language-server/blob/a4e990d2ca941934717ac899b66d5442b66e8b29/src/main/java/org/javacs/JavaLanguageServer.java#L213). (There is also a message initialize which seems to do something else.) Does that make sense?

It would appear I am having a similar issue.
Are you aware if this is a known issue @jqno?
Using javalsp version v0.2.13 on GNU/Linux.
{"jsonrpc":"2.0","id":6,"result":{"code":-32603}}'
  8.657919 : looking for messages on channels
  8.657951 on 3: Invoking channel callback <SNR>85_VimOutputCallback
  8.658640 : looking for messages on channels
  9.068113 SEND on 3(in): 'Content-Length: 5587

{"method":"textDocument/didChange","jsonrpc":"2.0","params":{"contentChanges":[{"text":"package org.web3j.sample;\n\nimport java.math.BigDecimal;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport org.web3j.crypto.Cred>
  9.068654 SEND on 3(in): 'Content-Length: 238

{"method":"textDocument/completion","jsonrpc":"2.0","id":7,"params":{"textDocument":{"uri":"file:///home/grim/Storage/Temporary/sample-project-gradle/src/main/java/org/web3j/sample/Application.java"},"position":{"character":9,"line":18}}}'
  9.069881 : looking for messages on channels
  9.072299 RECV on 3(err): '18:09:41.226        SEVERE  org.javacs.lsp.LSP connect      null
java.lang.NullPointerException
        at javacs/org.javacs.FileStore.change(FileStore.java:188)
        at javacs/org.javacs.JavaLanguageServer.didChangeTextDocument(JavaLanguageServer.java:1338)
        at javacs/org.javacs.lsp.LSP.connect(LSP.java:293)
        at javacs/org.javacs.Main.main(Main.java:25)

'
  9.072311 on 3: Dropping message '18:09:41.226 SEVERE  org.javacs.lsp.LSP connect      null
java.lang.NullPointerException
        at javacs/org.javacs.FileStore.change(FileStore.java:188)
        at javacs/org.javacs.JavaLanguageServer.didChangeTextDocument(JavaLanguageServer.java:1338)
        at javacs/org.javacs.lsp.LSP.connect(LSP.java:293)
        at javacs/org.javacs.Main.main(Main.java:25)

'
  9.073158 RECV on 3(err): '18:09:41.227        INFO    org.javacs.JavaLanguageServer completion        Complete at /home/grim/Storage/Temporary/sample-project-gradle/src/main/java/org/web3j/sample/Application.java(19,10)
'
  9.073165 : looking for messages on channels
  9.073187 on 3: Dropping message '18:09:41.227 INFO    org.javacs.JavaLanguageServer completion        Complete at /home/grim/Storage/Temporary/sample-project-gradle/src/main/java/org/web3j/sample/Application.java(19,10)
'
  9.074355 RECV on 3(err): '18:09:41.228        SEVERE  org.javacs.lsp.LSP connect      null
java.lang.NullPointerException
        at javacs/org.javacs.JavaLanguageServer.completion(JavaLanguageServer.java:338)
        at javacs/org.javacs.lsp.LSP.connect(LSP.java:324)
        at javacs/org.javacs.Main.main(Main.java:25)

'
  9.074363 : looking for messages on channels
  9.074385 on 3: Dropping message '18:09:41.228 SEVERE  org.javacs.lsp.LSP connect      null
java.lang.NullPointerException
        at javacs/org.javacs.JavaLanguageServer.completion(JavaLanguageServer.java:338)
        at javacs/org.javacs.lsp.LSP.connect(LSP.java:324)
        at javacs/org.javacs.Main.main(Main.java:25)

No, not aware of that. In fact, I stopped using javalsp altogether since I couldn't get it to work.

The way ALE invokes the java language server is wrong (#2119). This may be the cause of the problems you are experiencing.
After building java-language-server there will be a launcher binary in the dist folder (e.g. dist/mac/bin/launcher). This binary is the one that must be used to invoke the language server:
let  g:ale_java_javalsp_executable = '/path/to/java-language-server/dist/mac/bin/launcher'

Here is my setup that works just fine:

Java Language Server build from source, commit d015f4b
I build the language server using java openjdk version "11.0.3" 2019-04-16, installed from Ubuntu packages (apt-get).

@hsanson, thank you very much for the tip, using the latest version and running it through its launcher did the trick.
Although I had tried running javalsp through launcher, the one present in the stable version I was using v0.2.13 did not include the following JLINK_VM_OPTIONS parameters:
--- 0.2.13/dist/mac/bin/launcher	2019-06-10 17:09:05.019037405 +0100
+++ 0.2.19.r1227.ce5b939/dist/mac/bin/launcher	2019-06-10 16:40:22.000000000 +0100
@@ -1,4 +1,12 @@
 #!/bin/sh
-JLINK_VM_OPTIONS=
+JLINK_VM_OPTIONS="\
+--add-exports jdk.compiler/com.sun.tools.javac.api=javacs \
+--add-exports jdk.compiler/com.sun.tools.javac.code=javacs \
+--add-exports jdk.compiler/com.sun.tools.javac.comp=javacs \
+--add-exports jdk.compiler/com.sun.tools.javac.main=javacs \
+--add-exports jdk.compiler/com.sun.tools.javac.tree=javacs \
+--add-exports jdk.compiler/com.sun.tools.javac.model=javacs \
+--add-exports jdk.compiler/com.sun.tools.javac.util=javacs \
+--add-opens jdk.compiler/com.sun.tools.javac.api=javacs"
 DIR=`dirname $0`
 $DIR/java $JLINK_VM_OPTIONS -m javacs/org.javacs.Main $@

I had tried adding them to the v0.2.13 launcher before, after seeing your contribution, but it appears they only work with a later version.
For the Arch users out there. In addition to aur/java-language-server I have also prepared a aur/java-language-server-git which currently builds version 0.2.19.r1227.ce5b939 of the javalsp and seems to work with ale by simply setting g:ale_java_javalsp_executable = 'java-language-server'.

@hsanson Thx for the update. Now, I do not see any errors, but completion still does not work for me. Would you mind posting your settings?

@Jeansen my config is available at https://github.com/hsanson/dotvim.  I recommend you use the ch_logfile to capture the communication between ALE and the java-language-server and open a new issue with your findings. I may be able to look into it.

@Jeansen here is a snippet for convenience:
:call ch_logfile(expand('~/vimch.log'), 'w')

@hsanson Thx, I will checkt that out.


after Link to page and refresh then cannot go back

Examples bug report
Example name
with-ant-design
Describe the bug
component can't navigate to previous one when refresh browser
To Reproduce
1, create about.js in pages folder, with code below
import React from 'react'
import Link from 'next/link'

export default () => {
  return (

        <Link href="/">
          index page
        </Link>

  )
}

2, add a Link in index.js, such as:
 <Link href="/about">
      about page
  </Link>

3, click link in index.js then it navigates to/about as expected
4, click link in about.js then it navigates to/ as expected
5, click link in index.js again then it navigates to /about again
6, refresh the browser
7, click link in about.js, it can't navigate to/ !
Expected behavior
click link in about.js, it can navigate to/ after refresh browser
Screenshots
nope
System information

OS: macos mojave
Browser chrome latest
Version of Next.js: latest

Additional context
no errors in browser console or terminal console

anyone can help?

I'm able to trace this issue back to https://github.com/zeit/next.js/pull/4034/files. The issue seems to be with babel-plugin-import, as the example works fine if you delete custom next.config.js and import plugin from babelrc.
I think the hack added here is causing the issue: https://github.com/notatestuser/next.js/blob/c96a7d2f98f4dc32c72faf0397b906f32d07ca53/examples/with-ant-design/next.config.js#L3-L6
When removing the hack, you run into the issue that was created over here: https://github.com/zeit/next-plugins/issues/85
This might be something the antd team needs to fix in their babel plugin.

Completely unrelated but just noting that it is my understanding that the with-ant-design-less example should be followed for best performance:

With style: "css", pre bundled css files are imported as they are.  style: true can reduce the bundle size significantly, depending on your usage of the library.
~ https://github.com/ant-design/babel-plugin-import

@Enalmada  with-ant-design-less just import the whole bundle of css , which is not good for performance

@ztanner yep,

If you import the antd components in the about page, the page transition works fine (because the css is loaded).
this works, but not all page need antd components

@YUFENGWANG Make sure you are considering production build.  The bundle size is only cut down in production with "style": true in your .babelrc.  Also, look at issue 484 for some discussion on additional stuff that could be done to help.

@Enalmada okay, I'll have a try

@Enalmada import whole css comes with a production bundle of 453kb, while import whole less files comes with a production bundle of 382kb. here are the import code in _app.js
1, import all css
import 'antd/dist/antd.css'

2, import all less
import "antd/dist/antd.less";

Well you never want to import either of those manually in production...the whole point of babel-plugin-import is that it automatically imports only what is needed.  (Though you may need to conditionally do it during development if you are using some of the optimizations in issue 484.)

@Enalmada  with-ant-design-less has the same issue that I mentioned above,  not only in with-ant-design. that's why I do import "antd/dist/antd.less"; in my _app.js. so I think loading css or less on demand still have problem


Add mouse motion to input map.

Fixes Add MouseMovement to InputMap godot-proposals#3070

this is based off of https://github.com/godotengine/godot/pull/80259, but I managed to fix the unwanted behavior exhibited in https://github.com/godotengine/godot/issues/45628. I also hit the modifier keys from the binding UI, as I don't think they are wanted for mouse motion events, though this can be changed if needed.
One part of this PR that I am uncertain of is this addition to main.cpp:
if (!Math::is_equal_approx((double)Input::get_singleton()->get_last_mouse_velocity().length_squared(), (double)0.0)) {
	Input::get_singleton()->clear_mouse_axes_action_state();
}

It's still a partial carry-over from https://github.com/godotengine/godot/pull/80259, but I reduced it to only be called once when the mouse stops moving, so behavior similar to https://github.com/godotengine/godot/issues/45628 does occur, though only when the mouse stops moving. I have a hunch that there is a better place to put this line of code, rather than at the end of Main::iterator().
My assumption is that clear_mouse_axes_action_state() should be removed, and it's logic should be worked into the Input::_parse_input_event_impl() function. This section of code looks like it does something incredibly similar, while full utilizing the action state logic that was added.
https://github.com/godotengine/godot/blob/5ca419e32c58e671284b3b7f91257179657d9114/core/input/input.cpp#L763

I'll just link what was discussed in https://github.com/godotengine/godot-proposals/issues/3070. I still don't see the point in supporting this, as mouse cannot be managed the same as a joystick anyway: mouse sensitivity needs to be dealt with as a special case, and there no point in remapping mouse motion events into any game.
Overall, I think implementing this is just encourages a bad practice, and I'd prefer if it wasn't merged.
 If people absolutely want to avoid the few added lines of code to support mouse-based motion, then I guess we can merge it. I however will not agree to add any sort of special factor/speed to the input API just for supporting sensitivity. The InputMap API being complex enough.

I agree, it would be out of scope to implement speed/sensitivity at the InputMap level. Though, I still think there is considerable value in being able to use InputEvent.is_action() and similar functions to filter mouse motions. Even if mouse motion being bound within the InputMap is not applicable for all situations, I think the possibilities greatly outweigh any potential bad practices that might arise through improper use.
Though, do let me know if those code snippets I mentioned need to be relocated or modified. I believe a more elegant solution is possible (especially for the usage of clear_mouse_axes_action_state()), however I was having some trouble finding where some input originates from.


[HIPIFY] surf2dwrite issue

Hi,
I'm trying to hipify my code, but I'm getting an error.
"surf2dwrite"
I have tried this command from "https://github.com/ROCm-Developer-Tools/HIPIFY/issues/140"

hipify-clang --print-stats --cuda-path="c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5" "c:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.5/0_Simple/simpleSurfaceWrite/simpleSurfaceWrite.cu" --skip-excluded-preprocessor-conditional-blocks -I"c:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.5\common\inc" -- -D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH
and I received this output.

I have tried both the Ubuntu and Windows operating systems.
Cuda: 10.2, 11.5, 12.2
LLVM: 15, 16
However, the problem has not yet been fixed. Is there any solution for this?

any progress or surf2Dwrite is actually not supported?


tweak

Pull Request Test Coverage Report for Build 1578
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 88.629%

Totals

Change from base Build 1575:
0.0%

Covered Lines:
2346

Relevant Lines:
2647

💛  - Coveralls


kubectl apply -f  fails if the namespace is not created before hand.

What steps did you take:
Just trying to install secretgetn-controller, using kubectl:

kubectl apply -f https://github.com/vmware-tanzu/carvel-secretgen-controller/releases/latest/download/release.yml

What happened:
the command finished with an error :

namespaces "secretgen-controller" not found

Eventually, the namespace  is created but without any resources ( no deployment, pods and ..)
customresourcedefinition.apiextensions.k8s.io/secretexports.secretgen.carvel.dev created
customresourcedefinition.apiextensions.k8s.io/secretimports.secretgen.carvel.dev created
customresourcedefinition.apiextensions.k8s.io/certificates.secretgen.k14s.io created
customresourcedefinition.apiextensions.k8s.io/passwords.secretgen.k14s.io created
customresourcedefinition.apiextensions.k8s.io/rsakeys.secretgen.k14s.io created
customresourcedefinition.apiextensions.k8s.io/sshkeys.secretgen.k14s.io created
namespace/secretgen-controller created
serviceaccount/secretgen-controller-sa created
clusterrole.rbac.authorization.k8s.io/secretgen-controller-cluster-role created
clusterrolebinding.rbac.authorization.k8s.io/secretgen-controller-cluster-role-binding created
Error from server (NotFound): error when creating "https://github.com/vmware-tanzu/carvel-secretgen-controller/releases/latest/download/release.yml": namespaces "secretgen-controller" not found

What did you expect:
create the namespace if it does not exist, before trying to install the resources there.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

I just wanted to open the same issue 👍🏻

fix will go out in the next release - thanks @kvmw and @rguske for reporting!


Proof Read entire copy

Problem Statement

Possible solutions

Don't do it manually.

I have used the following solutions to help me catch errors that my eyes are overlooking:

Using any spell checker vs-code extension like this: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker&ssr=false

Using Grammarly. Copying and pasting it to their app and then following their suggestions to improve.
(I have a paid account, DM for credentials)

The interface change really helps eyes getting unconditioned and seeing errors.

Using Grammarly. Copying and pasting it to their app and then following their suggestions to improve.
(I have a paid account, DM for credentials)

Should've seen this before 😢
Ran the whole Module-0 through my free version of Grammarly today.


[14.0x] ISPN-15425 TopologyChangeFunctionalTest random failures

https://issues.redhat.com/browse/ISPN-15425

Thanks @pruivo


Feat/aux model system

Closes #67

Example of transform:
# Create composite transform
    transform = T.Compose(
        [
            T.ToTensor(),
            T.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
        ]
    )


Is it possible to play 2 videos at once in Android?

I'm trying to play to videos at once in an android device but only one plays and the other one freezes, is it possible to have two videos playing at the same time?
In iOS appears to be possible

maybe ask in video_player or on stackoverflow.
This is not an issue with chewie.


#2582 Handling Saving and Fetching Draft Filings

Issue #: /bcgov/entity#2582
Description of changes:

Updates the saving / filing incorporations filings.

Implements a means to fetch and parse draft filings into the ui.

Updates unit testing.

Notes: Currently there is no dashboard to launch a draft from. This is mocked by setting a nrNumber in the App.vue ( line 100 ). If you save a filing to the specified number you will retrieve and parse the draft based off what nrNumber is set.

Future state: We will inject an nrNumber or other equivalent identifier into the front end from wherever we launch incorporation filings from.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

By the way, I noticed some errors and warnings in the unit test output... I think some tests are erroring out instead of "failing" the test. However, instead of blocking THIS task and PR, I raised a new task in the current sprint: /bcgov/entity#2777

By the way, I noticed some errors and warnings in the unit test output... I think some tests are erroring out instead of "failing" the test. However, instead of blocking THIS task and PR, I raised a new task in the current sprint: /bcgov/entity#2777

Ahh, i will look into this!

After speaking with @katiemcgoff, I have approvals to merge 👍

Looks great. Very clean. Awesome job!

Thanks!


small rephrasing for easier reading

I'm not going to merge this, but will change the line myself by hand as it will be adjusted anyway. Thanks for the spot.


basic and advanced table - set column width or style

Detailed description of what you want to happen
It should be possible to set the width of each column in a table like this:
{
"headerName": "Price",
"field": "price",
"width": "10%"
},
and / or
{
"headerName": "Price",
"field": "price",
"width": "100px"
},
or even use "style": "some css" to set more than only width
Upload a screenshot or reference an example if possible
No response
Why do you need this feature?
I want to show data with longer texts and in other column only number
Do you have a deadline?
No
Additional information
No response

Your issue has been approved! You can follow the latest status on our public backlog board. Thank you for your contribution!
@ralfongit
Hi Ralf, we have approved the request, but it is uncertain whether this is possible or not due to the ag-grid library limitations. We will investigate, and if possible, we will implement it. If not, we will inform you and then close the issue.

Not needed anymore as the options are already possible


License

Hi,
All the image you scraped from Google have the comuns creative license?

Hi,
I just have the license to avoid anyone for copying the dataset.


Add mechanism to register query parameters with the analyzer

Part of goccy/bigquery-emulator#312 and goccy/bigquery-emulator#234

An alternative implementation could be to use context keys, like I did with #207, which makes it a bit more straightforward.

At a higher-level, do you think the translation from BigQuery parameter types to ZetaSQL types belongs in the go-zetasqlite repository, or the bigquery-emulator repository?


Wrong documentation for vcxproj structure

This document does not use correct Labels for various Property Groups and does not explain rules which define where various properties are saved. Without Labels and properties defined in wrong groups the project cannot be edited (or even viewed) correctly in Property Pages UI in the IDE - see https://developercommunity.visualstudio.com/content/problem/580850/preferredtoolarchitecture-property-in-vcxproj-file.html
Having PropertyGroup without Label before Ms.cpp.props import is especially harmful as many properties will not be saved/evaluated correctly.
This following correctly describes vcxproj structure (with all Labels)
https://docs.microsoft.com/en-us/cpp/build/reference/vcxproj-file-structure?view=vs-2019#vcxproj-file-elements
And this one correctly explains the rules
https://docs.microsoft.com/en-us/cpp/build/reference/property-page-xml-files?view=vs-2019
PreferredToolsArchitecture  now can be changed in Project Properties UI - Configuration - Advanced

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

ID: be969ff1-c6bf-a58a-4f1e-cc6c037ab8f5
Version Independent ID: 17272cba-73e8-d640-104a-989345208ca8
Content: Walkthrough: Using MSBuild to Create a Visual C++ Project
Content Source: docs/build/walkthrough-using-msbuild-to-create-a-visual-cpp-project.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

We are in the process of moving away from GitHub issues for C++ documentation (we still accept pull requests). For details, please see Announcing a new way to give feedback on Microsoft Learn This issue will be closed after it is copied to an internal tracking system.


Cannot create Factory with multiple traits got (ArgumentError Exception: wrong number of arguments (given 1, expected 0)) Ruby 3.0, Rails 6.1.72, factory_bot_rails 6.1.0 #408

I have upgraded my application from rails 5.2 to 6.1.
and Ruby from 2.7 to 3.0
but when i rspec my test cases i got this error when i try to create a factory that have Factory and traits.
FactoryBot.define do
  factory `:registration,` class: "METS::Registration" do
  meeting { create(:meeting) }

  transient do
    attendee_attributes { {} }
  end

  email
  registration_email { email&.value }
  address_postal_code { attendee.business_address&.postal_code }
  attendance_type { METS::Registration.attendance_type_values.sample }
  attendee_type { registration_attendee_type(:invitee) }
  first_name { Faker::Name.first_name }
  last_name { Faker::Name.last_name }
  rsvp_type { meeting.default_attendance_type }

  trait :unfrozen do
    meeting { build :meeting, :unfrozen_for_registrations }
  end

  trait :attended do
    attendance_type { registration_attendance_type(:in_person) }
  end
 end
end

in Rspec/test.rb
create(:registration, :unfrozen, :as_employee, attendee: attendee, email: primary_email, email_value: primary_email.value)
Error:
Failure/Error: create(:registration, :unfrozen)
ArgumentError:
wrong number of arguments (given 1, expected 0)

@aliahmadexe you are still facing same issue?

If not then check the faker gem version. update to latest version.


Gridded Interpolation Seems broken

I am trying to use the gridded interpolation for a look up table with a linear and logspaced axis, however I'm not getting past the initial documentation tests.
A = rand(8,20)
itp = interpolate(A, Gridded{Linear})
yields the following error:
ERROR: MethodError: interpolate has no method matching interpolate(::Array{Float64,2}, ::Type{Interpolations.Gridded{Interpolations.Linear
}})
Closest candidates are:
interpolate{TWeights,TCoefs,IT<:Union{Interpolations.BSpline{D<:Interpolations.Degree{N}},Tuple{Vararg{Interpolations.BSpline{D<:Interpola
tions.Degree{N}}}}},GT<:Union{Interpolations.GridType,Tuple{Vararg{Interpolations.GridType}}}}(::Type{TWeights}, ::Type{TCoefs}, ::Any, ::Ty
pe{IT<:Union{Interpolations.BSpline{D<:Interpolations.Degree{N}},Tuple{Vararg{Interpolations.BSpline{D<:Interpolations.Degree{N}}}}}}, ::Typ
e{GT<:Union{Interpolations.GridType,Tuple{Vararg{Interpolations.GridType}}}})
interpolate{IT<:Union{Interpolations.BSpline{D<:Interpolations.Degree{N}},Tuple{Vararg{Interpolations.BSpline{D<:Interpolations.Degree{N}}
}}},GT<:Union{Interpolations.GridType,Tuple{Vararg{Interpolations.GridType}}}}(::AbstractArray{T,N}, ::Type{IT<:Union{Interpolations.BSpline
{D<:Interpolations.Degree{N}},Tuple{Vararg{Interpolations.BSpline{D<:Interpolations.Degree{N}}}}}}, ::Type{GT<:Union{Interpolations.GridType
,Tuple{Vararg{Interpolations.GridType}}}})
interpolate{TWeights,TCoefs,Tel,N,IT<:Union{Interpolations.Gridded{D<:Interpolations.Degree{N}},Tuple{Vararg{Interpolations.Gridded{D<:Int
erpolations.Degree{N}}}}}}(::Type{TWeights}, ::Type{TCoefs}, ::NTuple{N,Union{AbstractArray{T,1},Tuple}}, ::AbstractArray{Tel,N}, ::Type{IT<
:Union{Interpolations.Gridded{D<:Interpolations.Degree{N}},Tuple{Vararg{Interpolations.Gridded{D<:Interpolations.Degree{N}}}}}})
I'm currently trying to discover the proper syntax, but the intro documentation on the front page does not work.
Can someone help me out in the correct call syntax?
Thanks,
Sloan

I should also point out that the issue occurs on 0.40-rc1

Upon reading more deeply into the issues I found an example of the call.
As opposed to the syntax defined on the intro page,
one should really do:
itp = interpolate( (x_knots, y_knots), A, Tuple{Gridded{Linear}, Gridded{Linear}})
there is no option for leaving out the knots as suggested on the start page (and why should there be how can you define the locations otherwise) and you must define the Tuple for each dimension.

This is what I was worried about with the documentation change in #61. Would you like to try to improve the documentation to make it clearer? (You can just click on the README.md file, then on the little pencil icon, and start editing. Your changes will be inspected by @tlycken and/or me before they get merged, so don't worry about messing anything up.)

Sure,
I'll do some playing around and post the updates.
On Sep 15, 2015 5:17 PM, "Tim Holy"<EMAIL_ADDRESS>wrote:

This is what I was worried about with the documentation change in #61
https://github.com/tlycken/Interpolations.jl/pull/61. Would you like to
try to improve the documentation to make it clearer? (You can just click on
the README.md file, then on the little pencil icon, and start editing. Your
changes will be inspected by @tlycken https://github.com/tlycken and/or
me before they get merged, so don't worry about messing anything up.)
—
Reply to this email directly or view it on GitHub
https://github.com/tlycken/Interpolations.jl/issues/65#issuecomment-140585824
.


indicate audiobook availability

sadly just one right now

Hello,
Thank you for your PR!

sadly just one right now

That's fine. We can show it anyway. Thanks.
Kr,
Mahmoud


Xbox360 controller's left/right trigger button didn't recognized and received event

Please ensure you have given all the following requested information in your report.
Issue details
Xbox360 controller either wired or wireless whose trigger buttons on left and right are not recognized by Controllers extension of libgdx 1.9.6.
Reproduction steps/code
You can just try to create a new project with Controllers extension, then try to catch left or right trigger button, you will see that there's no such event received.
Or just follow the following step to test on my project on Github that is ready to be pulled down and tested right away.

Pull down the project from here.
In main branch, checkout 0660f5c.
Plug in your Xbox360 controller to your computer.
Try to add debug printing something out to test these lines, or set a breakpoint whether or not it actually reach certain that line when left or right trigger buttons are pressed, or just print buttonCode inside buttonDown() function.
Build and run the project.
Try to press left or right trigger button.
You will see that there is no event received when left or right trigger buttons are pressed.

Version of LibGDX and/or relevant dependencies

libgdx 1.9.6
Xbox360 controller driver for macOS from here with latest of 0.16.5. (note that I cannot see trigger buttons in their Binding section of their configuration setting in System Preferences of macOS, not sure this is also related).

Stacktrace
There is no stacktrace as it's no error, but event upon pressing or releasing such buttons are not sent to overridden class of ControllerListener.
Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[ ] Windows
[ ] Linux
[x] MacOS

After asked around in irc #libdx channel, user ShockahIWork told me that trigger is not button, it needs to be captured in sense of axis-like. Thus I need to capture it inside axisMoved function of ControllerListener.


Pre-upstream refactoring of upstreaming. compilation. synchronized to get rid of atomicfu from commonMain and align with AOSP

Fixes CMP-5737

Moved to: https://github.com/JetBrains/compose-multiplatform-core/pull/1699