Llama support?

Do you have plans to support other LLM models like Llama 3?
Or would it be easy to modify code implementing interface to OpenAI. I would like inerface using Ollama.
Any hints would be appreciated.

Hi @hellfire7707
I have not used Ollama directly, but as far as I see it has the OpenAI API chat completions compatibility (https://github.com/ollama/ollama/blob/main/docs/openai.md), therefore it should work out of the box with this eclipse plugin. Alternatively you can use a model loader, such as LM Studio, that implements the OpenAI API endpoint.

Hello @hellfire7707
It is possible to register ollama as a chatgpt endpoint with http://localhost:11434/v1/chat/completions (turn off Visions and Function Calls, as this is not supported by ollama). You should pull the models before using this plugin.
The integration itself works so far, but I guess the prompts should be adapted?! Or it's just the model we have to find?  I didn't find a local model which supports the expected features really (tried stable-code, starcoder2, codellama). At least for me, it doesn't always produce the expected answers. The one with the best results seems to be codellama. If you have any better success, please share it here.
@gradusnikov I would be happy if you would have a look at ollama if you get the time. There are a lot of vs code AI plugins which support ollama beside of ChatGPT, and it seems as these plugins do produce better results than this plugin here (I don't know what's the difference to your plugin). Keeping the code private via a local offline model certainly has its value. Depending on the hardware you have, it's even remarkably faster.
The log of ollama reports a warning in the calls:
time=2024-05-18T23:36:12.020+02:00 level=WARN source=types.go:384 msg="invalid option provided" option=""
Maybe this even helps you.

llama.cpp has its own OpenAI compatible API endpoints now:
https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md
I've found Ollama to be incredibly buggy and it's often very hard to see what is actually getting sent to their server (eg: ask it to refactor some code before and after saying "hi" and clearing the context... This should give the same results with temperature=0 but it actually doesn't!!!). There was a bug where the system message wasn't getting passed to the API that went unnoticed for a few months too... Overall it isn't a good backend to use if you care about getting the most out of the models.
As for the models to use, then I've found wizard-lm-2 to be by far the best for C, C++ and Java. This company did some test recently:
https://old.reddit.com/r/LocalLLaMA/comments/1clfahu/we_benchmarked_30_llms_across_26_languages_using/
https://prollm.toqan.ai/leaderboard
Which also backs this up.
If you don't have much VRAM then deepseek-coder and phind-codllama are the next best I think (for C, C++ and Java anyway).

My appolgy for late reponse.
I used LM Studio instead of ollama and it workd fine.
Thank you for all your efforts.

Done through #32


fix schedule-firestore-writes: error message even on success

Fix for this issue: #31
Breaks were missing in the switch case. In the case of CLEANUP === "DELETE" both cases would be executed. The second case would try to update the document that was deleted in the first case resulting in the error.
Once this was fixed a second bug occurred. The return value of the function was wrong because error was negated twice instead of only once.
I couldn’t find any tests so I deployed the function to one of my firebase projects and it worked correctly.

Are there any plans on making a new release with this PR

Would be great to get this one released. Having to filter some altering around this at the minute.

Any chance we can get this released?


new sollve suite script run_OpenMP_VV.sh and update to clone new repo

trys to run new sollve suites

trying to add julian , but github simply cant seem to find him here using jtb20


Resize tables when exported to PDF

The rendering of big tables when exported to PDF is flawed. Columns end up being very narrow, with text spread over multiple lines.
An idea could be orientating the page in landscape and decreasing the size


Remove old govuk-title styling

This needs removing now the title has been updated to use namespace pub-c- and BEM

Can you remove pagination styles too?


Update<EMAIL_ADDRESS>

This updates the asset loader to 0.3.3, including the fix for #330, which is directly tested in the loader there.

Codecov Report

Merging #333 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #333   +/-   ##
=======================================
  Coverage   69.45%   69.45%
=======================================
  Files          12       12
  Lines         383      383
=======================================
  Hits          266      266
  Misses        117      117

Continue to review full report at Codecov.

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


Browsing a test class under construction attempts to create instances

Browsing a test class attempts to create instances. If instance creation is broken for that class at that moment (due to, for instance, a broken initialize method) you get the stack below. This is fairly difficult to recover from, since you can't easily browse the class to fix it.
It appears to be trying to get the list of test selectors -- it looks like there's API t(perhaps TestCase class >> allTestSelectors) to do that without creating instances.
MessageNotUnderstood >> defaultAction @9 line 7
MessageNotUnderstood (AbstractException) >> _defaultAction @4 line 4
MessageNotUnderstood (AbstractException) >> _signalWith: @5 line 25
MessageNotUnderstood (AbstractException) >> signal @2 line 47
NonLocalReturnTest (Object) >> doesNotUnderstand: @9 line 10
NonLocalReturnTest (Object) >> _doesNotUnderstand:args:envId:reason: @8 line 14
NonLocalReturnTest >> initializeRandom @14 line 12
NonLocalReturnTest >> initialize @2 line 2
NonLocalReturnTest class >> new @3 line 2
NonLocalReturnTest class (TestCase class) >> selector: @2 line 3
[] in TestCase class >> buildSuiteFromMethods: @10 line 7
[] in Collection >> inject:into: @7 line 11
OrderedCollection (Collection) >> do: @5 line 10
OrderedCollection (Collection) >> inject:into: @3 line 11
NonLocalReturnTest class (TestCase class) >> buildSuiteFromMethods: @6 line 4
NonLocalReturnTest class (TestCase class) >> buildSuiteFromSelectors @3 line 2
NonLocalReturnTest class (TestCase class) >> buildSuite @12 line 9
NonLocalReturnTest class (TestCase class) >> suite @2 line 3
NonLocalReturnTest class (GsTestCase class) >> suite @2 line 4
RowanMethodService >> initializeTestMethodsFor: @8 line 7
RowanMethodService >> forClass:organizer: @32 line 21
RowanMethodService >> initialize:organizer: @29 line 20
RowanMethodService class >> forGsNMethod:organizer: @3 line 3
RowanFrameService >> initializeProcess:level:organizer: @14 line 13
RowanFrameService class >> process:level:organizer: @3 line 4
RowanProcessService >> initialize:status: @9 line 7
RowanProcessService >> update @3 line 3
RowanProcessService (Object) >> perform:withArguments: @1 line 12
RowanProcessService >> servicePerform:withArguments: @2 line 2
[] in JadeServer >> updateFromSton: @35 line 13
OrderedCollection (Collection) >> do: @5 line 10
[] in JadeServer >> updateFromSton: @24 line 9
ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[] in JadeServer >> updateFromSton: @12 line 14
ExecBlock0 (ExecBlock) >> on:do: @3 line 44
JadeServer64bit35 (JadeServer) >> updateFromSton: @2 line 23
GsNMethod class >> _gsReturnToC @1 line 11

This is @ericwinger territory ,,, the culprit looks like RowanMethodService >> initializeTestMethodsFor: might need an error handler for this case (?):
NonLocalReturnTest class (GsTestCase class) >> suite @2 line 4
RowanMethodService >> initializeTestMethodsFor: @8 line 7

Thanks, @dalehenrich. An error handler might be a good idea in general, but I think for this particular case creating instances is not necessary so it would be better to just not create instances.

it's up to  @ericwinger ...

I made a quick fix that sends the allTestSelectors method instead of suite which should avoid instantiating the test instances. Offered to @martinmcclure. If it works, I'll defer to him to close this issue. The fix would be in the first version of Jadeite to support V3.0.
If needed, we can pull it back to a prior version of RowanClientServices. Would like some feedback if that's required.

I wouldn't be surprised if this fix would also address https://github.com/GemTalk/Jadeite/issues/888

Forgot to put the commit in the issue. Feel free to see if this improves the performance of https://github.com/GemTalk/Jadeite/issues/888 @dalehenrich
https://github.com/GemTalk/RowanClientServices/commit/884a51da589d8f1dd254eac35602729e85a676e1

I'll merge your changes into my work and test, when I get a chance ... @ericwinger will I need to have a new Jadeite version to use your latest oscarV3.0Component_eric or are the rest of your changes compatible with the currently released Jadeite?

I cherry-picked Eric's commit to the martin-issue2 branch (branched from masterV2.2), and built a 3.7 Rowan extent from it. This change looks good to me, but a similar change is needed in RowanClassService>>initializeTestMethodsFor:.
The test for this problem is simple -- add an initialize method in a test class that contains 3 zork. Instant walkback on accept. Assigning back to Eric. :-)

I wasn't able to reproduce the problem in the latest Jadeite in development for Rowan V3.0 using the reproduction case given.  Nonetheless, I made a similar change as indicated in @martinmcclure 's comment: https://github.com/GemTalk/RowanClientServices/issues/2#issuecomment-929552405

I'll merge your changes into my work and test, when I get a chance ... @ericwinger will I need to have a new Jadeite version to use your latest oscarV3.0Component_eric or are the rest of your changes compatible with the currently released Jadeite?

@dalehenrich  You'll want to cherry pick the two sha's below for your testing.  Don't merge the entire oscarV3.0Component_eric  branch.
https://github.com/GemTalk/RowanClientServices/commit/884a51da589d8f1dd254eac35602729e85a676e1
https://github.com/GemTalk/RowanClientServices/commit/1b1ece6bfe7ed76af7238cab222a19ef04b8a8af
Assigning back to @martinmcclure

PR #5 has been merged to candidateV2.2. Leaving this issue open until merged to masterV2.2, since the 3.7 server is building from masterV2.2.


How to Use FB Notifications?

I tried the sample from facebook PHP SDK
but when i try to use $fb->api
api function doest not exist in the laravel php sdk
any work around on this?

Same problem with me i want to use search API but it is saying api not found
response = $fb->api('https://graph.facebook.com/search?q=john&type=user', '{user access token}');
error
Call to undefined method SammyK\LaravelFacebookSdk\LaravelFacebookSdk::api()

This is same problem with me. I also to use fb notification. Please help me if you used it. Thanks.

i have solved above problem
$response = $fb->Get('/search?q=name to search&type=user','{user access token}'

@masterpowers:  please help me using fb notification using LaravelFacebookSdk

The api() method is from the old Facebook PHP SDK v3. This package ties into v5 of the SDK.


does az storage blob download take advantage of sparse files? It should..

Either I cannot find out how to do it, or az storage blob download does not seem to take advantage of sparse files.
Downloading a vm os disk snapshot of 30GB, containing only about 1.7GB of data takes more than 60 minutes while azcopy downloads the same file in 7 minutes.
The only reference to something like this in the documentation is --max-connections:
    --max-connections             :  ...
                                    ...
                                    This may also be useful if many blobs are expected to be empty
                                    as an extra request is required for empty blobs if
                                    max_connections is greater than 1.  Default: 2.

However, setting max-connections to 1 does not seem to make a difference to using the default of 2.
Am I doing something wrong?
Environment summary
Tried in two different environments, mac os:
$ echo $SHELL
zsh
$ brew install azure-cli
...
$ az --version
azure-cli (2.0.28)

...

Python location '/usr/local/opt/python/bin/python3.6'
Extensions directory '/Users/d064064/.azure/cliextensions'

Python (Darwin) 3.6.4 (default, Mar  1 2018, 18:36:50)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)]

Also using docker image (on linux)
docker run --rm -it microsoft/azure-cli:2.0.28 bash

@marvinthepa thanks for pointing this out, we are aware of the current limitation.
The cli leverages the storage sdk: https://github.com/Azure/azure-storage-python
This feature should be implemented on the sdk level so python devs, as well as the CLI, can make use of it.
@seguler

I believe it does. @zezha-msft to confirm

@seguler We have the sparse file optimization for upload but not for download. For download, we are currently treating all blob types as equal and simply downloading everything. Perhaps we can add this item to our backlog.

@williexu I have added this item in our backlog.

+1 on sparse enabled downloads using az cli - the only packaged alternative appears to be to use AzCopy, which is not portable to Linux/Mac agents. Want to use this in VSTS.

This issue will be solved in the new AzCopy V10. The related issue is here.

@zezha-msft - Please note AzCopy is NOT available under Azure Automation: Even if I manually downloaded AzCopy within the Azure Automation, Azure Automation didn't/doesn't allow running of arbitrary binaries.
It would be preferable that az storage blob download  handles sparse file downloading efficiently (similarly to AZcopy).

Hi @iyerusad, thanks for the clarification! I see that it's still necessary to provide this functionality in the Python SDK.

I've logged this item to be included in the next generation of the Storage SDK: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/storage/azure-storage-blob.
It will be part of the GA criteria.

I'm having a hard time following this solution. So does/will az storage blob copy or zacopt ever support conversion to local sparse file on download? I can gzip/compress after the fact but it should be in app, IMHO.


aria-controls attribute for buttons that show contents

When a button toggles the display of contents inline (i.e. disclosure), and when the contents are not adjacent to the toggle, we should include additional cues that communicate the relationship of the toggle to the expanded contents.
The wai-aria Disclosure APG recommends using aria-controls to indicate to assistive technology where the controlled contents are. For example, after announcing the button in our core Table example as “Node 1 Details button expanded, ” some screen readers like JAWS announce a key command that the user can use to shift focus to the controlled contents defined in aria-controls .
Updates for this issue include:

For components that include a button that toggles the display of contents, add these attributes:

aria-controls="id of element that wraps contents that are shown" attribute added to the toggle
id attribute added to contents that are shown

Include a row for this attribute in the documentation (refer to the Tabs component for similar documentation)
Components that should be updated are:

Table
DataList
hamburger in Page component
Tabs already have this attribute

:tada: This issue has been resolved in version 1.0.178 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


API docs unclear / incomplete on starting animation at specific frame

I just spent one hour trying to figure out how to start an animation at a given frame which was not the first frame of the animation.
What I tried was:
animation.frame = 5
animation.play()

However, play() resets the frame and starts at 0, which is not documented, at least I didn't find anything. So, the solution is to start playing and then set the frame:
animation.play()
animation.frame = 5

This is counter-intuitive to me. If you think about casette players, you first seek to your playing position, and then press play, not the other way around. Would be great if this is documented so that others don't stumble upon the same issue.

I think the correct solution would be to actually have your animation frames only from 5 to the end.

The frames I start with are dynamic, so I would have to create a lot of animation objects for all different cases. But since the animation class supports setting the frame, why not use it?


Copied command from "Deploy gateway instance" page includes HTML tags

Describe the bug
Clicking on the little "copy" button on the bottom right copies the command but it also includes HTML tags like <br>.
To Reproduce
Make a new resource group and copy the displayed command.
Expected behavior
A functional command.
Screenshots / Logs
Screencast from 2023-09-18 16-32-22.webm
(Resource group has been deleted so the displayed token is useless.)

Probably the same bug will be when copying the relay command.

This should be fixed by https://github.com/firezone/firezone/pull/2515


xUnit support with .Net 7

Hi,
I'm currently tring to Add a xUnit test project to my .Net Maui solution.  I have followed the steps detailed in the following video link.
https://www.youtube.com/watch?v=C9vIDLQwc7M
In order to make xUnit work in .Net Maui we basically have to change the target frameworks in the .Net Maui csproj and add net7.0 to the list of target frameworks.  However, when I do this and try to build, I get the following errors for the ZXing.Net.Maui and   ZXing.Net.Maui.Controls packages.  Could you make those packages support net7.0?  Thanks in advance and keep up the great work!!
Package ZXing.Net.Maui 0.3.0-preview.1 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). Package ZXing.Net.Maui 0.3.0-preview.1 supports:
  - net7.0-android33.0 (.NETCoreApp,Version=v7.0)
  - net7.0-ios16.0 (.NETCoreApp,Version=v7.0)
  - net7.0-maccatalyst15.4 (.NETCoreApp,Version=v7.0)
  - net7.0-windows10.0.19041 (.NETCoreApp,Version=v7.0)

Package ZXing.Net.Maui.Controls 0.3.0-preview.1 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). Package ZXing.Net.Maui.Controls 0.3.0-preview.1 supports:
  - net7.0-android33.0 (.NETCoreApp,Version=v7.0)
  - net7.0-ios16.0 (.NETCoreApp,Version=v7.0)
  - net7.0-maccatalyst15.4 (.NETCoreApp,Version=v7.0)
  - net7.0-windows10.0.19041 (.NETCoreApp,Version=v7.0)

@danlfarnell There is an open pull request #105 that would fix this issue.


Request about DHTnew

Hello Rob,
I'm using your DHT library DHT new, and it's working really well;
But I'm trying to declare a table of DHTnew sondes (because I have a lot of sondes, and it will really simplify my code).
Could you tell me, if it will be possible for you to make an evolution in this library in order to be able to declare a table of sondes?
Something like DHTNEW MyProbe[8];
Then to declare the pins with a function call?

Added an example to use an array of DHT sensors.


Fix variant maintainance for abapGit report

fixes #5626

Maybe check if memory id %_SCRNR_% is filled instead? (Include LSVARF08 form EXPORT_SCREEN_TABLES sets it right before the submit)

@flaiker Thx. Switched logic to %_SCRNR_%. VM$ is not reliable as it isn't cleared.

This works. However, it's quite confusing since there are not selection fields to fill. You have to press F3 to get the popup to save the variant. Definitely needs an update of docs with screen shots.

One of the reasons why it's confusing is that the toolbar is missing. I tried to reinsert toolbar for variant maintenance so that it's a bit more obvious what's going on. Still a bit ugly as the toolbar doesn't appear immediately when entering variant maintenance for the first time. Not sure how to fix that.
After pressing ENTER once it looks like this:

And after switching screens:

At least at bit better than before. What do you think?

the toolbar magic, haha. yes, better. i don't think you can update it immediately (i think it's the same when you run zabapgit for the first time).
A different solution could be to generate one such variant when you save the BG settings  in AG:
https://docs.abapgit.org/settings-background-mode.html

but it does solve the problem at hand in https://github.com/abapGit/abapGit/issues/5626 ?

but it does solve the problem at hand in #5626 ?
Yes it does.

@mbtools can this PR be merged?


Fixed regression

Unit tests are broken, because of regression in FinishOperation()

Thanks for the fix!   It looked so innocent when I made that change!


Revert "Create basic login and signup page"

I created a new branch. From now on, please do the pull request to the template branch. Thank you.

revert


'Start-Process powershell.exe' from Powershell 7 produces an error message related to PSReadline

Steps to reproduce
Open Powershell 7 and then:
Start-Process powershell.exe

Expected behavior
Another window is created with Windows Powershell
Actual behavior
Another window is created. But Windows Powershell is giving out an error message
Cannot load PSReadline module. Console is running without PSReadline

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.1
PSEdition                      Core
GitCommitId                    7.0.1
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Reproduced on my laptop with 7.1.0-preview.3 and Version 2004 of Windows 10.

Reproduced on my laptop with 7.1.0-preview.3 and Version 2004 (Build 19041) of Windows 10.

Perhaps it is PSModulePath issue.

Actually this happens only when I type
start powershell

Also I checked "PSModulePath", they're indeed different.

Perhaps the issue is with PSModulePath.
/cc @SteveL-MSFT @daxian-dbw


Update subschema-lib.js on npm to latest version

dist/subschema-lib.js seems to built off an old version of subschema-expression and is failing when the expression contains a single quote. when I built subschema locally (using npm run lib ) it did not have the same issue.

Thanks


Segmentation fault while typing in non-English

Using 0.2.4 on OSX Yosemite 10.10.3.
Segmentation fault is thrown every time I use keyTap method while the keyboard input is set to Korean.
To reproduce:

Set keyboard input to 2-Set Korean.
Save this file and run it while keyboard is set to Korean.

var robot = require('robotjs');
robot.keyTap('t');

Strangely, though, if you run the above code in the node console, it works. Any suggestions?

Strangely, though, if you run the above code in the node console, it works. Any suggestions?

I'm not sure I understand. When does it crash?

To reproduce crash:
Save the following as crash.js:
var robot = require('robotjs');
robot.keyTap('t');

Run node crash.js while keyboard is set to 2-Set Korean.
Haven't tested in other non-English languages.

I can verify that node crashes with segmentation fault on pinyin input on Mac too. This crash cannot be caught with try-catch.

I managed to get a stacktrace using segfault-handler
PID 82911 received SIGSEGV for address: 0x0
0   segfault-handler.node               0x0000000101958218 _ZL16segfault_handleriP9__siginfoPv + 280
1   libsystem_platform.dylib            0x00007fffbe23fbba _sigtramp + 26
2   ???                                 0x00000001019f8968 0x0 +<PHONE_NUMBER>
3   robotjs.node                        0x0000000101963078 createStringForKey + 69
4   robotjs.node                        0x0000000101962fba keyCodeForChar + 82
5   robotjs.node                        0x000000010195fbd5 _Z13CheckKeyCodesPcPt + 49
6   robotjs.node                        0x000000010195feb0 _Z6keyTapRKN3Nan20FunctionCallbackInfoIN2v85ValueEEE + 160
7   robotjs.node                        0x00000001019622c8 _ZN3Nan3impL23FunctionCallbackWrapperERKN2v820FunctionCallbackInfoINS1_5ValueEEE + 131
8   node                                0x00000001001729fb _ZN2v88internal25FunctionCallbackArguments4CallEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEE + 371
9   node                                0x000000010019ccf2 _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS1_16BuiltinArgumentsILNS0_21BuiltinExtraArgumentsE1EEE + 992
10  node                                0x00000001001aa956 _ZN2v88internalL21Builtin_HandleApiCallEiPPNS0_6ObjectEPNS0_7IsolateE + 105
11  ???                                 0x00002b2b1cf0961b 0x0 +<PHONE_NUMBER>7211
12  ???                                 0x00002b2b1d042d34 0x0 +<PHONE_NUMBER>1076
13  ???                                 0x00002b2b1d0421f0 0x0 +<PHONE_NUMBER>8192
14  ???                                 0x00002b2b1d03aceb 0x0 +<PHONE_NUMBER>8235

same problem there. Any plan to fix it?

It is ok to use String.fromCharCode instead of typing character directly.

This issue has been closed because it has been inactive for > 180 days.
You may reopen this issue if it has been closed in error.


ci: allow typescript@next tests to fail

It's not seeming like there is a nice way to do this currently.
Allowing the fails just makes it look like they never failed in the first place which isn't very useful.
https://github.com/actions/toolkit/issues/399


Better error handling for AnyObject being passed in.

So obviously we can do errors in our completion handler, but i am wondering if anyone has an effective way to do error handing for the data that you actually pass in, or if there is a way for Sync to actually skip to the completion handler and throw an error before it causes a crash.
For example, it would be idea if i could pass in something totally whack like
Sync.changes(
changes: "hello how are you?",
inEntityNamed: String!,
dataStack: DATAStack!,
completion: ((NSError!) -> Void)!)
and have it just throw an error as opposed to crashing and burning horribly. Does anyone have any method they currently use to achieve this?

Hi Henry!
I have a fix for this, we can use Swift's better type system to enforce the right type in this cases.

Hi @henryhardy,
I rewrote some parts of Sync in Swift and type safety is now 93,56% better! For example now it's very clear that the changes part requires an array of dictionaries.
https://github.com/hyperoslo/Sync/blob/master/Source/Sync.swift#L8


TypeScript example provides no usable errors when ts-node is not installed

I tried to run the TypeScript example in stateful/vscode-runme/blob/main/examples/README.md in VS Code, but without having ts-node installed. The example failed to run and did not give any usable errors:

There's a pop-up that suggests changing the interpreter field in the "Configure" foldout, but it's not clear how this field should be configured. And, I suspect, changing the interpreter will not fix the true issue: ts-node isn't installed.
Clicking the "CLI" button on the example leads to a slightly better experience, in that I get an error, but it is not clear what's causing the error:

After installing ts-node (which I only realized was necessary after seeing this issue), the errors go away and the example works.

Thanks for reporting @PavelSafronov , we will try to provide a fix as soon as possible.

@PavelSafronov, sorry this one took so long. Please take a look at the linked PR for a better error message for cases where the interpreter couldn't be auto-detected.


Add Permissions Checks to ALLO_ManageAllocations_CTRL

Critical Changes
Changes
Issues Closed
Community Ideas Delivered
Features Intended for Future Release
Features for Elevate Customers
New Metadata
Deleted Metadata

W-13641397


Create .mergify.yml

Configure automatic merge of Scala steward dependency updates.
https://github.com/zio/zio-prelude/pull/253 is using it
Conditions to merge are - successful build + it has to come from Scala steward

After internal discussion, this idea was rejected.


Port PR 10773

Proposed changes:

Same as here but ported to 3.0.x

Status (please check what you already did):

[x] added some tests for the functionality
[x] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

@JEM-Mosig Isn't this a new feature? This in my opinion breaks semantic versioning

@wochinge This is a bugfix ported from 2.8.x. (Now i realize I should have changed the changelog name - sorry.


Prevent preview error for the instance parameter in visual shader

After this fix, previews will not spam errors if instance uniforms are connected to the nodes, instead, it will produce an error message attached to the node itself (only when preview is opened):

Fix https://github.com/godotengine/godot/issues/72617

Thanks!


Game ver9

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to Test
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist
Please delete options that are not relevant.

[ ] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 7610

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 32.6%

Files with Coverage Reduction
New Missed Lines
%

src/commons/achievement/utils/AchievementInferencer.ts
2
72.87%

Totals

Change from base Build 7604:
-0.09%

Covered Lines:
2270

Relevant Lines:
6422

💛  - Coveralls


Support multiline comments

Elixir 1.14 brings new multi line comments <%!-- --%> (https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.HTMLFormatter.html#module-inline-comments-comment). It would be great to have this supported in the vs code extension

Fixed in #16


Errors on recipe upload

This was the trace I got when trying to upload a valid-ish XML recipe file.
Traceback (most recent call last):
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/dirk/.local/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/dirk/.local/lib/python3.5/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/dirk/picobrew-server/blueprints/frontend.py", line 55, in uploadRecipe
file.save(filename)
File "/home/dirk/.local/lib/python3.5/site-packages/werkzeug/datastructures.py", line 3070, in save
copyfileobj(self.stream, dst, buffer_size)
File "/usr/lib/python3.5/shutil.py", line 76, in copyfileobj
fdst.write(buf)
AttributeError: 'PosixPath' object has no attribute 'write'
<IP_ADDRESS> - - [17/Apr/2020 17:07:15] "POST /upload HTTP/1.1" 500 -
[2020-04-17 17:07:17,447] ERROR in app: Exception on /recipes [GET]
Traceback (most recent call last):
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/dirk/.local/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/dirk/.local/lib/python3.5/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/dirk/.local/lib/python3.5/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/dirk/picobrew-server/blueprints/frontend.py", line 25, in recipes
return render_template("recipes.html", recipes=get_recipes())
File "/home/dirk/picobrew-server/blueprints/frontend.py", line 32, in get_recipes
recipes = reduce(lambda x,y: x+y, recipes) # flatten
TypeError: reduce() of empty sequence with no initial value
<IP_ADDRESS> - - [17/Apr/2020 17:07:17] "GET /recipes HTTP/1.1" 500 -
<IP_ADDRESS> - - [17/Apr/2020 17:09:04] "GET /favicon.ico HTTP/1.1" 404 -

I'm not sure if it's a problem with the way I'm installing and launching, since I was on Python 2.7 before. I used pip3 and python3 to install requirements and launch the server. And, it was running normally and allowed me to try to upload the file.

@vfrdirk Thanks for testing. Looks like the reciper parser is still not robust enough to handle all the different versions out there ;-) Do you mind sharing the recipe file again?

It worked for me. I'm able to launch and upload recipes. Now I am struggling to get the spoofing to work correctly on mac. I'll play around or try a hardware solution and update.

Is that the identical recipe you posted in the other issue thread? I'll grab that and test again.

Yes, it is: https://github.com/hotzenklotz/picobrew-server/files/4487280/OBK.Belgian.Table_recipe_xml.xml.zip

Well I came back to try try and sort out the DNS spoofing and found that I am now getting the same error you are posting above. I tried reinstalling the app and requirements.
` * Serving Flask app "server" (lazy loading)

Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: off
Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [18/Apr/2020 14:54:45] "GET / HTTP/1.1" 200 -
[2020-04-18 14:54:52,485] ERROR in app: Exception on /recipes [GET]
Traceback (most recent call last):
File "/Library/Python/3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/Library/Python/3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Library/Python/3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/Library/Python/3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Library/Python/3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/Library/Python/3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/Library/Python/3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/Users/bellini/Downloads/picobrew-server-py3/blueprints/frontend.py", line 25, in recipes
return render_template("recipes.html", recipes=get_recipes())
File "/Users/bellini/Downloads/picobrew-server-py3/blueprints/frontend.py", line 33, in get_recipes
recipes = reduce(lambda x,y: x+y, recipes) # flatten
TypeError: reduce() of empty sequence with no initial value`

@fotoapparat Nice! Regarding the spoofing, I would love to find an easier solution. Open for suggestions.

OK, the recipe that @fotoapparat shared is failing to upload for me, so I wiped everything and re-cloned the repo, checked out 'py3' branch and started the server. I'm getting syntax errors starting with this:
except Exception as e:
logger.error(f"Failed to parse recipe {filename}. {e}")
return []
There were several more errors of this exact type, an errant f, which wouldn't pass server startup. Am I the only one? Or is this a structure in P3 and I've got a missing dependency?

@vfrdirk What version of Python 3 are you using? Looks like it may be outdated. The error might be because your Python interpreter can't parse the "f-String" syntax used in the example above (https://docs.python.org/3/reference/lexical_analysis.html#f-strings).
You need at least Python 3.6 or above.

I made some more changes and fixes. I also improved type checking, lintint and setup a automated CI testing here on GitHub with GitHub actions.
I have been able to import the OBK Belgian Table Ale recipe now:

I wanted to say thanks for the time and effort you're putting into this.
I'm getting a similar error as yesterday. I've tried on two computers running OSX. Are you on linux? Not that is should matter, but it might. Also, the file isn't uploading/copying to the folder anymore.
<IP_ADDRESS> - - [19/Apr/2020 15:07:32] "POST /upload HTTP/1.1" 500 -
<IP_ADDRESS> - - [19/Apr/2020 15:13:03] "GET / HTTP/1.1" 200 -
[2020-04-19 15:13:11,548] ERROR in app: Exception on /upload [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/Applications/picobrew-server-py3/blueprints/frontend.py", line 60, in upload_recipe
file.save(filename)
File "/usr/local/lib/python3.7/site-packages/werkzeug/datastructures.py", line 3066, in save
dst = open(dst, "wb")
FileNotFoundError: [Errno 2] No such file or directory: 'recipes/OBK_Belgian_Table_recipe_xml.xml'

So I was able to install tonight on a Linux machine without issue. Server was stable and able upload recipes. Next to try hooking the Zymatic up and seeing if it will interface. Will continue to update as I play around.

@vfrdirk What version of Python 3 are you using? Looks like it may be outdated. The error might be because your Python interpreter can't parse the "f-String" syntax used in the example above (https://docs.python.org/3/reference/lexical_analysis.html#f-strings).
You need at least Python 3.6 or above.

You were correct. The version I had running in the Windows Ubuntu subsystem was 3.5.2. I installed the latest version under Windows and the server is parsing everything correctly and I was also able to upload the Belgian recipe successfully. I also uploaded some others with success. This thing is great!

I wanted to say thanks for the time and effort you're putting into this.
I'm getting a similar error as yesterday. I've tried on two computers running OSX. Are you on linux? Not that is should matter, but it might. Also, the file isn't uploading/copying to the folder anymore.
<IP_ADDRESS> - - [19/Apr/2020 15:07:32] "POST /upload HTTP/1.1" 500 -
<IP_ADDRESS> - - [19/Apr/2020 15:13:03] "GET / HTTP/1.1" 200 -
[2020-04-19 15:13:11,548] ERROR in app: Exception on /upload [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/Applications/picobrew-server-py3/blueprints/frontend.py", line 60, in upload_recipe
file.save(filename)
File "/usr/local/lib/python3.7/site-packages/werkzeug/datastructures.py", line 3066, in save
dst = open(dst, "wb")
FileNotFoundError: [Errno 2] No such file or directory: 'recipes/OBK_Belgian_Table_recipe_xml.xml'

No, I am on OSX. I am assuming the directory <picobrew_server>/recipes is not available. :-/ The server should be more defensive here and check/create it to be on the save side. Let me fix this.

I also uploaded some others with success.

@vfrdirk Please share some of the recipe, which were not able to parse correctly, if don't mind. Right now, the project only support recipes downloaded from the official PicoBrew.com recipe builder, since they use some non-standard tags in their recipes to save the heating/timing schedule for the machine.
Perhaps, I might look into extracting this schedule from more standard BeerXML-formatted recipe if possible. But let's get the update to Python 3 going first.

I don't know if it's necessary. Most of the ones that failed to upload were ones I had meddled with to try and inject the <PROGRAM> tags into, since that was the original file layout the server was expecting. The ones I downloaded from Pico recently have all uploaded successfully on the new branch containing the <ZYMATIC> tagging.

I wanted to say thanks for the time and effort you're putting into this.
I'm getting a similar error as yesterday. I've tried on two computers running OSX. Are you on linux? Not that is should matter, but it might. Also, the file isn't uploading/copying to the folder anymore.
<IP_ADDRESS> - - [19/Apr/2020 15:07:32] "POST /upload HTTP/1.1" 500 -
<IP_ADDRESS> - - [19/Apr/2020 15:13:03] "GET / HTTP/1.1" 200 -
[2020-04-19 15:13:11,548] ERROR in app: Exception on /upload [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/Applications/picobrew-server-py3/blueprints/frontend.py", line 60, in upload_recipe
file.save(filename)
File "/usr/local/lib/python3.7/site-packages/werkzeug/datastructures.py", line 3066, in save
dst = open(dst, "wb")
FileNotFoundError: [Errno 2] No such file or directory: 'recipes/OBK_Belgian_Table_recipe_xml.xml'

No, I am on OSX. I am assuming the directory <picobrew_server>/recipes is not available. :-/ The server should be more defensive here and check/create it to be on the save side. Let me fix this.
@fotoapparat I pushed the fix.

Hey,
I did a fresh install on OSX and loaded the updated version. Every has worked well. Uploaded recipe and showing in Library. Now on to hooking up my Zymatic.

Alright, thanks again for the feedback. I will merge the current version to master now. if you come across any further bugs, don't hesitate to open a new issue.


Cannot install via apm

Issue Type

Bug
Issue Description

apm install linter-eslint-node command fails and the error message is Request for package information failed: Not Found.
Bug Checklist

[x] Restart Atom
[ ] Verify the eslint CLI gives the proper result, while linter-eslint-node does not
[ ] Paste the output of the Linter Eslint Node: Debug command from the Command Palette below

Linter Eslint Node: Debug output here

Apologies! The information in the README is not yet accurate. We haven't done an initial release of this package yet, but we plan to within the next few days.


Bg sync array buffer

R: @jeffposnick
Fixes #1908. This PR mostly cherry-picks commits from the WIP unit-test-updates branch (the first two commits), which means there's some extra stuff in here that might not seem relevant, but it was easier to just cherry-pick existing work that to redo everything. Also that should make merging those changes cleaner in the future.
I kept the tests mostly verbatim from the unit-tests-updates branch  since I knew they were passing in all browsers, then I updated the mocks in this branch until I could get them to pass here (I opted to not change the tests since I know they were passing and run correctly in browsers).
The most relevant changes are to the StorableRequest class here. The rest of the changes include several small compat issues (e.g. some stuff in the DBWrapper library) I found and fixed in the other branch.

Coverage decreased (-0.1%) to 82.693% when pulling d822ba99d9b03e19f17bb7a3c3841557c31f98bc on bg-sync-array-buffer into bd5f4114a90178476e60be549f72ddce779e3344 on master.

I'd rather not put any effort into using their mocks instead of ours since I plan (as the very next thing I work on) to move off the mocks entirely and switch to testing in real browsers.
We could let them know about these changes, or submit a PR with them though.


Use CAM service account

This pull request addresses all comments in the previous pull request to use CAM service account credentials instead of CAC token.
Single connector and multi-region deployments have been changed over to use CAM service account and also tested.
Both plaintext and encrypted secrets deployments are tested as well. Encryption was done using gcp-kms-secrets.py from the gcp-kms-script branch.

As this was from a while back, I can cleanup the commits and update the work done on this in a new pull request.


Add untrusted flag to functions

Describe your changes
This will allow the client to signal that the function is running user-provided/untrusted code.
 Backward/forward compatibility checks

Check these boxes or delete any item (or this section) if not relevant for this PR.

[x] Client+Server: this change is compatible with old servers
[x] Client forward compatibility: this change ensures client can accept data intended for later versions of itself

Note on protobuf: protobuf message changes in one place may have impact to
multiple entities (client, server, worker, database). See points above.

@prbot approve


Set Multiple Display Paths

Hi, would it be possible to add multiple Display Member Paths? Maybe separated by a dash. I was looking at "FormatType" method and thought it could take some sort of list by parameter.
Any case, great work. Hope some day be able to contribute.

No there isn't. Typically that would be done with an item template but that's not possible with native controls.
Instead create a field in your view model like "DisplayName" or something and have that property format how you want it.


Ak audio file

Hi Aure,
I don't know if it is the correct way. But I'd like to create a pull request about AKAudioFile...

Can you make a pull request in to AudioKit's develop branch?  We are trying not to alter the master branch except when making releases.


versions:display-plugin-updates doesn't take parent pom build.plugins.plugin versions into account

I have a structure:
parent/pom.xml
parent/child/pom.xml
When a plugin in the parent version is not in the build.pluginManagement.plugins.plugin element, it is not picked up by version:display-plugin-updates in the child.
tested with maven 3.0.5 and 3.3.9; maven-versions-plugin 3.0.0, 3.0.1, 3.0.2
How is this supposed to be used ?
For example:
good/parent/pom.xml:
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>foo</groupId>
  <artifactId>parent</artifactId>
  <name>parent pom</name>
  <packaging>pom</packaging>
  <version>1.0.0</version>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
      </plugin>
    </plugins>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-clean-plugin</artifactId>
          <version>3.0.0</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  <prerequisites>
    <maven>3.0.5</maven>
  </prerequisites>
</project>

good/parent/child/pom.xml
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>foo</groupId>
  <artifactId>child</artifactId>
  <name>child pom</name>
  <packaging>pom</packaging>
  <version>1.0.0</version>
  <parent>
    <groupId>foo</groupId>
    <artifactId>parent</artifactId>
    <version>1.0.0</version>
  </parent>
</project>

$ mvn versions:display-plugin-updates
[INFO] --- versions-maven-plugin:2.3:display-plugin-updates (default-cli) @ child ---
[INFO]
[INFO] All plugins with a version specified are using the latest versions.
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING]   maven-deploy-plugin ....................... (from super-pom) 2.8.2
[WARNING]   maven-install-plugin ...................... (from super-pom) 2.5.2
[WARNING]   maven-site-plugin ........................... (from super-pom) 3.6

Compare with:
bad/parent/pom.xml:
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>foo</groupId>
  <artifactId>parent</artifactId>
  <name>parent pom</name>
  <packaging>pom</packaging>
  <version>1.0.0</version>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
        <version>3.0.0</version>
      </plugin>
    </plugins>
  </build>
  <prerequisites>
    <maven>3.0.5</maven>
  </prerequisites>
</project>

bad/parent/child/pom.xml  is the same as good/parent/child/pom.xml
$ mvn versions:display-plugin-updates
[INFO] --- versions-maven-plugin:2.3:display-plugin-updates (default-cli) @ child ---
[INFO]
[INFO] All plugins with a version specified are using the latest versions.
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING]   maven-clean-plugin ........................ (from super-pom) 3.0.0
[WARNING]   maven-deploy-plugin ....................... (from super-pom) 2.8.2
[WARNING]   maven-install-plugin ...................... (from super-pom) 2.5.2
[WARNING]   maven-site-plugin ........................... (from super-pom) 3.6

First I would say not defining plugin versions in pluginManagement is not the best but on the other hand this could be improved ...

Similar situation here:
parent (external) defines a plugin with version and some config
project parent defines the plugin in pluginMgt w/o version and alternate config
child uses plugin w/o version
While effective pom of child shows version, the mojo reports the plugin as having "unspecified" version, which IMO is wrong.
Is it recommendation, to not have pluginMgt entry without version, even if parent has it w/ version?

I have basically the same issue, and a second related issue.
The parent pom specifies a plugin in plugins (but not pluginManagement) with version.
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-clean-plugin</artifactId>
				<version>3.0.0</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.6.1</version>
                                ...

The project pom does not specify any plugins. The versions plugin does not pick up on the version specs in the build.plugins section, but it should.
$ mvn versions:display-plugin-updates
[INFO] All plugins with a version specified are using the latest versions.
[WARNING] The following plugins do not have their version specified:
[WARNING]   maven-clean-plugin ........................ (from super-pom) 3.0.0
[WARNING]   maven-compiler-plugin ..................... (from super-pom) 3.7.0

If I add the plugin groupId/artifactId/version pluginManagement,
	<build>
		<pluginManagement>
			<plugins>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-clean-plugin</artifactId>
                                        <version>3.0.0</version>
                                </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <version>3.6.1</version>
                                </plugin>

I don't get the warnings about the compiler and clean plugins. So the versions plugin is not paying attention to the build.plugins section, only to the build.pluginManagement.plugins section, which seems like a clear bug.
The second issue is that after the change, the versions plugin is still saying
[INFO] All plugins with a version specified are using the latest versions.

even though the compiler plugin is not specifying the latest version, 3.6.1 vs 3.7.0.
This also seems like a clear bug.

Please reopen this issue. This is clearly a bug.
Furthermore, there is no way to determine outdated plugins that are specified in pluginManagement whatsoever with the versions plugin

Please reopen this issue. This is clearly a bug.
Furthermore, there is no way to determine outdated plugins that are specified in pluginManagement whatsoever with the versions plugin

Agree. The issue is called stale, but it should be easy enough for the development team to verify whether it still exists, and if people are still commenting on it, presumably it does. One would think it wouldn't be that hard to fix. Maybe it's not considered a high priority, but why not leave it open until the team can eventually get to it?

From: Lenny Primak @.>
Sent: Friday, December 31, 2021 9:42 PM
To: mojohaus/versions-maven-plugin @.>
Cc: rvsasseen @.>; Comment @.>
Subject: Re: [mojohaus/versions-maven-plugin] versions:display-plugin-updates doesn't take parent pom build.plugins.plugin versions into account (#131)
Please reopen this issue. This is clearly a bug.
Furthermore, there is no way to determine outdated plugins that are specified in pluginManagement whatsoever with the versions plugin
—
Reply to this email directly, view it on GitHubhttps://github.com/mojohaus/versions-maven-plugin/issues/131#issuecomment-1003509795, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7YOXBWF52BMKK767OP5FTUT2H3PANCNFSM4DANAGWA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>

Agree. The issue is called stale, but it should be easy enough for the development team to verify whether it still exists, and if people are still commenting on it, presumably it does. One would think it wouldn't be that hard to fix. Maybe it's not considered a high priority, but why not leave it open until the team can eventually get to it?

From: Lenny Primak @.>
Sent: Friday, December 31, 2021 9:42 PM
To: mojohaus/versions-maven-plugin @.>
Cc: rvsasseen @.>; Comment @.>
Subject: Re: [mojohaus/versions-maven-plugin] versions:display-plugin-updates doesn't take parent pom build.plugins.plugin versions into account (#131)
Please reopen this issue. This is clearly a bug.
Furthermore, there is no way to determine outdated plugins that are specified in pluginManagement whatsoever with the versions plugin
—
Reply to this email directly, view it on GitHubhttps://github.com/mojohaus/versions-maven-plugin/issues/131#issuecomment-1003509795, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7YOXBWF52BMKK767OP5FTUT2H3PANCNFSM4DANAGWA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>

i assume this is a duplicate of #550, #562 is my proposal to fix the issue
see also https://github.com/mojohaus/versions-maven-plugin/issues/550#issuecomment-1043068835 about my rationale for the fix

I've been trawling through the oldest bugs trying to fix them. However, I'm unable to reproduce this one, even with version 2.7 of the plugin. @lprimak could you please provide steps to reproduce it if you believe it should still be open?

Tried to reproduce with 2.11 (latest maven) and the issue looks to be fixed. thank you! @ajarmoniuk

@slachiewicz can be closed


shippingAddress: 'true' is not bringing back the shipping address in the response

Setting the shippingAddress: 'true' doesn't seem to be bringing back the shipping address in the response
I would think the shippingAddress and bilingAddress would be booleans instead of strings too like bitcoin - but that's not how your interface is:
`
let o = {
amount: 200,
currency: 'USD',
locale: 'auto',
bitcoin: true,
billingAddress: 'true',
shippingAddress: 'true',
name: 'John Doe',
email<EMAIL_ADDRESS>}
this.stripeCheckoutHandler.open(o)

`

Seems to be some other issue - they changed something in their api...


Update bug_report.md

Some re-organization for the bullet points, let me know what you think.
Thank you for the PR!
Please remember to add a before and after screenshot(s) on any css changes!

Looks good, thanks. :)


Skip the automatic unique index setting

The proposed change is related to https://github.com/jazzband/django-simple-history
When creating an historical table, the fields are copied and adjusted, so it can reflect the fields properly. For the id field, that mostly means it's no longer unique, since the historical table is tracking changes of a single record.
I'm guessing that when generating migrations (using deconstruct), it will see "unique=True" that wasn't really there. So, in short, I believe that is just easier to do the same as the regular CharField, instead of fixing deconstruct, but your call.
poc looks like this:
 >>> from charidfield import CharIDField
 >>> f = CharIDField(primary_key=True)
 >>> f.deconstruct()
(None, 'charidfield.fields.CharIDField', [], {'primary_key': True, 'unique': True, 'prefix': '', 'default': <class 'django.db.models.fields.NOT_PROVIDED'>})
 >>> f.primary_key = False
 >>> f.deconstruct()
(None, 'charidfield.fields.CharIDField', [], {'unique': True, 'prefix': '', 'default': <class
'django.db.models.fields.NOT_PROVIDED'>})
 >>> from django.db.models import CharField
 >>> g = CharField(primary_key=True)
 >>> g.deconstruct()
(None, 'django.db.models.CharField', [], {'primary_key': True})
 >>> g.primary_key = False
 >>> g.deconstruct()
(None, 'django.db.models.CharField', [], {})
 >>>

Thanks for the PR but it'd unlikely we'd be able to accept it. Django convention for ID related fields is to create a unique index by default, and this library follows that pattern.
If you wish to disable the unique index - the idea is you explicitly disable it with unique=False; I'm not familiar with the package you linked, is there a reason that does not work?

@djm well, that's unfortunate, but i get it. tks
It does not work because of the unique=True is injected in the field definition, and after setting primary=False, and calling deconstruct, the unique=True is there, even though I didn't add that (because with primary_key=True, by definition is unique).

also, idk what are you using as a convention to force this, but UUIDField for instance doesn't do this, nor Big/Small AutoFields.

UUIDField for instance doesn't do this, nor Big/Small AutoFields.

This is true. We chose to ship the default as True largely because this library is designed to be used as a replacement primary key but that definitely isn't the only use case.

It does not work because of the unique=True is injected in the field definition, and after setting primary=False, and calling deconstruct, the unique=True is there, even though I didn't add that (because with primary_key=True, by definition is unique).

This I need to understand more. It looks like django-simple-history deliberately takes action to remove the unique constraint from the new tables it creates but what I don't understand yet is why this is not working for you.

I'm guessing that when generating migrations (using deconstruct), it will see "unique=True" that wasn't really there.

Have you got any code to show what it does? Or a small replication project to show the problem better?
We're open to changing the default but it would naturally be a breaking change for this project so we must do it for the right reasons.
Thanks!

@djm here you go: https://github.com/georgeyk/foo/blob/main/demo/foo/migrations/0001_initial.py#L47
You can remove the migration, and regenerate it if you want.
If you want to see the integrity error, just create a record and update it.
Let me know when i can drop the repo. tks

Thanks @georgeyk, we'll look into this and I'll give an update soon.

I'm not seeing a way to disable the unique setting either at the partial level or at the model level. Neither seem to disable the unique flag which is really annoying for making a series of migration that adds a new unique field. Instead of following the directions in Django's documentation, you'll need to remove the default from the first migration. It's not the end of the world but that's going to confuse a lot of people.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 3714a54, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 8346 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in ab1873a.


lint: add golint to linting suite, cleanup imports too

Adds golint to our test suite, to ensure that code is appropriately commented and organized
cc @stevvooe for the suggestion
Signed-off-by: Riyaz Faizullabhoy<EMAIL_ADDRESS>

LGTM

Closes #28.

LGTM


Plugable JSON encoder?

Since the core of channels are JSON messages it'd be cool if we could swap the JSON encoder of the default backends.
My use-case for this is using an encoder that supports inlining the bytes of a pre-encoded JSON objects into a larger dynamic JSON structure (we use metamagic.json package). This saves a cubic ton of CPU cycles on JSON decoding/encoding if you re-use a lot of cachable sub-structures.
Anyway, maybe a json.dumps setting would be good, like a importable path to a callable (defaulting to standard json.dumps). Alternately we could override the default backends but that's a bit too much.
A bonus this also saves the project from the endless json/simplejson/ujson/whateverfastestjsonoftheday debates. :wink:

There's no need to have this pluggable separately - the channel backend already gets to dictate which serialiser it uses (it just gets passed dicts and is expected to return dicts), so to change this would just mean writing a custom backend with a new serialiser, inheriting from the main one you want to use. I'll make sure the serialise/deserialise functions are broken out into class functions that can be overridden.


Copied Picture

Hi
https://user-images.githubusercontent.com/23485114/227064757-9e0ba7c2-0c34-4a36-8bb1-cc3e07f6d16b.mp4
Why I can't open copied picture to this app?
android.intent.action.EDIT

content://org.mozilla.fenix.feature.downloads.fileprovider/mediaShareCache/629757759.webp

image/*

intent://org.mozilla.fenix.feature.downloads.fileprovider/mediaShareCache/629757759.webp#Intent;scheme=content;action=android.intent.action.EDIT;type=image/*;launchFlags=0x13108001;sourceBounds=304%20575%20892%201920;B.edit_source_clipboard=true;end

Idk, i've encountered this error with miui gallery and how no idea why some apps raising permission denial error... :(

Can you build the app and test it after fix? I can't reproduce it, because i have Android 10

Can you build the app and test it after fix? I can't reproduce it, because i have Android 10

Thank you for trying to solve this problem.
Right now I'm traveling and can't build the app.
Please build the app yourself and zip the apk file and finally share it in this page. (app.apk.zip)
I will definitely test it.

Ok, will send it later, if it doesn't help, then i have no idea how to solve it, because there is no solution in the web, or i searched badly :(

app-release.zip

Thanks, but the problem persists.

Ok, you can close this issue.
I try to fix it next month.

Thanks!


[WIP] Noise simulation implementation

Currently HEALPix only, will implement later support for CAR.
Please send feedback also on code structure, naming of variables, docstrings and usability.
See an example of using this: https://gist.github.com/zonca/71316ac921b44da77e415264667f0338
This is untested, it would be nice if somebody else prepares some test maps manually at low nside and fixed seed for testing this.

@damonge this is mostly based on your code, would you like to review it?

@damonge can you also please generate 2 low resolution (nside 16 or 32) test maps (1 SAT channel and 1 LAT channel) with a predefined random seed for unit testing at attach them to this Pull Request?

@damonge the file SO_Noise_Calculator_Public_20180822.py is the noise calculator that was released to the public, I made just a few changes to make it more usable (including your suggestion to remove prints), I won't make any other change.

Sure, I focused my review on those changes by comparing it line-by-line with the public calculator.

@damonge can you also please generate 2 low resolution (nside 16 or 32) test maps (1 SAT channel and 1 LAT channel) with a predefined random seed for unit testing at attach them to this Pull Request?

Sure, can do. How would you want me to do that exactly? There's significant overlap between the code we used for the paper and this code, so it should be no wonder if both agree exactly (if the point is to validate the current code).


Fork chain

A useful Fork would be a Fork chain, that routes to each Fork in order until one returns a result, or until none are left.
Here is a suggested implementation. Please add unit tests.
/**
 * A {@link Fork} chain. Routes to each {@link Fork} in order until one returns
 * a response or until none are left.
 * @author Felipe Pina<EMAIL_ADDRESS> * @version $Id$
 * @since 0.32
 */
public final class FkChain implements Fork {

    /**
     * Forks.
     */
    private final transient Collection<Fork> forks;

    /**
     * Ctor.
     */
    public FkChain() {
        this(Collections.<Fork>emptyList());
    }

    /**
     * Ctor.
     * @param forks Forks
     */
    public FkChain(final Fork... forks) {
        this(Arrays.asList(forks));
    }

    /**
     * Ctor.
     * @param forks Forks
     */
    public FkChain(final Collection<Fork> forks) {
        this.forks = Collections.unmodifiableCollection(forks);
    }

    @Override
    public Opt<Response> route(final Request request) throws IOException {
        Opt<Response> response = new Opt.Empty<>();
        for (final Fork fork : this.forks) {
            final Opt<Response> current = fork.route(request);
            if (current.has()) {
                response = current;
                break;
            }
        }
        return response;
    }

Also, the implementation of TkFork can be simplified by the use of FkChain..

@yegor256 please do something about it, see par.21

@pinaf since there is no milestone yet I set it to "1.0"

@pinaf thanks for reporting! I topped your account for 15 mins, transaction AP-1EP049084G213611F

@carlosgines This task is yours, please go ahead keeping in mind this. If any questions, don't hesitate to ask right here... The cost of this task is 30 mins (this is exactly how much will be paid, not less not more), when the task is done

@davvd thanks. I have a question. What values should I set for @version and @since in javadoc? I see there is some kind of hash for @version. And then then for @since I don't know whether I should set 0.31.4 or 0.32 or 1.0. Thank you.

@davvd please check PR #636

@davvd please check PR #636

@davvd please check PR #636

@carlosgines thanks for that

@CarlosGines thanks!

@pinaf thank you!

@davvd the ticket is closed! Could we please move on to the QA stage? :)
I would also like to know, regarding my "speed" solving this tasks, when is it that the "timer" stops? When the PR is merged? When the ticket is closed? or any other moment? Thank you!

@elenavolokhova please, help us to evaluate quality here, as per par.24

@davvd the ticket is closed! Could we please move on to the QA stage? :)
I would also like to know, regarding my "speed" solving this tasks, when is it that the "timer" stops? When the PR is merged? When the ticket is closed? or any other moment? Thank you!

@carlosgines sure, we do that automatically, just give us some time

@davvd Looks good!

@davvd Looks good!

@elenavolokhova thanks, got it, great to see high-quality tickets here

@carlosgines I added 10 mins to @elenavolokhova (for QA review) in transaction 79792809. Thanks for your contribution, 30 mins was added to your account, payment ID is AP-0EH45812E3876770X, 150 hours and 19 mins spent total. added +30 to your rating, now it is equal to +75

@davvd I read here that the performer gets a bonus if quality is good. What is this bonus? I did not see anything about it here.

@davvd I read here that the performer gets a bonus if quality is good. What is this bonus? I did not see anything about it here.

@carlosgines we don't pay that bonus yet, that's why the policy doesn't say anything specific yet

@davvd Ok, thank you for your answer!

@davvd Ok, thank you for your answer!

@carlosgines sure, no problem


VXLAN Device Implementation

Is your feature request related to a use case? Please describe.
VXLAN Device Implementation

same as #494


How to compile onnxrruntime.dll into Windows

ORT_DYLIB_PATH
D:\onnxruntime-win-x64-gpu-1.19.0\lib\onnxruntime.dll

Already set
In the Windows environment
How to compile onnxrruntime.dll,
Package together into the exe directory
I want to package it for others to use, and I need to integrate onnxruntime

Sorry, I'm not entirely sure what you mean.
If you want to distribute your application with the .DLL and without requiring the user to set the ORT_DYLIB_PATH environment variable, you can use ort::init_from. See the "programmatically" section in the load-dynamic docs; if onnxruntime.dll is in the same directory as the .exe, this can be achieved with ort::init_from(std::env::current_exe().unwrap().join("onnxruntime.dll")).commit()?.
If you want to distribute your application as a single .exe file, you'll have to compile ONNX Runtime from source for static linking; however, static linking does not work with CUDA/TensorRT. See the ONNX Runtime build documentation to compile from source - to compile with static linking, omit the --build_shared_lib argument. To link ort to the compiled binaries, see the docs on static linking.


Resident Tasks: Offer matching

Match offers with reservations/volumes on queued Resident Tasks
With this change, we have to make sure that

[ ] That callers of Task.Id.mesosTaskId takes the Task.launchCounter into consideration.

Check pk/3042-offer-matching-local-volumes


Can't install addon. Error: Cannot read property 'reduce' of undefined?

Hi,
After I upgraded to ember-cli 1.13.5 I cannot get ember-moment to install.  I've used ember-moment before with previous projects and I assume this addon still works for other people so it must be an environmental thing, but I want to ask if there is a known work around for this type of issue?
I'm running on windows if that makes a difference.
ember install ember-moment
version: 1.13.5
Installed packages for tooling via npm.
installing ember-moment
  install addon ember-cli-moment-shim
Installed packages for tooling via npm.
Cannot read property 'reduce' of undefined
TypeError: Cannot read property 'reduce' of undefined
    at Class.module.exports.Task.extend.installBlueprint (C:\embercli\studentdashboard\client\node_modules\ember-cli\lib\tasks\addon-install.js:54:24)
    at Class.<anonymous> (C:\embercli\studentdashboard\client\node_modules\ember-cli\lib\tasks\addon-install.js:43:19)
    at lib$rsvp$$internal$$tryCatch (C:\embercli\studentdashboard\client\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:493:16)
    at lib$rsvp$$internal$$invokeCallback (C:\embercli\studentdashboard\client\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:505:17)
    at lib$rsvp$$internal$$publish (C:\embercli\studentdashboard\client\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:476:11)
    at lib$rsvp$asap$$flush (C:\embercli\studentdashboard\client\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1198:9)
    at process._tickCallback (node.js:340:13)

https://github.com/stefanpenner/ember-moment/issues/72


Manners benchmark rules do not match the original problem

I took a look at the manners benchmark script and it has some changes which confuse me. You can find the CLIPS version of manners here https://github.com/smarr/CLIPS/blob/master/examples/manners/manners.clp
Is the None the same as NOT pattern? AKA first order logic negation. I find python a bit hard to read. I can't tell what NONE is and if it's really checking for the none existence of a given pattern. The opposite (exist (blah)) would be the exist of a given pattern.

Hi, thanks for posting the question. Yes None is equivalent to the CLIPS Not pattern. The behavior and use is described in the documentation:
https://github.com/jruizgit/rules/blob/master/docs/py/reference.md#lack-of-information
Please note: I wrote the manners benchmark in Python using a state machine for legibility.

thanks for responding. I looked at the rete.c code and it's not clear to me exactly how it's calculating none existence. I've studied several RETE implementation including CLIPS 6.x and several old ones written in LISP. It doesn't look like any of the known approaches that I'm aware of. Generally the slower approach is to iterate over the right and left memories of a 2-input (aka beta) node and perform the comparison. The faster approach is to use a specialized hash index, which is what CLIPS 6.3 uses. The fastest implementations all use specialized hash index for Exist and Not nodes.

Hi, thanks for pointing that out. rete.c only creates a tree by parsing a JSON document. The tree is then compiled into Lua script, which is executed by Redis. You can see the code that does the Not evaluation in net.c line 1676. When I originally wrote the code I started by evaluating all the right messages and left frames. This was too slow. So I indexed right messages and left frames for a faster evaluation.

I don't use Lua, so I don't really undestand what Lua is doing. If I understand correctly, the engine is using Redis as the working memory and creating multiple indexes for each message based on rules. Is that an accurate interpretation? The last time I played with Redis, I just used it as a regular key/value store and benchmarked it against other K/V databases. To the best of my knowledge, the most optimal approach design for handling NOT, Exist and Only is with custom hash indexes. You can find the approach I used up on sourceforge. Using Redis may come back to bite you, since it won't give you the level of control necessary to use optimal design.
https://sourceforge.net/p/jamocha/svn/HEAD/tree/morendo/src/main/org/jamocha/rete/NotJoin.java
https://sourceforge.net/p/jamocha/svn/HEAD/tree/morendo/src/main/org/jamocha/rete/DefaultWM.java


Subdomain Tenant Wrong Database Sanctum

Bug description
Hi team,
I'm testing the library and I follow the steps on the documentation.
My main issue is when I try to register a new user using sanctum.
Steps to reproduce
So I have the next configuration:
tenant.php
Route::middleware([
    'web',
    InitializeTenancyBySubdomain::class,
    PreventAccessFromCentralDomains::class,
])->group(function () {
    Route::get('/', function () {
        return 'This is your multi-tenant application. The id of the current tenant is ' . tenant('id');
    });
});

tenancy.php
'tenant_model' => \App\Models\Tenant::class,
    'id_generator' => Stancl\Tenancy\UUIDGenerator::class,

    'domain_model' => Domain::class,

    /**
     * The list of domains hosting your central app.
     *
     * Only relevant if you're using the domain or subdomain identification middleware.
     */
    'central_domains' => [
        '<IP_ADDRESS>',
        'localhost',
        'dominio.com'
    ],

I just access to the domain.
http://foo.dominio.com/register
But when I try to register my user it uses the default database not the foo databases.
.env
DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_PORT=3306
DB_DATABASE=saturn_testing
DB_USERNAME=root
DB_PASSWORD=realhost

mysql> select * from domains;
+----+-------------+-----------+---------------------+---------------------+
| id | domain      | tenant_id | created_at          | updated_at          |
+----+-------------+-----------+---------------------+---------------------+
|  1 | dominio.com | foo       | 2022-09-08 22:54:12 | 2022-09-08 22:54:12 |
+----+-------------+-----------+---------------------+---------------------+

mysql> select * from tenants;
+-----+---------------------+---------------------+----------------------------------+
| id  | created_at          | updated_at          | data                             |
+-----+---------------------+---------------------+----------------------------------+
| foo | 2022-09-08 22:54:01 | 2022-09-08 22:54:01 | {"tenancy_db_name": "tenantfoo"} |
+-----+---------------------+---------------------+----------------------------------+

On app/Actions/Fortify/CreateNewUser.php
I just print the database:
return DB::transaction(function () use ($input) {
            dd(DB::connection()->getDatabaseName());
            return tap(User::create([
                'name' => $input['name'],
                'taxref' => $input['taxref'],
                'regime' => $input['regime'],
                'use_cfdi' => $input['use_cfdi'],
                'email' => $input['email'],
                'password' => Hash::make($input['password']),
            ]), function (User $user) {
                $this->createTeam($user);
            });
        });

it shows "saturn_testing", am I missing something?
Expected behavior
Use the tenant database
Laravel version
^9.19
stancl/tenancy version
^3.5

Seems like you didn't make Sanctum use Tenancy, if you want to ask a support question you can use our Discord. Closing this as it's not a bug in the package.


Web push badge icon not used

I'm trying to display a badge in a push notification. The notification payload is:
const payload = {"notification": {
    "title": "RSS reader",
    "body": "New entry for test",
    "icon": "/images/icons/icon-192x192.png",
    "badge": "/images/icons/badge.png",
    "data": "index.html",
    "actions": [{
        "action": "open",
        "title": "Open reader",
    }],
    "requireInteraction": true}
};

The notification comes across as:

The notification icon displays fine but the badge is not used. Also, the message "This site has been updated in the background message" displays. Is this behavior currently expected with the angular service worker or I'm am doing something incorrectly?

Hi @ciwchris !
About This site has been updated in the background: it pops up, when SW received a notification without payload, or when there is no push event handler in SW. It could be a side effect of incorrect/duplicate sending of Push from the backend, as well as result of page's second service worker registered by mistake.
You can check a reference code from my Mobile Toolkit workshop:
Backend: https://github.com/webmaxru/pwa-workshop-api
Frontend: https://github.com/webmaxru/pwa-workshop-angular/tree/step7

Thanks @webmaxru . The issue is very inconsistent. In the past few days I have not experienced the "updated" message on my Android device with Chrome Dev. But I was just manually triggering notifications, I still do not receive this message on my Android device but now, for the first time, I'm receiving this message on my laptop running Chromium. I don't know what to make of this, but I guess I'll chalk it up to Chrome and hope it stabilizes as it matures.
The notification still does not display the badge, however.
I referenced your code, and accompanying document, extensively as I created the client side of my app. Thank you very much, they were a great help! I'll try running the server side to see if that can help me troubleshoot why the badge does not display.

@webmaxru @ciwchris the This site has been updated in the background issue (from what I understand) is an issue with incorrectly handling the push event. It will occur if a notification is not displayed by the time that the event handler is finished execution. You can inform the event handler to wait for an asynchronous task by using the waitUntil method of the event passed to the handler, but that method is not used in this project, therefore it believes most of the time that the event handler finishes execution without displaying a notification. It sounded like this was the next priority on @alxhub's priority list from a comment he made on #138, and I have an open issue for this #134.
So, long story short, @ciwchris, I wouldn't go searching too deeply for any issues in your own code because as far as I can tell this is definitely a bug in this library.

@treyrich is absolutely right, and this will be fixed very soon :)

Thanks!


Allow overriding values in app.config.ts with custom tailwind values

Description
Hello,
In my project, we use custom tailwind spacings like xs or 2xl (for consistency with the design), but we cannot use these values to override default config values.
For exemple, ui.tabs.list.tab.height has h-8 by default, and I cannot override it with h-2xl because the latter is not recognized by tailwind-merge (and should be added to the tailwind-merge config that is used here).
The issue #925 is very similar and had the PR #1108 as a solution that should work, but I don't understand why it was closed.
Is it possible to reopen and merge that PR ?
Additional context
No response

Hi @benjamincanac,
Any update on this? I have the same issue at the moment.


Ms Teams channel giving error when used with Cosmos DB for state management - Enterprise Bot Template V4

MS Teams channel is giving exception when Comsmos DB is used for state managment in Enterprise Bot Template V4.
Description
Currently I am using Enterprise Bot Template v4 SDK C# for developing the bot. I am using Cosmos DB for user state management. Everything works fine with enterprise bot template , but when configure the bot on MS Teams channel , at that point of time Bot fails to write the state data to Cosmos DB and gives an error.
What is actually happening..
Cosmos DB(document DB) handles every individual row/data uniquely by "id" column. Cosmos DB is having a limitation of the length of the "Id" which is 255 characters.
Now, when bot tries to store the user state for MS Teams channel in cosmos db , at that point of time Enterprise bot template/ bot framework v4 automatically creates an unique id which has length more than 255 characters. So this gives an exception in code.
Please someone look into this issue as this is a blocking issue for ms teams.
As a workaround of this issue i managed to store the state in blob storage and deployed my bot.

This repo is currently only taking Design Change Requests (DCR) issues. For submitting bug fixes and feature requests, please go to the following repo BotFramework-Services.


Writing a png a long time but still no output

Hi, I am using graph.write_png(new_file_name) to generate a png from the dot file. But after quite a long time, The program is still running and I don't got the output. Any help?
My dot file is attached below:
syscall__execve.txt

Apologies for a late answer (you probably don't need it anymore) – this project was abandoned but it's being slowly resurrected now.
Your graph is so big that even dot itself hangs up on it 😄
However, I can agree that pydot can be slow, so I'm closing this issue as a duplicate of https://github.com/pydot/pydot/issues/183


paste.sh is down?

I'm pretty sure this isn't really an issue with the code itself, but paste.sh is down.
Did something happen?
Did you get raided? xD

Sigh.
Then we can register a domain (<$10) and host it (sorted).
:(
Paste.sh was kick ass!


Visual Particles Shader: setting "Angle in Radians" overwrites entire TRANSFORM

Godot version
v4.0.beta17-official
System information
macOS 13.1 (Silicon/M1)
Issue description
In a GPUParticles3D node that uses a Visual Shader for processing particles, writing into the processing root node's "Angle in Radians" input generates shader code that overwrites the entire TRANSFORM.
Steps to reproduce
What I'm doing exactly:
Step 1: In the "Start" graph, I'm setting a random rotation axis and angle using per-particle randomness.

What the scene is rendering now looks like the following:

Step 2: In the "Process" graph, I'm plugging a "Time" node into the "Angle in Radians" input.

I would have expected this to continuously rotate the individual particles, but it unfortunately resets all particles' transforms, displaying them in the same position (but at least it's rotating them as expected :b):

This is the generated shader code:
void process() {
  uint __seed = __hash(NUMBER + uint(1) + RANDOM_SEED);

  {
    // Input:2
    float n_out2p0 = TIME;

    // ProcessOutput:0
    TRANSFORM = __build_rotation_mat4(vec3(0, 1, 0), n_out2p0);
  }
}

Minimal reproduction project
MRP-Visual-Particle-Shader-Rotation-Issue.zip
Addendum
This doesn't seem to affect the Process graph's root node only, a similar behavior can also be observed when plugging something into the Start graph's "Angle in Radians" input.

I'm sort of suspecting these lines to be related to this issue.
Was it correct to plug time into the "Angle in Radians" input in the Process graph, or should this be a per-step value that gets accumulated via transform feedback? If it's supposed to be the latter, I think setting op to *= in both cases of the branch fixes things for me. But I'm looking at the Visual Shader source code for the first time in my life, so I'd appreciate feedback from someone more familiar with it.

Incremental makes sense to me. Otherwise you would always overwrite "Scale" and "RotationAxis"
cc @Chaosus

Incremental makes sense to me. Otherwise you would always overwrite "Scale" and "RotationAxis"

I think there's a case to be made for both approaches. Some animations are actually a lot simpler to implement if they're just built from absolute values derived from time. Would it be feasible to let the user control this?

As far as I remember these ports in process (scale, angle) are intended to be work with Curve Texture's, Initially I made them incrementally (like this issue propose), but @QbieShay is convinced me to make it like that.
The only thing seems like incorrect here is position in Transform which being resettled (and that should be fixed by using Custom override ?). I don't remember that part, really.

Alright, it's good to know that I'm not just holding this wrongly. :-)
As a newcomer to Godot's visual particle shaders (with some experience in node-based shader authoring tools, including Unity's Visual Effect Graph), the current separation between "Process" and "Custom Process" confuses me. If I create both graphs, will both of them be active? Or just the one I'm currently selecting as active (a choice that also seems to apply to all three graph categories at once: Start, Process, and Collide)?
I think the difficulty here is that even though Godot's GPU particles implement a stateful system where you'll ideally control particles through velocity alone, you'll sometimes want to directly affect individual components of each particle's transform matrix (for example for rotating particles, like I'm doing in the attached MRP.) In code, this typically happens by taking the current state (ie. the TRANSFORM) and mutating it (eg. by applying a rotation matrix to it), but for some animations you'll also want to start with an identity transform and apply a rotation to it that is a function of particle age (or absolute time.)
I think Visual Particle Shaders should ideally enable both of these. I'd be happy to get involved, but it's hard for me to understand where Visual Particle Shaders are currently at — they seem to be in a state of flux at the moment, but set to ship with 4.0? Would a rework of these in 4.x not carry the risk of breaking a lot of projects that use them?
Happy to get some pointers here if you have any. \o/

This sounds like the same issue that I created with https://github.com/godotengine/godot/issues/67524
After discussing it with @Chaosus it was closed as it was related to https://github.com/godotengine/godot/issues/56358
Would be really good to get this resolved, as you can't really do any time based transform manipulation in the process method for visual particles otherwise.

This sounds like the same issue that I created with #67524 After discussing it with @Chaosus it was closed as it was related to #56358
Would be really good to get this resolved, as you can't really do any time based transform manipulation in the process method for visual particles otherwise.

Thanks for the heads-up, I didn't find these when I was searching for similar issues, but I might have searched for the wrong things. :(
Closing this in favor of #56358.
Side note: I've been working around this issue by creating an expression node where I just mutate TRANSFORM and plug the result into the custom process graph's transform socket. It's a bit finicky, but it's a start. I've already seen how you can create custom visual shader nodes in userland, so I think that's what I'll eventually do.

@hmans Maybe it would have been good to leave this open, as I think there are a few broken issues with the visual particles.
I attempted to get color over life happening but it seems like the particle lifetime node doesn't work. Maybe I have this setup incorrectly? It is not clear if the lifetime variable has a 0-1 range or is in seconds.

If put a random 0-1 value into the mix socket it does work as expected though it is static or course. I was also able to use the standard time node through sine and into the mix. However anything with lifetime seems broken.

@Chaosus @QbieShay  what is the correct way of getting color or scale over life within the process method?

@fracteed i'm assuming lifetime needs to be assigned ..? may be a separate issue

@QbieShay I would be interested to know if you are able to get any of the parameters to work over particle life in the process method. I do remember it working at one point, but it is hard to know what is actually broken now. Could be animated transforms as well as the lifetime node as separate issues?

@fracteed lifetime seems to be the total lifetime, not the current one

@QbieShay I would be interested to know if you are able to get any of the parameters to work over particle life in the process method. I do remember it working at one point, but it is hard to know what is actually broken now. Could be animated transforms as well as the lifetime node as separate issues?

I'm currently doing this myself by doing a variation of this:
void start() {
	CUSTOM.x = TIME;
}

void process() {
	float age = TIME - CUSTOM.x;
	// ...
}

@QbieShay oh, that would explain why it doesn't work! Can the current age be gotten without using using an expression node?
@hmans thanks. I am not sure if you are doing this with expression nodes inside visual particles or have you written the whole particle shader?

@hmans thanks. I am not sure if you are doing this with expression nodes inside visual particles or have you written the whole particle shader?

This is from a text-based shader — I'm trying to get comfy with how all of this works in the hopes that I can maybe contribute a custom node or two by way of a plugin or similar.

Ok, so I managed to work out particle age with just nodes. It can be confusing that know when to use the custom or standard output mode/node. It took me a while to realise both can be used at once!
For anyone interested here is the start and process graphs:

I can use this age to drive color mix and alpha but I still get any joy with driving scale or rotation, so this definitely needs to be fixed! As well as a native age parameter node

@hmans sounds good! Any developers helping to get it closer to Unity FX graph would be great :)

I have a mega discussion thread for visual shaders, but I do not have one specifically for particle features. The ideal thing would be if there was an issue per-issue (oh really :D ) and we can link to them in the megathread

@QbieShay yeah I think there is a need for one for visual particles. Maybe it should be a separate thread though?

@hmans I am curious where you found the method __build_rotation_mat4 ? I can't find this anywhere in the documentation.

@hmans I am curious where you found the method __build_rotation_mat4 ? I can't find this anywhere in the documentation.

These are automatically added to the shader code generated by Visual Shader in Particles mode (you can see it when you click the button that shows the generated code.)

@QbieShay yeah I think there is a need for one for visual particles. Maybe it should be a separate thread though?

Yes please!