Rewrite JSON formatting in Rust

I may have to write my own jsonc parser for this, but luckily JSON is very simple.

I did end up writing my own parser: https://github.com/dsherret/jsonc-parser
Implementing this in Rust should be fairly easy to do now.


bash: rebuild. See #1124

hm, looks like that's not working :/

It's really weird make[1]: *** No rule to make target 'install-', needed by 'install'.  Stop.


[PROTOTYPE] Attempt to use Intel SGX seal to bound on CPU

In order to enforce security we can try to use Intel SGX to seal device key. We will remove stored device key after the first reboot and store only sealed key on disk and will unseal the key into in-memory directory
on boot and bind this directory instead of on-disk.
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

@giggsoff do you have any document which explains what the security properties would be of this approach?

The sdk uses AES-GCM, more precise Rijndael128GCM to encrypt the input data. Information about the key is available in SGX Programming Reference 5.4.1: EGETKEY instruction returns a 128-bit secret key from the processor specific key hierarchy. So the main idea here is that without non-volatile encrypted memory we can seal the data using key derived from processor fuses and store it in unencrypted storage. And we will able to unseal the data only using the same CPU.

That's cool.
It would be good to have at least an email writeup about this sent to the eve mailing list.
I'll take a closer look at the SGX document - I wonder whether we can also use this to effective node-lock /persist/vault to that CPU key hierachy by doing something similar for the vault (just trying to understand the possibilities here.)

it seems it is being deprecated by Intel https://www.techspot.com/news/93006-intel-sgx-deprecation-impacts-drm-ultra-hd-blu.html

As mentioned by @mikem-zed SGX Intel has deprecated SGX in the 11th, 12th generations of Core processors:
https://github.com/intel/linux-sgx/issues/760#issuecomment-1023896658
@giggsoff @eriknordmark seems PR can be closed

I put my report on Intel SGX here: https://wiki.lfedge.org/display/EVE/Intel+SGX+usage+to+seal+sensitive+data+using+fuses+of+CPU. This PR is just a prototype, so feel free to close.


xz Feature Model added

Values of numeric features are currently realized as mandatory binary features named by their value ranch.

Hey,
As I understood, the feature model also contains numeric features, which can not be represented in FeatureIDE.
Currently, the provided xml format is from FeatureIDE. As far as I know, this format does not support numeric features since also FeatureIDE does not support those.
We would need to convert it to the xml format provided by SPL Conqueror.
Even though FeatureIDE offers exporting a feature model to SPL Conqueror, the resulting export is a file format that is no longer supported. Instead, we could use another non-deprecated format such as SXFM (S.P.L.O.T.).
Could you export your feature model as SXFM (S.P.L.O.T.)? The SXFM model could be converted by other programs (like VaRA or SPL Conqueror itself) to the SPL Conqueror format.


How to get Full CI matrix or CCSD matrix？

just like title

For the FCI Hamiltonian, you can use
h_fci = fci.direct_spin1.pspace(h1, h2, norb, nelec, np=100000000)[1] (np needs to be >= to the number of deteriminants).
See pyscf/examples/fci/15-FCI_hamiltonian.py
What do you mean by CCSD matrix; the similarity transformed Hamiltonian, e^-T H e^T ?

sorry，I mean CISD. thanks for your reply，and I will try latter
该邮件从移动设备发送
--------------原始邮件--------------
发件人："Max @.>;
发送时间：2021年11月15日(星期一) 下午5:47
收件人："pyscf/pyscf" @.>;
抄送："钟文彬 @.>;"Author @.>;
主题：Re: [pyscf/pyscf] How to get Full CI matrix or CCSD matrix？ (Issue #1109)
For the FCI Hamiltonian, you can use
h_fci = fci.direct_spin1.pspace(h1, h2, norb, nelec, np=100000000)[1] (np needs to be >= to the number of deteriminants).
See pyscf/examples/fci/15-FCI_hamiltonian.py
What do you mean by CCSD matrix; the similarity transformed Hamiltonian, e^-T H e^T ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

 I have tried fci.direct_spin1.pspace,but I failed to get correct result according to fci.FCI(mol).kernel().
And the codes show below.
thank for your reply！

------------------ Original ------------------
From: @.>;
Date:  Mon, Nov 15, 2021 05:47 PM
To: @.>;
Cc: @.>; @.>;
Subject:  Re: [pyscf/pyscf] How to get Full CI matrix or CCSD matrix？ (Issue #1109)

For the FCI Hamiltonian, you can use
h_fci = fci.direct_spin1.pspace(h1, h2, norb, nelec, np=100000000)[1] (np needs to be >= to the number of deteriminants).
See pyscf/examples/fci/15-FCI_hamiltonian.py
What do you mean by CCSD matrix; the similarity transformed Hamiltonian, e^-T H e^T ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Could you attach your code and the corresponding output?

I have found my mistake that I forget to add nuclear energy to the Hamiltonian and the complete codes show below.
h1=mf.mo_coeff.T.dot(mf.get_hcore()).dot(mf.mo_coeff)
h2=ao2mo.kernel(mol,mf.mo_coeff)
h2=ao2mo.restore(1,h2,mol.nao_nr())
H_fci=fci.direct_spin1.pspace(h1,h2,mol.nao_nr(),mol.nelec,np=10000)[1]
and get the electric structure by np.linalg.eig(H_fci+mol.energy_nuc()*np.eye(np.shape(H_fci)[0])).

------------------ Original ------------------
From:  "Xubo @.>;
Date:  Thu, Nov 18, 2021 03:23 PM
To: @.>;
Cc: @.>; @.>;
Subject:  Re: [pyscf/pyscf] How to get Full CI matrix or CCSD matrix？ (Issue #1109)

Could you attach your code and the corresponding output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You can also just shift all the eigenvalues of H_fci by mol.energy_nuc(), after diagonalization - that saves you from allocating a rather large identity matrix. You should also be aware that the FCI space quickly (exponentially) grows beyond 10000 determinants, as you increase the number of orbitals.

for the sake of getting a Hamiltonian of arbitrary molecule，I do so instead of shifting the eigenvalues with mol.energy_nuc. however， knowing that combination number grows exponentially，I am finding how to get Hamiltonian in CISD situation. Do you have any ideas?

该邮件从移动设备发送
--------------原始邮件--------------
发件人："Max @.>;
发送时间：2021年11月18日(星期四) 下午5:00
收件人："pyscf/pyscf" @.>;
抄送："钟文彬 @.>;"Author @.>;
主题：Re: [pyscf/pyscf] How to get Full CI matrix or CCSD matrix？ (Issue #1109)
You can also just shift all the eigenvalues of H_fci by mol.energy_nuc(), after diagonalization - that saves you from allocating a rather large identity matrix. You should also be aware that the FCI space quickly (exponentially) grows beyond 10000 determinants, as you increase the number of orbitals.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I am not sure if there is a routine returning the CISD Hamiltonian as a matrix representation.
There is contract in pyscf.ci.cisd.py which performs HC as an operation.
The routine make_diagonal just above gives you the (shifted) diagonal of the matrix representation, but I don't see a routine for the full matrix

I have found frozen function in FCI  just eliminates frozen orbital elements with 0 but not eliminates dimensions from large matrix to small matrix

该邮件从移动设备发送
--------------原始邮件--------------
发件人："Max @.>;
发送时间：2021年11月18日(星期四) 下午5:38
收件人："pyscf/pyscf" @.>;
抄送："钟文彬 @.>;"Author @.>;
主题：Re: [pyscf/pyscf] How to get Full CI matrix or CCSD matrix？ (Issue #1109)
I am not sure if there is a routine returning the CISD Hamiltonian as a matrix representation.
There is contract in pyscf.ci.cisd.py which performs HC as an operation.
The routine make_diagonal just above gives you the (shifted) diagonal of the matrix representation, but I don't see a routine for the full matrix
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

As Max pointed out: CISD (and EOM-CCSD) has a function that performs the
matrix vector product H*c. You can build the matrix column-by-column, by
multiplying H with a standard basis vector, e.g., (1,0,0,...), then
(0,1,0,...), etc. Of course you can only build this matrix for very small
systems/basis sets, because its size in memory will be very large.
On Thu, Nov 18, 2021 at 4:47 AM Buantum @.***> wrote:

I have found frozen function in FCI  just eliminates frozen orbital
elements with 0 but not eliminates dimensions from large matrix to small
matrix

该邮件从移动设备发送
--------------原始邮件--------------
发件人："Max @.>;
发送时间：2021年11月18日(星期四) 下午5:38
收件人："pyscf/pyscf" @.>;
抄送："钟文彬 @.>;"Author @.>;
主题：Re: [pyscf/pyscf] How to get Full CI matrix or CCSD matrix？ (Issue
#1109)
I am not sure if there is a routine returning the CISD Hamiltonian as a
matrix representation.
There is contract in pyscf.ci.cisd.py which performs HC as an operation.
The routine make_diagonal just above gives you the (shifted) diagonal of
the matrix representation, but I don't see a routine for the full matrix
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/1109#issuecomment-972702714, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGAJC2E5KZZTZEX5M36YJLUMTDUVANCNFSM5IAUSBMQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@maxnus Since you mentioned it, is there a way to get the similarity transformed Hamiltonian from CCSD?


Make touch screen support InputEventMagnifyGesture.

**Godot version:3.1

OS/device including version:

Issue description:

InputEventMagnifyGesture only works on macbook touch pad, it's a very common gesture on mobile device.
Steps to reproduce:
Minimal reproduction project:

Duplicate of #13139.


Advice Needed - How can I globally restrict results based on clients User ID matched to a column in all tables

Hey this isn't an issue but I'm looking for customization advice  - or maybe there is a way to do this without modifying?
I'm looking to base the GET requests on all tables based on a column in that matches the authenticated user's username.
For example we have a field called LAB_CODE which contains the user's ID.   When a GET is performed we want to only return results that match the user ID of the system making the request.  Basically it's like a pre-set hidden filter.
Is this possible to implement and can you give me a high level idea of where I should start to implement this?  I am an experienced programmer so I just need some basic advice on how you would do something like this.
Thank you so much in advance.
Michael DeMutis / Fever905

I wouldn't use php-rest-service anymore for anything more complicated.
However, if you stick with php-rest-service, you should put those information LAB_CODE into the php session and request it quere necessary via $_SESSION['LAB_CODE']. You have to set it tho initially when your user logs in.

No this php-rest-service is perfect for our needs.  I've already got it setup and running and exported the open-api dump into Postman.  We're just sharing data between our labs around the world.  It's just oil-analysis test result data for construction equipment, truck fleets stuff like that so it doesn't need to be super secure or complex.  And we've got it assigned to its own database so that they can only access the data that we put in there.
The LAB_CODE will be the same as the username which is set after the first request is made I think.  So I guess I would need to add this to $whereClause on selectSingle and selectMultiple ?

Exactly

Awesome, thank you. :)

LOL oops sorry this isn't the REST service I'm using hehe. I got mixed up between yours and this one!!
https://github.com/mevdschee/php-crud-api


Travis CI builds don't run documentation tests

Currently, the Travis CI builds don't run documentation tests. This is because Cargo runs documentation tests only if the command line specifies no test filter. However, we use the test filter --lib to avoid running any integration tests, which would fail because the Travis CI build agent doesn't have a CouchDB server installed.
Therefore, resolving this issue will require better support for running documentation tests using Cargo.

You should be able to get a CouchDB by setting services: couchdb.

@jgillich, this is good to know, thanks!


[Bug] Fluent fields should guess attributes when defining entity

WHY
BEFORE - What was wrong? What was happening before this PR?
To define the relationships in a Fluent::way(), and not using the relation name as the field name, required the developer to manually define the attributes because some methods of the CrudField where not run when ->entity() is specified.
AFTER - What is happening after this PR?
When developer sets ->entity() in a fluent way, it will run the guessing functions  as if it were defined using and array for field definition.
HOW
How did you achieve that, in technical terms?
Created a new entity method on CrudField
Is it a breaking change?
No
How can we test the before & after?
I've added the Relationships in a fluent way in demo https://github.com/Laravel-Backpack/demo/pull/400 you can have a look there.

closed in favor of #4472 for better diff view


Firefox Themer Port Project

Issue type: feature

Description
Firefox Themer is a new Firefox Test Pilot experiment that lets users define colors for various UI elements using a simple GUI. It requires the installation of an add-on following which users can simply use the Firefox Themer website to pick their colors. The required add-on can be installed from the same website.
It is also possible to share the theme so created using an unique URL for your theme (the set of colors). I have attempted to make a Nord theme and am sharing a link to the same below:
Firefox Themer Nord Theme
I'd really appreciate your input on how closely this theme follows the Nord UI guidelines and suggest necessary modifications following which this could be turned into a low-maintenance port project which would also be easily installable.

Apparently Mozilla renamed 'Firefox Themer' to 'Firefox Color'. Updated URL:
https://mozilla.github.io/FirefoxColor/?theme=XQAAAAK8AAAAAAAAAABBKYhm849SCiaxqiaEGccwS-xNVABNDdU26LDIZuaGCw4DX1CffRksp67Kwlzx5yfypj3YfqzlolyoGvXmqsicVMyctZlsRGDh4ia1598U2p_THC1IZXn3Ut8KSsY84Sel9Y3wIMPkNR1m8__-7JgA

The previous theme posted seems to work for an older version of Firefox color, and it didn't seem to exactly match the colors either. I went ahead and made a theme that uses the exact HTML color codes.
Here you go guys: link

I was also working on something like you guys are for firefox. I wasn't using the color experiment though and instead going through MDN's theme docs to build it. Here is what I have. Lets consolidate and get this done!

I definitely feel like there is room to improve on mine and wish I could find out how to style the actice tab highlight.

I was also working on something like you guys are for firefox. I wasn't using the color experiment though and instead going through MDN's theme docs to build it. Here is what I have. Lets consolidate and get this done!

I definitely feel like there is room to improve on mine and wish I could find out how to style the actice tab highlight.

Hey, I know I'm kind of late to this Github issue but I have a working Firefox Port project using the manifest.json theme guide. Its available at https://github.com/dragonejt/nord-firefox (take a look at manifest.json) Its also available on the Mozilla Addons Page at https://addons.mozilla.org/en-US/firefox/addon/nord-firefox/.
It would be great if anyone could make an official Firefox port project repository so that we could get an official theme off the ground. I have emailed<EMAIL_ADDRESS>but nobody seems to be responding. I have some experience editing the manifest.json file for themes so I could also help.
Thank you!


Blocking Startup of Other Extensions

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003121)

Product Information:
 Version:            1.0.0-preview2-003121
 Commit SHA-1 hash:  1e9d529bc5

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64

VS Code version: Code 1.16.0 (787b31c0474e6165390b5a5989c9619e3e16f953, 2017-09-06T16:27:49.891Z)
C# Extension version: 1.12.1
Steps to reproduce
Start VS Code
Expected  behavior
The needed extensions should all start up nearly instantly
Actual behavior
This extension is blocking startup of other extensions causing them to take ~45+ seconds for the other extensions to become usable.
This seems to only occurs on non C# workspaces. When I open my php workspace this happens.

VS Code is designed such that extensions run in separate processes and shouldn't block one another. Could you provide a specific repro? Do you have an example of an extension that seems blocked while the C# extension is starting up?

Here is a repo: https://github.com/laravel/laravel
Here is an extension: https://marketplace.visualstudio.com/items?itemName=ryannaddy.laravel-artisan
Command: Artisan: Start Server

Will close this out since it's been quite a while and the extension loading mechanism for VSCode has certainly improved over the past 3 years. Please do ping back if this happens again with an updated VSCode and C# extension, though.


Timezone select page does not navigate back to timezone initial page after user changes timezone to automatic from another device

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login the same account on 2 devices
From device A, go to the timezone details page and turn off automatic timezone selection
From device B, go to the timezone select page.
From device A, turn on automatic timezone selection.
Notice in device B, user remains on the timezone select page, and if they come back to timezone details page, they cant go back to the select page because their timezone is automatic

Expected Result:
User should be redirected back to timezone details page if they update their timezone to automatic
Actual Result:
User is not redirected back to timezone details page if they update their timezone to automatic
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.53-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/38435837/4b0c8051-d352-41b9-8ee6-cb5973a16f2b
https://github.com/Expensify/App/assets/38435837/952d95dd-943b-46f0-87de-0203d2b42112
Expensify/Expensify Issue URL:
Issue reported by: @huzaifa-99
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691280927472319
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
We want the user to navigate back to the initial timezone page from the select page, if they change their timezone to automatic from another device.
What is the root cause of that problem?
We are not navigating the user back to initial timezone page when they change their timezone to automatic from another device.
What changes do you think we should make in order to solve the problem?
We are already listening to the props.currentUserPersonalDetails in TimezoneSelectPage so we just need to navigate back to timezone initial page from the timezone select page whenever

User updates their timezone to automatic from another device
User loads the timezone select page URL /settings/profile/timezone/select
something like this pseudocode here and here

if(timezone.automatic) {
    Navigation.goBack(ROUTES.SETTINGS_TIMEZONE);
    return
}

What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue.
Timezone select page does not navigate back to timezone initial page after user changes timezone to automatic from another device
What is the root cause of that problem?
User can open select timezone page by link normally without any handling to hide this when the timezone is automatic.
What changes do you think we should make in order to solve the problem?
We need to wrap page content with FullPageNotFoundView
<ScreenWrapper includeSafeAreaPaddingBottom={false}>
  <FullPageNotFoundView shouldShow={this.timezone.automatic}>
     ...
  </FullPageNotFoundView>
</ScreenWrapper>

We can also display specific message in FullPageNotFoundView like you can't select timezone
What alternative solutions did you explore? (Optional)
N/A

I don't think anyone is going to really run into the scenario in the OP in practice. That said, if I'm following it correctly and there's a regression insofar as being able to load the list of timezones from a URL and a fix here resolves that as well, let's go ahead.

Let us know what you think about these proposals, @0xmiroslav!

Thanks Miroslav
@bernhardoj can you make the pr please

Yeah I agree, bonus can be applied here cc @trjExpensify

Sounds good. :)

@bernhardoj @0xmiroslav seems like the automation failed here and this is ready for payment, can you summarize the prices here please?

bump @bernhardoj @0xmiroslav

Thanks, super helpful! So confirming payments due as follows:

no regression deductions
#urgency bonus is due
bounty prices pre-date the price change

$250 to @huzaifa-99 for the bug report
$1,500 to @0xmiroslav for the C+ review & #urgency bonus
$1,500 to @bernhardoj for the fix & #urgency bonus
Offers sent!

@bernhardoj - paid!
@huzaifa-99 - paid!
@0xmiroslav - waiting on you now.

@0xmiroslav like the other issue, if you're tracking this somewhere else. I'm going to close it!


Allow for wildcard redirect uris in oauth apps

@brianhelba I think this does exactly what we want. The migration process for this is weird so I have to set the DOT setting in a separate PR after this has been deployed.


Add support for NeuralHermes-2.5-Mistral-7B

Yes, it's yet another Mistral-based chatbot.
Would you consider adding support for NeuralHermes-2.5-Mistral-7B?
Thank you very much!

Hi there, someone has uploaded this model here: https://ollama.com/themhv/neuralhermes. We'll keep adding new models as well: keep the requests coming!


fix: remove Clone from TransactionPool

Wasn't needed, and the pool should not be cloned in any user flow.

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.98%. Comparing base (c1827fc) to head (98f5027).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #321   +/-   ##
=======================================
  Coverage   76.98%   76.98%
=======================================
  Files          28       28
  Lines        1382     1382
  Branches     1382     1382
=======================================
  Hits         1064     1064
  Misses        265      265
  Partials       53       53

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


don't clear selection on copy

How do I configure this to NOT clear the selection upon copy. I found references in closed issues on how to clear selection in the success event, but they are old and it appears it is now doing this automatically.
I want the text to stay selected on copy. Tested on FF 68.0.2, Safari 12.1.2 on macOS 10.14.6

oh shit! reconfigure project

Closing due to inactivity.


improve documentation navigation

Fixes most of https://github.com/blocks/blocks/issues/270. I'll create a separate PR to add prev/next links to the documentation section, because I still need to check if there is a best practice in the Gatsby world.
Haven't really worked with Gatsby so far. Not sure, if there would be a better way to add activeStyle's to the navigation? I needed to switch from .mdx to .js to add this.

Thanks!

Thank you 🙂


Bug in rotor.summary using rotor tag

I think I accidentally discovered a little bug, which should be a quick one to fix.
When initalizing a rotor using the tag = 'Some_tag', there is no error in the rotor init.
But when trying to plot the rotor-summary, e.g. rotor.summary().plot(), I get the following error:
Traceback (most recent call last):
File "C:\Leif\Python_L\Rotordynamics\Ross_Excel_Rotor_Oseberg.py", line 38, in
table=rotor591c.summary().plot()
File "C:\Program Files\Python38\lib\site-packages\ross\rotor_assembly.py", line 2694, in summary
self.tag,
AttributeError: 'Rotor' object has no attribute 'tag'
I looked through the code, it seems that the self.tag is only initialized when tag=None, there is no else case.

This commit should fix it.


Register lump blocks for aluminum, nickel and titanium

They can be registered using the lumpblocks API by calling lumpblocks.register_lump_block(options) and setting the colors and other options to be appropriate.

added registration


Adding Sentry exception logging to Parse server

Happy to also provide documentation on spinning up the open source Sentry server, for those wanting to run that themselves as well.

I'm not in love with the implementation... Maybe you could abstract out a LogAdapter instead, and have it be a module you inject.

Sure, thanks for the tip. Looks like I have some weekend coding. :coffee:

Could you point me to an example in the code of a similar abstraction?

I'd say look at FilesAdapter and GridStoreAdapter.. let me know if you have questions.

A logging adapter will be added in #243 and you can build a Sentry adapter for that.  Thanks! :+1:


F-Droid release

Have you considered submitting SocksTun to F-Droid or IzzyOnDroid?

No. Could you request to package it?

@heiher I can package this.

@heiher I can package this.

Any progress?

Not yet, I'm waiting for your response. Can I package it for F-Droid?

Not yet, I'm waiting for your response. Can I package it for F-Droid?

Of course. feel free to package it for F-Droid. Thank you.

Could you please upgrade the gradle so that it works with jdk 17? It's the default jdk on Debian bookworm.

@heiher I opened a PR for F-Droid packaging, can you take a look?

@heiher I opened a PR for F-Droid packaging, can you take a look?

#26 Merged. Thank you. :+1:

Thanks! Can we have a new release?

Thanks! Can we have a new release?

Done. https://github.com/heiher/sockstun/releases/tag/2.3

Another fix for reproducible build: https://github.com/heiher/sockstun/pull/27

Can you update the release apk with the above fix?

Can you update the release apk with the above fix?

https://github.com/heiher/sockstun/releases/tag/2.4

Thanks! It will be published in a week. https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15551

Thanks! It will be published in a week. https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15551

Great! Thank you.

@linsui Could you please update the app on F-Droid to version 2.5? Thanks.

It will be updated automatically. :)

It will be updated automatically. :)

Nice! Thanks. :)


ETH - Payment Amount Becomes NaN after Paying

After paying for a listing priced in ETH, the payment amount changes to NaN. It was normal before the button in the pay tooltip was clicked.
This is using #1838 and eth-master for the server.

The spinner in the button also never goes away, even after 15 minutes.


Activating the "MicrosoftMLModelBuilderAutoML" service failed.

Model Builder Version: In which Model Builder version was the bug encountered?
<IP_ADDRESS>5902
Visual Studion Version: In which Visual Studio version was the bug encountered?
17.4.2
Bug description
After dataset choosen (csv), i have this error
2023-01-11 11:24:34.4019 INFO Set log file path to C:\Users\kamil\AppData\Local\Temp\MLVSTools\logs\MLModel-HWFR10.txt (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2023-01-11 11:24:48.9053 DEBUG Activating the "MicrosoftMLModelBuilderAutoML" service failed.
   at Microsoft.ServiceHub.Framework.RemoteServiceBroker.<GetProxyAsync>d__33`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker.<GetProxyAsync>d__19`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.View.<GetProxyAsync>d__19`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.AutoMLServiceFactory.<CreateAutoMLServiceAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.Actions.DataTextActions.<GetCsvDataProgramAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.Actions.DataTextActions.<SetFilePathAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.ToolWindows.DataTextViewModel.<SetFilePathAsync>d__122.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.ToolWindows.TextDataControl.<<BrowseFileButton_Click>b__4_0>d.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
2023-01-11 11:26:31.8654 DEBUG Activating the "MicrosoftMLModelBuilderAutoML" service failed.
   at Microsoft.ServiceHub.Framework.RemoteServiceBroker.<GetProxyAsync>d__33`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker.<GetProxyAsync>d__19`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.View.<GetProxyAsync>d__19`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.AutoMLServiceFactory.<CreateAutoMLServiceAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.Actions.DataTextActions.<GetCsvDataProgramAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.Actions.DataTextActions.<SetFilePathAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.ToolWindows.DataTextViewModel.<SetFilePathAsync>d__122.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.ToolWindows.TextDataControl.<<BrowseFileButton_Click>b__4_0>d.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)

Steps to Reproduce

Right click on .csproj file in vs2022
Add => Machine Learning model
Data classification => Local
Local CPU
Data (here is error, when im adding file)

Expected Experience
Prepare correct model.
Actual Experience

Additional Context
Add any other context about the problem here, such as unusual system configurations, network restrictions, etc.
--

Update *
After updating VS to 17.4.4 i have infinity processing with no error.

i got sample data set from:
http://archive.ics.uci.edu/ml/machine-learning-databases/00331/sentiment labelled sentences.zip
found in tutorial https://medium.com/geekculture/a-beginners-guide-to-machine-learning-using-ml-net-in-net5-part-i-ac8f8686470a
tried to use IMDB and Amazon data sets.

Update *
I have also tried to reinstall ML Model Builder. No effect.

Hello @luisquintanilla
I tried it couple times with no result. Sorry for late reply.

I am getting the same issue on my windows arm/visual studio.  I have uninstalled/reinstalled also.

I am getting a similar issue, after a try attempt to process a model with a file (.csv) with text and other fields it take a long time to process (unstopping) and than it loses the connection with the automl host. After that the ML.NET Model Builder is not working anymore (MS Visual Studio 2022) even if:

Restart the computer;
Install/Reinstall from Extensions installer (that option it emmits an error)
Install/Reinstall from Visual Studio Installer (Individual Components)
Force deletion of ModelBuilder folder on C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft

Neither of that attempts resolved the issues. Tried the same with Visual Studio 2022 preview and that is not working too.

Having the same issue on macbook which runs windows on parallels desktop.


Link Web Tracking Protections help page

Reviewer: @jonathanKingston
Description:
Replace "Features" section with a link to the new help page describing protections.
Add link to Opera and mention other chromium based browsers.
Steps to test this PR:
n/a
Automated tests:

[ ] Unit tests
[ ] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

Thanks @jonathanKingston , I got a green light (after dropping comma) from Olivia.


Project status (2022)

Hi @laserlemon, can we get another cut of this gem please, with a few of the open PRs? Maybe a request to rebase / fix builds will be done if a new gem version was definitely coming.
I can see a number of PRs now have merge conflicts, but this is mostly due to them lying fallow for so long.
Can we request again that more maintainers are added to this project? https://github.com/laserlemon/figaro/issues/279#issuecomment-568782421
If not, I hope you don't mind if we pursue a hard fork of the gem with a new name. It would be a shame, but I'd hate this gem to fade away!

For many years I relied on the Figaro gem, but it has unfortunately not been maintained. The latest problem Psych::BadAlias led me to roll my own solution.
This turned out to be pretty simple, and I continue to use the application.yml file originally defined for Figaro.
See this SO post for details. Comments welcome there.

@scarroll32 I have decided to fork this gem, so that its inspiration may live again. The new gem is called figjam.
It can be found here:
https://github.com/hlascelles/figjam
https://rubygems.org/gems/figjam
It is initially a direct fork (without the heroku functionality). I started with the same version number and code as Figaro, and aliased the Figjam namespace to Figaro to allow it to be used as a drop-in replacement.
@laserlemon I hope you don't mind this move. Figjam will stay in the yaml world, whereas the Figaro gem was going to change with v2.x anyway, so I feel they can cover different spaces for different users.
@scarroll32, and anyone else, do open PRs against the figjam repo, I will be actively maintaining it. I will also go through open PRs on Figaro and apply them to that gem (with author attribution).
Thank you again @laserlemon, your gem has been a huge help to us over the years!


removed annoying space from "sender email" field + tests fixed

Removed init whitespace from "sender email" field.
This whitespace was default value in input, so user doesn't have to delete it before writing his email address.

@Vakrim Thanks!


feat(protocol): implement Bridge.isMessageFailed

On the source chain of a message, function isMessageFailed can verify if a message has been failed on the destination chain.
A test shall be added later in a separate PR.

@davidtaikocha somehow integration & genesis tests are failing. Can you take a look?

@davidtaikocha somehow integration & genesis tests are failing. Can you take a look?

Opened a PR to fix this: https://github.com/taikoxyz/taiko-mono/pull/13006 , looks like go-ethereum pushed a new latest tag image 10 hours ago, but they didn't release a new version of go-ehtereum ( + corresponding change logs )... and that newly pushed latest tag image can not be started successfully, so i changed the image tag to the latest version tag v1.10.26 in that PR for now.


Add support for devices flag to Trainer

What does this PR do?

Part of #6090
trainer = Trainer(accelerator='cpu', devices=3)
trainer = Trainer(accelerator='gpu', devices=4)
trainer = Trainer(accelerator='tpu', devices=8)
trainer = Trainer(accelerator='ipu', devices=8)

Does your PR introduce any breaking changes ? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)
[ ] Did you list all the breaking changes introduced by this pull request?

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Hello @kaushikb11! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tests/accelerators/test_accelerator_connector.py:

Line 664:69: E231 missing whitespace after ','

@kaushikb11 What is the expected behavior for something like this:
python pl_examples/basic_examples/simple_image_classifier.py --trainer.devices "1,3" --trainer.accelerator ddp
For me it runs on GPU 0.

For me it runs on GPU 0.

I would expect single machine with GPU 1 and 3

@kaushikb11 What is the expected behavior for something like this:
python pl_examples/basic_examples/simple_image_classifier.py --trainer.devices "1,3" --trainer.accelerator ddp
For me it runs on GPU 0.

@awaelchli Yup, the devices flag is only considered when you pass accelerator flag as well. So, the Trainer knows what accelerator to map the devices to (Works with auto as well). Tbh, I think it's desirable behavior. Wdyt?
Yup, it would be ideal to raise a warning if devices flag is not being considered.

@awaelchli Yup, the devices flag is only considered when you pass accelerator flag as well. So, the Trainer knows what accelerator to map the devices to (Works with auto as well). Tbh, I think it's desirable behavior. Wdyt? We could set accelerator to auto when devices is passed, but it could cause issues when it replaces num_processes.

So I expect it to work like this

GPUs available
devices
accelerator
Expected

Yes
Not set
Not set
Runs on 1 GPU

Yes
2
Not set
Runs on 2 GPU. DDP

Yes
"2,3"
Not set
Runs on "2", "3" GPUs.

No
Not set
Not set
Runs on CPU

No
2
Not set
Runs on CPU (2 processes)

No
"2, 3"
Not set
Either runs on CPU (2 processes) with a warning OR Misconfiguration

Can you point out what is not correct and what would be the issues?

@kaushikb11 I definitely think we should error when devices is passed in but none of the options accelerator="cpu/tpu/gpu" are specified. We are getting into trouble otherwise with plugins, because they can also be specified via the accelerator argument and something like
python pl_examples/basic_examples/simple_image_classifier.py  --trainer.accelerator ddp_cpu --trainer.devices 2
not launching 2 cpu processes is just too confusing IMO, even with a warning. Based on the scope of this PR, I vote for a error.

@carmocca your table suggests that we should automatically select the GPU if it is available, but this is neither happening in Lightning today nor can we allow it, because we don't know if there are other processes already running on a GPU.

@awaelchli @carmocca Few updates here.

I have added two-way mapping for devices, and could be accessed via trainer.devices.
It will raise an Error, if the User passes devices but not accelerator="auto|"tpu"|"gpu"....
It will raise a warning that the devices flag would be ignored, if the User pass both gpus and `devices.

There is one more warning popping up, but we probably can't take care of it so easily now:
python pl_examples/basic_examples/simple_image_classifier.py  --trainer.accelerator gpu  --trainer.devices 2

/home/adrian/repositories/pytorch-lightning/pytorch_lightning/trainer/connectors/accelerator_connector.py:731:
UserWarning: You requested multiple GPUs but did not specify a backend, e.g.
`Trainer(accelerator="dp"|"ddp"|"ddp2")`. Setting `accelerator="ddp_spawn"` for you.

CAUTIOUS accept ;-)

Not planning to merge it, if you are not happy about it.

One more is the following
--trainer.accelerator cpu --trainer.devices "1,3"
which for
--trainer.accelerator cpu --trainer.num_processes "1,3"
previously had the correct error reporting, but the "devices" argument does not.
not sure how important it is to handle that case.

What error are you talking about?

There is one more warning popping up, but we probably can't take care of it so easily now:

UserWarning: You requested multiple GPUs but did not specify a backend, e.g.
Trainer(accelerator="dp"|"ddp"|"ddp2"). Setting accelerator="ddp_spawn" for you.

Right.

@kaushikb11 all good, it's a nice addition, love it <3
What I meant was, previously num_processes anything other than int was not valid and the type hint / cli parsing reflected that. However, now that devices is replacing it, and accepts list, string, etc, we would have to put error handling into place where accelerator=cpu AND devices != int  would be invalid user input. Because the type hint alone is not enough anymore

I have added a warning for devices not being integer for accelerator="cpu"


fix: link in readme.md

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Getting "(heuristic) fragment matcher" error after caching possibleTypes

Helllo! I need help with a graphql error. #help #needed
I am using @strapijs with @apollographql and @nuxt_js (frontend).
Getting "(heuristic) fragment matcher" error after caching possibleTypes following a article on LogRocket (https://blog.logrocket.com/using-code-gen-to-avoid-heuristic-graphql-queries/)
Here is the Github Repo -> https://github.com/devzakir/strapi-graphql-nuxt

I'm also struggling with this. I think the LogRocket article describes setting this up for Apollo Client 2, while Apollo Client 3 suggests a slightly different setup:
https://www.apollographql.com/docs/react/data/fragments/#defining-possibletypes-manually
My Apollo config looks more or less like this:
import { InMemoryCache } from '@apollo/client'
import { possibleTypes } from '../fragmentTypes.json' // exported from codegen

export default function () {
  return {
    httpEndpoint: process.env.GRAPHQL_ENDPOINT,
    cache: new InMemoryCache({ possibleTypes })
  }
}

And I'm fetching data in my Vue component like so:
export default {
  apollo: {
    myQuery: {
      prefetch: true,
      query: gql`...`
    }
  }
}

However, I'm having other issues. It seems like the component initially mounts without any data. Also, my static site build won't start at all. However, if I disable the cache, everything works fine except for these warnings. I'm going to proceed without a cache and hope for the best. Any downside in doing this?
I also admit I'm quite new to Apollo – perhaps supplying a cache implicitly tells Apollo I want to fetch data client-side? That would explain some of my issues.

I am using this config for Apollo Client 3. config works fine.
import { InMemoryCache } from 'apollo-cache-inmemory'
import dataTypes from './fragmentTypes.json'

export default function(ctx) {
  return {
    httpEndpoint: `http://localhost:1337/graphql`,
    cache: new InMemoryCache({ possibleTypes: dataTypes.possibleTypes })
  }
}

But I am still getting errors while calling query from browser. Don't know why?

Hey @devzakir
I get the same behaviour as you when I use InMemoryCache as imported from apollo-cache-inmemory
import { InMemoryCache } from 'apollo-cache-inmemory'

However, when I use it from @apollo/client I get the errors as I described above. Not sure which one I'm supposed to use... I see a lot of conflicting documentation on this.

Related?
https://github.com/nuxt-community/apollo-module/pull/371#issue-756413368

I got it to work like this:
import { InMemoryCache, IntrospectionFragmentMatcher } from 'apollo-cache-inmemory'
import schema from '../graphql/schema.json'

const fragmentMatcher = new IntrospectionFragmentMatcher({
  introspectionQueryResultData: schema
})

export default function () {
  return {
    cache: new InMemoryCache({ fragmentMatcher })
  }
}

My codegen.yml config had issues with apollo version. I set apolloClientVersion to 2. Now it works fine!
Here is the updated config
schema: "http://localhost:1337/graphql"
generates:
  ./graphql/fragmentTypes.json:
    plugins:
      - "fragment-matcher"
    config:
      apolloClientVersion: 2

Hi! Any clue how one would do this with Nuxt3/Vue3?
I find it quite odd that it is not documented anywhere.
https://apollo.nuxtjs.org/getting-started/configuration#clients


chore(master): release 2.1.0

:robot: I have created a release beep boop
2.1.0 (2024-05-29)
Features

add support for infection and psalm (15ca1e3)

Documentation

lint readme using markdownlint (767de29)
lint readme using markdownlint (7d69f84)

Continuous Integration

add markdown lint config (eba75f1)
add support for phive (bb77426)
composer-require-checker: lint project files (bb77426)
docker-compose: add healthcheck for pgsql database (bb77426)
fix phpstan errors (5ef9399)
update github files (c043be8)
update Makefile with latest commands (bb77426)
updating workflows (13d84c8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-starter-tpl/releases/tag/v2.1.0 :sunflower:


[Docs] Update Wiki - Installation

Please update the wiki installation section. On the official web-site (https://www.free5gc.org/installations/stage-3-free5gc-install/) there is the procedure for installation using kernel 5.4.x instead of 5.0.23.
Thnks

@dmat93
Both kernel versions are ok to install free5gc.
You can find the comment as below:
Please make sure your kernel version is 5.0.0-23-generic or newer than 5.4.0.


digdag scheduler -c option can't set database.type parameter

Hello
Can I use config path for scheduler?
digdag server -c config.yml work correctly.
But digdag server -c config.yml does not work as I expected.
config.yml
database.type: postgresql
database.user: username
database.password: password
database.host: <IP_ADDRESS>
database.port: 5432
database.database: digdagdb

digdag scheduler --project . -l debug -c config.conf
It use h2:mem db
digdag scheduler --project . -l debug -c test.conf
2016-06-18 23:46:54 +0900: Digdag v0.8.1
2016-06-18 23:46:55 +0900 [DEBUG] (main) io.digdag.core.database.DataSourceProvider: Using database URL jdbc:h2:mem:digdag-95ef3df8-241b-4136-9597-61dc7b125cbb
2016-06-18 23:46:55 +0900 [DEBUG] (main) io.digdag.core.database.DataSourceProvider: Using database URL jdbc:h2:mem:digdag-5d9bc29f-a800-4cee-90db-423bc40bc815
2016-06-18 23:46:56 +0900 [INFO] (main): Added new revision 1
2016-06-18 23:46:56 +0900 [DEBUG] (main) org.jboss.logging.LoggerProviders: Logging Provider: org.jboss.logging.Slf4jLoggerProvider

-c option requires a property file. Not YAML file.
Syntax is:
config.properties:
database.type = postgresql
database.user = username
database.password = password
database.host = <IP_ADDRESS>
database.port = 5432
database.database = digdagdb

Thank you for replying.
But, It's not work too.
I tried fe9adb5b6858ce5c97a3a8a11f8dcecc5b544437 (fixed NPE at scheduler command)
database.type = postgresql
database.user = user
database.password = password
database.host = <IP_ADDRESS>
database.port = 5432
database.database = digdagdb

digdag-0.8.2-SNAPSHOT.jar scheduler -c ./test.conf2 -l debug
2016-06-21 08:51:22 +0900: Digdag v0.8.2-SNAPSHOT
2016-06-21 08:51:23 +0900 [DEBUG] (main) io.digdag.core.database.DataSourceProvider: Using database URL jdbc:h2:mem:digdag-1c09dd9a-aaf1-4261-9ec1-b5b3621b6cc5
2016-06-21 08:51:24 +0900 [DEBUG] (main) io.digdag.core.database.DataSourceProvider: Using database URL jdbc:h2:mem:digdag-c364a173-74de-4f00-b2e7-4861f2ca1461

It's connecting h2 database. not postgresql
Using database URL jdbc:h2:mem:digdag-1c09dd9a-aaf1-4261-9ec1-b5b3621b6cc5

It seems database.type parameter override by this statement.
https://github.com/treasure-data/digdag/blob/master/digdag-cli/src/main/java/io/digdag/cli/Sched.java#L88
test.conf2
database.type = postgresql
database.user = user
database.password = password
database.host = <IP_ADDRESS>
database.port = 5432
database.database = digdagdb

diff --git a/digdag-cli/src/main/java/io/digdag/cli/Sched.java b/digdag-cli/src/main/java/io/digdag/cli/Sched.java
index b7f68f9..2137d87 100644
--- a/digdag-cli/src/main/java/io/digdag/cli/Sched.java
+++ b/digdag-cli/src/main/java/io/digdag/cli/Sched.java
@@ -103,6 +103,7 @@ public class Sched
         Properties props = buildServerProperties();
         props.setProperty(SYSTEM_CONFIG_AUTO_LOAD_LOCAL_PROJECT_KEY, projectDirName != null ? projectDirName : "");  // Properties can't store null
         props.setProperty(SYSTEM_CONFIG_LOCAL_OVERWRITE_PARAMS, overwriteParams.toString());
+        System.out.println(props);

         ServerBootstrap.startServer(localVersion, props, SchedulerServerBootStrap.class);
     }

Debug message
digdag-0.8.3-SNAPSHOT.jar scheduler -c test.conf2  -l debug
{
 database.database=digdagdb
 ...
 database.host=<IP_ADDRESS>

 database.port=5432
 ...
 database.password=password
 ....
 database.type=memory <--- Override memory.
 ....
 database.user=user
 ....
 }

@hiroyuki-sato this is out of topic but usually you shouldn't use postgresql with scheduler mode because scheduler mode reloads workflow definition file automatically when something is updated. It stores a new revision to the database. I suspect that what you want to use is server mode.
Why do you want to use postgresql with scheduler mode?

@frsyuki Thank you for replying.
Could you comment on this issue?(#150)
You mean, the scheduler does not run database.type = h2 and database.type = postgresql?
Is this correct?
When I open this issue, I didn't know about server mode.
I would like to persist execution result.

This ticket is a bug anyways. Thank you for reporting. Please keep this opened.

It looks like the issue reported had been already resolved.
Close this but reopen if need.


[python] Remove FutureWarning

Currently RecordBatch::to_pyarrow passes the Schema in the second arg position which causes a FutureWarning. Instead we change it to use the schema kwarg.
Which issue does this PR close?

Closes #.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Thank you @changhiskhan


[spatial.4] In-place operators

Among the operators, emphasize the importance (efficiency) of operators += and -= versus operators + and -. In particular, A = B+C+D would be less efficient than A=B; A+=C; A+=D. See point [Spatial.6].

Nothing specific to do here. I added this issue to remember that these operators should be propagated in the algorithms.
An alternative would be to implement a complete computation graph (see Spatial.6), which would then make operator+ as efficient as in-place operators.
I think the easy option (use += instead of +) should be implemented first.

I think the main question here is about how to encode the fact that for Motion and Force, the group operator is commutative. We then have to use the best strategy for the operator+ and operator- in the context where one of the arg is Sparse and the other one is Dense.
In this case, we may have a default behaviour in the Sparse class which will call the related operator of the Dense class.

Some of the computations are now in-place operators since Pinocchio 2.0.0


Findings about the Eshop

Related  https://github.com/abpframework/abp/issues/12542

[ ]  Default or public seems too adjacent to the role name.

[ ]  There is no need for scroll in this part

[ ] Action text too close to icon. In general, all icons seem to have this situation.

[ ]  must be updated with the user name

[ ]  In the setting page, a specification has been made above for this field, and it does not seem necessary to display it in this section.

[ ]  button name looks wrong

[ ]  description text should be updated

[ ]  dropdown looks clickable but has no action when clicked

[ ]  It seems more appropriate to display the same products in the top selling list, not with separate names, but with their total in a single line.

[ ]  It would be nice to display how many products were purchased in a single order.

[ ]  It would be nice to write separately the purchased prices next to the products in the order list.

Hi, I started project success locally. But I just see the home page, so what is the account I can login to see more?. I don't know any info about that

Hi, I started project success locally. But I just see the home page, so what is the account I can login to see more?. I don't know any info about that

Hi,
These are the default user name and password seeded:
https://github.com/abpframework/eShopOnAbp/blob/f1c51a2a2777d8784868f13fb0d0646a0f52b42f/services/identity/src/EShopOnAbp.IdentityService.Domain/IdentityServiceDbProperties.cs#L11-L13

Hi,
Thank you so much. I'll try it


Coordinate Translation Efforts

To coordinate translation efforts, I've made this thread in the discussion section:
The thread is where we can get translations reviewed / updated.
https://github.com/hargata/lubelog/discussions/240

An Addition to translations: Please make translation-files updatable.
Situation; de.json exists.
Current behaviour:  If I want to upload a newer de.json, I get an empty error-message. Then I delete de.json, after this, I have a language with a uid in the select-box which holds the updated strings.
If I then upload a new de.json, I have the old strings again. So deletion doesn't really delete the file, I guess?

@dabenzel the language files are cached in memory to save IO, if you have deleted and re-uploaded a translation file, you must restart your container to view the changes.

Are you already working on the Spanish translation?

@lcabrera please create a pull request here: https://github.com/hargata/lubelog_translations/pulls

Done.


Defer attachView for MvpActivity until onResume?

I may be missing something here but since onCreate will instantiate the Presenter and immediately call attachView, the Activity will not have had the chance to call setContentView.  This would cause any calls to your MvpView that have a findViewById to fail when called in attachView.

yes this is correct. Maybe onPostCreate() is better suited than onResume(). However,  people are used to call presenter methods like presenter.loadData() in  Activity.onCreate().
So they would have to move that to onPostCreate() too. You see, you make the other half of users happy by disapointing the others. Furthermore this is a breaking change.
So what I typically do is something like this:
class MyActivity extends MvpActivity {

    public void onCreate(Bundle b) {
           setContentView(R.layout.my_layout);
           // findViewById() etc.

           super.onCreate(b);
     }
}

Call super.onCreate() after having set ContentView.
Alternatively, if you really want to have presenter.attachView() called in onResume() you could write your own MvpDelegate that does that in onResume(). Checkout Mosby's github pages for more information about that.
What do you think?

If this is intended behavior then any of these solutions are fine with me.  I have been using your first solution of having an initialization method on the presenter that gets called in onCreate().
My issue with that is that it's only required for Activities, which (though small) is a difference I have to keep track of between Fragments and Views.
The second approach you provided seems like the best option for me.
Thank you for your insight.


Fixed content_type comparison from eq to match

Since Rails 6.1, the return value of content-type has changed as follows, so the scaffold template has been modified to support Rails6.1 and others.
https://github.com/rails/rails/pull/36034/files#diff-f5ff9aa07f44111a79d56c09ec37d774b462d97aff68f32490c2e56e74c95783R137

These are generator templates, so I'm happy for you to merge these as is if you want @pirj but I am curious why our tests didn't pick this up?

@JonRowe This is due to the generated spec containing this:
RSpec.describe "/<%= name.underscore.pluralize %>", <%= type_metatag(:request) %> do
  let(:valid_attributes) {
    skip("Add a hash of attributes valid for your model")
  }

So we're skipping them when running example_app_generator's app. It's something that we could improve.

Thank you, @ham0215 !

@pirj Ah a change broke the example app generator then, as we explictly gsub that to a hash... we need to fix that here, and then ensure it can't break like this again... https://github.com/rspec/rspec-rails/blob/main/example_app_generator/generate_stuff.rb#L165


added subset sum equal to W using bit manipulation in CPP - #6090

Have you read the Contributing Guidelines on Pull Requests?
(YES.)
Description
(Array subset sum equal to W using bit manipulation.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Issue #6090)

Don't accept such problems

For which type of problems should I create issues ?


TransitionItemProps Types

Hi, thank you for maintaining and publishing such an awesome library! Hopefully this issue hasn't been raised before (and hopefully I'm not just being stupid).
I'm using TypeScript in my project, and noticed that TransitionItemProps may be a string, number or object (https://github.com/drcmda/react-spring/blob/master/index.d.ts#L128).
However, I noticed the docs mentions that this can be any, and the PropTypes seem to indicate this too (https://github.com/drcmda/react-spring/blob/master/src/Transition.js#L55, http://react-spring.surge.sh/transition).
I'm toggling the visibility of a modal based on a boolean flag (modal mounts/unmounts on route change). Maybe I'm doing something weird and this isn't how items is meant to be used, but here is an example that roughly shows what I'm attempting to do. TypeScript fails to compile this based on the type of items.
https://codesandbox.io/s/v0xnxy3060
Thank you in advance!

I guess this is related to: https://github.com/drcmda/react-spring/issues/276 Could you see if that's the case?

Thanks for the reply :) From what I can tell the types I have locally are the most up to date, and the types in the master branch and 6.x.x are all in line. Assuming that items/TransitionItemProps may been a boolean, perhaps it was just an oversight when the types were being written?

It can well be. If you know how to fix it (i don't unfortunately :-( ... ) could you make a PR?


table.go: support full table scan

I'd like to make a PR for adding a full table scan function to table.go.
Basically it is inspred by How to scan 475 million partitions 12x faster using efficient full table scan with Scylla 1.6
Will you be interested in the PR?

It's implemented in https://github.com/scylladb/gocqlx/blob/master/example_test.go#L504 but sure we can port it as a gerenal pupruse function.
The main code corpus should live in gocqlx itself and should resolve parameters like nodesInCluster and coresInNode it may require patches to our gocql fork first.
It should be then invoked by table module with table name.
@GingerMoon please send some sort of design.

I'd like to separate into several commits:

Simply port the the unit test. And make stuff like nodesInCluster as a configuration parameter.
Add stuff such as nodesInCluster into the scylladb and then change table.go accordingly.
Refine the commit#1. For example:
There can be too many rows returns for some specific tokens.Then we need to retry with the "limit".
Add something like filter/handler callback to handle the returned row. The "producer" and "consumer" of the rows will work at the same time so that we don't need to keep all the returned rows.

There can be too many rows returns for some specific tokens.Then we need to retry with the "limit".

In my view you want something like func ForEach(table string, fn interface{}) GocqlX should ensure that the fn is sth like func(v MyType) bool and extract all the type info from it.

we have this implemented at JustWatch and we can opensource the code, if you are interested.
The library implements a scanner type with its central method Scan which is defined as
// Scan performs a token range scan with the provided select builder
// The scanned items are passed to the ApplyFunc. If the ApplyFunc returns ErrAbort the scanning process
// is aborted. All other ApplyFunc errors are just logged
func (s *Scanner) Scan(
	ctx context.Context,
	selectBuilder *qb.SelectBuilder,
	partitionKeyColumns []string,
	applyFunc ApplyFunc,
) error

with ApplyFunc being defined as
// ApplyFunc is a callback function that is called with each retrieved scan item
type ApplyFunc func(context.Context, map[string]interface{}) error

would you be interested?

the above implementation closely follows the scylla implementation described in the article, but uses error groups instead of go routines and sync.Wait

Accepting a builder is probably a good idea, it could go as a Scanner field. It would be more convenient if you could bind from struct using BindStructMap to add missing token ranges.
Classical consumer i.e. func(v MyType) bool works better in my view. Managing error is not responsibility of Scanner. There can be multiple scenarios like fail fast vs. aggregate errors, and many additional requirements.

what would be bool in func(v MyType) bool indicate? I chose an error to be able to defined an error that indicates that the scan should be aborted. Otherwise the error is just logged. This probably makes sense to exclude from the scanner. If you need logging, the user can implement it in the passed applyFunc.

It's a continue indicator (or abort if you like). The point is that error handling is left to the caller.

ok, basically the same we did with the ErrAbort error value, but a bool is the better choice if this value is never passed to the Scan outside.

Any updates?

I thought zwopir would go on the PR.
Hi @zwopir Please feel free to let us know know if you don't have time. I'd like make one. :)

sorry, I saw the two 👍 too late. Here's a first version open for discussion https://github.com/scylladb/gocqlx/pull/157


Customizing the config location

In an application I’m developing I have a root directory called tools/ that contains various things to spawn Webpack dev server, or GraphiQL, or run scripts. I would like to define Storybook configuration in tools/storybook.js and be able to call it using JavaScript methods instead of using the start-storybook command line interface. That would allow things like:
$ npm run dev
Application is available at http://localhost:3000
GraphiQL is available at http://localhost:4000
StoryBook is available at http://localhost:5000

How to do that?

You can change the config directory using this API: https://github.com/kadirahq/react-storybook/blob/master/docs/configure_storybook.md#configuration-directory
You may use shelljs to run the storybook command.

But can I change the config.js filename?

We have many config files, so it's always better to store them in a directory. (even if you've just the config.js file)
So, I think changing that's not ideal.
But I'm open to find a way to run the storybook manually.

Hi @mquandalle
A storybook express middleware is available from v1.28.0.
import storybook from '@kadira/storybook/dist/server/middleware';

// ...
app.use(storybook(configDirectory));
// ...

Check this line
Related: https://github.com/kadirahq/react-storybook/issues/208


Fix the regex for '-ReleaseTag'

This PR is only to change the regex for '-ReleaseTag', so that we can build for 'v6.0.0-rc'. There is no need to wait for the CI to finish.


escape-svg fails for unquoted URLs

When using the SCSS version of Bootstrap, I am experiencing problems when providing an unquoted URL for the $breadcrumb-divider variable.
This is because the escape-svg function expects the URL to be quoted. Therefore, it removes the first five url(' and last two characters '). However, in the case of an unquoted URL, this fails. My understanding is the unquoted URLs are valid SCSS for the url function.
File poc.scss.txt shows the escape-svg function and other helper functions taken from the Bootstrap SCSS.
It also includes two other variations, my attempts at fixing the issue.
poc.scss.txt
File poc.css shows the output when compiled.
poc.css.txt
.breadcrumb-item shows the CSS using the existing function. In the case of url(data, the data part is truncated to ata
.breadcrumb-item2 and breadcrumb-item3 show the outputs with the adjusted function.
I am happy to create a pull request if agreed that this is an issue to be fixed.

/CC @twbs/css-review (also please add v4/v5 labels where this applies)

So, I'm able to reproduce this on both v5 and v4.
Please have a look at a dedicated SassMeister. I took @jrdutton examples and added one of our own SVGs.
FWIW, this function expects quoted URL since SVG as data URi won't work without quotes (simply remove the one in $breadcrumb-divider4 to see what happens). Your case is somehow invalid since you're using base64—which Bootstrap doesn't.
@jrdutton in fact, if you're using base64 encoded SVGs you don't need to use escape-svg() function at all since it's meant to URL-encode datas. Please have a look at Taylor Hunt's excellent post "Optimizing SVGs in data URIs".
That being said, using the second suggestion —replacing str-slice($string, 6, -3) with str-slice($string, 5, -2)—shouldn't harm, except for people using unquoted URL-encoded SVG data URis.
Two things to consider then:

using this (small) improvement to allow unquoted base64 usage in customization
improving our docs to make things obvious, whatever we decide with 1.

@mdo @MartijnCuppens any thought?

Thank you @ffoodd for looking at this. I will take a look at the articles you suggest.

Opened #31653 to leave a comment in the source code. Don't think we need too much more here for now so we don't risk breaking behaviors for others.


regional maps in diags.py need aspect ratio

There are some regional maps in diags.py that need the aspect ration fixed. I have attached the diags.py output and the AMWG (NCAR) output. Also the difference isn't plotted for the tropics. and the map has double labels (not aligned). The Diags.py output is the last map.

@mcenerney1 simply add ratio="autot" to the vcs plot calls, and VOILA!

Also, the latitude range in the metadiags output for "TROPICS"  is different from NCAR AMWG output. The latitude range should be from 40 south to 40 north (-40,40)

@glpotter according to https://en.wikipedia.org/wiki/Tropics tropics should be between   23°26′13.7″ south and  23°26′13.7″ north :stuck_out_tongue_winking_eye: Easy fix though.

OK, but the AMWG routine calls the tropics -40 to 40. Who knew? - we have to be like them....

@glpotter I was just teasing you.

interesting that Jeff or whoever did this used the literal definition of tropics without looking at the AMWG set

@glpotter it's on aims4 now, generated with:
/usr/local/uvcdat/2016-03-16_Mesa/bin/diags --model path=/space1/test_data/alpha6_test_run_001-010,climos=yes,type=model --obs "path=/space1/test_data/obs,climos=yes,filter=f_startswith('GPCP')" --logo no --package AMWG --set 5 --seasons ANN --vars PRECT --outputdir ${HOME}/diags_output --prefix set5 --postfix GPCP --regions Global Tropics

Not sure why there is only one plot though. Might be read access issue.
Let me know.

Brian Smith supplied most of the region definitions.  Though I don't specifically know about "tropics", it must have been him.  He made a reasonable choice, but I agree that NCAR's AMWG is the standard to match here.  FWIW, I've also seen "tropics" defined as -30 to 30.  No doubt you could find people using other ranges if you wanted to look.

@glpotter it's fixed in https://github.com/UV-CDAT/uvcmetrics/pull/200

In my defense, I just copied the region definitions from NCAR definitions.
I didn't arbitrarily make them up or anything :)
On Thu, Jun 16, 2016 at 1:05 AM, Jeffrey Painter<EMAIL_ADDRESS>wrote:

Brian Smith supplied most of the region definitions. Though I don't
specifically know about "tropics", it must have been him. He made a
reasonable choice, but I agree that NCAR's AMWG is the standard to match
here. FWIW, I've also seen "tropics" defined as -30 to 30. No doubt you
could find people using other ranges if you wanted to look.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/UV-CDAT/uvcmetrics/issues/192#issuecomment-226389086,
or mute the thread
https://github.com/notifications/unsubscribe/AE-1UYjVdl1mgJ9FFFpNRToMR1cj2IUXks5qMNl8gaJpZM4ItuHx
.

They might define "TROPICS" for lwmg differently than amwg perhaps....?

don't worry @isubsmith it was an easy fix


使用非默认路由时 会导致UI 样式js文件加载404

app.UseLogDashboard("/log");

https://github.com/realLiangshiwei/LogDashboard/blob/6b920e9f3525d01e35b1066dd45a061528539ca9/src/LogDashboard/LogDashboardOptions.cs#L23

https://github.com/realLiangshiwei/LogDashboard/blob/6b920e9f3525d01e35b1066dd45a061528539ca9/src/LogDashboard/LogDashboardOptions.cs#L23

Version 1.4.7
IIS site name: Default Web Site/AEMS
Destination URL: <IP_ADDRESS>/AEMS
How to change the PathMarch, it doesn't work when I changed it like this.
services.AddLogDashboard(opt =>
{
opt.PathMatch  = "/log";
});


layer reference in data functions

I've been working on a stacked area graph. The values I want to render are all in the same array of objects I'm passing to d3.layer.stack(). However, I want different layers to show different attributes on those objects.
What I'd like to be able to do, is pass a layer reference to x and y accessor functions, so I can creating additional arrays and objects for the layers' values.
var data = [ {day: '2016-01-01', production: 50, consumption: 100}, {day: '2016-01-01', production: 75, consumption: 110} ];

layers = [{ title: "Net Power Consumption", values: data, rangeValue: function(d){ return d.consumption - d.production;  }, { title: "Power Production", values: data, rangeValue: function(d){ return d.production; } } ];

var area = d3.layer.stack()
                   .y(function(d, i, layer){ return layer.rangeValue(d); })

Is there a good reason, a layer reference is not passed? If not, I'm happy to open a PR.
Thanks.

Your example data is nearly identical to the one used in the d3.stack API reference in the new d3-shape for 4.0. Given your data:
var data = [
  {day: '2016-01-01', production: 50, consumption: 100},
  {day: '2016-01-01', production: 75, consumption: 110}
];

You could use it like so:
var stack = d3.stack().keys(["production", "consumption"]);
var series = stack(data);

Which produces:
[
  [[0, 50], [0, 75]], // production
  [[50, 150], [75, 185]] // consumption
]

You can do this in the 3.x API using some data transformation, but if you want help with that, please use Stack Overflow or the d3-js Google group.

Exactly. Thanks for the quick reply.


feat(robot-server): http basic pipetting- load labware

Overview
Live protocol session continued! This PR adds the ability to load labware.
Closes #6591
Changelog

added load_labware handler
added LoadLabwareResponse model
added labware state handler to store
added unit tests & tavern integration tests

Risk assessment
Low. Adds a 'result' router field to sessions command executor. Everything else is still isolated.

Thanks for the thoughts, @sfoster1!

The choice we made with the existing protocol stack to have clients send custom labware definitions - to structurally have custom and maybe all labware definitions live on the client and be sent on-demand to the robot - isn't actually driven by the problems with the existing protocol stack, it's because of larger problems with the distributed nature of runapp + server. I don't think it'll add much code to have a load labware request where the client can upload a definition, and I think it's a good thing to have in from the start.

This is a good point. We have talked about and planned a loadLabwareFromDefinition command (or similar), and it's looking like the first requirement for such a command will be driven by the JSON protocol executor. Since that's basically next, it'll be included imminently. The need to load labware from definitions directly is why we chose to insert the definition into state, so loading by load name vs definition basically become the same thing immediately after the command is "handled", because then the system is just dealing with "I have this labware and its definition is in state".

This PR loads labware objects into an internal store but not into a deck object, which is a minor thing but it's worth noting that the deck is where some of the logic around like highest-point tracking lives so you'll probably want to do that before implementing motion control stuff.

Thanks, we'll keep an eye on that. We're trying (I hope in an obvious way) to use what's already there more than anything else. Deck has the concern of being a thing that does logical geometry calculations but also needs to act as a public interface for the Python Protocol API, so we may end up doing some extraction (or temporary duplication) to avoid conflicts


fix(git): use resolved ref if available when doing a full clone

Fixed some issues with using semver ranges in Git URLs.
For example calling:
const pacote = require('pacote');
pacote.manifest('git+http://github.com/zkat/pacote.git#semver:~6.0.0', {cache: '/cache'}).then(pkg => {
    console.log('package manifest for registry pkg:', pkg)
}).catch(e => {
    console.error(e);
});

Would result this error:
{ Error: Command failed: C:\Program Files\Git\cmd\git.EXE checkout ~6.0.0
error: pathspec '~6.0.0' did not match any file(s) known to git.

    at ChildProcess.exithandler (child_process.js:271:12)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
  cause:
   { Error: Command failed: C:\Program Files\Git\cmd\git.EXE checkout ~6.0.0
error: pathspec '~6.0.0' did not match any file(s) known to git.

    at ChildProcess.exithandler (child_process.js:271:12)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
     killed: false,
     code: 1,
     signal: null,
     cmd: 'C:\\Program Files\\Git\\cmd\\git.EXE checkout ~6.0.0' },
  killed: false,
  code: 1,
  signal: null,
  cmd: 'C:\\Program Files\\Git\\cmd\\git.EXE checkout ~6.0.0' }

This is one of those "how did this ever work" things...

@andreeib hey! Do you mind looking at #107 and confirming that you're ok with this commit being licensed as MIT? Once you give your OK, this LGTM and I'll merge it in. Thanks for the patch!

Hey @zkat, I'm ok with the licensing. Cheers. 👍

awesome. Thanks!

The problem in this topic https://github.com/npm/npm/issues/17621 which is closed and connected here still can be found in a new 5.6.0 release.

"xxx": "git+ssh://git@bitbucket.org/xxx.git#semver:^1.0.1",
Can't install<EMAIL_ADDRESS>Missing package version


Fix the fixit for specialized non-generic types

If a non-generic type is specialized, a fixit is provided to remove the
generic arguments. The DiagnosticEngine turns a SourceRange into a
CharSourceRange by re-lexing the token at SourceRange::End.
The problem solved by this change occurs, if the non-generic type is
nested in an other generic type like this:
let a: GenericType<NongenericType<NongenericType>>

The lexer doesn't know that the closing angle brackets are individual
tokens leading to the removal of both of them. We can work around this
by directly specifying the start and end locations.

@swift-ci please smoke test.


Unable to run quickstart --- with no log

@shilei007520 try use datahub docker quickstart, without any additional args?


Repo with bad advanced target, won't let me delete

Issues:  I must have put something bad in the advanced for target and it wouldn't deploy the resources.  It got stuck in Githupdating state.  So I tried to delete it.  It wouldn't let me, just gave me an error.  I guess it did delete eventually, it just didn't show it removed?

Closing - won't fix


toIcon() throws "Invalid value for icon (1)"

toIcon() works only for $page
e.g.
$page->icon()->toIcon()->use());
if you use icons for your navigation, the funciotn throws an error
e.g.
$items = $pages->listed();
foreach($items as $item):
echo $item->icon()->toIcon()->use());
endif;

Oh, it does this on empty icons.
I'm not sure how it should handle those.
Maybe the files field approach, where "toFile" returns a falsy value when there is no file selected.
This would mean that we need to write the template like this:
<?php if($icon = $page->myIcon()->toIcon() ?>
<?= $icon->use() ?>
<?php ?>

Or, it could simply fail silently and not output anything. Don't know what's more desirable. What do you think?

I have also tried your suggestion, but it does not help.I still get the same error.
Probably it's because toIcon() only works for $page and not also for $item ?

yeah that isn't implemented - I was just pondering about the question if empty fields should just fail silently if there is no icon, or if it should return null like the toFile method does.
The latest version does now fail silently. So you should just need to download the latest version as zip.
toIcon is called on a field, if that field is on $item, $page, $site or anything other doesn't change. :)

yeah that isn't implemented - I was just pondering about the question if empty fields should just fail silently if there is no icon, or if it should return null like the toFile method does.

I don't know what's better, null like the toFile method is probably a good choice.
An additional fallback icon would also be a good option.

Latest version now includes a fallback option if the icon is empty or in an invalid format.
Use it like this:
$page->shareIcon()->toIcon('fal fa-share-alt')->use();

'fal fa-share-alt' being the fallback.
you can also check if an icon is invalid:
<?php if($page->shareIcon()->toIcon()->isInvalid()): ?>
Icon is invalid!
<?php endif; ?>


Placeholder and form values over multiselect content?

I have one issue, probably CSS related but just can't figure it out.
Have some vue-multiselect CSS overrides but have the same behaviour if I remove them.

Been spinning my head over few days to solve this but without success. Any ideas?

I have figured out one thing. If I remove display: none; from multiselect__content-wrapper manually from Chrome dev tools, then it is displayed correctly.

If I use the dropdown button to activate options then I get result as seen above.

I have figured out...
.multiselect__content-wrapperand .multiselect__active must have the same z-index, otherwise you get above result.

It seems there’s a problem with the z-index property. Please make sure the component where vue-multiselect is located has higher z-index value than other components/elements. Also keep in mind that things like position: relative affect the z-index property.

I had a very similar issue (in my case, when I had a prettycheckbox under the select-wrapper).
The problem was that this css is not being applied: .multiselect--active { z-index: 50 } so I write this important css inside my component  .multiselect--active { z-index: 50!important; } and now is working fine.
I guess this is the same issue that @PrimozRome had explained. Hope it helps.


add GlobalPhase bloq

E           qualtran.testing.BloqCheckException: Serialization Failed:
E           Cannot serialize 1j of unknown type <class 'complex'>

How do we serialize complex numbers?

We currently don't, please open an issue and add GlobalPhase bloq to the not yet serializable list in assert_bloq_example_serialize_for_pytest and the tests will pass. We can fix the serialization in a follow up PR


Players spawn with weapon up

There was a time when players automatically lowered their weapon after receiving loadout, check why this is not the case anymore.

Seems to be fixed now for loadout menu, but still happens with loadout on spawn.


CI job to orchestrate bee-factory in other repositories

https://github.com/ethersphere/bee-js/pull/297


Suricata 6.0.8 upgrade will probaly fix high(er) cpu load during no or low traffic

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
This is more of a heads up, not a bug. But it seemed important enough to mention to the devs and to track it here too.
More info is in this OPNsense forum thread:
21.7.3_1 - higher system load after upgrade caused by Suricata
Summary:
Since OPNsense 21.7.3 several users experienced significant higher cpu load while intrusion detection was enabled.
This was the first version released with suricata 6.x. (6.0.3)
Suricata 6.x switched from pthread to usleep for flowmanager in release 6.x.
In the most recent suricata release 6.0.8 the devs reverted back to usleep, see [5]
The higher load is noticeable during idling, with no traffic, possibly caused by high context switching. How much the load increases will depend on the kind of hardware and can vary. On virtualized instances of OPNsense and suricata possibly there is an extra increase of the load.
I did several tests with vanilla suricata installs in proxmox with an ubuntu and freebsd vm.
Test results are added in the above linked suricata bug [5]. And they confirmed on my hardware that the load during idle went back at levels of suricata release 5.x.
The ipfire devs are testing 6.0.8 too and see similar results. See [2].
[1] https://forum.suricata.io/t/cpu-usage-of-version-6-0-0/706
[2] https://bugzilla.ipfire.org/show_bug.cgi?id=12548
[3] https://redmine.openinfosecfoundation.org/issues/4096
[4] https://redmine.openinfosecfoundation.org/issues/4379
[5] https://redmine.openinfosecfoundation.org/issues/4421

Thanks for the report although this can already be closed... added to FreeBSD ports and will be in 22.7.5 today.
Cheers,
Franco

Thanks and no problem, I will keep my eye on the responses for 22.7.5 in the forum and of course my own system.

@mjanssens thanks for reporting back and happy to hear this improved things. Changing label to "upstream" because that fits better.
Also refs: https://forum.opnsense.org/index.php?topic=30585.0


Please make quicklook feature /include the quicklook app in files

What's the Problem?
Hi,
I'm very happy with the new files v2 app for Windows 11.
The only feature I am missing is a quick look feature.
macOS users are familiar with this handy function: you just press the space bar inside the finder app and instantly see a preview i.e. of an image file.
Now, for Windows explorer there is already a quick look app, developed by Paddy Xu. Unfortunately, this app does not work inside the files app.
Solution/Idea
The most obvious solution would be to get in touch with the developer of quicklook for windows to include this app inside the files app for windows.
Alternatives
If that's not possible, another solution would be to create an independent quick look feature for the files app.
Priorities
| Capability | Priority |
| This proposal will allow developers to accomplish Y | Could |
Files Version
<IP_ADDRESS>
Windows Version
Windows 11
Comments

@Cloudwires QuickLook is already supported in Files, can you open a new issue as a bug report and include the log files so we can look into this?


Set defaults for GHA job

I would like to run the pipeline actions in a working directory under my repository root. e.g. My CDK app files are in ./cdk/. I currently do this using:
  test:
    name: Test
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: cdk

Is there a way to pass a defaults block into the pipeline config?

You can currently add job level defaults to any JobStep via the defaults property: https://github.com/cdklabs/cdk-pipelines-github/blob/ad882b9d2e311c427d3a91a3236c0af5c6999546/src/workflows-model.ts#L90
There is also a JobSettings property on the GitHubWorkflow construct that can potentially be extended to add things to all jobs if necessary. Where are you trying to pass a defaults block?
As always, these issues demonstrate to me the need for escape hatches as the next thing we support. Then, no one will be truly blocked and can patch anything they want in the workflow on their own. I see you already have some ideas on this issue -- thanks! I feel like that is the most important next thing to add to this library. When I have the time, that's something I want to add.


Include JSON Database

Include JSON Database from The Willow Tree OMS: View Menu Iteration

Updated Menu.json with new values and included.

Updated Menu.json with new values and included.


Is there a future plan to add Integration with Consul service discovery?

There has been an occasional request, but since consul exposes a dns interface, that is generally used.

Consul dns response ttl is 0 by default, that means Kong will have to query every time it has a request which will cause high latency.

@tzahimizrahi does this answer your question or did you have something else in mind?

@subnetmarco DNS resolution is good however I hoped to find an integration with Consul service catalog which is a more reliable and relevant method for high rate scaling services echo systems

@tzahimizrahi the request would be to integrate with their Catalog HTTP API in order to list nodes for a service and proxy to those nodes? Could you please describe the behavior you would like to see in Kong?

@subnetmarco right. the implementation should include a watch on consul services catalog that trigger an update Kong beckend upstream according to a service node health change.
Tnx!

@subnetmarco there is some limited in consul dns interface, the service and tag names in consul should't allow some characters like dot.
FYI.
https://github.com/hashicorp/consul/issues/215
https://www.consul.io/docs/agent/services.html#service-and-tag-names-with-dns


Schema Builder: collaction() should be wrapped by quotes (when change())

Laravel Version: 5.8.34 (lastest)
PHP Version: PHP 7.2.21
Database Driver & Version: MariaDB 10.3.17

Description:
Same as #23944. The difference is that it affects when you need run ->change().
Steps to reproduce
Schema::create('addresses', function (Blueprint $blueprint) {
    // That will works, once that was fixed by #23989.
    $blueprint->string('addressable_type')->collation('binary');
});

Schema::table('addresses', function (Blueprint $blueprint) {
    // That is the current problem.
    $blueprint->string('addressable_type', 400)->collation('binary')->change();
});

@staudenmeir Could you help on this again? 😄

I'll look into it.

I've submitted a PR: https://github.com/doctrine/dbal/pull/3668
In the meantime, you'll need to quote the collation yourself:
Schema::table('addresses', function (Blueprint $blueprint) {
    $blueprint->string('addressable_type', 400)->collation('`binary`')->change();
                                                            ^      ^
});

It will be fixed in the next release of doctrine/dbal.


Select Icon

Hello, how to use a different icon, which when you click select nothing happens (no modal window appears). I am testing on a Joomla 3.6.0, PHP 6.5.18.
Thank you
Carlos

I need to know the module version. Also please provide the browser console output (from module options view). It looks like JS problem.

Hello Arthur, thanks for answering. I was testing the module in localhot and why not open the modal with icon options, but installed the online site and it works perfectly. Congratulations on the excellent module !!
Success to you!
Att: module version is 1.5.2 (gitub download)
Carlos

Hello, follow translate for pt-BR
Thanks!
pt-BR.zip


do not limit to js or ts files

In this line of code the loader will skip processing if the extensions are not js or ts.
This is not something that the loader should care about.
If the user sent an invalid file, somewhere along the pipeline and error will be thrown and the loader can catch it or pass it on.
The whole purpose of webpack is to allow transformation of content between loaders so it is 100% valid to send a file.XXX that contains valid js code. Even if, originally, the file had C++ code but before value-loader a C++ to JS loader changed it... 100% valid.
A real-life example is tsx files... some might use coffescript files and frankly there are tons of extensions out there that can have valid JS code, transformed or not.
Let this be a user's choice, if the user makes the wrong choice webpack will not stay silent... :)

I understand that, but it still makes the loader unusable when you have other extensions that are JS executable...
tsx is one example, there are others.
You should al least let people choose the extensions


Task not available after install on AzureDevOps (cloud)

I have successfully installed the extension and it shows on the list of installed extensions at the Organisation level.
When I edit a release or build definition the task isn't available to add.  It appears under the list of Marketplace entries but the install button is greyed out.

This is on the cloud based AzureDevOps (formerly known as VSTS)

I am also having this issue.  Installed on 3/27 to a cloud instance of ADO.

Tried this on multiple clean AzDo accounts, and cannot reproduce. Logging in/Logging out might help sometimes. I saw once that it just did nt show as well, logging in again and CTRL-F5 helped..

I've tried it again and it's working now.
Several of us had tried this before and it wasn't working so we know there was a problem (and not just me losing my mind).
We're going to assume it was a Microsoft problem with AzDO and they've now fixed it.
Thank you for checking.

Yes, verified it's working now.  I also noticed yesterday that it was more than just this task that was having the issue.


use _blank + noopener + noreferrer consistently

Fixes https://github.com/lnbits/lnbits/issues/2129 - add a target="_blank" to all logos on index

@prusnak  ACK


Update readme instructions for js

Update javascript README so that:

The actioncable js is required
The filename for example js doesn't conflict with the actioncable js

Since all of the other examples are .coffee files, why don't we stick with it and combine these into one example?
How about:
# app/assets/javascripts/application_cable.coffee

#= require cable

 @App = {}
 App.cable = Cable.createConsumer "ws://cable.example.com"


Add third_party/hexagon to include path for hexagon builds.

Within the hexagon kernels themselves, there is:
#include "hexagon_tflm_translation_fully_connected.h"

which assumes we have third_party/hexagon in the include path.


Enable LongDoubleConversion error-prone check

See https://errorprone.info/bugpattern/LongDoubleConversion
After seeing #12008 (Calling isNaN on long arguments), looked into this check and it finds a few other things.
In general, we don't have many long-double conversions so the check is not particularly annoying or noisy, and as a library it is better not to play it fast and loose with floating point, even though java allows implicit cast of long to a double
It finds two bugs:

BooleanPerceptron classifier was missing a call to signum, it passed the result of Boolean.compareTo directly to a scoring function, but the exact return values here are not guaranteed (only 0, negative, positive)
TestBytesWritesTrackingDirectoryWrapper was inadvertently using assertEquals(double, double, double) to compare two long values: no need to bring floating point into this test. If it fails it will be a lot less confusing.

Otherwise I added explicit casts, with the exception of that pesky TestLucenePointsFormat.testEstimatePointCount which needs help around its math in general (I added TODOs, since it ends out getting duplicated about 6 times in the codebase right now due to backwards codecs)
Closes #12009

thanks @stefanvodita for the suggested cleanups here!

Thank you for reviewing @stefanvodita