Problem while executing HHL on qasm simulator

Qiskit Aqua version: 0.6.5
Python version: 3.7.6
Operating system: win 10 / IBMQ

Hi,
I have a problem when executing the HHL algorithm on the backends and on the qasm simulator (it works fine with the statevector simulator). I receive the following error :
SolverError: The solver CVXOPT is not installed.
Steps to reproduce the problem :
provider = IBMQ.get_provider(group='open')
backend = provider.get_backend('ibmq_qasm_simulator')

I'm using qiskit version 0.12.0
Here is the full output for the exception
`SolverError                               Traceback (most recent call last)
 in
6     mat = np.diag([i for i in range(1, i+1)]).tolist()
7     b = [i for i in range(1, i+1)]
----> 8     _, _, fid, width, depth = find_solution(mat, b, backend, ancillae=3)
9     d['Simulator'] = False
10     d['Diagonal'] = True
 in find_solution(mat, b, backend, ancillae)
20            orig_size = orig_size)
21
---> 22     result = algo.run(QuantumInstance(backend, skip_qobj_validation=False))
23
24     quantum_result = np.round(result['solution'], 5)
/opt/conda/lib/python3.7/site-packages/qiskit/aqua/algorithms/quantum_algorithm.py in run(self, quantum_instance, **kwargs)
65                 quantum_instance.set_config(**kwargs)
66             self._quantum_instance = quantum_instance
---> 67         return self._run()
68
69     @abstractmethod
/opt/conda/lib/python3.7/site-packages/qiskit/aqua/algorithms/single_sample/hhl/hhl.py in _run(self)
488         else:
489             self.construct_circuit(measurement=False)
--> 490             self._state_tomography()
491         # Adding a bit of general result information
492         self._ret["matrix"] = self._resize_matrix(self._matrix)
/opt/conda/lib/python3.7/site-packages/qiskit/aqua/algorithms/single_sample/hhl/hhl.py in _state_tomography(self)
440         results_noanc = self._tomo_postselect(results)
441         tomo_data = StateTomographyFitter(results_noanc, tomo_circuits_noanc)
--> 442         rho_fit = tomo_data.fit()
443         vec = np.sqrt(np.diag(rho_fit))
444         self._hhl_results(vec)
/opt/conda/lib/python3.7/site-packages/qiskit/ignis/verification/tomography/fitters/state_fitter.py in fit(self, method, standard_weights, beta, **kwargs)
117         """
118         return super().fit(method, standard_weights, beta,
--> 119                            trace=1, PSD=True, **kwargs)
/opt/conda/lib/python3.7/site-packages/qiskit/ignis/verification/tomography/fitters/base_fitter.py in fit(self, method, standard_weights, beta, **kwargs)
211
212         if method == 'cvx':
--> 213             return cvx_fit(data, basis_matrix, weights=weights, **kwargs)
214
215         raise QiskitError('Unrecognised fit method {}'.format(method))
/opt/conda/lib/python3.7/site-packages/qiskit/ignis/verification/tomography/fitters/cvx_fit.py in cvx_fit(data, basis_matrix, weights, PSD, trace, trace_preserving, **kwargs)
203     while not problem_solved:
204         kwargs['max_iters'] = iters
--> 205         prob.solve(**kwargs)
206         if prob.status in ["optimal_inaccurate", "optimal"]:
207             problem_solved = True
/opt/conda/lib/python3.7/site-packages/cvxpy/problems/problem.py in solve(self, *args, **kwargs)
288         const_dict = {id(constant): constant for constant in constants_}
289         return list(const_dict.values())
--> 290
291     def atoms(self):
292         """Accessor method for atoms.
/opt/conda/lib/python3.7/site-packages/cvxpy/problems/problem.py in _solve(self, solver, warm_start, verbose, parallel, gp, qcp, **kwargs)
566         cvxpy.error.DGPError
567             Raised if the problem is not DGP and gp is True.
--> 568         """
569         candidates = {'qp_solvers': [],
570                       'conic_solvers': []}
/opt/conda/lib/python3.7/site-packages/cvxpy/problems/problem.py in _construct_chains(self, solver, gp)
509                 dgp2dcp = self._cache.solving_chain.get(Dgp2Dcp)
510                 # Parameters in the param cone prog are the logs
--> 511                 # of parameters in the original problem (with one exception:
512                 # parameters appearing as exponents (in power and gmatmul
513                 # atoms) are unchanged.
/opt/conda/lib/python3.7/site-packages/cvxpy/problems/problem.py in _construct_chains(self, solver, gp)
495         key = self._cache.make_key(solver, gp)
496         if key != self._cache.key:
--> 497             self._cache.invalidate()
498             solving_chain = self._construct_chain(
499                 solver=solver, gp=gp, enforce_dpp=enforce_dpp)
/opt/conda/lib/python3.7/site-packages/cvxpy/problems/problem.py in _find_candidate_solvers(self, solver, gp)
432
433         ::
--> 434
435             objective = ...
436             constraints = ...
SolverError: The solver CVXOPT is not installed.
`
And here is the full code that I used
`def fidelity(hhl, ref):
solution_hhl_normed = hhl / np.linalg.norm(hhl)
solution_ref_normed = ref / np.linalg.norm(ref)
fidelity = state_fidelity(solution_hhl_normed, solution_ref_normed)
return fidelity
def create_eigs(matrix, num_ancillae, negative_evals):
ne_qfts = [None, None]
if negative_evals:
num_ancillae += 1
ne_qfts = [StandardQFTS(num_ancillae - 1), StandardIQFTS(num_ancillae - 1)]
return EigsQPE(MatrixOperator(matrix=matrix),
               StandardIQFTS(num_ancillae),
               num_time_slices=1,
               num_ancillae=num_ancillae,
               expansion_mode='suzuki',
               expansion_order=2,
               evo_time=None,
               negative_evals=negative_evals,
               ne_qfts=ne_qfts)

def find_solution(mat, b, backend, ancillae):
orig_size = len(b)
mat, b, truncate_powerdim, truncate_hermitian = HHL.matrix_resize(mat, b)

eigs = create_eigs(mat, num_ancillae=ancillae, negative_evals=False)
num_q, num_a = eigs.get_register_sizes()
init_state = Custom(num_q, state_vector=b)
rot = LookupRotation(negative_evals=eigs._negative_evals, evo_time=eigs._evo_time, scale=0.5)

algo = HHL(matrix = mat,
       vector = b,
       truncate_powerdim=truncate_powerdim,
       truncate_hermitian = truncate_hermitian,
       eigs = eigs,
       init_state= init_state,
       reciprocal = rot,
       num_q = num_q,
       num_a = num_a,
       orig_size = orig_size)

result = algo.run(QuantumInstance(backend, skip_qobj_validation=False))

return result

fidelities = []
list_N = [2, 4, 8, 16]
dicts_results = []
for i in list_N:
d = {}
mat = np.diag([i for i in range(1, i+1)]).tolist()
b = [i for i in range(1, i+1)]
_, _, fid, width, depth = find_solution(mat, b, backend, ancillae=3)
d['Simulator'] = False
d['Diagonal'] = True
d['N'] = i
d['Fidelity'] = fid
d['Circuit width'] = width
d['Circuit depth'] = depth
dicts_results.append(d)
fidelities.append(fid)`

I am not sure what version you have. You say qiskit 0.12.0 which was released in Aug 2019. Yet in the issue you say qiskit-aqua 0.6.5 and the former has 0.6.0 for Aqua. I tried 0.12.0 and your code will not run because HHL does not have a matrix_resize property. On newer versions the find_solution you provide would not unpack and failed. I just printed the result from BasicAer qasm_simulator as a backend. I saw no failures at all.
What I might suggest is to do pip install qiskit -U which will update your installation to the latest version. Then try that. (I see there are some deprecation warnings as Terra was updated in the qiskit meta package and Aqua is still using some now deprecated method - this will be fixed in the next release which should be very soon)

I updated qiskit and my algorithm works now, thanks a lot. 👍
I now get this Deprecation warning btw:
/opt/conda/lib/python3.7/site-packages/qiskit/aqua/operators/common.py:273: DeprecationWarning: The Pauli.numberofqubits method is deprecated as of 0.13.0, and will be removed no earlier than 3 months after that release date. You should use the Pauli.num_qubits method instead.
  n_qubits = pauli[1].numberofqubits

Great!, Yes, Terra deprecated a method in the latest release and an updated Aqua to correct that has not yet been released. A new version, which will correct that, will be released shortly. Since it works for you now I will close this off.


Media Management

Replaced file management with talvbansal/media-manager which should resolve issue #19
However there is one change that may impact some users.
The media manager will look in /storage/app/public folder as its root folder, and a link should be created from here to to public/storage using the php artisan storage:link command (see here for more )[https://laravel.com/docs/5.3/filesystem#the-public-disk].
The consequence of this is that in Canvas none of the existing images will work.
To fix this the following steps should be taken:

Move existing content from the public/uploads folder to the storage/app/public folder.
Run php artisan migrate (I've created a migration to prefix $post->page_image with /storage/ where necessary and a rollback to undo the change)

Hope you like it!

I've got no idea how to fix that Version Eye check, as far as I can tell I've set it in my composer.json file and have  LICENSE file in my project root :(

No worries @talvbansal, VersionEye is seeing no license in @erikgall eloquent/phpunit package either. It's not a breaking thing. All the dependencies should still be up to date, I'll still be able to merge without that passing.

Can't wait to check this out! Just gotta make sure I write some sort of upgrade path now for those who already are using Canvas, but it looks like you detailed it out pretty well.

Awesome! I cant wait to hear what you think!

@austintoddj I added a license to the package's composer.json and it was tagged in the most recent release but VersionEye keeps checking v1.0.5.. I'm not sure why it hasn't updated on their end yet..

@talvbansal Looking at the PR right now. If you go to the admin/posts page, does it go through? My app keeps hanging. Media page looks slick though, just looking at the integration with posts, wanted to know if you had any errors traversing the rest of the app.

Sure thing, can't wait to see the fix list 😀

Ok, first off, I want to thank you @talvbansal, this is an AWESOME feature! Really enjoyed going through this, and I think it makes Canvas so much better than it was before. The changes I listed below aren't anything major, they mainly detail how this can fit in the current UI/UX a little better. Let me know your thoughts and how feasible they are, or if they are unclear in any way. Again, thanks for making this PR, can't wait to merge it in.
Post Page /admin/post/create /admin/post/edit

For the Page Image input, could we have a button next to the input that says Select Image that would open up the Media Library popup, but then also allow the actual input to be clicked on, and you could remove the path if you didn't want an image anymore? Right now if you choose an image, you can't go back to having no image.
Change icons to ZMDI icons so it matches the rest of the site

General Tweaks on the Media Library

Have a Confirm? message for deleting files/folders so someone can't accidentally delete one without thinking.
Rename item: The New name input needs to have the material blue underline on focus like the other inputs on the site
New Folder: The Folder name input needs to have the material blue underline on focus like the other inputs on the site
Add a space between the words and the icons on all the buttons, looks like it's just a little too tight
Change highlight color to be like the blue primary on the site, or something just a little more consistent with the site than the current yellow
All notifications, success/error should be the inverse black consistent with the rest of the site
Could we remove the black circular preloader altogether? I don't think it fits with the rest of the site, and I think just the clean white on Refresh or loading might look better.
On the image preview and details section on the right-hand side of the library, could we change DATE to Uploaded on
On the image preview and details section on the right-hand side of the library, could we change PUBLIC URL to URL, and instead of having the Click Here to open in the image in another tab, just have the actual image path?

Thanks for checking it out and for all of your feedback!  I've made all of your recommended changes with the exception of the following:

Change icons to ZMDI icons so it matches the rest of the site
Could we remove the black circular preloader altogether? I don't think it fits with the rest of the site, and I think just the clean white on Refresh or loading might look better.

As the media manager is supposed to be used in other projects (I am in a few work projects already) I need to keep it portable and so need to bundle the icons with it, I'd be happy to change the icons provided that they were SVG's and not font icons. Listen to this for an overview on why SBG's are better.
I think its important to have some visual feedback for potentially long running operations like refreshing the file list or uploading so I've decided to keep the loading icon, however it was too big before so I've reduced it in size and styled it to match Canvas's primary colour as well as adding the text "Loading..." after it.
Take a look and once we're done with this I'll make the change for scroll to top mentioned in #179 - just didn't want to put two features into this PR

Awesome, thanks @talvbansal! I'll look at this today and we'll keep this moving.

@talvbansal Just looked it over, and am super happy with the way this turned out. Last fix:
Looks like the modal that the media manager uses clashes just a bit with the other modals on the site, hopefully this wouldn't make it unusable for your other projects if you made the Media Manager modals look a bit more like the rest on Canvas. Here is a screen shot of your modal:

And here is one of Canvas' modals:

So it looks like the padding/size might need to be addressed to give it some breathing room, the buttons, the  element, and icons on the delete button. Maybe more, but that's what I could see right away. Would you be able to make it a little more closely aligned with the others?
If so, then that should be the last fix before I merge this in 👍

Yep totally fine with doing that, I'll take a look at that now

Take a look now, they should match the existing modal windows :)


Missile in ground

when I creative break the missile in bedrock it is grabbing the top if the dynamo when it is powered.

No clue what you mean

No break block animation


Microsoft/signalr with module federation in angular 16 gives error as below Uncaught TypeError: Failed to resolve module specifier "module". Relative references must start with either "/", "./", or "../".

Duplicate

Duplicate


Docs: update ex_doc settings and installation docs

Thanks for your work on this package! I'm going to be giving it a go fairly soon to integrate a library I'm working on with VSCode.
While browsing, I noticed a couple small documentation-related things that I've updated in this PR:

Changes to docs/0 in mix.exs:

Added a :source_url - this allows the generated docs to link to source
Added a :main - this allows https://hexdocs.pm/gen_lsp to redirect to the GenLSP module doc instead of the API reference. In my opinion, the GenLSP module doc is a much more useful starting-off point when viewing the docs.

Updated "Installation" section of the README to reflect that this package has indeed been published. 🙂

@mhanberg Done (amended commit)! I moved :source_url to project/0 and confirmed that links do indeed still work. 😄


Two problem about update function

I have two problem about update function after read your code. And could anyone explanation it for me? I am very appreciated.
Firstly, I can't understand what role does variable  "num_sample" play when train q network?
# train q network
num_sample = 1
target_q = 0.0
for i in range(num_sample):
      target_act_next_n = [agents[i].p_debug['target_act'](obs_next_n[i]) for i in range(self.n)]
      target_q_next = self.q_debug['target_q_values'](*(obs_next_n + target_act_next_n))
      target_q += rew + self.args.gamma * (1.0 - done) * target_q_next
target_q /= num_sample

Secondly, why the loss of p should be loss = pg_loss + p_reg * 1e-3, and what role does p_reg play in the loss.

p_reg is regularizing p_values obtained from the following:
p = p_func(p_input, int(act_pdtype_n[p_index].param_shape()[0]), scope="p_func", num_units=num_units).
You can notice that p_values are being used to compute the pg_loss.
I don't know yet why they have used num_sample because equalling it to 1 does not seem to do anything useful.

@kevin-y-ma @Ah31  Could you reproduce the results. Also, it seem num_sample = 1 is a bug? i think it should be num_sample = len(obs_next_n).

@kevin-y-ma @Ah31 Could you reproduce the results. Also, it seem num_sample = 1 is a bug? i think it should be num_sample = len(obs_next_n)?

Will this variable affect the experimental results?

p_reg is regularizing p_values obtained from the following: p = p_func(p_input, int(act_pdtype_n[p_index].param_shape()[0]), scope="p_func", num_units=num_units). You can notice that p_values are being used to compute the pg_loss.
I don't know yet why they have used num_sample because equalling it to 1 does not seem to do anything useful.

There is two variables both named i.


Error message upon successfully deleting table through Builder GUI

When deleting a table through the Builder GUI, October throws a message that it can't find the table after it successfully deletes it.
Details -
When deleting a table the window for 'Save and Apply / Cancel' is overridden by this error message after pressing 'Save and Apply'. After dismissing the error message, the original 'Save and Apply / Cancel' window remains. However, pressing 'Cancel' at this point merely dismisses the window because the table has already been successfully dropped. You must also now refresh the page to see the table disappear.

This has been fixed as of https://github.com/rainlab/builder-plugin/commit/1f8c5abb30f4f00d4b06dd88751c02577815dc9f and has been released with v1.0.26 of the Builder plugin.


[Docs]: Doc URls throws a 404 error

Is there an existing issue for this?

[X] I have searched the existing issues

Documentation Link
No response
Discord/slack/intercom Link
No response
Describe the problem and improvement.
The below URLs are throwing a 404:
https://docs.appsmith.com/advanced-concepts/how-to-implement-custom-authentication-on-appsmith?q=error
https://docs.appsmith.com/reference/widgets/menu-button
https://docs.appsmith.com/v/v1.2
https://docs.appsmith.com/advanced-concepts/embed-appsmith-into-existing-application1
https://docs.appsmith.com/learning-and-resources/how-to-guides
https://docs.appsmith.com/reference/readme-1/actions/download
https://docs.appsmith.com/reference/readme-1/actions/copy-to-clipboard
https://docs.appsmith.com/v/v1.2/
https://docs.appsmith.com/v/v1.2.1/troubleshooting-guide/action-errors
https://docs.appsmith.com/reference/readme-1/actions/close-modal
https://docs.appsmith.com/how-to-guides
https://docs.appsmith.com/how-to-guides/how-to-work-with-local-apis-on-appsmith
https://docs.appsmith.com/reference/readme-1/actions/show-modal
https://docs.appsmith.com/advanced-concepts/how-to-implement-custom-authentication-on-appsmith
https://docs.appsmith.com/datasource-reference/querying-snowflake
https://docs.appsmith.com/reference/readme-1/actions/intervals-time-events
https://docs.appsmith.com/core-concepts/data-access-and-binding/displaying-data-read/display-data-tables
https://docs.appsmith.com/reference/readme-1/context-object
https://docs.appsmith.com/reference/readme-1/actions
https://docs.appsmith.com/core-concepts/application-layout
https://docs.appsmith.com/v/v1.2.1/how-to-guides?q=error
https://docs.appsmith.com/changelog
https://docs.appsmith.com/getting-started/tutorials/review-moderator-dashboard/advanced-concepts/invite-users
https://docs.appsmith.com/getting-started/tutorials/building-a-store-catalog-manager/advanced-concepts/invite-users
https://docs.appsmith.com/getting-started/tutorials/building-a-store-catalog-manager/reference/widgets/input
https://docs.appsmith.com/reference/readme-1/actions/show-alert
https://docs.appsmith.com/reference/readme-1/actions/store-value
https://docs.appsmith.com/v/v1.2/widget-reference/dropdown
https://docs.appsmith.com/widget-reference/menu-button
https://docs.appsmith.com/assets/images/Screenshot_2022-07-21_at_3.02.48_PM_
https://docs.appsmith.com/v/v1.2.1/how-to-guides/how-to-implement-custom-authentication-on-appsmith
https://docs.appsmith.com/reference/widgets/menu-button?q=error
https://docs.appsmith.com/how-to-guides/how-to-implement-custom-authentication-on-appsmith
https://docs.appsmith.com/v/v1.2.1/widget-reference/menu-button
https://docs.appsmith.com/v/v1.2.1/widget-reference/video
https://docs.appsmith.com/getting-sta
https://docs.appsmith.com/advanced-co
https://docs.appsmith.com/v/v1.2.1/?q=error
https://docs.appsmith.com/assets/files/restart-container-883f911b6163479131f70ab231412974.sh
https://docs.appsmith.com/framework-reference/cheat-sheet
https://docs.appsmith.com/reference/appsmith-framework/actions/reset-widget
https://docs.appsmith.com/core-concepts/designing-an-application/app-theming
https://docs.appsmith.com/core-concepts/writing-code/appsmith-framework
https://docs.appsmith.com/assets/images/Appsmith__Keyboard_Shortcuts__Windows_
https://docs.appsmith.com/reference/readme-1
https://docs.appsmith.com/core-concepts/building-the-ui
https://docs.appsmith.com/advanced-concepts/more/how-to-work-with-local-apis-on-appsmith/
https://docs.appsmith.com/reference/readme-1/query-object
https://docs.appsmith.com/reference/appsmith-framework/actions
https://docs.appsmith.com/reference/readme-1/actions/reset-widget
https://docs.appsmith.com/reference/widgets/Table
https://docs.appsmith.com/reference/widgets/Text
https://docs.appsmith.com/third-party-services/google-maps
https://docs.appsmith.com/learning-and-resources/tutorials/building-a-store-catalog-manager/advanced-concepts/invite-users
https://docs.appsmith.com/learning-and-resources/tutorials/review-moderator-dashboard/advanced-concepts/invite-users

After fixing #1377. Some URL redirects are fixed. Only the below URLs are throwing a 404:
https://docs.appsmith.com/advanced-concepts/embed-appsmith-into-existing-application1
https://docs.appsmith.com/reference/readme-1/actions/download
https://docs.appsmith.com/reference/readme-1/actions/copy-to-clipboard
https://docs.appsmith.com/reference/readme-1/actions/close-modal
https://docs.appsmith.com/reference/readme-1/actions/show-modal
https://docs.appsmith.com/datasource-reference/querying-snowflake
https://docs.appsmith.com/reference/readme-1/actions/intervals-time-events
https://docs.appsmith.com/core-concepts/data-access-and-binding/displaying-data-read/display-data-tables
https://docs.appsmith.com/reference/readme-1/context-object
https://docs.appsmith.com/reference/readme-1/actions
https://docs.appsmith.com/core-concepts/application-layout
https://docs.appsmith.com/changelog
https://docs.appsmith.com/getting-started/tutorials/review-moderator-dashboard/advanced-concepts/invite-users
https://docs.appsmith.com/getting-started/tutorials/building-a-store-catalog-manager/advanced-concepts/invite-users
https://docs.appsmith.com/getting-started/tutorials/building-a-store-catalog-manager/reference/widgets/input
https://docs.appsmith.com/reference/readme-1/actions/show-alert
https://docs.appsmith.com/reference/readme-1/actions/store-value
https://docs.appsmith.com/assets/images/Screenshot_2022-07-21_at_3.02.48_PM_
https://docs.appsmith.com/getting-sta
https://docs.appsmith.com/advanced-co
https://docs.appsmith.com/v/v1.2.1/?q=error
https://docs.appsmith.com/assets/files/restart-container-883f911b6163479131f70ab231412974.sh
https://docs.appsmith.com/framework-reference/cheat-sheet
https://docs.appsmith.com/reference/appsmith-framework/actions/reset-widget
https://docs.appsmith.com/core-concepts/designing-an-application/app-theming
https://docs.appsmith.com/core-concepts/writing-code/appsmith-framework
https://docs.appsmith.com/assets/images/Appsmith__Keyboard_Shortcuts__Windows_
https://docs.appsmith.com/reference/readme-1
https://docs.appsmith.com/core-concepts/building-the-ui
https://docs.appsmith.com/reference/readme-1/query-object
https://docs.appsmith.com/reference/appsmith-framework/actions
https://docs.appsmith.com/reference/readme-1/actions/reset-widget
https://docs.appsmith.com/third-party-services/google-maps


Still NOT working when using a HTTP proxy

Bug #180 should be reopened, as the issue is not solved, moreover when using a proxy both online and offline transactions will fail.
All command buttons ("Generate information", "Send Entire Balance", "Generate Transactions", etc.) do NOT work, neither with Firefox nor with Chrome, so the procedure cannot be completed.

I need you to provide me with more details. There were numerous people that confirmed it was now  working after we pushed the update.

This is what I get:

Notice the account balance is not shown, so clicking the link "Send Entire Balance" has no effect.

What more details would be helpful?

Please right click, click "Inspect" or "Inspect Element" and click on the "Console" tab and either copy/paste the red text in there or take a screenshot. I just got another report of this with details and so we're looking into the cause further.

Internal note:
Change the ETH / ETC / BTC / USD to say "loading" like tokens do instead of just being blank

What element shall I inspect? The "Generate Transaction" button?

It doesn't matter --- the console will show any errors on the page. Do it once you have unlocked your wallet and seeing no loaded balances for best results.

The only console output is on the CSS tab (JS and others are empty):
Error in parsing value for ‘-webkit-text-size-adjust’.  Declaration dropped.etherwallet-master.min.css:2:155
Unknown pseudo-class or pseudo-element ‘-webkit-inner-spin-button’.  Ruleset ignored due to bad selector.etherwallet-master.min.css:2:1425
Unknown pseudo-class or pseudo-element ‘-webkit-search-cancel-button’.  Ruleset ignored due to bad selector.etherwallet-master.min.css:2:1600
Unknown property ‘orphans’.  Declaration dropped.etherwallet-master.min.css:3:577
Unknown property ‘widows’.  Declaration dropped.etherwallet-master.min.css:3:586
Expected color but found ‘auto’.  Expected color but found ‘-webkit-focus-ring-color’.  Expected end of value but found ‘-webkit-focus-ring-color’.  Error in parsing value for ‘outline’.  Declaration dropped.etherwallet-master.min.css:3:1419
Error in parsing value for ‘margin-top’.  Declaration dropped.etherwallet-master.min.css:3:21564
Expected color but found ‘auto’.  Expected color but found ‘-webkit-focus-ring-color’.  Expected end of value but found ‘-webkit-focus-ring-color’.  Error in parsing value for ‘outline’.  Declaration dropped.etherwallet-master.min.css:3:21811
Unknown pseudo-class or pseudo-element ‘-ms-input-placeholder’.  Ruleset ignored due to bad selector.etherwallet-master.min.css:3:22413
Unknown pseudo-class or pseudo-element ‘-webkit-input-placeholder’.  Ruleset ignored due to bad selector.etherwallet-master.min.css:3:22464
Expected media feature name but found ‘-webkit-min-device-pixel-ratio’.etherwallet-master.min.css:3:22873
Error in parsing value for ‘margin-top’.  Declaration dropped.etherwallet-master.min.css:3:24032
Unknown property ‘touch-action’.  Declaration dropped.etherwallet-master.min.css:3:26514
Unknown property ‘user-select’.  Declaration dropped.etherwallet-master.min.css:3:26833
Expected color but found ‘auto’.  Expected color but found ‘-webkit-focus-ring-color’.  Expected end of value but found ‘-webkit-focus-ring-color’.  Error in parsing value for ‘outline’.  Declaration dropped.etherwallet-master.min.css:3:26965
Expected ‘none’, URL, or filter function but found ‘alpha(’.  Error in parsing value for ‘filter’.  Declaration dropped.etherwallet-master.min.css:3:27346
Expected ‘none’, URL, or filter function but found ‘alpha(’.  Error in parsing value for ‘filter’.  Declaration dropped.etherwallet-master.min.css:3:37132
Expected color but found ‘solid\9 ’.  Expected end of value but found ‘solid\9 ’.  Error in parsing value for ‘border-top’.  Declaration dropped.etherwallet-master.min.css:3:37323
Expected ‘none’, URL, or filter function but found ‘progid’.  Error in parsing value for ‘filter’.  Declaration dropped.etherwallet-master.min.css:3:38595
Expected ‘none’, URL, or filter function but found ‘alpha(’.  Error in parsing value for ‘filter’.  Declaration dropped.etherwallet-master.min.css:3:48147
Expected ‘none’, URL, or filter function but found ‘alpha(’.  Error in parsing value for ‘filter’.  Declaration dropped.etherwallet-master.min.css:3:48256
Expected ‘none’, URL, or filter function but found ‘alpha(’.  Error in parsing value for ‘filter’.  Declaration dropped.etherwallet-master.min.css:3:49095
Expected ‘none’, URL, or filter function but found ‘alpha(’.  Error in parsing value for ‘filter’.  Declaration dropped.etherwallet-master.min.css:3:49149
Unknown property ‘user-select’.  Declaration dropped.etherwallet-master.min.css:3:58128
Error in parsing value for ‘display’.  Declaration dropped.etherwallet-master.min.css:3:59779

can you send us a screenshot of the network tab, open the site then open developer tools click on network tab and refresh the page, this will show us all the network calls it makes.  Thank you for helping us figure out the issue

Here's one that someone sent me earlier. Not sure if same issue.
etherwallet-master.js:27480 POST https://rpc.myetherwallet.com/api.mew 400 ()

Here is the screenshot, with the above mentioned POST highlighted:

Try uploading/linking to imgur or https://ipfs.pics/?

Another similar report:

Unfortunately they're not loading again and it cost me from taking advantage of an accidental sell order at a really low price. Here's what my wallet looks like when I go to "View Tokens": http://imgur.com/a/FLJvj
Here's the error I see when I go to "Inspect Element" on that page and click console: http://imgur.com/a/V3gS3

Error for this case is: ERR_NAME_NOT_RESOLVED for https:rpc.myetherwallet.com/api.mew


(bedrock): add inference profiles / cross-region inference

Describe the feature
An inference profile in the context of Amazon Bedrock is a configuration that allows you to route model inference traffic to multiple AWS Regions for increased availability and throughput.
https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html

Use Case
Add inference profiles for improved availability and to access certain models which are only available in certain regions through the usage of inference profiles.
Proposed Solution
Define BedrockInferenceProfile as follows:
export enum InferenceProfileRegion {
  /**
   * EU: Frankfurt (eu-central-1), Ireland (eu-west-1), Paris (eu-west-3)
   */
  EU = 'eu',
  /**
   * US: N. Virginia (us-east-1), Oregon (us-west-2)
   */
  US = 'us',
}

export interface InferenceProfileProps {
  /**
   * The geo region where the traffic is going to be distributed.
   */
  readonly region: InferenceProfileRegion;
  /**
   * A model supporting cross-region inference.
   * @see https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html
   */
  readonly model: BedrockFoundationModel;
}

export class BedrockInferenceProfile extends Resource {
  /**
   * @example 'us.anthropic.claude-3-5-sonnet-20240620-v1:0'
   */
  public readonly profileId: string;
  /**
   * @example 'arn:aws:bedrock:us-east-1:123456789012:inference-profile/us.anthropic.claude-3-5-sonnet-20240620-v1:0'
   */
  public readonly profileArn: string;
  constructor(scope: IConstruct, id: string, props: InferenceProfileProps) {
    super(scope, id);
    this.profileId = `${props.geoRegion}.${props.model.modelId}`;
    this.profileArn = Arn.format({
      service: 'bedrock',
      resource: 'inference-profile',
      resourceName: this.profileId,
      arnFormat: ArnFormat.SLASH_RESOURCE_NAME,
    }, Stack.of(scope));
  }
}

doing so, the definition of the Inference Profile would be as follows:
new BedrockInferenceProfile(this, 'InferenceProfile', {
  region: InferenceProfileRegion.EU,
  model: BedrockFoundationModel.ANTHROPIC_CLAUDE_SONNET_V1_0,
})

Other Information
No response
Acknowledgements

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

Support in Knowledge Bases and thus Prompt Management has arrived. Will create a PR shortly.

CFN Spec updated, awaiting release in CDK.

It is available as of CDK v2.166 -> https://github.com/aws/aws-cdk/pull/32007

Referencing https://github.com/awslabs/generative-ai-cdk-constructs/issues/796


SecureSocket connection to TLSv1.3 not working

Hi, i'm trying to write a secure dart client for a TCP server with a min version of TLSv1.3.
The connection errors out with:
HandshakeException: Handshake error in client (OS Error:
        TLSV1_ALERT_PROTOCOL_VERSION(tls_record.cc:587))
      _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:103:51)
      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:832:21)
      _RawSecureSocket._closeHandler (dart:io/secure_socket.dart:825:9)
      _RawSecureSocket._eventDispatcher (dart:io/secure_socket.dart:768:9)
      _RootZone.runUnaryGuarded (dart:async/zone.dart:1316:10)
      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:266:7)
      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:773:19)
      _StreamController._add (dart:async/stream_controller.dart:649:7)
      _StreamController.add (dart:async/stream_controller.dart:595:5)
      new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1422:35)
      _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:912:18)
     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

I checked the documentation for SecurityContext, but doesn't look like i can explicitly ask it to use 1.3. Even if i don't, TCP negotiations will default to the highest supported version right? Does this mean that Dart does not support anything above TLSV1?
dart --version
Dart VM version: 2.8.0-dev.8.0.flutter-514a8d4c84 (Fri Feb 7 13:36:03 2020 +0000) on "windows_x64"

I have tested both on an android device with flutter, an on a Windows and Mac system. The error persists.
TLSv1 contains multiple known vulnerabilities and has been deprecated in most places for a over a year now, so i would really prefer not to downgrade.
Edit: I just downgraded the server to accept TLSv1.2, and the client seems to be working. The error message had me thinking that the client could only handle TLSv1, but looks like the error only prints the major version?

/cc @sortie @ZichangG

Non-fatal Exception: java.lang.Exception: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:354))

I think this is relative. https://github.com/dart-lang/sdk/issues/37173

I would be interested in 1.3 support as well. When I open a websocket connection with a server that accepts only 1.3 it says that it failed the negotiation (as the dart side doesn't support it, apparently)

I did a quick look at the sources. The version of boringssl we are using is not enabling TLS1.3 by default (though it is supported and thus can be enabled by calling SSL_CTX_set_max_proto_version with TLS1_3_VERSION). BoringSSL at master seems to enable the support by default.
@aam could you attempt to roll boringssl forward? We have not rolled it since Sep 2019.
/cc @a-siva

@rmacnak-google started boringssl roll couple weeks ago https://dart-review.googlesource.com/c/boringssl_gen/+/182980.

Rolling boringssl creates new test failures that start at the commit that enables TLS 1.3; https://dart-review.googlesource.com/c/sdk/+/182961. I don't understand TLS well enough to say if dart:io is doing something wrong and failing notice a handshake failure somewhere, or if TLS 1.3 exchanges fewer messages in the handshake such that the client is expected to speculate the handshake worked until a later read error.

I think it's benign and as expected https://stackoverflow.com/questions/62459802/tls-1-3-client-does-not-report-failed-handshake-when-client-certificate-verifica.
When server needs clients certificate, but client doesn't provide any, client used to(before TLS 1.3) fail immediately, but with TLS 1.3 client reports successful connection, yet it gets disconnected right away since server dropped the connection on its side.

@aam and @rmacnak-google have rolled boringssl which made things work.
Verified using the following test to connect to TLS 1.3 only server:
import 'dart:convert';
import 'dart:io';

void main() async {
  final client = HttpClient();
  try {
    final req = await client.getUrl(Uri.parse('https://tls13.1d.pw/'));
    final res = await req.close();
    print(res.statusCode);
    print(await res.transform(utf8.decoder).join(''));
  } finally {
    client.close();
  }
}

before
$ dart /tmp/tls13-test.dart
Unhandled exception:
HandshakeException: Handshake error in client (OS Error:
        TLSV1_ALERT_PROTOCOL_VERSION(tls_record.cc:587))

Now
$ dart /tmp/tls13-test.dart
200
<!DOCTYPE html><html><head><link rel="stylesheet" href="/assets/styles.css" /><title>TLS 1.3 connection test server at tls13.1d.pw</title></head><body>
...

Thanks
On Mon, 22 Feb 2021 at 12:46, Vyacheslav Egorov<EMAIL_ADDRESS>wrote:

Closed #41061 https://github.com/dart-lang/sdk/issues/41061.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/41061#event-4359246477, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABCY4LRM4XNIN5UM5B2QZDTAI7X5ANCNFSM4LMTM7LQ
.


Pass the pylint check by an error introduced in PR #1060

Forgot to run pylint check on test machine while CI is broken. Now:
$ python3 -m tox -v --workdir /tmp/.tensile-tox -e lint
...
  lint: commands succeeded
  congratulations :)

close for now since a fix in #1080 is already in place


Bot suddenly stopped working

Tried to open the bot earlier and got this response, followed by the program crashing anytime I opened it.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Discord.Net, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at NadekoBot.NadekoBot.Main()
wat do

try reinstalling

Any new info on this?

I reinstalled it using the video tutorial you guys had up, but same thing happened after restarting my computer

operating system? is the path has special characters? (öüóúőű etc.) Are you using some type of security/virus detection software? In the bot directory is there a Discord.Net.dll or sth like that?

Just had this error and solved it by running nadekobot.exe as administrator.
I think the problem for me was lack of perms to my c: drive so the bot couldn't access ffmpeg.

@neoDemi did you manage to resolve the issue?

No, I've tried all these and nothing is working

something is deleting your discord.net.dll folder. It could be antivirus.


AD update question

hi , sir:

here pte_changed always is 0 , so don't understand need to goto step_2 re-read pte agin? or  after change just goto step 8 , the process confuse me .
thanks

here pte_changed always is 0 , so don't understand need to goto step_2 re-read pte agin? or after change just goto step 8 , the process confuse me .

It depends on the test.  The A/D update process is as follows:

Load PTE and determine if it would cause any faults.
If it cause any faults then  cause the fault
If no faults are detected then determine if A/D update is needed
If A/D update is needed then atomically set the A/D bit by loading the PTE from memory, setting the A or D bit and writing the PTE back to memory.

Between step 1 and 4, the PTE in memory may change changed by say the software executing on the application processor cores. If the PTE is changed then the PTE loaded in step 4 wont match the PTE loaded in step 1. This is what the code is detecting. If the PTE changed then it restarts the process from  step 1.

thank  , get it ;

Hello sir, why haven't we considered Capas here What about AMO-HWAD storage? It seems that the default here is to definitely support hardware updates
    if ( (gpte->A == 1) && (gpte->D == 1 || is_write == 0) &&
         (gpte->D == 1 || is_implicit == 0 || gpte->W == 0 || GADE == 0 || SADE == 0) ) goto step_8;

    // A and/or D bit update needed
    if ( GADE == 0 ) return GST_PAGE_FAULT;

The IOMMU checks that neither GADE or SADE can be 1 if the capabilities does not support HW A/D updating. Since that has already been checked it is not required to check it again.

Sorry sir, I just saw the description you just mentioned in the code.


RTM client running in docker was disconnected immediately after first connection

Description
Running a very simple RTM client from docker, while rtm_connect() return True indicating a successful connection, the subsequent call to rtm_read() failed immediately.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
This is the simple script , it runs without any problem if it is not in docker container
if slack_client.rtm_connect():
    print("Connected to Slack")
    while True:
        slack_client.rtm_read()
        time.sleep(READ_WEBSOCKET_DELAY)

Reproducible in:
If run the script (see above) from a docker container, gets the following error
slack-bot       | DEBUG: Starting new HTTPS connection (1): slack.com:443
slack-bot       | DEBUG: https://slack.com:443 "POST /api/rtm.start HTTP/1.1" 200 5759
slack-bot       | DEBUG: RTM connected
slack-bot       | DEBUG: RTM disconnected
slack-bot       | Connected to Slack
slack-bot       | Traceback (most recent call last):
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/slackclient/server.py", line 278, in websocket_safe_read
slack-bot       |     data += "{0}\n".format(self.websocket.recv())
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 313, in recv
slack-bot       |     opcode, data = self.recv_data()
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 330, in recv_data
slack-bot       |     opcode, frame = self.recv_data_frame(control_frame)
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 343, in recv_data_frame
slack-bot       |     frame = self.recv_frame()
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 377, in recv_frame
slack-bot       |     return self.frame_buffer.recv_frame()
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_abnf.py", line 361, in recv_frame
slack-bot       |     self.recv_header()
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_abnf.py", line 309, in recv_header
slack-bot       |     header = self.recv_strict(2)
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_abnf.py", line 396, in recv_strict
slack-bot       |     bytes_ = self.recv(min(16384, shortage))
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_core.py", line 452, in _recv
slack-bot       |     return recv(self.sock, bufsize)
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/websocket/_socket.py", line 112, in recv
slack-bot       |     "Connection is already closed.")
slack-bot       | websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed.
slack-bot       |
slack-bot       | During handling of the above exception, another exception occurred:
slack-bot       |
slack-bot       | Traceback (most recent call last):
slack-bot       |   File "/bot/bot.py", line 76, in <module>
slack-bot       |     run()
slack-bot       |   File "/bot/bot.py", line 71, in run
slack-bot       |     parseSlackRTM(slack_client.rtm_read())
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/slackclient/client.py", line 235, in rtm_read
slack-bot       |     json_data = self.server.websocket_safe_read()
slack-bot       |   File "/usr/local/lib/python3.7/site-packages/slackclient/server.py", line 296, in websocket_safe_read
slack-bot       |     "Unable to send due to closed RTM websocket"
slack-bot       | slackclient.server.SlackConnectionError: Unable to send due to closed RTM websocket

slackclient version: latest
python version: 3.7
OS version(s): Linux
Steps to reproduce:
The docker image is built from the Dockerfile below:
FROM python:3.7.2-alpine3.8
RUN apk update && apk upgrade && \
    apk add --no-cache && apk add build-base && apk add libffi-dev && \
    apk add libxml2-dev && apk add libxslt-dev && apk add openssl-dev
RUN mkdir /app
COPY requirements.txt /app/
WORKDIR /app

The only package in requirements.txt  is slackclient,

I hit this same problem today when I did an update to one of my Docker containers which has been working successfully for many months. I tracked it down to the recent release of the websocket-client==0.55.0 Python package.
https://pypi.org/project/websocket_client/#history
Adding pip install "websocket-client==0.54.0" before installing slackclient==1.3.0 works around the problem for me, with no other changes to the installed Python packages.

Thanks for reporting this issue! I'm closing it as a duplicate of #385. I've opened #387 as a temp fix.


Update PWA theme color to #697F01

#697F01
https://github.com/Disfactory/frontend/blob/501f090f504af8d477e2a3496cbe6eb8c09fb76a/vue.config.js#L20

related to #27


Remove overflow ellipsis from course titles (DE23270)

Course titles will display in full:

After discussion with Bob/Steve we decided that the end of course titles were too important to cut off, so at the expensive of some beauty, we're deciding to no longer truncate course names. Removing the truncation should fix all clamp related issues.

Story here: DE23270
No clampin', no worries.

I shall checkout und test. Can't imagine anything is going to go wrong, granted.

Tested, LGTM (not surprisingly)

I'm just gonna make sure things are A-OK on Mac browsers then I'll get mergy


Enhancement: Allow admins to select preferred namespace in search results

This will need some discussion
Idea:
Running site admin may want to make sure certain namespaces are promoted to top of list.
For example for sensu run public bonsai we may want to configure the site to put "sensu" and/or "sensu-plugins" namespaces at top of returns, as an opinionated preference to help users.
In the future... privately run Bonsai implementation may want to configure different preferred namespaces.

We should create a method prioritize certain namespaces toward the top of the search results

can't test search is broken in staging


Add support for i64 lowering into the VM

With the IREE VM supporting i64 in #2574 it's possible to lower from various dialects while preserving the i64 type. Support in https://github.com/google/iree/blob/main/iree/compiler/Dialect/VM/Conversion/StandardToVM/ConvertStandardToVM.cpp will need to be improved for standard ops like std.add, but also we'll want to improve the automated VM ABI conversion in VMImportOpConversion to support these as well (assuming we want to support i64 across the ABI to custom modules).
Tests in StandardToVM showing std usage with 64-bit types will be a good start.

This requires configuration plumbing.


Fix max-drivers of TableWriteNode

TableWriteNode isn't always the last plan node in driver-factory, so don't return directly when writerCount is not 1.

/cc @xiaoxmeng Can you help to review? Thanks for your help.


OpenGL error: GL_INVALID_OPERATION error generated. Texture name does not refer to a texture object generated by OpenGL. [nvidia, Windows]

Godot 3.0 alpha1 official
Windows 10 64 bits
nVidia
I got this error a little while after the import process, and it started spamming every frame when I "Open anyways" an obj that was imported as a scene:
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL        Type: Error     ID: 1282        Severity: High  Message: GL_INVALID_OPERATION error generated. Texture name does not refer to a texture object generated by OpenGL.
   At: drivers\gles3\rasterizer_gles3.cpp:123
mesege

It started spamming only after a few attempts to open obj files that were imported as scenes (same project as in #9910)

more reproduction conditions appreciated, nothing can be done with this as is

I tried again the following:

Create a project
Export a cube from Blender in it as .obj
Double-click on the .obj in Godot and click "Open anyways"

Then I saw the error.
The problem is... I tried again 5 times in various ways, it doesn't repro again. It's either random or very specific.

this maaaay be fixed since my last commit


editing ffserver.conf  file

hello,
I wanted to edit   ffserver.conf  file and make some changes in there related to video size.
I want my camera to stream video of 960x720 resolution.  right now it is streaming only 320x240 resolution as it may be specified in the   ffserver.conf   file.
I can edit the size of container in   index.html page, but it just stretches size of window and not taking higher input size.
How can i do that ?  I found the  ffserver  file (of size 26 MB)  in  /home/root/bin/ffmpeg    directory,  but it is in compiled format. So i cannot edit it.  Can you suggest me any solution ?

Have you taken a look at https://github.com/drejkim/edi-cam/issues/6 to adjust the resolution? You can also look at the higher-res branch to see how I changed the resolution from 320x240 to 640x360. I also attempted 720p, but it was more blocky and laggy. I haven't looked at ffserver.conf in ffmpeg, so unsure how to help there.


refactor(infinity): introduce a pre-configured Json

Note that InfinityService.Json is still around, but will be removed after ElementResponse moves to :sdk-infinity.

Did not see that it was a draft 🤦 Looks good though

Did not see that it was a draft 🤦 Looks good though

Had some second thoughts, we can discuss it over the week


Display in footer...

What's the trick to get the pagination controls to show in the footer of a table? If I put the controls in tfoot they show above the table not below?

I figured out a work around...


Usage with htmx

This looks like a great system.
Pair it with html and you have a static site that is reactive from the server .
You can defer load the html js for any late loaded component in the client.

@gedw99 Better use HTMZ - it uses native HTML functionalities and it doesn't require a 44KB-minified HTMX library.


Dice Helper not working for Ranged attacks

I've noticed that the dice helper doesn't actually function for any of the ranged attacks, after some poking around with the debugger it seems this is exclusively because these skills have spaces and we end up comparing nbsp from the output of the load_data function with a normal space from the messagedata.

Occurs in both:
Firefox 103.0 (64-bit)
Chrome 103.0.5060.134 (64-bit)

Work around rename in the dice_helper journal entry:
"SWFFG.SkillsNameRangedHeavy" -> "ranged: heavy"
"SWFFG.SkillsNameRangedLight" -> "ranged: light"

Interesting. I'll do some more testing. In previous versions, we ran into the opposite issue - we compared a normal space to nbsp.
@ravenmaster001 what version of Foundry, Star Wars, and the module are you using? Are you using Forge?

I'm hosting the service on an Ubuntu server; 18.04.5 LTS (GNU/Linux 5.4.0-1086-azure x86_64)
Otherwise the versions of other bits and pieces are:
Foundry 9 build 269
Star Wars FFG  1.72
FFG Star Wars Enhancements 1.0.0

Hey, I'm having the same issue. Do you know if this problem has a fix?

@Cryotechnik @ravenmaster001 what language are you using?

@wrycu English, or do you mean coding language?

Nope, that's what I was looking for, thanks. What foundry version and did you start the world in that version or was it migrated from an earlier version?

Fresh world as of yesterday with the latest version (V10 Build 291). I'm using foundry through The Forge if that's helpful.

Just tested this with the latest everything on a brand new world and it worked properly.

I am still experiencing it, even in a new world. Do you have any ideas for me to try? This world only has the system and the enhancement module installed.

@ravenmaster001 Is this producible for you?

Fixed, will be released in 2.0.1.


some error message about running in 3.36

I kown it just support 38 and 40 clearly, but from #7, I guess that you are try to learn more about how to run it in 36, I am not sure if you have any plan to develop this extension in 36 which I really hope you to do so, and what I can do is helping to test it in 36 and tell you what you need.
This is what I get from journalctl -f -o cat /usr/bin/gnome-shell after enabling this extension
[MediaControls] Enabling
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa1c900 Gjs_ui_popupMenu_PopupImageMenuItem.popup-menu-item:first-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa1c900 Gjs_ui_popupMenu_PopupImageMenuItem.popup-menu-item:first-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa1d140 StLabel.popup-menu-ornament:first-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa1c900 Gjs_ui_popupMenu_PopupImageMenuItem.popup-menu-item:first-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa1ffc0 StLabel:last-child ("setting")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa22560 Gjs_ui_popupMenu_PopupImageMenuItem.popup-menu-item ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa22560 Gjs_ui_popupMenu_PopupImageMenuItem.popup-menu-item ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa22d70 StLabel.popup-menu-ornament:first-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa22560 Gjs_ui_popupMenu_PopupImageMenuItem.popup-menu-item ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa27210 StLabel:last-child ("locking")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa2b120 Gjs_ui_popupMenu_PopupSubMenuMenuItem.popup-menu-item popup-submenu-menu-item:last-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa2b120 Gjs_ui_popupMenu_PopupSubMenuMenuItem.popup-menu-item popup-submenu-menu-item:last-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa2bb10 StLabel.popup-menu-ornament:first-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52f9e8080 StBoxLayout ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa2b120 Gjs_ui_popupMenu_PopupSubMenuMenuItem.popup-menu-item popup-submenu-menu-item:last-child ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55b52fa2dd70 StLabel ("shutdown / layout")] which is not in the stage.
JS ERROR: Gio.IOErrorEnum: Open file /home/jadevane/.config/media-controls/cache/ZmlsZTovLy9ob21lL3dlbmppbnl1Ly5jYWNoZS9yaHl0aG1ib3gvYWxidW0tYXJ0Ly4vMmVh error: No such file or directory
_getImage@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:597:53
get trackIcon@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:735:25
get menuItem@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:714:21
_addPlayer@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:197:36
async*enable/</<@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:82:56
enable/<@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:90:31
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13

JS ERROR: Gio.IOErrorEnum: Open file /home/jadevane/.config/media-controls/cache/ZmlsZTovLy9ob21lL3dlbmppbnl1Ly5jYWNoZS9yaHl0aG1ib3gvYWxidW0tYXJ0Ly4vMmVh error: No such file or directory
_getImage@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:597:53
get trackIcon@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:735:25
_addInfoMenuItems@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:406:21
initWidgets@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:210:18
updatePlayer@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:269:33
enable/</<@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:86:42
async*enable/<@/home/jadevane/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:90:31
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13

clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed

BTW, the extension works well, but I can't access it from setting.

The problem still persists on gnome 3.36, any updates?

Sorry I didn't really have any time to look in to this issue. My work is clearing up now, so hopefully around tomorrow I will update you.

Hello, I fixed the above errors and created the pre-release for v18, it should support GNOME 3.36. If there are any furthermore issues, please report here.

I will close this issue now, If there is some issue with 3.36 support, feel free to re-open.

I met the same error with Ubuntu 20.04.5  + GNOME Shell 3.36.9.

log:

The settings of extension<EMAIL_ADDRESS>had an error:
SyntaxError: expected expression, got '?'

Stack trace:
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17


[Chk 966] get psps from ecommerce

List of Changes

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

please provide a brief description 😁

please provide a brief description 😁

Done!


Myria insert split

@jingjingwang @stechu I think we've talked about these changes.
When a fragment contains multiple heavyweight operators (e.g., join followed by join), we can insert LocalMultiwayProducer to split them into two threads on the same machine. This PR implements this change.

Coverage increased (+0.04%) to 89.49% when pulling 99dc7256e86197b490e38e4eed8f48e5d3862708 on myria-insert-split into 4cd1bb8bddbfa171019b21f7714af720b34be9de on master.

Coverage increased (+0.04%) to 89.49% when pulling 29e890c422c43e50c46f6cbf61bc17cfb14c59e1 on myria-insert-split into 4cd1bb8bddbfa171019b21f7714af720b34be9de on master.

See https://demo.myria.cs.washington.edu/profile?queryId=62190# (old way) vs http://localhost:8089/profile?queryId=62208 (new way). The latter finishes much faster because the Store and the LeapFrogJoin are in different threads... not to mention the sorts happen in different threads as well.

For now, triggers a bug in myria. Holding on deploying this permanently.

:+1:
Also, have you considered one to many split? Like local broadcast.

@stechu can you give an example where this should happen now?

I have tried to hardcode the parallel semijoin reduction algorithm in GYM.
For example, if we have query
Q(x, y, z, p) :- A(x, y), B(y, z), C(z, p)

A generalized hypertree decomposition of the query is:
..............................B(y, z)
................................ / .....
........................A(x, y)..... C(z, p)
Then the join steps are:

Bottom-up semi joins:
B'(y, z) :- A(y), B(y, z)
B''(y, z) :- C(z), B''(y, z)

Top-down semi joins
A'(x, y) :- B''(y), A(x, y)
C'(z, p) :- B''(z), C(z, p)

Do the actual joins on reduced relations. e.g. A', B'', C'

In step 2. we actually need to split B, since B is the source of two different braches of dataflow afterward.

@stechu that example makes sense -- but I think that's "common subexpression elimination", which is an entirely different optimization than what I'm going for here.
(Otherwise, you could just compute B twice, right? This is what we do now in many cases.)

@dhalperi
Exactly, that is what I do now.
"common subexpression elimination" is indeed more complicated since there are pullings from more than one operators. We need to have in memory data store to enable that. This is definitely beyond this PR.


[KYUUBI #4325] Support replace preparedStatement for Trino-jdbc

Why are the changes needed?

close #4325
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

@ulysses-you Is there a reusable trino g4 file for me to resolve parameters，like EXECUTE statement1 USING INTEGER '1','abc' ?

@yehere you can add in KyuubiTrinoFeBaseParser.g4

please remove test code when it's ready to review, thank you

Codecov Report

Merging #4417 (9f09f72) into master (222a334) will increase coverage by 3.97%.
The diff coverage is 11.00%.

:exclamation: Current head 9f09f72 differs from pull request most recent head f1349ba. Consider uploading reports for the commit f1349ba to get more accurate results

@@             Coverage Diff              @@
##             master    #4417      +/-   ##
============================================
+ Coverage     53.32%   57.29%   +3.97%
  Complexity       13       13
============================================
  Files           571      571
  Lines         31249    31353     +104
  Branches       4214     4227      +13
============================================
+ Hits          16663    17964    +1301
+ Misses        13011    11632    -1379
- Partials       1575     1757     +182

Impacted Files
Coverage Δ

...c/main/java/org/apache/kyuubi/jdbc/hive/Utils.java
58.11% <0.00%> (+17.05%)
:arrow_up:

...ala/org/apache/kyuubi/server/trino/api/Query.scala
62.58% <0.00%> (-21.06%)
:arrow_down:

.../kyuubi/sql/parser/trino/KyuubiTrinoFeParser.scala
75.00% <ø> (ø)

...ache/kyuubi/sql/plan/trino/TrinoFeOperations.scala
34.48% <16.66%> (-4.65%)
:arrow_down:

...kyuubi/server/trino/api/v1/StatementResource.scala
41.05% <17.39%> (-9.62%)
:arrow_down:

.../apache/kyuubi/server/trino/api/TrinoContext.scala
52.92% <33.33%> (-0.96%)
:arrow_down:

...ubi/sql/parser/trino/KyuubiTrinoFeAstBuilder.scala
93.02% <50.00%> (-6.98%)
:arrow_down:

...uubi/engine/spark/operation/ExecuteStatement.scala
81.00% <100.00%> (+0.19%)
:arrow_up:

...client/exception/RetryableKyuubiRestException.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/kyuubi/client/RetryableRestClient.java
48.78% <0.00%> (-24.40%)
:arrow_down:

... and 39 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

also cc @iodone if you have time to help review

thank you @yehere for the updating. There are still some comments not addressed.


Gripper velocity and force can only be configured by editing the URDF

The gripper closing speed and closing force should be configurable at runtime.  The robotiq controller does not provide a mechanism to set the speed and force. The problem can be fixed by adding ROS parameters to robotiq controller and slightly modifying the hardware_interface to export interfaces to control force and velocity.

Blocked by https://github.com/PickNikRobotics/moveit_studio/issues/6256

I noticed https://github.com/PickNikRobotics/moveit_studio/issues/6256 is closed (ros2 control maintainers fixed it another way) - does that mean this is unblocked?

I noticed PickNikRobotics/moveit_studio#6256 is closed (ros2 control maintainers fixed it another way) - does that mean this is unblocked?

I think it is unblocked now, but still waiting on this PR to go in https://github.com/ros-controls/ros2_controllers/pull/1002

It's merged!!!


[FIELDS] If "required" show asterisk.

In all fields, if the "required" attribute is true, show an asterisk to let the user know the field is mandatory.
In Crud.php, the following functions should be completed:

$this->crud->setRequiredFields(['field_1', 'field_2'], 'update/create/both');
$this->crud->setRequiredField('field_1', 'update/create/both');
$this->crud->getRequiredFields()

On second thought, this is not a critical function and would only add complexity to the library, when a way simpler solution is present:
$this->addField([
  'name' => 'name',
  'label' => 'Name *',
  'type' => 'text'
]);

As such, I propose we remove the requiredFields functionality from the core, before it's completely implemented.
@cristiantone do you agree?

This may be of use to anyone as this works fine:
 'label' => "<span style='color:red'>* </span> Name"

@jim1506 I can confirm that works. But you can also let the FormRequest do it for you, if you do this in your setup() method:
$this->crud->setRequiredFields(StoreRequest::class, 'create');
$this->crud->setRequiredFields(UpdateRequest::class, 'edit');

This will look inside your form requests and put asterisks before the ones that are "required".
CrudControllers generated after a certain point should have these two lines already in the setup() method, but old ones do not.


Allow Operation#@model to be set via private setter method

As discussed at the RubyConfAU 2016 workshop on Trailblazer, it sucks to have to set @model in an Operation via direct ivar assignment. We should be able to use a private attr_writer :)

You should be paying attention to the workshop, maaaate!

I did it in the break :P

The break was supposed as a break for you to get beers for all of us.

¯_(ツ)_/¯

@apotonick I've reverted the tests I changed, and added a new one explicitly for checking the setter :)

Anything else you need, @apotonick?

+1


Use SDL_DelayNS for lower thread jitter on non-Windows platforms

This PR uses SDL_DelayNS to improve thread pacing on all platforms except Windows where a high resolution timer was already used. As of https://github.com/libsdl-org/SDL/commit/c8f5f6d47a2036df4a5966e65021957154ee55d4, SDL_DelayNS no longer busy-loops and instead uses the high precision OS delay functions.
Tested to work the same on Windows and have lower thread jitter on Linux, but I was unable to test mobile and macOS.
Runs fine under both SDL2 and SDL3 because according to @hwsmm in the SDL3-CS bindings update https://github.com/ppy/SDL3-CS/pull/165, SDL_DelayNS doesn't require SDL3 init, but this PR will limit to only SDL3 for now to not mix SDL2 and SDL3. When o!f switches fully to SDL3 then the Windows specific implementation can be removed as SDL_DelayNS uses the same Windows high resolution timers.
Testing:

[X] Windows
[ ] macOS
[X] Linux
[ ] iOS
[ ] Android

SDL_SYS_DelayNS uses nanosleep() on Unix (non-windows). But the windows implementation uses SDL_GetTLS -- it's hard to check that this works as expected without SDL_Init.
https://github.com/libsdl-org/SDL/blob/f79f21217bbb7aba82d68076af5119956b44d046/src/timer/windows/SDL_systimer.c#L39
Also, this unnecessarily puts SDL code in things not related to windowing and input. I think it's better to just implement the nanosleep() functionality ourselves.

I thought using DelayNS is not so bad for non-Windows platforms since Apple, Android, and Linux all use different libc, and struct timespec can be different between architectures/implementations, but I guess I was overthinking then..
I am not opposed of implementing nanosleep bindings natively (this is actually what @harrislegobrick did first, and worked well enough), but we will then have a native timer bindings both for Windows and for Unix platforms in the framework, and this didn't sound so good for me. If adding nanosleep in framework is fine for everyone else, I guess that's a better way forward.

Also, this unnecessarily puts SDL code in things not related to windowing and input.

This was my initial reaction too, I'm not sure I want SDL calls anywhere outside of windowing / input handling. Curious of @smoogipoo's opinion though.

I share similar concerns to the above and would prefer implementing the relevant funcs ourselves.

With three votes against I'm not sure we need any more, I see no further point to this being open at this stage.


v9.1 no longer work for CVRP with number of stops visited per each vehicle route

What version of OR-Tools and what language are you using?
v.9.1 vs v8.0.8283
Language: C++/Java/Python/C#
Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
Routing Solver: CVRP module
What operating system (Linux, Windows, ...) and version?
Windows
What did you do?
Steps to reproduce the behavior:
In order to limit vehicle stops per each route, I added the following code before setting the first solution heuristic.
count_stop_callback = routing.RegisterUnaryTransitCallback(lambda index: 1)
dimension_name = 'Counter'
routing.AddDimension(count_stop_callback, 0, 45000, True, 'Counter')
counter_dimension = routing.GetDimensionOrDie(dimension_name)

for vehicle_id in range(data['num_vehicles']):
    index = routing.End(vehicle_id)
    solver = routing.solver()
    solver.Add(counter_dimension.CumulVar(index) <= data['stops'])

What did you expect to see
Expect to the number of stops per route does not exceed the stops being set i.e. data['stops'] for example 5 stops maximum
What did you see instead?
After upgrading the version to 9.0, the routing.SolveWithParameters(search_parameters) does not exit, it runs forever.
However, after re-install version 8.0.8283, it is back to normal.
Question is what has been changed could cause such confliction
Make sure you include information that can help us debug (full error message, model Proto).
Anything else we should know about your project / environment

Please provide a small reproducible example.

Why not using AddConstantDimension instead ?
https://github.com/google/or-tools/blob/2cb85b4eead4c38e1c54b48044f92087cf165bce/ortools/constraint_solver/routing.h#L554-L570

I'm not sure the problem is related to this constraint (which seems legit BTW).
Routing team did lot of change (heuristic etc) so I suspect your problem to unfortunately work better with previous implem
seed/setup etc...

Could you provide your search parameter setup ?
Also, did you enable log search ? guided local search and time limit ?


fix: include fieldless variants in is_x, allow creating fieldless variants

Resolves #15.
This modifies the py_wrap_union_enum macro in two ways:

is_x now works correctly for fieldless variants.
Unitless variants get a new_x method generated for them as a counterpart to from_x. This was added in part because it was missing and in part to be able to test (1).

Any pyi files in dependent projects using union enums with fieldless variants will need to be updated to include the new_x methods.

Overall LGTM, might want to mark as a breaking change due to from_unit -> new_unit rename, unless the prior method never worked in the first place

The prior method never existed. from_x was generated at the level where => type was specified at least once, which it's not for unit types.


Provide explanation of /nodetect parameter

This documentation doesn't provide explanation of /nodetect parameter, please update it.

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

ID: d796f92a-8065-b7da-6af3-1f61f52f37d9
Version Independent ID: 2c7e9f56-ab32-c6c3-4eb2-26ac6a5dbfd8
Content: Status command | Microsoft Docs
Content Source: docs/tfvc/status-command.md
Service: unspecified
GitHub Login: @douge
Microsoft Alias: sdanie

@cecedxx Thank you for letting us know, I've added this to our documentation backlog and we'll get it updated. Thank you.


Handle unsupported fork in engine API

Fix #14

Summary by CodeRabbit

New Features

Implemented enhanced error handling for fork choice updates, preventing updates after a critical timestamp.

Bug Fixes

Improved robustness of the engine's response to fork choice updates by introducing safeguards against outdated calls.

Frozen until engineAPI update


Add a BufferAllocator.copyOf(String, Charset)

Motivation:
It is somewhat common to allocate a Buffer from a String and a Charset.
Modification:
Add a convenience method that converts the string to bytes, and allocates a buffer for those bytes, in one go.
In certain cases, we can also optimise a bit, and use the byte array we get from String as the backing memory of the Buffer.
Many usages sites have also been updated to take advantage of this new API.
Result:
Cleaner code.

Should we have a default charset?

I think the charset should be explicit, to not invite trouble.


Skipped XML element binding in XMLModel

OpenUI5 version: 1.44.6
Browser/version (+device/version): Any
URL (minimal example if possible): http://embed.plnkr.co/wa0oBXbq6Exfj3NqNKmQ/ (see ui/App.controller.js)
Steps to reproduce the problem:

Enter any text in empty input of table "XML table" (bottom one)
Unfocus input field.

What is the expected result?
Input text remains. New XML element is created in XMLModel. (as it works in JSONModel ("JSON table" table))
What happens instead?
Input text disappears. New XML element is not created in XMLModel.

Hi @endrx ,
Thank you for your findings. I have created an internal incident: #1770136394
Kind Regards,
Gery (github dispatcher)

Hello @endrx,
in XML, unlike JSON, there is a differentiation between attributes and child elements. In XML attributes are adressed using "@name" and these will be created automatically, even if they don't exist in the XML before. When using "name" as a path, this refers to a child element, the XMLModel does not create child elements automatically, like the JSONModel doesn't create child objects.
Regards,
Malte

Hello @goligo ,
But in JSONModel, there is an auto creation of new element in object, if it doesn't exist there before.
Why is such a difference in logic between JSONModel and XMLModel?


Implement filter by client in events

Implement new command for events to filter by tagged clients
Note: Test case all written for

LGTM


Update Terraform integration for Azure with new fields

What type of PR is this?
/kind feature
What this PR does / why we need it:
Update Terraform integration for Azure with new fields.
Does this PR introduce a user-facing change?:
Update Terraform integration for Azure with new fields

/assign @kron4eg

/lgtm
/approve

/cherrypick release/v1.4


License?

There is no LICENSE file, and neither README.md or package.json mention how the code is licensed. May also be worth noting that a version of Node.js with async/await support (v8.x.x+ I think) is required.

You're right. Gonna fix it now. Thanks for the reminder mate!

I think it's now fixed. I'm closing the issue. Thanks 👍


Server responded with HTTP 500 on uploading file

When I'm trying to upload a file I get 500 response: https://gyazo.com/575c0eab182e3df80830ad15d8d46f67
But I can freely create files(like file created created 49 secs ago)
Here details of request: https://gyazo.com/8e9925afe948f6ac4648cd71cff0038a
And versions: https://gyazo.com/788106cc4ec0cc4ddff73177ae339000
What to do?

Can you show the relevant entries in the server log? Also would recommend to update to the latest version.

There are no error logs if you about them: https://gyazo.com/059e9ca8d51c9f1e8b26c6c5e9292e4c

Same problem after installing version 11.0.4

It's something with nginx. Retreat

No, it's not nginx. Interesting thing: if I put droppy on <IP_ADDRESS> - everything will be fine, but fail on <IP_ADDRESS> through nginx. But at the same time nginx shows no erros. Here is log:
access.log

The requests come in as /droppy/!/upload?vId=0&to=%2F&rename=0 in nginx but come in as /!/upload to droppy without a query string so are rejected by the application. Anything in your nginx config that could modify/cut off those query strings?

Yes.  But I don't know the way how to make droppy to listen for this path

That rewrite is probably breaking it. Try
location /droppy/ {
  proxy_pass http://droppy/;
}

Nope. Unsatisfactory result: https://gyazo.com/f1198db618331a917b22dc9a3f9a8689

No idea where your 403 comes from, but such a server block works for me. Not that trailing slashes are significant.
  server {
    listen 443 ssl http2;
    location /droppy/ {
      proxy_pass http://droppy/;
    }
  }

Sad

okay now


Hints is incorrect with typescript

VS Code Version:1.26.1
Extension Version:0.6.1
What's the issue: hints is incorrect with typescript

The issue here is when parsing the definition it is grabbing the first word. I will fix this tonight so it grabs the param name in all cases

And fixed as seen below. this is available in 0.7.1


Color balance

Hello @greyaz,
Thank you for sharing this nice design work.
I am happy with the default color theme, but I found a few contrast issues (particularly visible with the dark theme) that I share here in case you would like to merge them:

form's placeholder's texts are not really legible; as a fix I set them as greyscale-1; see below Before & After pictures:

task list icons were set with an opacity of ".08" (almost invisible) which is likely to be a typo for the expected value "0.8" which I restored here (although to my mind it could be 1 as the hover effect doesn't bring much meaning on this very part). See below Before & After pictures:

task summary text on yellow background required better contrast. No commit - I let you consider this point, I simply changed greyscale-1 color in dark theme settings to #DDDDDD. See below Belore & After pictures:

Hi oleole39,
Thank you for your efforts. Finally, there is someone talking about the theme itself~😄 I agree there are some contrast issues with the dark theme, but the solutions need to be adjusted:
Placeholders texts
As the light and dark themes share the same style sheet, changing greyscale-2 to greyscale-1 will also affect the light theme. Just updating the value of greyscale-2 is a better way.
Task list icons
The opacity of "0.08" is actually on purpose. The contents in the card footer could be very long. Long texts with a big amount of cards lead to a cluttered feeling. Please look at this:
I may provide an option on the settings page about this issue.
Task summary text
Yes, you are right. "#CCC" or "#DDD" can provide more contrast.

Hi greyaz,

Regarding placeholder texts, I actually did think about that at the first place, but found them more legible after the commit even for light theme. See before & after pictures (with greyscale-1 set to "#DDD" in the theme's settings)

Regarding task-list-icons & task-board-icons, I get your point.
Since those information may be important to me, having to click accurately on those invisible texts to make them visible looks like an unnecessary effort (especially if I want to check several).
I don't have a table template as full as yours to realize how annoying the "cluttered" view is, but how about changing opacity to 1 when hovering anywhere in the task-board or the table-list-row instead of specifically the icons? That would save the uncluttered view, but at the same time make it a bit easier to check the data when required. I have just pushed a new commit for this.

But in case you would feel it is more a matter of personal preferences, I would be able to live with it.
Best
PS: I didn't notice other major contrast issue so far in the theme. Maybe with the dark version of the Gantt chart though (I saw an issue had been opened for it) but I don't have a template yet to try it, and thus do not plan to change it for now.

@greyaz Thanks for explaining why the opacity of the card footer (task list icons) is .08. I thought it was a typo, and I believe many people think so. Because the length of the card footer depends on the theme settings, it would be great if there was an option to change its opacity.

@oleole39 Sorry for replying so late. I've been quite busy recently😬.
The --color-greyscale-1 in light theme can not be "#DDD", as all general texts share this color, if we change it to "#DDD", the light theme will look like this:

There are two ways to update the color of placeholders:

Change the color to greyscale-1，and add an extra style to control the opacity
Keep it as greyscale-2, but adjust the value of it
You can update your PR by following those ways.

@hoducha No problem. I've added it into my task list already.

Hi greyaz,

The --color-greyscale-1 in light theme can not be "#DDD", as all general texts share this color, if we change it to "#DDD"

Yes sorry, my explanation was confusing (and probably I had not in mind anymore at the time of writing that there are 2 distinct palettes in the theme's settings) - I had actually set #DDD to greyscale-1 only in the dark palette, as mentioned in my first message.
Therefore, my previous message has to be understood that way - there seems to be no problem shifting this element from greyscale-2 to greyscale-1 (which I just verified again just now, applying the commits attached to this PR to a fresh install of the theme), never mind the theme's variant (light/dark) one could be using.
I had indeed set greyscale-1 color to "#DDD" in the dark palette but this makes only a very slight contrast improvement (default greyscale-1 is already much better than greyscale-2 for placeholders), so it does not really matters.
To conclude, I am quite happy with the results of this PR's commits using the dark theme, and I think you would be fine too with the light theme.
I have just added a last commit which makes the "edit" icon in the cards of the table view behave the same as the other icons' of those cards (due to my previous commits in this PR), i.e. opacity to 0.08 at default state shifting to 1 when "task-board" element is hovered.

@oleole39
All updates in board-task-list.css are good, thank you for your efforts.
But as placeholders are also used in text inputs, they should differ from general text to help users recognize current status. Keeping the color of placeholders with general text the same is not a good idea.
Current Placeholders:

Users can recognize the difference after input something:

The default effect after setting color to greyscale-1

So as said before, there are two ways to update the color of placeholders:

Change the color to greyscale-1，and add an extra style to control the opacity
Keep it as greyscale-2, but adjust the value of it

@oleole39
For releasing the next version，I am going to revise (restore codes in form-components.css) and merge your PR. You can open another PR, if you have some new ideas about the color of placeholders.


update internationalization of user guides and moneropedia

run po4a script on user guides and moneropedia entries
fix issues in _i18n/es/resources/user-guides/remote_node_gui.md
removed leftovers of removed guide canonically_unique_host

thanks for fixing an error i introduced here https://github.com/monero-project/monero-site/commit/acdfda6e117b3e3e9ddf143eca4d4dbe5282868d#diff-348603a96c362170db67a77002d0dedc507955ae909ccfb0d534e7936099e64dR110 , this PR resolves it


add testcase for issue #1303

Codecov Report

Merging #1304 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1304      +/-   ##
============================================
+ Coverage     86.29%   86.29%   +<.01%
  Complexity     5448     5448
============================================
  Files           126      126
  Lines         19047    19047
  Branches       4230     4230
============================================
+ Hits          16436    16437       +1
+ Misses         1658     1657       -1
  Partials        953      953

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/alibaba/fastjson/util/JavaBeanInfo.java
88.88% <0%> (-0.28%)
129% <0%> (-1%)

...main/java/com/alibaba/fastjson/util/TypeUtils.java
85.1% <0%> (+0.18%)
404% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Setting custom User Agent for multiple ticker downloads

I'm trying to set as custom user agent header for fetching multiple tickers.
Does anyone know if this is available or will be available in the near future?
Regards,

Not supported by the looks of it.
https://github.com/ranaroussi/yfinance/blob/main/yfinance/multi.py#L179
Just need to pass the session object down there so shouldn't be too hard to implement this.

Seems it is supported by modifying requests object, library methods have parameter named session which takes requests object. Sample code is on ReadMe file or here

This could be implemented easily with e.g. yf.set_custom_header(...), storing internally in a global variable for use later. Or maybe there is a better way
If someone implements and submits a good PR, I can merge.


runserver_plus fails in Django 2.0 because MIDDLEWARE_CLASSES doesn't exist anymore

solvable by just adding MIDDLEWARE_CLASSES = MIDDLEWARE in the settings.py as a temporary solution

Thanks should be fixed (without need for workaround) in b6951d39736fc1d13e667c3a11f52f5c1764767d
Could you please test the fix in git master ?
Then we can create a new release to fix this in a release version.

I'm sorry, your reply got lost in the mail, I've just tested against latest master and it works, thanks!


Freeze actions versions

Closes #317.

Codecov Report

Merging #318 (086439d) into main (ebafd17) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main     #318   +/-   ##
=======================================
  Coverage   75.63%   75.63%
=======================================
  Files          91       91
  Lines        2750     2750
  Branches      236      236
=======================================
  Hits         2080     2080
  Misses        597      597
  Partials       73       73


Fix weekly test runs

Partial fix for #857

keep Junit results for dev.functional
only run dev.openjdk and sanity.external on x64Linux (for now)

@smlambert This will nee a rebase

As discussed reproduce compare jobs will move to dev.system category https://github.com/adoptium/temurin-build/issues/3587, could you please add dev.system to weekly test list for jdk21+ linux related platforms?

/thaw

@smlambert Unlovcked but will still need a rebase

Close this in favour of https://github.com/adoptium/ci-jenkins-pipelines/pull/929


Wrong URL jump

My deploy has 3 replicas. Like this:
(MoeLove) ➜  ~ kubectl -n work get all -l app=frontend
NAME                                  READY   STATUS    RESTARTS   AGE
pod/saythx-frontend-754f6bc45-5bj58   1/1     Running   0          29m
pod/saythx-frontend-754f6bc45-6b8ww   1/1     Running   0          41m
pod/saythx-frontend-754f6bc45-6jdkv   1/1     Running   0          29m

NAME                      TYPE       CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
service/saythx-frontend   NodePort   <IP_ADDRESS>   <none>        80:31533/TCP   41m

NAME                              READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/saythx-frontend   3/3     3            3           41m

NAME                                        DESIRED   CURRENT   READY   AGE
replicaset.apps/saythx-frontend-754f6bc45   3         3         3       41m

When I click the pod on the right, the URL will change to a wrong address.(from work namespace to default namespace)

octant server will get some error logs.
2019-09-03T13:43:46.708+0800    ERROR   event/generator.go:103  event generator error   {"err": "loading object with CacheKey[APIVersion='v1', Kind='Pod']: pods \"saythx-frontend-754f6bc45-5bj58\" not found", "err
Verbose": "pods \"saythx-frontend-754f6bc45-5bj58\" not found\nloading object with CacheKey[APIVersion='v1', Kind='Pod']\ngithub.com/vmware/octant/internal/describer.(*Object).Describe\n\t/go/src/github.com/vmware
/octant/internal/describer/object.go:84\ngithub.com/vmware/octant/internal/modules/overview.(*realGenerator).Generate\n\t/go/src/github.com/vmware/octant/internal/modules/overview/generator.go:93\ngithub.com/vmwar
e/octant/internal/modules/overview.(*Overview).Content\n\t/go/src/github.com/vmware/octant/internal/modules/overview/overview.go:229\ngithub.com/vmware/octant/internal/event.(*ContentGenerator).generateContent\n\t
/go/src/github.com/vmware/octant/internal/event/content_generator.go:75\ngithub.com/vmware/octant/internal/event.(*ContentGenerator).Event\n\t/go/src/github.com/vmware/octant/internal/event/content_generator.go:71
\ngithub.com/vmware/octant/internal/event.runGenerator\n\t/go/src/github.com/vmware/octant/internal/event/generator.go:89\ngithub.com/vmware/octant/internal/event.Stream.func1\n\t/go/src/github.com/vmware/octant/i
nternal/event/generator.go:54\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1337"}
github.com/vmware/octant/internal/event.runGenerator
        /go/src/github.com/vmware/octant/internal/event/generator.go:103
github.com/vmware/octant/internal/event.Stream.func1
        /go/src/github.com/vmware/octant/internal/event/generator.go:54
2019-09-03T13:43:55.746+0800    ERROR   event/generator.go:103  event generator error   {"err": "loading object with CacheKey[APIVersion='v1', Kind='Pod']: pods \"saythx-frontend-754f6bc45-5bj58\" not found", "err
Verbose": "pods \"saythx-frontend-754f6bc45-5bj58\" not found\nloading object with CacheKey[APIVersion='v1', Kind='Pod']\ngithub.com/vmware/octant/internal/describer.(*Object).Describe\n\t/go/src/github.com/vmware
/octant/internal/describer/object.go:84\ngithub.com/vmware/octant/internal/modules/overview.(*realGenerator).Generate\n\t/go/src/github.com/vmware/octant/internal/modules/overview/generator.go:93\ngithub.com/vmwar
e/octant/internal/modules/overview.(*Overview).Content\n\t/go/src/github.com/vmware/octant/internal/modules/overview/overview.go:229\ngithub.com/vmware/octant/internal/event.(*ContentGenerator).generateContent\n\t
/go/src/github.com/vmware/octant/internal/event/content_generator.go:75\ngithub.com/vmware/octant/internal/event.(*ContentGenerator).Event\n\t/go/src/github.com/vmware/octant/internal/event/content_generator.go:71
\ngithub.com/vmware/octant/internal/event.runGenerator\n\t/go/src/github.com/vmware/octant/internal/event/generator.go:89\ngithub.com/vmware/octant/internal/event.Stream.func1\n\t/go/src/github.com/vmware/octant/i
nternal/event/generator.go:54\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1337"}
github.com/vmware/octant/internal/event.runGenerator
        /go/src/github.com/vmware/octant/internal/event/generator.go:103
github.com/vmware/octant/internal/event.Stream.func1
        /go/src/github.com/vmware/octant/internal/event/generator.go:54

@bryanl do you think this might be fixed by the namespace / URL changes you've been working on?

Yes. Octant is changing to have a definitive source for the current namespace in any given context. This will be fixed in 0.7.

Fixed in master with #239. Will be in next release.

Thanks all.


Best practices on modifying Bodies for collision masks with Typescript

In my project, I use this convention of creating entities:
this.collision = system.createCircle({ x: x, y: y }, r);
this.collision.mainObject = this
this.collision.objectType = 'player' / 'enemy' / 'bullet' / etc

This is helpful during the handle collision stage so I can do something like
handleCollision(collider, response) {
		switch (collider.objectType) {
			case 'bullet':
                                	this.takeBulletDamage(collider.mainObject.projectileType, collider.multipliers, collider.mainObject.damage, collider.mainObject.effectsList, collider.mainObject.effectsDuration)
				break
			case 'spike':
				// code
				break
			case 'pickup':
				// code
				break
			case 'water':
				//code
				break
                        case undefined:
                                handleBodyOverlap(this.collision, response)
                      }
}

With Typescript, this naturally causes the compiler to complain. I'm curious what design pattern would be ideal here to obtain this behaviour with Typescript.
I noticed on tank there is  if (a.type === "Circle" || a === this.player) {
But, this only checks if something is a specific shape, or compares to another collision object (rather than a group).
I'm guessing I'll have to extend the types, but does this mean I need to branch off my own version of the package? Alternatively, do you use a different design pattern that works better for this package?

hello

I'm guessing I'll have to extend the types

yes propably extend the type in handleCollision function
like
import { Body, Response } from 'detect-collisions';

handleCollision(collider: Body & { objectType: string }, response: Response) {

but I am missing some information here:
what kind of errors/complaints are you getting from compiler and where

but does this mean I need to branch off my own version of the package?

no surely you dont have to :-) I am confident we will work something out here

Alternatively, do you use a different design pattern that works better for this package?

what you're doint seems totally ok

one question wouldnt you rather just assume the collider always has mainObject so
you can change to
this.objectType = 'player';
this.body = system.createCircle({ x: x, y: y }, r);
this.body.mainObject = this;

	switch (collider.mainObject.objectType) {

Thank you @Prozi, fairly new to TS so I wasn't sure what to do, but this led me down the right path.
I had to make this additional change to your example, because there was still an error when I needed to access properties of mainObject, since Player, Enemy, Bullet, etc  all have different properties inside it, but this change fixed that:
type BodyOptions = {
	objectType: 'bullet',
	mainObject: Bullet,
} | {
	objectType: 'player',
	mainObject: Player,
} | {
	objectType: 'trap',
	mainObject: undefined
} | {
    objectType: 'interestManagement',
    mainObject: Player
} | {
    objectType: 'enemy',
    mainObject: Enemy
}
export type MyBody = Body & BodyOptions;

I made a small sandbox of the fix too
Regarding

one question wouldnt you rather just assume the collider always has mainObject so

The reason I have not done this is because

Some of my objects have two physics bodies. For example Player has a bigger "Interest Management" circle to see what to send to the player's screen in my multiplayer game (I thought this would be more efficient than keeping a separate algorithm for what to send to players).
Therefore, Player would need to have both objectType == 'player' and objectType == 'interestManagement which would not make sense.

Other objects such as water don't have any additional information so it would just be mainObject = {objectType: 'water'}. In this case, this might still be better to having two extra properties.

Thanks again!

Thank you @Prozi, fairly new to TS so I wasn't sure what to do, but this led me down the right path.
I had to make this additional change to your example, because there was still an error when I needed to access properties of mainObject, since Player, Enemy, Bullet, etc all have different properties inside it, but this change fixed that:
type BodyOptions = {
	objectType: 'bullet',
	mainObject: Bullet,
} | {
	objectType: 'player',
	mainObject: Player,
} | {
	objectType: 'trap',
	mainObject: undefined
} | {
    objectType: 'interestManagement',
    mainObject: Player
} | {
    objectType: 'enemy',
    mainObject: Enemy
}
export type MyBody = Body & BodyOptions;

This looks sweet.
Can we close the issue?
Best regards


Project 26 - Where's the project?

Hi, I don't see the code for (Project 26 - Scale), it's for 3D Touch.
If you need to convert from Swift 2 to Swift 3, I can help.

Thank you for your issue. For some reasons it was removed from the repo while I did not notice, already added it back.


Can i load bloom model from torch bin instread of safetensors?

By default it tries to get the safetensors weights from the hub. They are converted from pytorch bin weights only if they are not found.
If I am not mistaken, all bloom models have safetensors weights on the hub so only the safetensors weights should be downloaded (as long as you use --num-shard > 1).