Can't create a virtual machine on AzSHCI from portal due to no virtual machine kind

I created custom location but I can't create a VM from Azure Portal. Because there is no virtual machine kind. Any idea?

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

ID: b82e60f9-ebed-4011-41b7-3e11a60322ff
Version Independent ID: 61535b85-bea3-f0b5-f562-fdd08293ed65
Content: VM provisioning through Azure portal on Azure Stack HCI - Azure Stack HCI
Content Source: azure-stack/hci/manage/azure-arc-enabled-virtual-machines.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @ksurjan
Microsoft Alias: ksurjan

I used the preview portal link but still cannot select the Virtual Machine Kind also if i have created my Location, Network and Gallery Image:

What could be the issue here?

@kongou-ae Thank you for your feedback! We will review and update as appropriate.

Thanks i could start the Deployment now but after some time got this deployment error:
{
"status": "Failed",
"error": {
"code": "InternalError",
"message": "Cannot connect to the hybrid connection because no agent is connected in the target arc resource."
}
}
Any help here?
Thanks!

Can you please provide get-archcilogs bundle?

I need to enter the Password for this user of the local Linux VM:

and then the cloudservice IP of something?

Thanks!

You can do the following:

uninstall-module archci
Install-Module -Name ArcHci -RequiredVersion 0.2.6 -Force -Confirm:$false -SkipPublisherCheck -AcceptLicense
close all powershell windows
restart powershell
get-archcilogs
This will not prompt for VM passwords. It will still require cloudServiceIP and the token file generated under $csv_path/workingDir/

How is the file called with the login information?

Thanks!

it should be a .tok file.

Worked
https://1drv.ms/u/s!Aopp0r2sfNjEio9lvtoGpzeXDHdchQ?e=I0FLvh

@ksurjan
I created the new VM by https://aka.ms/AzureArcVM. Then the following error raised.

After a few minutes later from this error, I found the new VM in Azure Stack HCI. I guess that timeout may be short.
Best.

Would you be able to get get-ArcHCILogs and share it with me. Thanks.

Im now one step further but now it's failed on the gallery image:
{
"status": "Failed",
"error": {
"code": "NotFound",
"message": "Couldn't find gallery image with name 'WS22AzureCore': Couldn't find a Gallery image with name 'WS22AzureCore': Not Found"
}
}

But the gallery image exists:

Deployment succeded after i recreated the galleryimage

Worked https://1drv.ms/u/s!Aopp0r2sfNjEio9lvtoGpzeXDHdchQ?e=I0FLvh

@excelsi was this a transient error or are you seeing this for every VM creation ?

No this was my first try yesterday, now it succeded after some retries..

Please let me know if you have any other issues.
From: excelsi @.>
Sent: Tuesday, November 30, 2021 1:22 PM
To: MicrosoftDocs/azure-stack-docs @.>
Cc: Kilol Surjan @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-stack-docs] Can't create a virtual machine on AzSHCI from portal due to no virtual machine kind (Issue #1749)
No this was my first try yesterday, now it succeded after some retries..

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-stack-docs%2Fissues%2F1749%23issuecomment-983031301&data=04|01|ksurjan%40microsoft.com|271dffa5479e424ab33a08d9b4476234|72f988bf86f141af91ab2d7cd011db47|1|0|637739041444428556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=xEbvg%2FJkz04rt0ZvwW0ChEUlwQHH9swDN7mQJQ%2F4Ug4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAS2RPCPUNQKTCXNAZX5E6FDUOU553ANCNFSM5I4IU5RA&data=04|01|ksurjan%40microsoft.com|271dffa5479e424ab33a08d9b4476234|72f988bf86f141af91ab2d7cd011db47|1|0|637739041444428556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=G6HP42T0xC5P6%2FaFyKz5ksjww0UPcT5VqzvK5RRDglI%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|ksurjan%40microsoft.com|271dffa5479e424ab33a08d9b4476234|72f988bf86f141af91ab2d7cd011db47|1|0|637739041444428556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=9qlE83QjHB%2Bj09gJDC8aY8yF30ZHU5MhWi8EpWMaDy8%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|ksurjan%40microsoft.com|271dffa5479e424ab33a08d9b4476234|72f988bf86f141af91ab2d7cd011db47|1|0|637739041444428556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=UnuEWH%2BtbZM7ToppeYBJ%2FqSpgc8k9JnxeIBE7r8z70Q%3D&reserved=0.

I had the same issue as the original poster. I was able to initiate provisioning using the new link (https://aka.ms/AzureArcVM) but the the VM provisioning failed.
The logs: https://nerdio1013-my.sharepoint.com/:u:/g/personal/nwagner_getnerdio_com/EccGDNU-f_hJjS1tHI0wGS8BgvbGePMleCr995RpuZMyRA?e=EwVpT6

@wagnerock  - What is the error message with VM provisioning?

The initial error message was that the operation timed out. In activity log the operation claims to have succeeded, and there's a VM resource in the portal, but it says "failed to provision"

Thanks for the sharing the screenshot. Will follow up with an update here. Thanks.

Thanks. I'm creating a new image now, as I think the image file was vhd and not vhdx

Hello @wagnerock - Did using a vhdx work for you?

Hi @ksurjan. I created a vhdx file, but now I'm having trouble creating the image resource. The command
az azurestackhci galleryimage create
Fails with this error:
Deployment failed. Correlation ID: 1bb66607-4e0e-4eab-bfc5-d66182e14701. rpc error: code = NotFound desc = Type[GalleryImage], Location[MocLocation], Name[win10-21h2-evd]: Not Found
The Azure activity logs eventually indicated that this operation succeeded, but the image is not available when I attempt to create a VM in the custom location. Creating the custom location also reported an error initially, but eventually succeeded and is visible in the portal.
Log files are attached. Very much appreciate your help!
archcilogs 2.zip

Thank you. I will follow up shortly.
Can you also run the command that is failing with -v and provide the output.

@ksurjan Not much info there:

@ksurjan I was eventually able to create an image. One issue was that I didn't realize the image-path value needed double \ in the path. Another issue was that the disks were low on space. I now have an image, but creating the vm in the portal failed:

Looks like that one was because I hadn't specified a resource group. It let me submit the deployment without one, but then failed. New deployment is in progress now

@wagnerock  can you elaborate on the double \  problem.
We use single \ and that seems to work correctly. Can you provide the path so we can take a look? Thanks.


pythonPackages.croniter: fix build on staging-next

Has new dependencies after update:
https://github.com/taichino/croniter/blob/master/requirements/base.txt
https://github.com/taichino/croniter/blob/master/requirements/test.txt
CC @fridh @jonringer

Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 90357 1

2 packages marked as broken and skipped:
- python37Packages.privacyidea-ldap-proxy
- python38Packages.privacyidea-ldap-proxy

3 packages failed to build:
- apache-airflow (python37Packages.apache-airflow)
- python27Packages.croniter
- python27Packages.privacyidea

4 packages built:
- python37Packages.croniter
- python37Packages.privacyidea
- python38Packages.croniter
- python38Packages.privacyidea

@GrahamcOfBorg build pythonPackages.croniter  python3Packages.croniter

Still fails to build, right?

python3.pkgs.chroniter builds on master and python2 version is disabled


pdf.js is having trouble on chrome

i'm on chrome 69.0.3497.92, os x el capitan 10.11.6. it looks like our pdf rendering library doesn't like that.

i am not encountering these issues on firefox or safari. i'm also not encountering them on chrome for browserstack.

closing in favor of #378


.\Setup-Host.ps1 results in an error

Hello Jeff,
I have just started your beginner PowerShell course on PluralSight.
I believe I have followed all yours steps passionately but I get an error when I type in this command .\Setup-Host.ps1 after changing my directory to PS C:\PS-AutoLab-Env-master> as you instructed.
Yet I downloaded. extracted and saved the PS-AutoLab-Env-master folder in my C: drive.
Here is the error message I got:
PS C:\PS-AutoLab-Env-master> .\Setup-Host.ps1
.\Setup-Host.ps1 : The term '.\Setup-Host.ps1' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1

.\Setup-Host.ps1

  + CategoryInfo          : ObjectNotFound: (.\Setup-Host.ps1:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

How would you resolve this problem please?
Cheers, AiPeeKings

I suspect you are following old instructions and downloaded the module from Github. That is not the correct process anymore.  You should delete everything you downloaded and start all over.  You need to install the module from the PowerShell Gallery.
Run this in Windows PowerShell:
Install-Module PSAutolab -force -SkipPublisherCheck

Then you can run:
Setup-Host

Read https://github.com/pluralsight/PS-AutoLab-Env/blob/master/Detailed-Setup-Instructions.md for detailed instructions.
Answer yes to any prompt.

closing as inactive and presumed resolved


fixAddMissingMember should create a constructor if not present

TypeScript Version:  2.7.0-dev.20171129
Code
a.js
class C {
    m() {
        this.x;
    }
}

Expected behavior:
Can fix the error by creating a constructor.
Actual behavior:
No codefix unless I manually add a constructor.

one issue here is creating a constructor to just get the type is a bit of an overkill.. it gets more interesting when you have a base class, now you have to create a forwarding constructor, ideally with the same number and names of parameters..
one alternative here is for us to support @property or @member on a class a a source of property declaration. https://github.com/Microsoft/TypeScript/issues/15715 tracks a similar scenario

This doesn't seem to come up often


How to make JSF recognize I am trying to edit a record from an AngularTable

This is really just a support question, no bug or similar. Let assume we have an ngTable:

			{{person.id}}
			{{person.firstName}} {{person.lastName}}
			{{person.gender}}

<input type="submit" value="edit" jsf:action="#{personController.doEdit(person.id)}" class="btn btn-primary btn-sm"/>
				<input type="submit" value="delete" jsf:action="#{personController.delete(person.id)}" class="btn btn-sm btn-danger"/>

How would I tell JSF that I want to edit/delete certain rows when clicking on the buttons in the btn-toolbar? The current solution correctly tells JSF that I want to edit (and the proper edit form is rendered below the table), but JSF does not know which item is to be edited, and therefore the form stays empty.

I'm moving the issue to version 2.2 because there are a couple of solutions, but they're not as elegant as I want them to be.


Flutter/iOS Error: Failed to lookup symbol (dlsym(RTLD_DEFAULT, pv_porcupine_init): symbol not found)

Attempting to use the Flutter library in an Archive -> Test Flight environment causes an error. Works fine in Ad Hoc debug and release builds.
Expected behaviour

Initializing porcupine in a release (Archive) environment works

Actual behaviour

Error Failed to lookup symbol (dlsym(RTLD_DEFAULT, pv_porcupine_init): symbol not found) occurs

Steps to reproduce the behaviour

Set up new flutter project
Add porcupine
Initialize porcupine with built in keyword
Archive and upload application to testflight
Download and test on device

Thanks for reporting. Looks like the default archiving process is stripping out the Porcupine library. We'll look into this and get back to you.

Thanks for reporting. Looks like the default archiving process is stripping out the Porcupine library. We'll look into this and get back to you.

Editing the Runner build setting Deployment -> Strip Style -> Non-Global Symbols fixes this issue. Maybe that should be documented?

Editing the Runner build setting Deployment -> Strip Style -> Non-Global Symbols fixes this issue. Maybe that should be documented?

Ah, yes - we had come across this workaround before! With our SDKs, we're really trying to avoid asking devs to change their project compilation settings, so we favoured another solution. However, this issue you encountered proved that the other solution wasn't 100% effective.  We'll document your project settings change for now, but we'll return to the Flutter SDK shortly to find something air-tight. Thanks!

Ah, yes - we had come across this workaround before! With our SDKs, we're really trying to avoid asking devs to change their project compilation settings, so we favoured another solution. However, this issue you encountered proved that the other solution wasn't 100% effective.  We'll document your project settings change for now, but we'll return to the Flutter SDK shortly to find something air-tight. Thanks!

@nermolov - good news! We've just upgraded our iOS libraries to frameworks and it seems to have fully addressed this issue of symbol stripping in Flutter. Pull latest and retry the Testflight process - you shouldn't have that error anymore. Thanks for reporting this!


Make CaseClassDiffy's MapEncoder trait serializable

A patch for #105 (issue #122). The trait has to be serialisable to be sent over the network.

Can you open a corresponding issue just for tracking purposes

Force merging this. Something wrong with Travis cache and I will fix separate from this PR


[Feature] Idea to make WhatTheJack more useable

My idea to make WhatTheJack more usable would be to add two things.

A grammar of the jack/submod types (It may already have this) and assigning types to all of the jacks in any mod. The  more properties you can have in the grammar about the submods' functions, the more useful.

A script or whatever to compile the wiring patterns from uploaded patches* into an xml or whatever. (* To the extent you can get that data. Using the grammar, they could be from any system, not only VCV.)

A script that uses any number of ML algorithms on the data to create a predictive model of wiring patterns. (I looked up ones for autocomplete and they looked in the neighborhood. It takes all the Ins and Outs in any given rack and generates a weight table of probability.)

Then for whatever modules are on the rack, the jack placement would be weighted according to the likelihood a connection of A type jacks into a connection of B type as used in actual patches. Then you could have a knob where 0 is precisely the most likely, and 1 is what you have now (completely randomized), so you could get the level of randomness you want. If there's not enough data, then I think you'll want to generalize the grammar more; so it could make a model where roughly submods of type-A generally more often jack into submods of type-B, and add that to the weighting.

I'm not quite sure what you mean by a grammar to describe jack/submod types. If you mean having WTR understand third party modules' different types of jacks (is it audio, is it CV, etc.) then I don't think I want it: WTR's role is to patch stuff that you wouldn't patch yourself, and see what happens. Most of the time it's going to be garbage, and once in a while it'll give you a good idea.
Also, one problem: it's not going to work with the info present in Rack modules today: all we can know about an jack is whether it's an input or an output.
Re: applied ML, sure, that would be cool, but I don't have an interest in doing that at the moment. It could also be done outside of Rack, actually: parse the saved patches and feed that into your favorite ML algorithm family (you could use patchstorage as your training data) and you should be getting patches out.

I like all of these ideas, but they should be optional!
Default operation should be total randomness ;)

the plugin author just made me a maintainer on the plugin because they don't have a machine to run Rack and/or don't have the time to maintain it these days, but i have to admit, i'm personally not particularly interested in changing the plugin's original behavior, and just wanted to get it updated to version 2 and see it back in the library for others to use.
even that aside, i am also quite new to Rack development, and am somewhat of an amateur in general development as well, so i wouldn't even know where to begin in making the suggested changes.

These thoughts can also serve for anyone that wants to do a project that is "similar but different".
Can keep WhatTheRack as simple/dumb as we want. Pure randomness and then figure it out from there (which is the intended goal as I interpret it) is already really fun!
A project that does a fully self-patching randomizer would be really neat though!


DRAFT: PLT-7982 - streaming events

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense and have useful messages
[ ] Important changes are reflected in changelog.d of the affected packages
[ ] Relevant tickets are mentioned in commit messages

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[ ] Targeting main unless this is a cherry-pick backport
[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] If relevant, reference the ADR in the PR and reference the PR in the ADR
[ ] Reviewer requested

@koslambrou

for any new constructs and modules, like WithAction, TBQueue and Socket, I would really to see some top level module documentation explaining what capability the interface provides, and when it should be used, along with maybe some examples.

Planning on it, just hadn't quite got round to it yet.

why is the Socket module necessary? Will we actually need it?

I think we should chat about this tomorrow. I'm not sure, is the answer, but maybe.

is there an issue with the TBQueue stream where if there is no consuming client, then the indexer simply blocks once the queue is full?

Good question, there probably is. I'll double check tomorrow and figure out a solution.

is there an issue with the TBQueue stream where if there is no consuming client, then the indexer simply blocks once the queue is full?

Good question, there probably is. I'll double check tomorrow and figure out a solution.

It will. There isn't any workaround, it's the user's responsibility. Other solutions are: to let the memory leak or lose events. It looks worse to me.


server integration says my custom global namespace is undefined

This is an example of what I am trying to do.
I have my custom global namespace called MyApp.
#server/file.coffee
'use strict'
MyApp = do ->
  helloWorld: (msg) ->
    console.log(msg)
    return msg

and inside server integration tests:
#tests/jasmine/server/integration/fileSpec.coffee
'use strict'
describe 'test1', ->
  it 'should return msg', ->
    msg = MyApp.helloWorld('hello kitty')
    expect(msg).toEqual 'hello kitty'

But the test  fails with error:
ReferenceError: MyApp is not defined
I think the problem might be in the order of which file loads first? How do I make jasmine wait until MyApp gets defined? I tried renaming the file.coffee and even moving it in deeper folder structure, so it would have higher priority, but it didn't work.

In Coffeescript you cannot declare globals like this. Try this.MyApp = .... I think that will make it global.

Sanjo you are right, thank you
I found out that in Cofeescript we have to use special variable named share
so we can share global variables across other coffee files.
More detailed info here https://github.com/foxdog-studios/meteor-coffeescript-share


Make rust58 compatible with current master.

The current code relies on append, which is not yet in stable. I modified to use push instead so it can be used in stable rustc. If there was a reason you weren't doing it this way, feel free to disregard.

Hi, sorry for the delay. Thanks for bringing this up! Having this work on stable slipped my mind. I decided to fix this in a slightly different way, by using extend (see d27f2cc08e3c486520f86e7b41726d55485f522f).


Go and CircleCI dependency updates

:tada: This PR is included in version 0.8.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Declined/Non-approved external users prohibited tiles/links[6]

Describe the Bug:
Currently, declined and non-approved external users can see and click on tiles and links (e.g. "Register an Operation") that they are not allowed to access.
Also, When the "My Operator" link under the "Administration" tile is clicked by these users, a "not-found" page is displayed.
Probability (how likely the bug is to happen, scored from 1-5):5
(For example, probability of 5 is something like "it happens to all users every time they log in."
Probability of 1 "only happens to certain users when a really specific and unlikely path is followed.")
Effect (how bad the bug is when it does happen, scored from 1-5):1
(For example, effect of 5 is "the entire app crashes and makes it unusable for all users" or "the bug causes the wrong data to be saved, with critical information (e.g. payment) being affected."
Effect of 1 is "It makes some styling look a little bit weird.")
Steps to reproduce the behaviour:

Log in using bc-cas-dev-secondary or bc-cas-dev-three (Currently, bc-cas-dev-secondary is a declined external user and bc-cas-dev-three is a non-approved external user) and attempt to click on the Register an Operation link.

NOTE: As part of this ticket we need to identify other links/tiles that these types of users are not permitted to click on.

@Sepehr-Sobhani
The "My Operator" link under the "Administration" for non-approved external users will be "Select an Operator" as implemented from #2047
Note: The PR will also have dashboard tile logic that can be used for non-approved external users NOT seeing "Register an Operation"


Install failed

Bug report
Title
Failed when running php artisan migrate.
It mirgrate some table and then show the error
Issue Description
The is the error am getting while tryinh to mirgrate the database
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version 1. 1. 2.
2. Commit id.

Steps to reproduce
1. download the codes from the web
2. composer install
3. php artisan migrate

In Connection.php line 669:
SQLSTATE[HY000]: General error: 1558 Column count of mysql.proc is wrong. Expected 21, found 20. Created with Mar
iaDB 100108, now running 100413. Please use mysql_upgrade to fix this error (SQL:             DROP FUNCTION IF EX
ISTS get_url_path_of_category;
CREATE FUNCTION get_url_path_of_category(
categoryId INT,
localeCode VARCHAR(255)
)
RETURNS VARCHAR(255)
DETERMINISTIC
BEGIN
              DECLARE urlPath VARCHAR(255);
              -- Category with id 1 is root by default
              IF categoryId <> 1
              THEN
                  SELECT
                      GROUP_CONCAT(parent_translations.slug SEPARATOR '/') INTO urlPath
                  FROM
                      dbcategories AS node,
                      dbcategories AS parent
                      JOIN dbcategory_translations AS parent_translations ON parent.id = parent_translations.ca

tegory_id
WHERE
node._lft >= parent._lft
AND node._rgt <= parent._rgt
AND node.id = categoryId
AND parent.id <> 1
AND parent_translations.locale = localeCode
GROUP BY
node.id;
                  IF urlPath IS NULL
                  THEN
                      SET urlPath = (SELECT slug FROM dbcategory_translations WHERE dbcategory_translations.cat

egory_id = categoryId);
END IF;
ELSE
SET urlPath = '';
END IF;
               RETURN urlPath;
          END;)

In PDOConnection.php line 43:
SQLSTATE[HY000]: General error: 1558 Column count of mysql.proc is wrong. Expected 21, found 20. Created with Mar
iaDB 100108, now running 100413. Please use mysql_upgrade to fix this error
In PDOConnection.php line 41:
SQLSTATE[HY000]: General error: 1558 Column count of mysql.proc is wrong. Expected 21, found 20. Created with Mar
iaDB 100108, now running 100413. Please use mysql_upgrade to fix this error

Hi @thinklifepot
mention your database version?

@vaishaliwebkul
Server version: 10.4.13-MariaDB - Source distribution

@thinklifepot
go through with this solution https://forums.bagisto.com/topic/1505/database-migration-almost-worked-but-atlast-show-one-error-pic-attached/4

@vaishaliwebkul
i followed the solution but when i ran mysql upgrade i this message.
The mysql_upgrade client is now deprecated. The actions executed by the upgrade client are now done by the server.
To upgrade, please start the new MySQL binary with the older data directory. Repairing user tables is done automatically. Restart is not required after upgrade.
The upgrade process automatically starts on running a new MySQL binary with an older data directory. To avoid accidental upgrades, please use the --upgrade=NONE option with the MySQL binary. The option --upgrade=FORCE is also provided to run the server upgrade sequence on demand.
It may be possible that the server upgrade fails due to a number of reasons. In that case, the upgrade sequence will run again during the next MySQL server start. If the server upgrade fails repeatedly, the server can be started with the --upgrade=MINIMAL option to start the server without executing the upgrade sequence, thus allowing users to manually rectify the problem.

Please can you help me, figure out the solution
thanks...

Database Configuration
Server: Localhost via UNIX socket
Server type: MariaDB
Server version: 10.3.23-MariaDB-1:10.3.23+maria~xenial - mariadb.org binary distribution
Protocol version: 10
User: root@
Server charset: UTF-8 Unicode (utf8)
Bagisto Version: Master
Steps to reproduce:

Install Bagisto

add database details to .env

run php artisan migrate

Error

Hi @thinklifepot
Please use the given link to upgrade MariaDB version - https://mariadb.com/kb/en/mysql_upgrade/  and  https://jira.mariadb.org/browse/MDEV-14573.

@rahulcs0082 mysql_upgrade has depreciated from MYSQL version 8 .0, is there any other way to to upgrade without running mysql_upgrade

@OfficialOzioma
you can follow this guide to upgrade MYSQL in other ways https://dev.mysql.com/doc/mysql-windows-excerpt/8.0/en/windows-upgrading.html

@vaishaliwebkul that's for windows users is there any other for ubuntu users

the mysql version in my PC is 8.0.20 which is the latest version, what other version am i upgrading to, have search all round google i cant figure out how to upgrade it.

Hello @thinklifepot
KIndly run - mysql_upgrade -u root -p to fix the above error.

###Hello  @rahulcs0082
this is what i get when i run mysql_upgrade -u root -p
The mysql_upgrade client is now deprecated. The actions executed by the upgrade client are now done by the server.
To upgrade, please start the new MySQL binary with the older data directory. Repairing user tables is done automatically. Restart is not required after upgrade.
The upgrade process automatically starts on running a new MySQL binary with an older data directory. To avoid accidental upgrades, please use the --upgrade=NONE option with the MySQL binary. The option --upgrade=FORCE is also provided to run the server upgrade sequence on demand.
It may be possible that the server upgrade fails due to a number of reasons. In that case, the upgrade sequence will run again during the next MySQL server start. If the server upgrade fails repeatedly, the server can be started with the --upgrade=MINIMAL option to start the server without executing the upgrade sequence, thus allowing users to manually rectify the problem.

@thinklifepot successfully installed bagisto as notified here https://forums.bagisto.com/topic/1523/error-during-php-artisan-migrate-after-some-migrations-topic-1302-error-during-php-artisan-migrate-after-some-migrations/2, so closing this.


fix: dev: #107: Fix creation of unnecessary zero bytes file in the cache

After the fix:
[ec2-user@ip-10-0-0-251 ~]$ find /media/ephemeral0/fcache/bigdata-sets/perf/data/tpcds/parquet/scale_1000/store_sales/ -type f -size 0b -print
[ec2-user@ip-10-0-0-251 ~]$

[ec2-user@ip-10-0-0-251 ~]$ ls -lrt /media/ephemeral0/fcache/bigdata-sets/perf/data/tpcds/parquet/scale_1000/store_sales/00000*
-rw-r--r-- 1 yarn yarn        7 Mar 22 23:56 /media/ephemeral0/fcache/bigdata-sets/perf/data/tpcds/parquet/scale_1000/store_sales/000003_mdfile
-rw-rw-rw- 1 yarn yarn 57186437 Mar 22 23:56 /media/ephemeral0/fcache/bigdata-sets/perf/data/tpcds/parquet/scale_1000/store_sales/000003

Pull Request Test Coverage Report for Build 29

0 of 7 (0.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 19.34%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

rubix-bookkeeper/src/main/java/com/qubole/rubix/bookkeeper/BookKeeper.java
0
7
0.0%

Totals

Change from base Build 26:
0.1%

Covered Lines:
299

Relevant Lines:
1546

💛  - Coveralls

Questions:

What case were these files getting generated unnecessarily?
Does this cause functional issues?

@stagraqubole My replies to your comment will give you the scenarios. Just reiterating here as well,

The CachingInputStream code was creating the actual file unnecessarily.
When we are checking whether the block is cached or not without knowing whether the md file should be in that node, we were also creating the md files for those files as well. By adding the non-local check ahead of cached check is helping not to create the md files unnecessarily.

@vrajat We have some integration tests but that test won't bring any daemon as a separate jvm.

Thanks for the clarifications, lgtm


Chat history is gone

Describe the bug
After making a project, I went back later to check my prompts, they were gone it seems
Link to the Bolt URL that caused the error
general
Steps to reproduce
make a project - leave - go back to it - look for your prompts
Expected behavior
I expected to scroll back and find my chat history and iterations
Screen Recording / Screenshot
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Hey @joe-shenouda ! Chat is not persisted at the moment.
We're tracking this issue in #39. Feel free to subscribe to that issue if you want to be informed when this will be added!


Drawio don't show font in mediaWiki

I installed DrawIo in my MediaWiki and want to creat a drawing.
Following issue is happend:
I edit the soruce code of my wiki page with {{#drawio:XY}} and save the page.
Now i can open the drawio editor without issues.
I can also draw with them and editing everything i want.
But if i want to create something with font and i save it after creating, the font doesent exist in the normal user view...
If i reopen the editor I see the font...
This is what i see in the editor:

This is what I see on the website after saving:

Any Idea?
Version: 14.1.8.

We're not the authors of that plugin, sorry.

We're not the authors of that plugin, sorry.


Count story points from labels

Instead of count sp from title, what about count them from labels?
Like, sum labels with only numbers, or named SP x where x is a number.

@cirelli94 , I created a fork to add this functionality in https://github.com/oviohub/github-story-points. What browser are you using?
@banyan happy to submit some of these changes as a PR if you think that's interesting!

It's available at https://chrome.google.com/webstore/detail/github-story-points/macalhhnmnhceejcjhbgdfidpeeamhep

Interesting @ericboucher ! I'm using Firefox, I'm gonna try it.


Added maven build and test actions

Hi, i am facing an issue while commit my changes to my branch in this project. can you please help.


Update wallet.rs

Hi, thank you for explanation =)
By technical reason we can't just merge the PR, but your changes will be applied during next release cycle


Free memory allocated for dll path after injection is completed

Call WaitForSingleObject to wait until the thread finishes and VirtualFreeEx to free the memory.

Thanks!


Add Label TOOL

You guys should add a TOOL to LABELING things, that's make be able to us to add LABELS to explain the usage of the things

Already done, next update. 😉


Error parsing columns of type enum

I have this case:
http://www.csvjson.com/sql2json/ce29e8deafbacbe33642e38f16cd85b0
This is what I have in my Create table statement:
...
status enum('OPEN','HAS_DEP','CLOSED'),
perfectMatch int(1) NOT NULL,
collisionContentId int(11) NOT NULL,
...
And this is the JSON output:
...
"status": "OPEN",
"{{1}}": "1",
"{{2}}')": "2",
...
Apparently if I change status column type from enum to varchar it works fine.

I confirm the bug and will have a look at it. Thanks for reporting.


Consider the ongoing sc when checking for secure messaging availability

Jira issue:
https://glia.atlassian.net/browse/MOB-3652
What was solved?
Release notes:

[X] Feature(Part of SC V2)
[ ] Ignore
[ ] Release notes (Is it clear from the description here?)
[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[ ] Is the feature sufficiently tested? All tests fixed? Necessary unit, acceptance, snapshots added? Check that at least new public classes & methods are covered with unit tests
[ ] Did you add logging beneficial for troubleshooting of customer issues?
[ ] Did you add new logging? We would like the logging between platforms to be similar. Refer to Logging from Android SDKs → Things to consider for newly added logs in Confluence for more information.

Screenshots:

!squash


[SPARK-16648][SQL] Overrides TreeNode.withNewChildren in Last

What changes were proposed in this pull request?
Default TreeNode.withNewChildren implementation doesn't work for Last and when both constructor arguments are the same, e.g.:
LAST_VALUE(FALSE) -- The 2nd argument defaults to FALSE
LAST_VALUE(FALSE, FALSE)
LAST_VALUE(TRUE, TRUE)

This is because although Last is a unary expression, both of its constructor arguments are Expressions. When they have the same value, TreeNode.withNewChildren treats both of them as child nodes by mistake.
First is also affected by this issue in exactly the same way.
How was this patch tested?
New test case added in WindowQuerySuite.

Test build #62654 has started for PR 14295 at commit efbed91.

Test build #62654 has finished for PR 14295 at commit efbed91.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62654/
Test PASSed.

@liancheng  Can you also change First? I think that one is also broken for this case.

Oh, that's a good point, should have realized both of them are affected. Updated. Thanks!

Test build #62750 has started for PR 14295 at commit dd73681.

Test build #62750 has finished for PR 14295 at commit dd73681.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62750/
Test PASSed.

Tried to make ignoreNullsExpr also a child node of First and Last in the last commit as @cloud-fan suggested. Hopefully this is a cleaner fix.

Test build #62799 has started for PR 14295 at commit 0152075.

Test build #62799 has finished for PR 14295 at commit 0152075.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62799/
Test PASSed.

LGTM

thanks, merging to master/2.0!


fix: use -y to accept prompts

Recent changes to the CLI messaging cause a situation where the deployer tests get stuck waiting for the user to confirm y/n to install integrations (even when -c flag is passed).

This change uses the -y flag to bypass that restriction until we get a proper fix into the CLI (the original intent of the -c flag is prompt wouldn't be required)

More detail:
installRecipes contains a check for ShouldPrompt(), which is returning true. Then this drops into userAcceptsInstall, which is springing the Would you like to enable message on the user. Setting -y short-circuits the y/n prompt, but we need to consider if it should even show in the first place.

More detail:
installRecipes contains a check for ShouldPrompt(), which is returning true. Then this drops into userAcceptsInstall, which is springing the Would you like to enable message on the user. Setting -y short-circuits the y/n prompt, but we need to consider if it should even show in the first place.


Get placemark Lat and Long from a kml layer

Hi,
I´m trying to get the lat and lon from a kml layer to do zoom directly to a placemark after add it to a map. I tryed to do this:
camada = new KmlLayer(googleMap,R.raw.kmlfile,getApplicationContext());
camada.addLayerToMap();
for (KmlPlacemark marcador : camada.getPlacemarks()){
marcador.getProperty("latitude");
}
but it doesn´t enter in the loop. Any help please?

Have a look at the demo app which contains an example of both iterating placemarks and moving the camera to them: https://github.com/googlemaps/android-maps-utils/blob/fb05ef10408864106bbab3b5adcf775dbb9f8da1/demo/src/com/google/maps/android/utils/demo/KmlDemoActivity.java#L57-L72

for example you would like "print" all placemark StyleId then do:
java```
//First container in the kmlLayer
///KmlContainer container = kmlLayer.getContainers().iterator().next();
//first nested container within the first container
//container = container.getContainers().iterator().next();
///First placemark in the nested container
///KmlPlacemark placemark = container.getPlacemarks().iterator().next();
    //..so all placmark in the kmlLayer
    for(KmlContainer container : kmlLayer.getContainers()){
        for(KmlContainer nestedContainer : container.getContainers()){
            for(KmlPlacemark placemark : nestedContainer.getPlacemarks()){
                Log.i("MTAG", placemark.getStyleId());
            }
        }
    }

it's work for me.

@Vmarci94 thank you sir. worked for me. I am grateful to you.


Tesseract TESSDATE_PREFIX

Environment

Tesseract Version:

tesseract 4.0.0
leptonica-1.75.3
libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
Found SSE

Platform:

Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic
Current Behavior:
I have the Problem, that i cant use the language files, because the path seems to be wrong.
The Tessdate is in "/usr/share/tesseract-ocr/4.00/tessdata/" and not in "/usr/local/share/tessdata/".
I tried to remove the packages and reinstall, but after removing i can still check the tesseract Version in terminal. And a fresh installation didn't fix it.
Note the error below.
~$ tesseract --list-langs
Error opening data file /usr/local/share/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.

Cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913951

IMO: This is not tesseract project issue, but user problem (maybe packager).
There are  3 repositories of tessdatas and tesseract does not install any of them - it is up to users which they will use.
User can select proper tessdata directory (e.g in case of installing trainneddata from more repositories) by API, TESSDATA_PREFIX or --tessdata-dir.


Evaluate OpenAssistant with system message

Evaluate https://huggingface.co/OpenAssistant/llama-30b-sft-v8.2-2.4k-steps-system using the system message. Should be something like the following:
<|system|>lang: en
quality: 0.9
humor: 0.1
</s>

Moved over to https://github.com/tju01/FastEval-OpenAssistant/issues/1


Support for pitch and bearing

This might affect and might be affected by #240.

After talking with the rest of the team we have decided to deprioritize this issue due to its complexity and due to the fact that there are other important issues on hold.
Some of my super shallow research:

We will need to create a perspective matrix and some maths. I saw this math utility library (https://github.com/toji/gl-matrix), seems good, but the minified bundle size goes up from 242KB to 259KB.
https://github.com/CartoDB/carto-vl/issues/240 is a requirement for this
We'll need to change the computation of getting the tile list for a particular zoom, center, pitch and bearing.
We'll need to adapt the rendering shaders
We'll need to test the performance and decide if we stick to a two-path rendering (with 2D and 3D shader versions)

Integrating CARTO VL with the upstream custom layers proposal would make this easier

Any blocker holding this yet?

No, #240 was blocking it, but it's already fixed


お問い合わせ

https://tailwindflex.com/@geoffrey-callaghan/beautiful-tailwind-contact-form

https://tailwindflex.com/@abigail/simple-about-us-section


AWS RDS Postgresql password

In our juenkins job to copy data from Carrenza staging to AWS staging,
we have a neccity to provide 'aws_db_admin' as the destination user.
While we do provide the user name explicity via the script used to
perform the task, we wer not providing the password from secrets.

https://trello.com/c/cYTPEGvn/1044-data-sync-from-staging-carrenza-to-staging-aws
Solo: @suthagarht

Not necessary


Add bibtex reference to the book in the README.md

It would be a real help for anyone wanting to cite the book if you could add the bibtex entry text to the bottom of the README.md 👍
Along the same lines... I'm not sure if it's under your control, but I also can't find the bibtex citation through a Google Scholar search.

Hi @drbenvincent
Thank you for the feedback, these are great points!
Added the citation section in the README.md, including BibTeX and APA formats.
Added the book to Google Scholar (not sure when it will be updated).

@drbenvincent - I am closing the issue now.


[Backport] Introduced writing layer, getting rid of writing logic that uses an absolute path in the filesystem.

Description
Backporting #2241 to 2.x branch.

Will check the failure in Windows

The failure does not seem like related to the change.
It failed to get a value from mocking instance.
We set the mocking here, but for some reasons, the mocked value is not being returned in Windows.
I'm suspecting this is a concurrent issue in testing.
Model mockModel = new Model(modelMetadata1, modelBlob, modelId);
when(modelDao.get(modelId)).thenReturn(mockModel); <---------------- This should return 'test-model'
when(modelDao.getMetadata(modelId)).thenReturn(modelMetadata1);

Error :
  1> java.lang.IllegalArgumentException: Model ID 'test-model' is not created.
  1> 	at org.opensearch.knn.indices.ModelUtil.getModelMetadata(ModelUtil.java:54)
  1> 	at org.opensearch.knn.common.FieldInfoExtractor.extractKNNEngine(FieldInfoExtractor.java:42)
  1> 	at org.opensearch.knn.index.codec.util.KNNCodecUtil.getNativeKNNEngine(KNNCodecUtil.java:126)

Reran the test.
If it is still failing, then will fix the code in Windows and reraise the PR!

All tests passed :sweat_smile:
Will merge the PR.
Also will create a new issue regarding the mocking failure.


"No connection"

Even with a stable internet connection I'm unable to type, it just keeps saying no connection.
I saw someone before make a post with the same issue, and their solution was to go to settings and press connect at the API url thing, i tried this but it didn't work, can someone help me out im confused.

Local or Colab?

I have the same issue. I was using TavernAI on my phone. I believe I encountered it on local.


Setup Nginx so that each app is on a nice path

e.g. /elasticsearch, /kibana, /collector etc.
Nice to do if we have time...

This would allow us to reduce the number of ports that need to be opened in the security group.

@jbeemster to update this ticket with a full set of mappings

Renamed ticket, please reword commit. Also note that I have changed the name so that you can add the HTTP auth into this commit...


Supply required fields as args to builder()

I'd love to have the option to supply required fields of a struct as args to the first method call (basically deriving a new method), leaving optional ones as separate methods you would then be able to call. This would also mean you should't have to call .build() at the end of the chain, because the data structure is valid 'from the get-go'. This would be great, as currently I use derive-new for when I have a simple struct and can't be bothered to write the new function, but having this built into bon would be much nicer as setters for optional methods would be derived too.

I didn't think of having a macro to derive the new() method in bon, but it probably fits the domain. However, I suppose it's mostly a solved problem today. As you mentioned derive-new works fine for this use case. If you'd like to have setters generated for optional fields, then there are proc macros that do that as well. For example, getset is a cool one, although it hasn't been updated for 3 years.

Yeah, I agree there have been solutions but I think bon could do it much better - for example, derive-new doesn't support impl Into (or impl IntoIterator) for args. Also, I probably used the wrong word for 'setters', what I really meant was functions that consume self, set a value to something, and return self again, so you can chain them. Here's an example of how everything I'm talking about could work:
#[bon::new]
struct ExampleStruct {
    #[bon(from-iter)]
    field: HashSet<u32>,
    optional: Option<usize>,

}

fn main() {
    let example_struct = Example::new([0, 1, 2]).optional(3);
}

I would definitely prefer to use a feature like this built into bon, as then it could use the same 'ecosystem' of features such as impl IntoIteratoe and impl Into

Note that this has the problem of allowing you to set the value for the same optional field more than once:
Example::new([0, 1, 2]).optional(3).optional(4);

This can happen if two optional fields have the same type and are named almost the same e.g. x: Option<u32>, y: Option<u32>, or firstname: Option<String>, lastname: Option<String>. It can be possible that due to a copy-paste mistake the same optional field is set twice. With bon::builder such error can't happen because it checks for such an error at compile time by changing the builder type state once the optional field was set.

Yeah I agree that's a potential drawback, but lots of Rust APIs use this pattern with a 'new' method where you supply required methods, then optional methods you can chain which set or update other fields, and I think it works quite well. Depending on the use case, I think this pattern works better than the builder pattern currently possible with bon, because it's less verbose, not requiring you to name required fields - e.g when you only have one required field it removes the need to call builder() and build()

You could also add the option to supply setters which take in &mut self as well as ones which consume self, returning an updated version of self.
The ones which consume self are useful for the initial construction of the object because it allows you to chain methods, but setters which take in &mut self would be more useful for modification of the object after construction. Yes, there are already crates which do this, but having this built into bon would mean having to invoke fewer macros and bring in fewer dependencies to the project. Let me know what you think!

I think it's reasonable. Eventually, we'll get there

Yeah, I definitely understand this is non-trivial to implement and so will be low on the priority list for now!

I think this is implemented now!?

Yes, according to the title, the issue is implemented. While discussing it we determined that the author of the issue had a bit different requirements in mind. I created separate issue for them:

#146
#147


Support phaser-ce

The current require statement references phaser. Would it be possible to support both phaser and phaser-ce?

Sorry, I apparently had e-mail notifications turned off and am just now seeing this. It does support phaser-ce, in fact that is what we are using in the boilerplate we made before creating this: https://github.com/goldfire/phaser-boilerplate.


Mimalloc isn't allocating huge pages to factorio on NixOS

I run
LD_PRELOAD=/nix/store/dn2xi29q3lp6w0m59cl1k6rb78l9d7a1-mimalloc-2.0.9/lib/libmimalloc.so MIMALLOC_DECOMMIT_DELAY=10000 MIMALLOC_SHOW_STATS=1 MIMALLOC_SHOW_ERRORS=1 HUGETLB_MORECORE=thp MIMALLOC_RESERVE_HUGE_OS_PAGES=8 /nix/store/z2ccfd9ssizadj5h5xgic74xl65wrqkg-factorio-alpha-1.1.74/bin/factorio --benchmark-ticks 10000 --benchmark-runs 3 --benchmark-sanitize --benchmark ~/.factorio/saves/Twigs\ Game.zip
mimalloc: warning: unable to allocate huge (1GiB) page, trying large (2MiB) pages instead (error 12)
mimalloc: warning: failed to reserve 8 GiB huge pages
mimalloc: warning: unable to allocate huge (1GiB) page, trying large (2MiB) pages instead (error 12)
mimalloc: warning: failed to reserve 8 GiB huge pages
mimalloc: warning: unable to allocate huge (1GiB) page, trying large (2MiB) pages instead (error 12)
mimalloc: warning: failed to reserve 8 GiB huge pages
heap stats:    peak      total      freed    current       unit      count
reserved:   32.0 MiB   32.0 MiB      0       32.0 MiB
committed:   32.0 MiB   32.0 MiB      0       32.0 MiB
reset:      0          0          0          0                            ok
touched:   64.2 KiB   64.2 KiB  164.6 KiB -100.3 KiB                        ok
segments:      1          1          0          1                            not all freed!
-abandoned:      0          0          0          0                            ok
-cached:      0          0          0          0                            ok
pages:      0          0          2         -2                            ok
-abandoned:      0          0          0          0                            ok
-extended:      0
-noretire:      0
mmaps:      0
commits:      0
threads:      0          0          0          0                            ok
searches:     0.0 avg
numa nodes:       1
elapsed:       0.004 s
process: user: 0.004 s, system: 0.001 s, faults: 0, rss: 2.7 MiB, commit: 32.0 MiB
heap stats:    peak      total      freed    current       unit      count
reserved:      0          0          0          0                            ok
committed:      0          0          0          0                            ok
reset:      0          0          0          0                            ok
touched:      0          0          0          0                            ok
segments:      0          0          0          0                            ok
-abandoned:      0          0          0          0                            ok
-cached:      0          0          0          0                            ok
pages:      0          0          0          0                            ok
-abandoned:      0          0          0          0                            ok
-extended:      0
-noretire:      0
mmaps:      0
commits:      0
threads:      0          0          0          0                            ok
searches:     0.0 avg
numa nodes:       1
elapsed:       0.009 s
process: user: 0.002 s, system: 0.002 s, faults: 0, rss: 3.6 MiB
mimalloc: warning: unable to allocate huge (1GiB) page, trying large (2MiB) pages instead (error 12)
mimalloc: warning: failed to reserve 8 GiB huge pages
factorio benchmark
Performed 10000 updates in 38091.294 ms
avg: 3.809 ms, min: 2.947 ms, max: 23.278 ms
checksum:<PHONE_NUMBER>
Performed 10000 updates in 35988.210 ms
avg: 3.599 ms, min: 2.862 ms, max: 7.710 ms
checksum:<PHONE_NUMBER>
Performed 10000 updates in 36191.369 ms
avg: 3.619 ms, min: 2.889 ms, max: 13.133 ms
checksum:<PHONE_NUMBER>
end of factorio benchmark
heap stats:    peak      total      freed    current       unit      count
reserved:    2.0 GiB    2.0 GiB   57.0 MiB    2.0 GiB
committed:    1.8 GiB    2.3 GiB  506.5 MiB    1.8 GiB
reset:      0          0          0          0                            ok
touched:    1.9 MiB    8.3 MiB    8.4 GiB   -8.4 GiB                        ok
segments:     89        143        135          8                            not all freed!
-abandoned:     10         10         10          0                            ok
-cached:      0          0          0          0                            ok
pages:      0          0       85.2 Ki   -85.2 Ki                         ok
-abandoned:     13         13         13          0                            ok
-extended:      0
-noretire:      0
mmaps:      0
commits:    368
threads:      3         31         62        -31                            ok
searches:     0.0 avg
numa nodes:       1
elapsed:     142.743 s
process: user: 206.903 s, system: 5.450 s, faults: 0, rss: 1.8 GiB, commit: 1.8 GiB
Am I doing something wrong or is this an issue with mimalloc?

I'm just dumb, I haven't fixed but now I know I need to allocate hugepages on the os level.

It is fixed? Indeed, mimalloc can allocate huge pages only from the OS if it has permission and the OS is configured correctly. How this is done differs per OS, see the readme for some helpful links.

It's not fixed but It is broken because I haven't configured stuff so this isn't an actual issue.


Delete the non-functional AttachToController

Per issue: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4033
It looks like this solver was added but never fully completed (all of the interesting code was commented out). Rather than ship code that doesn't work, we'll delete it. If we're doing a controller or solvers pass, we can add this back at that time.

/azp run mrtk_pr

/azp run mrtk_docs


Support for tinygo

Is your feature request related to a problem? Please describe.
Hi, are there any plans to add support for tinygo? Or should that be a separate plugin?
Describe the solution you'd like
asdf install golang 1.19.4-tinygo

Describe alternatives you've considered
Creating a separate plugin
Additional context
None

I honestly haven't thought about it. It seems reasonable to me, but based on the install instructions I don't know if it'll be as straight forward as what we do for regular go. I'll have to do some more digging.

I've created an asdf-vm plugin for TinyGo.  It might even work.


Add 7 Days to Die Generic

This is the draft of the 7 Days to Die generic config. This is not thoroughly tested yet, and not tried on Linux at all. I believe most everything works as expected including UMOD in Windows though.
Known Issues:

No Telnet connection due to related feature request: https://github.com/CubeCoders/AMP/issues/623
No FPS Status - This is not currently possible with Generic

I realise this is a work in progress, but suggest adding the new "DeleteAfterExtract":true setting to the uMod download stages, so the zip is deleted after being extracted.

The telnet issue is fixed from above.
There is no FPS tracking still, but I feel this should be released without that feature for now due to the change in config files from old versions causing issues for existing servers that can't be upgraded. This also accounts for both user join messages so old and new versions of the game will track players properly.


[1317] Display course apprenticeships and funding

Context
We need to expose all the things.
Changes proposed in this pull request
Use the funding field which is now being passed in from the backend.
Guidance to review
We don't have a request spec for the presence of the apprenticeship in the frontend and the hiding of the other two but ehhhh.
Screenshot

 Course basic details: funding (frontend)


Add FAQ on how to cope with changing rules

As a companion to #347 identify the patterns to deal with changing rules:

Bump shakeVersion whenever anything changes.
Do the shakeVersion bump using hash of the source files.
Track each individual rule with a template Haskell splice (disadvantages - not precise on alpha renaming or changing called functions).
Try and move stuff into metadata.

Thinking about the third point (track each individual rule). That seems like it provides a good balance between requiring a full rebuild for any rule change and limiting inconsistency between builds. How would you get the correct splice for a rule? I was stuck on this for a while, and had a thought.
An alternative to Template Haskell could be needing the file the rule is in. There's not a whole lot of granularity if every rule is in one file though (it's tantamount to using shakeVersion). If rules are split into modules, it becomes more granular. Modules might be split by language, artifact, or per rule (where each rule in the module would need the module file). If all rules are setup this way, shakeVersion doesn't seem like it would add anything.
needing the module file doesn't get away from the disadvantages pointed out (no distinction between semantic and syntactic changes). Maybe it helps someone else in the future though.

As far as distinguishing semantic changes from syntactic changes, maybe some inspiration could come from Dhall with its support for semantic integrity checks. The full algorithm is laid out in the standard. In particular:

If the import is protected with a sha256:base16Hash integrity check, then:

the import's normal form is encoded to a binary representation
the binary representation is hashed using SHA-256
the SHA-256 hash is base16-encoded
the base16-encoded result has to match the integrity check

It relies on being able to normalize everything, so I don't know that it can be taken verbatim. I don't really know how Shake works under the hood, but I imagine there's some sort of AST for rules or actions or some such. If that tree exists, could it be analyzed to know if the semantics of a rule changed?

There is no AST for rules, it's a deeply embedded language - the only thing it can do is run them. You could normalise at the level of the Haskell code, but that is probably pretty dodgy - knowing which two GHC source files are equivalent is a hard problem.
Even if you take that approach, you have to be careful that if a utility you are importing changes it doesn't ripple through to your code.
That said, it's a pretty useful technique, and definitely worth including in the docs. I use it myself in the shake test suite, e.g. https://github.com/ndmitchell/shake/blob/master/src/Test/Docs.hs#L55


Ability to add custom fields to Falco - like K8S cluster name

Motivation
When running in a multi cluster environment, we want to use a single falco-sidekick with many falco daemonSets from different clusters reporting to the same sidekick.
Feature
I would like to add a custom-field to the falco daemonSet, like "cluster.name=XXX" so that each event onthe sidekick will hold this info

I think you can accomplish this by using the -p flag of Falco.
This flag allows you to append a string to every alert output arising from a certain Falco instance. So for example falco -p " cluster.name=staging" would append  cluster.name=staging to the output of all alerts.
If you are deploying Falco with the community Helm charts, you should be able to pass additional CLI parameters to each Falco  with the extraArgs configuration option (see https://github.com/falcosecurity/charts/tree/master/falco#configuration).
If I correctly understood your use case, this may be a feasible workaround. Let me know if that works for you.

This can be made with additional configuration in Helm Chart https://github.com/falcosecurity/charts/tree/master/falco#configuration
falco:
  jsonOutput: true
  programOutput:
    enabled: true
    program: "jq '.output_fields.cluster.name = \"staging\"' | curl -d @- -XPOST http://public-endpoint-to-falcosidekick"

but this a hotfix - I think we need some falco options to transfer some additional information like cluster name, pod name or host to falcosidekick for clear understanding where this event was happens
@jasondellaluce -p flag in falco doesn't effect on output fields with http_output

Hey @maksim-paskal, I have added the config you have suggested, but I see on sidekick the "cluster" with a value of "[ object Object]" :0

@IliaGe thanks. Update my comment - just make string escape from
jq '.output_fields.cluster.name

to
jq '.output_fields.\"cluster.name\"

@maksim-paskal if I understand correctly, your hotfix will end up with duplicate info sent to the sidekick?
I'm struggling with figuring out how to turn on the sidekick without enabling http_output straight to it through the Helm charts

Hi @rubensf - sorry but I don't understand your question.
We are using multiple clusters, with multiple providers. One of this cluster has falcosidekick installed with helm
helm install falcosidekick falcosecurity/falcosidekick --values falcosidekick.yaml

#falcosidekick.yaml
...
service:
  type: LoadBalancer
  port: 12345
...

all others cluster has falco installed with
helm upgrade falco falcosecurity/falco --values falco.yaml

#falco.yaml
...
falco:
  jsonOutput: true
  programOutput:
    enabled: true
    program: "jq '.output_fields.\"cluster.name\" = \"somecluster\"' | curl -d @- -XPOST http://<falcosidekick-endpoint>:12345"
...

falcosidekick now has all falco events from all our clusters


Allow "/" as valid escape sequence in Calc strings

I'm seeings JSON files that have \/ as an escape sequence. This is currently not supported in Calc.g4, nor in the CharUtil methods (at least it should be readable, even if the writing methods don't support it, because it's not necessary)...

Line 1431 of Calc.g4 ("ESCAPES"), and line 1009 (or ff.) in CharUtil ("convertEscapeSequences").


DRILL-8149: large xlsx configs

Description
https://issues.apache.org/jira/browse/DRILL-8149
Documentation
(Please describe user-visible changes similar to what should appear in the Drill documentation.)
Testing
(Please describe how this PR has been tested.)

Still needs test coverage

@cgivre @luocooong thanks for the feedback. I've been busy on other stuff and am not prioritising completing this. Before it is ready to merge, it will need doc updates and test coverage.

No worries!  It looks good to me other than adding some doc updates.

@pjfanning Is it possible to resolve the above conflicts and do a rebase on the master branch? Because I'm ready to merge this good feature.

@pjfanning Is it possible to resolve the above conflicts and do a rebase on the master branch? Because I'm ready to merge this good feature.

I've resolved the merge conflict but am leaving this in draft because I still need to add test coverage.

@luocooong @cgivre I'm not sure how unit-testable these changes are. To really test the features would require very large xlsx files and even with the all the new settings in place, the tests would be slow to run and use a lot of memory. Would it be feasible to treat these properties as something that users would only need to set in rare circumstances? If users run into issues with the properties in real world scenarios, then maybe the code and tests can be beefed up then.

@luocooong @cgivre I'm not sure how unit-testable these changes are. To really test the features would require very large xlsx files and even with the all the new settings in place, the tests would be slow to run and use a lot of memory. Would it be feasible to treat these properties as something that users would only need to set in rare circumstances? If users run into issues with the properties in real world scenarios, then maybe the code and tests can be beefed up then.

I'm ok with not unit testing these.  Since all that is happening here is that that we are creating some new config variables in the format config and passing them down to a reader, I think it is fine.  So, unless there is any objection, LGTM +1.


NFS Setup secure by default

Is your feature request related to a problem? Please describe.

NFS Configuration feels weird and the defaults are generally unsecure.

Describe the solution you'd like

To ensure safety DDEV should ship an own NFS deamon only listening on <IP_ADDRESS> to ensure security and system integrity.

Describe alternatives you've considered

configure the OS

Additional context

https://github.com/drud/ddev/pull/1442
https://ddev.readthedocs.io/en/stable/users/performance/#macos-nfs-setup

I'm in some agreement, but there are a few factors that argue against:

Most dev machines have a decent firewall blocking nfs
Maintaining a separate NFS daemon for 3 platforms would be a real problem, making this approach impossible I'd think.
The docs certainly encourage people to do something in line with their own security expectations (of course we know that people often skip by this or don't understand how to do it).

The last point is the biggest problem imho.

@dacostafilipe sends this gist as an example of sharing only a started project.

Reviewing the situation:

Allowed clients: Currently on macOS and Linux all "public" IP addresses are allowed as clients. 10.*, 172.28, 192.168. In reality it should only be the ddev_default network (or the proper network on docker toolbox)
Allowed source: On macOS and Linux it's currently sharing all of /home, which is too much. Better might be ~/ and even better ~/sites or ~/workspace (wherever users put their projects). Going to ~/ is pretty easy, going farther than that probably means the user will have to configure.  (On WIndows, it's defaulting to the whole C: drive, which clearly isn't what we want, better ~/)

@kaystrobach could you please review #1616 ? Would be much appreciated!

I wonder if there can’t be a ddev share for osx and linux (always same folder) where symlinks are created per project. This would dramatically reduce the risk to expose the full home directory.

I don't think nfsd can do anything very good with symlinks; if it followed them (and the target weren't shared) it would be a horrible security situation.
The reason I keep sticking to a simple share is to keep it straightforward for all platforms and simple for users.
Note that in #1616 (would love it if you'd try it) you'll find that the sharing is limited to the local machine in every case, so except where there is shared machine, this shouldn't be an issue.

short testing done and it looks good so far.


"let" tactic

When @leodemoura was visiting CMU, we collected tactics that are still lacking. One idea was a let tactic that lets the user introduce a new variable to the context without having to give its type explicitly like it's necessary for assert.

@javra I'm assuming the tactic let f := t should fail if t still contains metavariables after elaboration.

Yes, that's how I thought it would be.


Multiple camera streams to openpilot

We are developing new afoordable eletric car in Brazil and we are creating the vehicle to be compatible with openpilot from the factory.
I have some questions,
This is something new for this software, instead hacking the car to make the openpilot runs, we want to make the car compatible to openpilot from scratch.
So, i came here to the community to know how we could do it in the best way possible to support openpilot.
I have some doubts like:

How we could use the cameras around the car to make the openpilot don't have blind spots at all?
What the best places to have câmeras around the car
What kind of sensors we could add to make openpilot better, like sonnars, lidars and etc.
What we could do to have openpilot like an app, integrated to the Car multimedia center instead have the device on the Windshield?
Are there any specific hardware integration challenges or compatibility issues that we should anticipate when integrating Openpilot with our electric car's existing systems and components
What the best way to connect those cameras to the comma device (or a new device if needed) to make this work?

As an engineer, I am delighted that we don't need to resort to hacking the car to decipher CAN messages for Openpilot functionality. Instead, we have the opportunity to create the most seamless experience ever for this software.

Welcome! Happy to discuss this further on the community Discord - our issue tracker here is for bugs.


pre-generate visual badges for 1 to 10 issues and bugs...

so we don't need to query these images from shields.io or other badge services.

shields (svg-format) generated for up to 22 issues and 20 bugs.

wrote go program to generate 20+ each and download in svg format.


Progress Bar Flickers on Safari

I think this issue is related to a webkit issue where css3 transitions trigger a flicker on the affected elements. I could solve the issue by applying -webkit-transform:translateZ(0); to elements related and keeping the transition time above 0.3s. Default value of 0.09s could not reliably solve the issue.
#default-progress-bar > .bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--progress-bar-height, 5px);
  transform-origin: top left;
  transition: transform 0.3s;
  transform: scaleY(0);
  overflow: hidden;
  -webkit-transform:translateZ(0);
}

Browser Affected

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[x] Safari

OS

[ ] Android
[X] iOS
[ ] Linux
[X] MacOS
[ ] Windows

@ozgurduygu thanks for the report. I am trying to reproduce the flickering but I'm not able to do it. Would you be willing to produce a minimal example on Glitch that shows the problem for you?
Also, would you be willing to share your Safari and MacOS/iOS versions? And hardware models?

Thank you for looking into it and I hope I'm not wasting your time with an issue on my part. I was led to believe this issue was inherent, since I could observe it on modelview.dev when I quickly checked on my phone yesterday, but the issue isn't there anymore.
Finally, I could reproduce the issue here.
Here's the changes I made on model-viewer.js:
:1054
#default-progress-bar > .bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
- height: var(--progress-bar-height, 5px);
+ height: var(--progress-bar-height, 100%);
  transition: transform 0.09s;
- transform-origin: top left;
-  transform: scaleX(0);
+ transform-origin: bottom left;
+  transform: scaleY(0);
  overflow: hidden;
}

:60940
requestAnimationFrame(() => {
                    this[$defaultProgressMaskElement].style.opacity =
                        `${(1.0 - progress) * PROGRESS_MASK_BASE_OPACITY}`;
                    this[$defaultProgressBarElement].style.transform =
-                       `scaleX(${progress})`;
+                       `scaleY(${progress})`;
                    if (progress === 0) {
                        parentNode.removeChild(this[$defaultProgressBarElement]);
                        parentNode.appendChild(this[$defaultProgressBarElement]);
                    }
                    if (progress === 1.0) {
                        this[$defaultProgressBarElement].classList.add('hide');
                    }
                    else {
                        this[$defaultProgressBarElement].classList.remove('hide');
                    }
                });

Safari 13.0.5 (15608.5.11)
MacOS Catalina 10.15.3 (19D76)
MacBook Pro (Retina, 13-inch, Early 2015)
2,7 GHz Dual-Core Intel Core i5
8 GB 1867 MHz DDR3
Intel Iris Graphics 6100 1536 MB

Hi,
while loading the model. i can see some light flickers on the model here is the model example
https://media.flixcar.com/3dfw/p/player/index.html?arid=1825115
can you help me to fix this
thanks


Q. Is rateLimitPeriod specified in seconds or minutes?

https://github.com/Esri/resource-proxy/blob/master/README.md says time period (in minutes).
However https://github.com/Esri/resource-proxy/blob/master/PHP/proxy.php#L2001
says $this->rate = $ratelimit / $ratelimitperiod / 60;  //ratelimitperiod is designed to be in seconds
While https://github.com/Esri/resource-proxy/blob/master/DotNet/proxy.ashx#L203 has this snippet: RateLimitPeriod + " minute(s). ...
cc: @MikeTschudi

nice catch!
@bsvensson
should we change the doc to say in seconds or change the code to be in minute?

.Net version also has conversion _rate = (double) rate_limit / rate_limit_period / 60;
Operator precedence in .Net, PHP, and Java handles this as ((rate_limit / rate_limit_period) / 60).
((rate_limit / rate_limit_period) / 60) is the same as (rate_limit / rate_limit_period) * (1 / 60), or (requests / minute) * (minutes / second) = requests / second; thus _rate is in requests per second.
Other usage in the .Net code confirms that rateLimitPeriod is in minutes; here's how the internal count for testing against the rate limit cap is calculated:
 TimeSpan ts = DateTime.Now - _lastUpdate;
_lastUpdate = DateTime.Now;
//assuming uniform distribution of requests over time,
//reducing the counter according to # of seconds passed
//since last invocation
_count = Math.Max(0, _count - ts.TotalSeconds * _rate);

Seconds elapsed are multiplied by requests/second to get a count of request "credits" to apply.
Empirical evidence with the .Net flavor supports the minutes interpretation.  I set the limit to 6 requests per minute
rateLimit="6"
rateLimitPeriod="1">

and added logging to show the net value of the internal rate count with each request.  If the rate limit period had been seconds, I would not have been able to hit the rate limit—just couldn’t test that fast—but I did hit the limit:
2016-09-08 13:04:25  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 1/6
2016-09-08 13:04:28  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 1.62116329/6
2016-09-08 13:04:40  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 1.44875572/6
2016-09-08 13:04:43  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 2.20233238/6
2016-09-08 13:04:45  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 3.00191345/6
2016-09-08 13:04:48  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 3.67328207/6
2016-09-08 13:04:50  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 4.42725899/6
2016-09-08 13:04:53  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 5.12172986/6
2016-09-08 13:04:56  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 5.84910392/6
2016-09-08 13:05:32  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 3.24236876/6
2016-09-08 13:05:36  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 3.89413624/6
2016-09-08 13:05:38  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 4.69801748/6
2016-09-08 13:05:40  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 5.4954982/6
2016-09-08 13:05:42  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 6.23817337/6
2016-09-08 13:05:46  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] was rate checked. Count 6.87953973/6
2016-09-08 13:05:48  Pair [http://geoenrich.arcgis.com/arcgis/rest/]x[<IP_ADDRESS>] is throttled to 6 requests per 1 minute(s). Come back later.

So it appears to me that the only error is the one that @lindsayking found on the https://developers.arcgis.com/authentication/working-with-proxies/#proxy-service-configuration page: "On a service by service basis configure a rateLimit and rateLimitPeriod (in seconds) to limit request frequency during the rate limit period.", and I submitted it via that page's feedback link.

Great - thanks for digging into that @MikeTschudi.
I'll update the PHP proxy comment and https://developers.arcgis.com/authentication/working-with-proxies/#proxy-service-configuration.

Doc updated. Closing...


Canonical link leads to a wrong domain

Hi there!
Canonical link for my documentation leads to a strange domain I've never set. When I open http://docs.hangfire.io/en/latest/configuration/ page in my browser to see the source code, I'm getting the following results:
<link rel="canonical" href="http://hangfirechinese.readthedocs.org/en/latest/configuration/" />

I've googled a bit and found that there is the hangfirechineese project that isn't even linked in translation or subprojects in my project's options. And the other project that is not under my control (I'm supposing that this is a translation) affected my project.

http://readthedocs.org/projects/hangfire/ (mine)
http://readthedocs.org/projects/hangfirechinese/ (not mine)

Expected behavior is to have docs.hangfire.io domain in the canonical link, or even hangfire.readthedocs.org unless I've specified something else. Please tell me what should I do to resolve this, as this breaks my site search crawler.

This should be fixed. It looks like there was an old issue from when we let projects specify projects they don't own as translations.

I've rebuilt the docs, and the issue is gone. Thank you!


[Kubernetes] What image pull policy to use?

So we do not have a image pull policy in all Kuberntetes configuration. This will lead to Kubernetes use the cached image on the node. This is fine for Clipper's management/query frontend as well as redis. However, model container shouldn't be cached.
There is model version exposed to the user but the most likely scenario is: user use the same name for some model over and over again and probably not paying much attention to the version.
Fix is simple: add imagePullPolicy: Always somewhere here

So Clipper won't let you deploy multiple models with the same name and version. The idea is that once Clipper is informed of a model and version, that should be immutable. If you want to change anything, you have to register a new model or change the version. In that case, caching seems like it should be fine.


[BUG] Using different schema for Supabase prevents build, results in error

Describe the bug
Heya, I'm having trouble trying to use different table schema using Supabase for the template refine project
// utility/supabaseClient.ts
export const supabaseClient = createClient(SUPABASE_URL, SUPABASE_KEY, {
    db: {
// problematic part vv
        schema: "custom",
    },
    auth: {
        persistSession: true,
    },
});

That exact code results in the following error.

22:08:57.278    Executing user command: npm run build
22:08:57.892
22:08:57.892    ><EMAIL_ADDRESS>build
22:08:57.892    > tsc && refine build
22:08:57.892
22:09:02.920    src/App.tsx(328,48): error TS2345: Argument of type 'SupabaseClient<any, "custom", any>' is not assignable to parameter of type 'SupabaseClient<any, "public", any>'.
22:09:02.921      Type '"custom"' is not assignable to type '"public"'.
22:09:02.921    src/App.tsx(329,48): error TS2345: Argument of type 'SupabaseClient<any, "custom", any>' is not assignable to parameter of type 'SupabaseClient<any, "public", any>'.
22:09:02.967    Failed: build command exited with code: 2
22:09:03.827    Failed: error occurred while running build command

Steps To Reproduce

Get the Supabase refine template
Change supabaseClient options schema from "public" to anything else
npm run build
Error

Expected behavior
works
Screenshot
No response
Desktop
No response
Mobile
No response
Additional Context
No response

Hello @damywise this issue isn't related to refine and coming from supabase library.
You can check the following discussion on possible cause: https://github.com/orgs/supabase/discussions/1222
Best.

Hey @damywise, sorry for the issue! I've just checked and encountered the same issue when provided a different schema than public. It looks like the SupabaseClient type we expect in dataProvider and liveProvider methods of @refinedev/supabase has unintended generic type fallbacks. We can update it like SupabaseClient<any,any,any> to make sure it allows custom schemas.
If you want to work on this issue, we're welcoming all contributions 🙏 Check out the Contributing guide to get started!
I've added this task to our backlog but not sure if we can provide a fix for the next release.


Develop

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 3 committers have signed the CLA.:x: regularuserrr:x: IhorKondratenko:x: dkurdomanenkoYou have signed the CLA already but the status is still pending? Let us recheck it.


Falco rule triggering events in one cluster but not the other

What happened: Hello, I have 2 identical Falco daemonsets + configs in 2 different GKE clusters, being managed with Anthos Config Management. This means they both pull configurations from the same repository and updates are applied to k8s resources when the files in this repo are modified.
In one cluster, the "Terminal shell in container" rule triggers a logline every time I run kubectl exec into one of my containers, as expected.
In the other cluster, while I do see other Falco rules creating logs, for example "Privileged container started" and "Launch Sensitive Mount Container", I am not able to trigger a "Terminal shell in container" log event by shelling into a container with kubectl exec.
What you expected to happen: I would expect to see the same behavior triggering the same Falco rules in both clusters, since they are sharing a rules configMap and daemonset yaml.
How to reproduce it (as minimally and precisely as possible): Here are my daemonset and configmap yamls (same in both clusters): https://gist.github.com/nuala33/8f74efcbacdec0a4c6eb2b17be976564
The daemonset contains a label called configMapVersion so that each time I update my rules configmap, my pods are automatically recreated to start using the new configmap.
Anything else we need to know?:
Environment:

Falco version (use falco --version): Using image falcosecurity/falco@sha256:ba2af28fbec274f7a494a9089a81380854106687eab81b85f26dd435c2e2d682
System info: Mon Sep 16 21:47:25 2019: Falco initialized with configuration file /etc/falco/falco.yaml
Mon Sep 16 21:47:25 2019: Loading rules from file /etc/falco/falco_rules.yaml:
Mon Sep 16 21:47:25 2019: Loading rules from file /etc/falco/falco_rules.local.yaml:
Mon Sep 16 21:47:25 2019: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
{
"machine": "x86_64",
"nodename": "falco-daemonset-6x8jr",
"release": "4.14.106+",
"sysname": "Linux",
"version": "#1 SMP Fri Mar 29 22:41:51 PDT 2019"
}
Cloud provider or hardware configuration: GKE
OS (e.g: cat /etc/os-release): Debian GNU/Linux 10
Kernel (e.g. uname -a): Linux falco-daemonset-6x8jr 4.14.106+ #1 SMP Fri Mar 29 22:41:51 PDT 2019 x86_64 GNU/Linux
Install tools (e.g. in kubernetes, rpm, deb, from source): Kubernetes (using k8s using daemonset).
Others:

Hi, I just wanted to leave an update here that one difference between the two clusters I have tested on is that one has workload identity enabled and the other doesn't. If anyone has any ideas on how/why/if that would affect Falco's functionality, I would love to hear them. Thank you!

Following up here again because I am still having this issue. Upon further testing, I realized that when my cluster was running master version 1.12.10-gke.17 and node version 1.12.7-gke.7 everything was working as expected. Now that I have upgraded my cluster to master and node version 1.13.12-gke.8, I am not seeing logs locally on my pods or in Stackdriver when I trigger Falco events.
This seems to account for the difference between the 2 clusters I had been testing with before, where the working cluster was 1.12 and the cluster in which Falco was not working was running 1.13.12-gke.8. Seems the workload identity thing was a red herring.
Can anyone reproduce this issue? Is anyone successfully running Falco and triggering events running GKE 1.13?

Hi @nuala33 - can you post the actual falco version you are using? I tried to reproduce this myself on GKE without success, it just works for me. Any more details would be helpful. In the meanwhile I'm adding this to the next milestone to assign it to the current batch of work.
/milestone 0.19.0

Hi @fntlnz, thanks for taking a look! I am running Falco version 0.16.0.
I tested triggering other rules in my cluster and was able to do so (i.e. "Write below etc", "Delete Bash History," "Netcat Remote Code Execution") but specifically the "Terminal shell in container" rule no longer gets triggered in my cluster since upgrading from GKE 1.12 to 1.13/1.14. Before, I could ssh to the falco containers themselves and immediately see the terminal shell event logged. But I just tested sshing into every container in my cluster (there are 24 pods) and none of them triggered the rule.
Just in case things weren't confusing enough, I also tested this in another cluster (same GKE and Falco version) and of the 76 pods, I could only get the node-exporter (Prometheus) containers to trigger the "Terminal shell in container" rule. So the behavior is a bit inconsistent.
If there are any other details I can provide or anything else I should try, please let me know!

/triage support

🥕

Hi @fntlnz I ended up upgrading to 0.18.0 instead because I hit the issue from #425 when trying to use 0.19.0 with GKE / Container Optimized OS.
I'm wondering, were you able to run Falco in a GKE cluster and trigger rules successfully using GKE version 1.14? The problems I saw with Falco not triggering on rules began once I upgraded my GKE version, and even testing again now, I could get the netcat rule to trigger, but not the 'terminal shell' rule.

I just tested this on GKE @nuala33
I have Falco deployed using the latest version from the Helm chart and when I kubectl exec into any container with a shell it just gives me the expected output.
13:45:51.697467586: Notice A shell was spawned in a container with an attached terminal (user=root k8s.ns=default k8s.pod=falco-p6wbr container=dac8acad246c shell=bash parent=runc cmdline=bash terminal=34816 container_id=dac8acad246c image=fntlnz/falco) k8s.ns=default k8s.pod=falco-p6wbr container=dac8acad246c k8s.ns=default k8s.pod=falco-p6wbr container=dac8acad246c

Would you mind checking again after updating everything and report here?
We had lots of recent fixes into this direction.
I'm on GKE 1.16.8-gke.15


afterToggle function

Just a little update for the afterToggle usage example.
It game me an error ("element.offset is not a function"), now it's solved.

The element argument of afterToggle is now wrapped in jQuery before it is passed to the callback. See be3be9d. Thanks!


LND error

Hello everybody,
could you please help me? MyNode has been working for few days, I have set up my lightning wallet and open few channels. After one restart of my raspberry 4 with MyNode, LND is still in status "Opening DB" and there is showing below error. It looks like there is missing certificate, but I am not sure how it could be possible when it worked before.Could you please help me?
-- Logs begin at Mon 2020-11-02 04:35:19 CST, end at Mon 2020-11-02 05:01:42 CST. --
Nov 02 05:01:20 myNode systemd[1]: loopd.service: Failed with result 'exit-code'.
Nov 02 05:01:20 myNode systemd[1]: loopd.service: Main process exited, code=exited, status=1/FAILURE
Nov 02 05:01:20 myNode loopd[13032]: loopd exited with an error: open /home/bitcoin/.lnd/tls.cert: no such file or directory
Nov 02 05:01:20 myNode loopd[13032]: 2020-11-02 05:01:20.991 [INF] LNDC: Creating lnd connection to localhost:10009
Nov 02 05:01:20 myNode loopd[13032]: 2020-11-02 05:01:20.991 [INF] LOOPD: Version: 0.8.1-beta commit=
Nov 02 05:01:20 myNode systemd[1]: Started loopd.
Nov 02 05:01:20 myNode loopd[13019]: [lncli] open /mnt/hdd/mynode/lnd/tls.cert: no such file or directory
Nov 02 05:01:20 myNode loopd[13019]: Checking if LND is synced...
Nov 02 05:01:20 myNode loopd[13018]: Not shutting down!
Nov 02 05:01:20 myNode loopd[13018]: Checking if device is shutting down...
Nov 02 05:01:20 myNode systemd[1]: Starting loopd...
Nov 02 05:01:20 myNode systemd[1]: Stopped loopd.
Nov 02 05:01:20 myNode systemd[1]: loopd.service: Scheduled restart job, restart counter is at 22.
Nov 02 05:01:20 myNode systemd[1]: loopd.service: Service RestartSec=1min expired, scheduling restart

You have opened an issue with the wrong project. This is abou the RaspiBlitz, not MyNode.
Their support channels are here: https://mynodebtc.com/support
Closing.


Add MovieDict by @jlnr

Thanks for taking the time to make contributing this straightforward :)

[x] Project URL: https://github.com/jlnr/MovieDict
[x] Update contents.json instead of README
[x] One project per pull request
[x] Project added at the end of the list (a script sorts projects automatically)
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

謝謝


Add transferwise variant of tap-oracle

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2414
Originally created by @DouweM on 2020-11-05 23:14:14

https://github.com/transferwise/pipelinewise-tap-oracle
https://transferwise.github.io/pipelinewise/connectors/taps/oracle.html

View 6 previous comments from the original issue on GitLab


FSSG-230V (aka TF100A-230)

Manufacturer: Eltako
Model: FSSG-230V (aka TF100A-230)
Production date/period: ?
Link to product: https://www.eltako.com/fileadmin/downloads/de/datenblatt/Datenblatt_FSSG-230V.pdf
https://www.eltako.com/fileadmin/downloads/de/_bedienung/FSSG-230V_30000358-1_dt.pdf
Signalgeber-Zwischenstecker

Great to see that you added the device in the latest release. However, I did not manage to teach in (a TF-100A).
When I followed the instructions, I got an error "device ID ist not set" or something like that in the log. In fact, the "add device" dialog for this device still has the "device id" field (which is not mentioned in the instructions, though!). So I entered the device ID (050ef2e) of my TF-100A and it got added to the device list. Now, I put the TF-100A in teach-in mode and sent the CMD "teach in 2 (3)". This did not do anything. I also sent the teach-in command from the TF-100A (which is also tought in into an Eltako Minisafe!) but no success. I assume the device must be put in teach-in mode and then waits for a tech-in telegram from the gateway, correct?
Then I also tried to send CMD on/off to the device. I got these errors:
enocean.0
2022-12-23 13:31:04.000	warn	The data length for a 4BS telegram is incorrect. The length is 5
enocean.0
2022-12-23 13:30:59.028	warn	The data length for a 4BS telegram is incorrect. The length is 5
enocean.0
2022-12-23 13:30:45.138	warn	The data length for a 4BS telegram is incorrect. The length is 5
enocean.0
2022-12-23 13:30:40.099	warn	The data length for a 4BS telegram is incorrect. The length is 5
enocean.0
2022-12-23 13:29:05.030	info	EEP TF-13-27 unknown, send this information to developer.
enocean.0
2022-12-23 13:29:05.029	info	Create objects for TF-13-27 from ELTAKO with id: 0x50ef2e
enocean.0
2022-12-23 13:29:04.814	info	Create objects for I1-01-01 from ELTAKO with id: 0x50ef2e
Any idea what could be wrong here? Once the device with it's ID is added to the list, is it enough to then perform a teach-in using the "teach in 2 (3)" command or are there any other steps in the background that need to happen in order to perform a successfull teach in?
Thanks and best regards!

I implemented this blind without a device and information how the device can be teached in, thats the reason while the information does not match the teachin process.
The other things i have to figure out whats wrong.

Please install from github and test again.

Done. When starting the adapter and the device is still in the object tree (previous tech-in), the adapter now starts without an error. However, sending the Teach-In telegram still produces a warning:

enocean.0
2023-01-03 12:05:41.156
warn
The data length for a 4BS telegram is incorrect. The length is 5

OK Update is on github

Any news here?


Miscellaneous documentation work

Changelog:

Consolidate prettier config into single .prettierrc file
Miscellaneous minor updates to existing docs pages
Move portions of docs to docblock links
Add docblocks to various items
Update remark-typescript-tools

Little is actually proposed to change in the docs due to this PR, mainly things like:

some spelling fixes
some consistency fixes (e.g. updating type defs in the docs to match that in the code)

Where feasible, content that could be an imported docblock was made into an imported docblock.
Unless I missed some, all publicly exported items excluding typedefs should now have a docblock (and hence show additional info when hovered in the IDE). Type defs still need covering in the future.
Note: The intent was to introduce prettier-plugin-jsdoc to allow prettier to format examples in docblocks, but it had some small quirks with how it formatted the rest of the docblock that made me decide to forego it at this stage.

FYI:
For docblock @example tags that have a 'title' in the snippet, they retain the formatting in vscode on hover, but just lose the syntax highlighting:

However in codesandbox, the formatting is lost too:

Up for discussion: It may be better to not link to examples where a snippet title is desired, and just duplicate the example in the docs.