Problems with DELETE FROM

Describe the bug
When attempting to call a delete statement using multiline strings, e.g.
let query = `
  DELETE FROM sample_table
  WHERE col_1 = ?
    AND col_2 = ?
`;

the following error occurs:
Error: Run: near "FROM": syntax error: , while compiling: UPDATE TE FROM sample_table SET sql_deleted = 1 WHERE col_1 = ?         AND col_2 = ?
Rewriting the query onto a single line, regardless of with backticks or apostrophes as string delimiters, leads to the following error:
Error: Run: near ",": syntax error: , while compiling: UPDATE sample_table SET sql_deleted = 1 WHERE col_1, col_3 = ? AND col_2 = ?
Directly updating the sql_deleted column appears to work, nonetheless it would be nicer if deletion worked as well.
Tested on an Android emulator running Android 11.
Expected behavior
Presumably, a query along the lines on UPDATE sample_table SET sql_deleted = 1 WHERE col_1 = ? AND col_2 = ? would be executed.
Smartphone:

Device: Android emulator (Pixel C)
OS: Android 11

This works for me
  private deleteExtrasByFareId(fareId: string): Promise<capSQLiteChanges> {
    const sqlQuery = `DELETE FROM Extras WHERE FareId=?`;

    const sqlValues = [fareId];

    return this.sqliteDbConnection.run(sqlQuery, sqlValues, false);
  }

@s3dev i do not understand the ' , col3 = ? ' comes from. There are some zpps demonstrating the use of the delete command on my site which works. capacitor-solid-sqlite is the one i use to test

@s3vdev any progress on this

@jepiqueau Regarding "col_3", the table in question has nine columns (col_1 through col_9) plus "sql_deleted" and "last_modified".
For some reason, the third column gets included, although the original statement only has the first two.
That said, changing the query to only include col_3 (DELETE FROM sample_table WHERE col_3 = ?) however produces Error: Run: near ",": syntax error: , while compiling: UPDATE sample_table SET sql_deleted = 1 WHERE col_1, col_3 = ?
I've had a look through capacitor-solid-sqlite, and I've noticed that the delete statements' where clauses reference at most one column.
My problem could be due to my table (all tables in my current project) requiring composite primary keys...
Could you say whether the delete statement conversion supports multiple column references in the where clause, alternatively if it correctly converts for tables with composite primary keys?

@s3vdev you right composite primary keys have not been implemented as well as foreign key with multiple WHERE clause

@s3vdev this has been fixed in 3.5.2. can you test it and revert to me

@s3vdev Having no return from you, i assume it has been fixed. It was quite a job to to it, so at least i was hoping some follow up from your side. I will close then the issue

Hi
moving from 3.5.1 to 3.5.2 I have a delete problem.
The problem seems to occur when I do a delete on
a linked table (foreign key on the main with ON DELETE CASCADE).
If from the ticketsAssets table schema I remove this
{ "foreignkey": "ticketId", "value": "REFERENCES tickets(id) ON DELETE CASCADE" }
the error does not occur

to. the main table
{
"name": "tickets",
"pattern": [
{ "column": "id", "value": "INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL" },
{ "column": "syncId", "value": "TEXT UNIQUE" },
{ "column": "num", "value": "TEXT UNIQUE" },
{ "column": "subject", "value": "TEXT NOT NULL" },
{ "column": "location", "value": "TEXT" },
{ "column": "roomId", "value": "TEXT" },
{ "column": "roomSyncId", "value": "TEXT" },
{ "column": "siteId", "value": "TEXT" },
{ "column": "siteSyncId", "value": "TEXT NOT NULL" },
{ "column": "servicelevelsId", "value": "TEXT" },
{ "column": "servicelevelsSyncId", "value": "TEXT" },
{ "column": "categoryId", "value": "TEXT" },
{ "column": "categorySyncId", "value": "TEXT" },
{ "column": "subcategoryId", "value": "TEXT" },
{ "column": "subcategorySyncId", "value": "TEXT" },
{ "column": "status1", "value": "TEXT DEFAULT 'To be sent'" },
{ "column": "status2", "value": "TEXT" },
{ "column": "insertDateTime", "value": "TEXT" },
{ "column": "recordType", "value": "INTEGER DEFAULT 0 NOT NULL" },
{ "column": "editable", "value": "INTEGER DEFAULT 0 NOT NULL" },
{ "column": "deletable", "value": "INTEGER DEFAULT 0 NOT NULL" },
{ "column": "last_modified", "value":"INTEGER DEFAULT (strftime('%s', 'now'))" },
{ "column": "sql_deleted", "value": "BOOLEAN DEFAULT 0 CHECK (sql_deleted IN (0, 1))" }
]
}
b. this is my linked table
{
"name": "ticketsAssets",
"pattern": [
{ "column": "id", "value": "INTEGER PRIMARY KEY NOT NULL" },
{ "column": "ticketId", "value": "TEXT" },
{ "column": "ticketSyncId", "value": "TEXT" },
{ "column": "assetId", "value": "TEXT" },
{ "column": "assetSyncId", "value": "TEXT" },
{ "column": "recordType", "value": "INTEGER DEFAULT 0 NOT NULL" },
{ "column": "editable", "value": "INTEGER DEFAULT 0 NOT NULL" },
{ "column": "deletable", "value": "INTEGER DEFAULT 0 NOT NULL" },
{ "column": "last_modified", "value": "INTEGER DEFAULT (strftime('%s', 'now'))" },
{ "column": "sql_deleted", "value": "BOOLEAN DEFAULT 0 CHECK (sql_deleted IN (0, 1))" },
{ "foreignkey": "ticketId", "value": "REFERENCES tickets(id) ON DELETE CASCADE" }
]
}
----- This is the error log
File: https://y7r5nre1wi31w1uvlrdv/js/chunk-cc2c78c8.bae03cba.js - Line 1 - Msg: [{"statement":"DELETE FROM ticketsAssets WHERE ticketSyncId=?;","values":["9400E607EAF78F4FC1258B01004C8624"]} ]
2024-04-16 16:30:36.127 9131-9131 Capacitor/Plugin it.explan.plangei.consumer V To native (Capacitor plugin): callbackId: 85579387, pluginId: CapacitorSQLite, methodName: executeSet
2024-04-16 16:30:36.131 9131-9131 Capacitor it.explan.plangei.consumer V callback: 85579387, pluginId: CapacitorSQLite, methodName: executeSet, methodData: {"database":"consumer_plangei_","set":[ {"statement":"DELETE FROM ticketsAssets WHERE ticketSyncId=?;","values":["9400E607EAF78F4FC1258B01004C8624"]}],"transaction":false}
2024-04-16 16:30:36.132 9131-9287 Capacitor/Plugin it.explan.plangei.consumer W getArray calls without a default value will return null in Capacitor 5 instead of an empty array to match iOS behavior
2024-04-16 16:30:36.136 9131-9287 com.getcap...RetHandler it.explan.plangei.consumer V *** ERROR ExecuteSet: incomplete input: , while compiling: UPDATE tickets SET sql_deleted = 1 WHERE
2024-04-16 16:30:36.136 9131-9287 Capacitor en.explan.plangei.consumer D Sending plugin error: {"save":false,"callbackId":"85579379","pluginId":"CapacitorSQLite"," methodName":"executeSet","success":false,"error":{"message":"ExecuteSet: incomplete input: , while compiling: UPDATE tickets SET sql_deleted = 1 WHERE "}}
thanks a lot
Monica


some properties (see Item) have to be declared as public to conform to protocol but i don't like it!

i don't want those properties to be public. they have to be because they come from a protocol that has a protocol extension that declares a func that uses this property. seems weird that the property has to be forced to be public, but i can't find a way to handle this for now without duplicating code.

e.g.:

https://github.com/godbout/AlfredWorkflowScriptFilter/blob/b62f879f2e62e65da10e58866891b7a12e55b560/Sources/AlfredWorkflowScriptFilter/Core/Item.swift#L16

actually might be same issue than #18 lol


BlueSSLService client cannot connect to stunnel server on windows

I want to connect to stunnel server on windows by using this BlueSSLService client.
But I get an error when I create Socket with SSLService Delegate and connect to stunnel.
This is my function for creating client tls socket
`
func createStealthSocket() -> Socket?{
    var myConfig = SSLService.Configuration(withChainFilePath: self.cert, withPassword: "ghostman", usingSelfSignedCerts: true, clientAllowsSelfSignedCertificates: true)
    myConfig.cipherSuite = "ALL"
    do {
        let socket = try Socket.create(family: .inet)
        socket.delegate = try SSLService(usingConfiguration: myConfig)
        try socket.connect(to: self.tunnelHost, port: Int32(self.tunnelPort))
        return socket
    } catch let error {
        guard error is Socket.Error else {
            print("Unexpected error...")
            return nil
        }
    }
    return nil
}

`
When i run this function, i get a normal return value without error.
After that i write data from this returned socket but if i capture a network packet with wireshark, i get an encrypted alert (21).
Below is the log taken from wireshark.

I would be grateful if you can help me out what the error is.


Fix/constant tensors

In this effort to support constant tensors of any kind (Int and Bool, not just Float), I had to fix how we handle devices within modules.
Fix #461 #665 #982

OK. We got a couple approvals and I need this PR for my onnx changes, hence I am merging.

Nice work! 🔥 🚀
The devices() needing devices looks a bit odd to me. Especially when it sometimes leads being used as self.devices(Vec::new()) but I think I'm maybe missing something.

Maybe we could rename the method, but we collect all the devices in the module tree in the provided vector. The alternative would imply a lot more allocations. Maybe we could rename the method to collect_devices and add a default implementation devices that uses collect_devices underneath.


Update Erlang, Elixir, Phoenix

Asana task: ad-hoc
Screenplay needs to be on at least Elixir 1.14 before it can use screens-config-lib. I decided to go all out and upgrade to the most recent stable version of a few different dependencies. I did a lot of testing to make sure everything looks and acts like it did before. We now also have access to verified routes (although I'm not sure we'll use them). Seemed like a cool feature and it was harmless it add.

Changed the base to the feature branch. After our convo yesterday, I agree that this doesn't need to be in master right now.


Moved download server to variable and pointed to downloads server

This PR creates a variable for the downloads server and sets it to the new public downloads server.

There appears to be some differences between this new server and https://ops.stackstorm.net/releases/st2/.

https://downloads.stackstorm.net/releases/st2/0.8.3/ - misses st2_deploy.sh file.
https://downloads.stackstorm.net/releases/st2/0.8.9dev/ - misses st2_deploy.sh file
https://downloads.stackstorm.net/releases/st2/ - no 0.8dev directory
...

The new wrapper looks in the {TYPE} subdirectory for the st2_deploy.sh file.  I did not copy over the 0.8dev packages since people should be pulling either 0.8.X or 0.9dev.  If we feel the 0.8dev packages are necessary I can put them there.  Do we want to leave 0.8dev out there?

I'm fine with not including 0.8dev - just wanted to make sure it was a conscious decision :)

Yup :) I did it on purpose.  Also the st2_deploy.sh location doesn't matter since it is hardcoded in to the new wrapper script that is pulled from the scripts/ directory.

For consistency's sake I copied the appropriate st2_deploy.sh scripts into the root of the version dir.


Add recommended settings to API docs

Add example of deploying applications from Git to production environments.

@hiddeco I added explanations for each field, please suggest changes.


Improved Previews

Is your feature request related to a problem? Please describe.
It's frustrating that I have to actually load the game and play dialogue to see how my choices buttons look
Describe the solution you'd like
Ability to preview other elements of the UI before using them.
I'd also like to see other elements, like character positions, and maybe the option to select a background to test it with.

This is unfortunately likely not going to change for 1.x and in 2.0 we do not plan to have a dedicated theme editor. This means the look/layout of all elements will be edited directly in the godot 2D editor, and as such this is irrelevant for 2.0


The :session not working with JavaScript in Org Mode

What did you expect to happen?
Use :session with Javascript in org-mode.
What actually happened?
I receive the following error:
Session evaluation with node.js is not suported

Additional details:

My private emacs config;

The problem occurring i.e:

Steps to reproduce:

Create any .org file;
Define a source block like:

#+BEGIN_SRC js :session "JSHELLO"
const hello = () => console.log('hello world');
#+END_SRC

#+BEGIN_SRC js :session "JSHELLO"
hello();
#+END_SRC

Try to evaluate the source block and will get the error I commented below.

System information:

SYSTEM  type       darwin
        config     x86_64-apple-darwin18.7.0
        shell      /bin/zsh
        uname      Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
        path       (/usr/local/sbin ~/.nvm/versions/node/v12.18.4/bin ~/bin /usr/local/bin ~/.emacs.d/bin ~/workspace/emacs-lsp/lsp-reason /usr/bin /bin /usr/sbin /sbin /Library/Apple/usr/bin ~/Library/Android/sdk/emulator ~/Library/Android/sdk/tools ~/Library/Android/sdk/tools/bin ~/Library/Android/sdk/platform-tools ~/.antigen/bundles/robbyrussell/oh-my-zsh/lib ~/.antigen/bundles/mengelbrecht/slimline ~/.rvm/bin<EMAIL_ADDRESS>EMACS   dir        ~/.emacs.d/
        version    28.0.50
        build      Aug 20, 2020
        buildopts  --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp<EMAIL_ADDRESS><EMAIL_ADDRESS>--with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained
        features   JPEG TIFF PNG RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS PDUMPER LCMS2
        traits     (server-running envvar-file)
DOOM    dir        ~/.dotfiles/emacs/.doom.d/
        version    2.0.9
        build      HEAD -> develop 1456108d5 2020-09-10 18:03:32 -0400
        elc-files  0
        modules    (:completion company ivy :ui deft doom doom-dashboard doom-quit hl-todo modeline ophints (popup +defaults) vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold (format +onsave) snippets :emacs dired electric (undo +tree) vc :os macos :term vterm :tools editorconfig (eval +overlay) (lookup +docsets +dictionary) lsp magit :lang clojure emacs-lisp (go +lsp) json (javascript +lsp) markdown (org +pomodoro +journal +hugo) sh web yaml :app (rss +org) :config (default +bindings +smartparens))
        packages   ((ob-typescript) (prettier-js) (move-text) (js-doc) (reason-mode) (org-fancy-priorities))
        unpin      (n/a)
        elpa       (n/a)

Looks like a limitation in org / ob-js itself: https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-js.el#L197-L198

Yeah, I think so @tko.
I was searching for a workaround, but don't found anything.

This doesn't seem to be appropriate as a Doom issue since it doesn't seem to have anything to do with Doom so much as Org-mode. You'd probably be best served by contacting the ob-js author, or the Org mailing list.

I agree with you @tecosaur, I'll close the issue.


Generate a bundle with more than one package

one of the thing I love more at jsdelivr.com is that you can generate a bundle of more than one package:

I don't know if under unpkg universe we can do a similar approach

I'm not particularly interested in implementing this feature right now, mainly because it seems like a lot of work for little gain. But we may end up doing something similar in the future if there's enough demand for it.


[Question]: Unable to modify the cluster endpoint security group when enabling private

Please describe your quesiton here
I am trying to provision an EKS cluster with this accelerator that is only exposed privately.
I have enabled the option
cluster_endpoint_private_access = true
and disabled the public access option
cluster_endpoint_public_access = false
The terraform is failing with a timeout while waiting for the cluster to become available.
Error making request: Get "https://45b44a7f5b411396c1ffa298dd0bb803.gr7.us-east-1.eks.amazonaws.com/healthz": dial tcp <IP_ADDRESS>:443: connect: connection timed out
I can see there is an input for "worker_additional_security_group_ids" but no way to influence the cluster security group which is required to access.
The underlying module https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/latest exposes some inputs that would allow me to add my private networks into the cluster security group.
Provide link to the example related to the quesiton
I am using custom terraform config
module "eks_confluent" {
    source = "github.com/aws-samples/aws-eks-accelerator-for-terraform"
    cluster_name = "dataplatform-confluent"
    cluster_endpoint_private_access = true
    cluster_endpoint_public_access = false

    cluster_log_retention_in_days = 7

    enable_irsa = true
    # EKS CLUSTER
    kubernetes_version        = "1.21"
    vpc_id                    = lookup(local.eks_vpc_id, var.target_environment)        # Enter VPC ID
    private_subnet_ids        = lookup(local.eks_subnet_ids, var.target_environment)    # Enter Private Subnet IDs

   # FARGATE PROFILES
   fargate_profiles = {
       default = {
           fargate_profile_name = "fp-default"
           fargate_profile_namespaces = [
               {
                   namespace = "default"
                   k8s_labels = {}
               },
               {
                   namespace = "kube-system"
                   k8s_labels = {}
               }
           ]
           subnet_ids = lookup(local.eks_subnet_ids, var.target_environment)
       }
   }

   map_roles = [
       {
           rolearn = lookup(local.eks_admin_role_arn, var.target_environment)
           username = "admin"
           groups = [
               "system:masters"
           ]
       }
   ]

}

Additional context
I cannot add rule to the security group since i would need to add the rule before the data.http module runs. I am not sure i can 'inject' my resource into the dependency chain internally to the module
More

[x ] Yes, I have checked the repo for existing issues before raising this question

@jdwilly2001 thanks for raising the issue. Just to confirm you are trying access the private endpoint via a connected network and you are trying to add that network to the cluster security group?

Great! Thanks for confirming!

@jdwilly2001 please this branch a shot https://github.com/aws-samples/aws-eks-accelerator-for-terraform/tree/bug/306-support-private-endpoint and let us know if that worked for you.
module "eks_confluent" {
  source = "github.com/aws-samples/aws-eks-accelerator-for-terraform?ref=bug%2F306-support-private-endpoint"
  cluster_name = "dataplatform-confluent"
  cluster_endpoint_private_access = true
  cluster_endpoint_public_access = false
  cluster_create_endpoint_private_access_sg_rule = true
  cluster_endpoint_private_access_cidrs = ["<IP_ADDRESS>/16"]
...
...

@askulkarni2 I have implemented this in my repository and is working as expected.


Objects in CityGML and 3DCityDB should have the same gml_id

When working with CityGML and 3DCityDB simoultaneously it is helpful to have correspondent gml_ids.

Hi Jörg,
the gml ids are currently generated in a random manner. This leads to completely new ids for every transformation run.
I think that stable ids could be achieved by pseudo random id generations that depend on the road id and object id of an OpenDRIVE.
I will have a look into that.
Best regards
Benedikt

Hi @joergsi ,
the CityGML ids are now generated as hash of the road object id, road id, lane id and the OpenDRIVE dataset itself.
If anything is changed within the dataset, new CityGML ids are generated.
Otherwise a transformation run will generate the same ids for each object as the previous run.
Best regards
Benedikt

Great! Thank you.


Fix: Swift bindings

Thank you for the contribution, @vmanot! Looks good! Will be waiting for your confirmation to merge 🤗

@ashvardanian I think the surface API is good for now, might PR some minor tweaks later.

@vmanot, thank you for the PR! Happy to merge, but have a couple of questions:

Don't we need a throw StringZillaError.contiguousStorageUnavailable in extension String: StringZillaViewable, similar to other extensions?
If those exceptions are thrown, how do they propagate to the user? Seems like the "find" functions will just return nil for a missing match. Is there a good way to test/document those behaviors?

@ashvardanian pushing something for this tomorrow.

Hi @vmanot! Can I please ask you to rebase from the development branch. I've decided to remove the package-lock.json from the history. It was over 7000 lines of JSON polluting the project, and I don't want every DBMS or runtime to end up pulling that noise. Thank you for understanding 🤗

@ashvardanian yes of course!

Hey @vmanot! There is now a CI job that tests Swift on both Linux and MacOS. Should help us both 🤗
PS: There may be a bug in the binding catched by the testFindLastCharacterNotFromSet, which I've commented out for now.

Hi @vmanot! I've managed to rebase your commits onto the main-dev, so I'm closing this PR. Thanks for the contribution 🤗


Improving the mock.js constructor to better model the real one.

The callback on connection is a critical feature of the real
connection and was missing, so we've added it.
Still room for improvement.

Closing, no longer relevant.


Enhancement: 51 stats option for line bar charts

Addressing #51
.... and as a bonus fix the buggy Also Include and make the Also Include persistent
Testing:
Statistics

go to the dashboard tab
create a bar/line widget
in the widget options (right bottom corner) choose Stats
pick a specific statistic
=> the statistic should be visible as a blue line in the chart
switch Nomie tabs or restart Nomie app
go to the dashboard tab
=> the statistics should persist on the dashboard
in the widget options (right bottom corner) choose Stats
pick No Stats
=> the blue statistics line should be gone

Also Include

go to the dashboard tab
create a bar/line widget
in the widget options (right bottom corner) choose Include
in the next menu choose Select Trackable
select the trackable you want to add to the widget
=> the other trackable should be visible in the widget chart
switch Nomie tabs or restart Nomie app
go to the dashboard tab
=> the statistics should persist on the dashboard
in the widget options (right bottom corner) choose Include
pick No Other Trackable
=> the other trackable should not be visible in the widget anymore

This looks really promising! I will hopefully get some time to dig into it tomorrow.

I will adjust 1 small thing: the statistics line is having datapoint dots. I don’t like that and it is not needed so I will do a small code update later today

Done

Sorry, it's been a mad week. I will get to this tomorrow, looking forward to it.

Don’t worry, first things first

Features like this remind me that we could really use a good fake data set for testing with. Nevertheless, I managed to test it all with a very small data set on desktop and mobile, and all is well. This is a really useful addition. LGTM!


Can you leave the doi of the paper? I can't find the paper, thanks.

Hi,
Sorry for taking time resolving this issue. The codes were originally uploaded already during article submission. The article was published yesterday (27th April) and has a doi now. The doi is in the README file of this repo. Thank you for your interest!


Speedup CI

Background
We should invest time in speeding up CI. Lots of time is lost in just waiting for CI to finish executing. If theres any reason we cannot do all of the above in github actions, imo we should investigate moving to a paid CI service, perhaps Circle, where they can all be done. Getting the feedback loop right for rapid merging multiple related PR's is important.
First where we stand on latencies. As of time of issue creation, we are blocked on:

CodeQL (Takes 10-15 minutes to complete) https://github.com/osmosis-labs/osmosis/runs/6593339656?check_suite_focus=true
Two simultaneous end to end tests (takes around 10 minutes to complete, 3.5 minutes of which is in docker building, and by unreliable visual inspection 1.5 minute seems to be in downloading go packages)
(Queued for awhile) the two go tests, each of which takes around 7 minutes to complete, 1.5 min of which I unreliably eyeball estimate to be spent in downloading go packages. A large chunk is also in CLI tests.

Furthermore, many github actions are stuck in 'queued', and take awhile before they begin execution, further increasing this dead time cost.
Components

[x] Remove duplicate push / pull request jobs. #1573 , hopefully improves queue delay
[ ] Remove less useful CLI tests (~2 minute saving on inspection of CLI logs)
[ ] #1601
[ ] Cache go tests #1229
[x] Cache go package downloads in CI (#1583)
[ ] Figure out how to improve CodeQL times, or just remove it.

Acceptance Criteria

[ ] CI completes in under 5 minutes

This repo has examples for how we can cache go package downloads in CI: https://github.com/mvdan/github-actions-golang
It also has the caching needed to get incremental builds, which would likely also help some of this CI time.

oh thats a great idea. Perhaps we can make that variable also get run if theres any change in the upgrades sub folder as well?

oh thats a great idea. Perhaps we can make that variable also get run if theres any change in the upgrades sub folder as well?

For docker build times, I think we can replace the make docker-build-debug step with a direct docker build invocation, and use cache fields, e.g. https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#cache-backend-api

Added the cache option in https://github.com/osmosis-labs/osmosis/pull/1602
It gives a nice speed up but I would like to be even faster.
There are some redundant steps between go_test step and e2e_test that could be improved.
I'm working on re-structuring a little bit the setup to avoid redoing work.


Example scenario for big data + IoT

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/example-scenario/data/big-data-with-iot.md
:warning:Warning
View
Details

docs/example-scenario/data/media/architecture-diagram-big-data-with-iot.png
:white_check_mark:Succeeded
View

docs/example-scenario/data/big-data-with-iot.md

Line 34: [Warning] Invalid file link:(~/example-scenario/data/images/architecture-diagram-big-data-with-iot.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/data/big-data-with-iot.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/media/architecture-diagram-big-data-with-iot.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/data/big-data-with-iot.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/media/architecture-diagram-big-data-with-iot.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


coloring svg progamatically

Considering the approach to generate svg images from scratch using ImageService.Instance.LoadUrl or ImageService.Instance.LoadString, which is the correct way to chage the color of the file or string that you don't know if there is inline color definitions to use replaceStringMap as described in documentation suggestion?
To be more specific, if I know what format the file or string, I can use replaceStringMap defining which color there is on the svg source code for another color that i want to use, but if I don't know which color there is i can't change the color because I dont know what replace to my desired color.

Changing random colours is a very unusual thing.

How could you determine which part you want to change?
Isn't it better to replace it on your own as SVG is just a string?

I could add Regex.Replace support, eg keys starting with regex: would be detected as regex.

https://github.com/luberda-molinet/FFImageLoading/commit/b3c50c6c0f3d41d5816f5b5676f3631a58ebf0d4

You can test it with 2.3.2-pre-663 prerelease package, wiki: https://github.com/luberda-molinet/FFImageLoading/wiki/SVG-support#svg-string-replacement-including-colors


feat(ci): run apisix-seed as a docker

fix: #31

Codecov Report

Merging #40 (4ae047c) into main (3b37a98) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   51.92%   51.92%
=======================================
  Files          22       22
  Lines        1404     1404
=======================================
  Hits          729      729
  Misses        615      615
  Partials       60       60

Continue to review full report at Codecov.

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


fix incorrect server test

When a Read from the connection fails, we need to close all sessions, but it's not necessary to remove them from the sessions map in the server.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1252   +/-   ##
=======================================
  Coverage   91.05%   91.05%
=======================================
  Files         116      116
  Lines        7914     7914
=======================================
  Hits         7206     7206
  Misses        474      474
  Partials      234      234

Continue to review full report at Codecov.

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


test: fix multi threads unstable tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 78.835%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1732

Relevant Lines:
2197

💛  - Coveralls


chore(term): add descriptive error on Windows for lack of VT

if no virtual terminal processing is available, raise a descriptive error instead of a failure on some missing defines.
closes #29

After further investigation, it looks like the error in #29 is unrelated to Visual Studio 2019. All windows SDKs that are available to install with Visual Studio 2019 installer have this defined. The main way of running into this issue seems to be when using an old mingw build, in particular, a build with a mingw runtime older than v7.

@tobil4sk so the check is still relevant, but the message must be changed:
#error 2019 and older toolchains are not supported. Update the toolchain or revert to Luasystem < 0.4

should become
#error Virtual terminal macros are undefined (eg. ENABLE_VIRTUAL_TERMINAL_INPUT). Update the toolchain or revert to Luasystem < 0.4

correct?

correct?

Yes, that works. I think the most likely way to run into this is by using an old version of mingw (people might install it because the latest build that shows up on sourceforge is very old), but a generic message like this works too.

@o-lim I think this is good to go now. Please have a look.


This lib will break in one month due to E2EE.

Messenger will soon make E2EE chats the default. These chats do not show with the library - which will break the current state of the library.
There are a few similar repositories that are all based around the original facebook-chat-api. I think it makes sense to have one central place to discuss this: https://discord.gg/8FWVYhQ7P5.
Steps to reproduce:

open Messenger on your phone
select any one to one chat
enable "Secret Conversation"
see the new E2EE thread on your phone and in the browser
send a message to that thread on any device
confirm that the thread shows up on all devices and browsers
with the api, do api.getThreadList(5, null, ["INBOX"], function(err, res) { ...
confirm that the api response does not have the E2EE chat
I would not mind not seeing E2EE chats because I didn't enable them anyway but they will soon force this for everyone by the end of the year, meaning we only have 4 weeks left to add this

https://www.reddit.com/r/facebook/comments/17s8n46/messenger_forced_me_to_create_a_pin_and_now_my/
https://messengernews.fb.com/2023/08/22/expanding-testing-for-end-to-end-encryption-on-messenger/

Thanks XD, i will fix soon :>

@misonomikadev I responded to you on dc


Commenting doesn't work if child elements are commented in HTML

Issue Type: Bug
Write html code. comment inner code and try to comment whole code ( from parent).
Example:

 -->
Here comment doesn't work for next lines if vs code found end tag "-->" in between.
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18362

That's as designed. The comment code purely textual and does not modify the commented code. You will have to make these changes.

I think it can be overlapped, no need to remove child element comments.


Does java for jsii is still working fine or it only can be generate but cannot be used?

:bug: Bug Report
-->

[ ] TypeScript or Javascript
[ ] Python
[ /] Java
[ ] .NET (C#, F#, ...)
[ ] Go

I put detail on
https://github.com/aws/jsii/issues/2966#issue-976365495

Hey @jianweic,
Sorry for the delayed response here. You can usually determine whether a version of JSII is broken for a language by checking the corollary CDK library. Since we release CDK for each language in parallel, if a single language is broken, the JSII version will roll back.
All that to say, JSII Java generation is working fine!
😸 😷


[v2] Consolidate apiHost & host for RabbitMQ scaler

Signed-off-by: Tomek Urbaszek<EMAIL_ADDRESS>
Consolidate apiHost & host for RabbitMQ scaler
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)
[x] Tests have been added
[ ] A PR is opened to update the documentation on https://github.com/kedacore/keda-docs
[x] Changelog has been updated

Relates to #711

@tomkerkhove @zroubalik can you please take a look?

since this is a breaking change for v2, can you also update the CHANGELOG

Good point! And our migration guide in the docs as well please.

Looks like we only need a PR for it to https://github.com/kedacore/keda-docs

@holyketzer @tbickford could you please take a look on this?

Looks like we only need a PR for it to https://github.com/kedacore/keda-docs

Yeah, I will do in the evening

@tomkerkhove do you think we need protocol specification? I think we may just resolve it using the host?

Docs update: https://github.com/kedacore/keda-docs/pull/253/files

@tomkerkhove do you think we need protocol specification? I think we may just resolve it using the host?

I think  protocolis a great addition because maybe today you can figure it out based on the host but:

It's a lot easier for people to understand what is being used if they are not a KEDA expert
We are ready in case we want to add new ones later on

It's a lot easier for people to understand what is being used if they are not a KEDA expert

Then using s single uri is the simplest thing I think.

We are ready in case we want to add new ones later on

The protocol which is defined by a schema of the host can be determined automatically. And as long as the schema is provided (probably always) we should be able to figure it out for users.
If we agree to have protocol param then I will revert the last commit

I would prefer to keep it because if you don't use a literal value in the scaler metadata you have to go check somewhere else. From a ops/management team I prefer not to have to do that.

I would prefer to keep it because if you don't use a literal value in the scaler metadata you have to go check somewhere else.

That's a good point

Removed the last commit, please take a look at the code as well as the related docs PR: kedacore/keda-docs#253


Error converting markdown with table in Html

Hi,
I'm trying to convert a text with pipe table in it to html but I'm unable to match the expected result.
MarkdownDocument document = Markdown.Parse(stringWithMD, new MarkdownPipelineBuilder().UseAdvancedExtensions().Build());
result = document.ToHtml();

The document correctly identifies the table but when I execute the ToHtml it got converted in a series o  tag.
What am I missing?
Thanks

You need to pass the pipeline to ToHtml as well. For performance reasons, you should also try to cache the pipeline object.
private static readonly MarkdownPipeline s_myPipeline = new MarkdownPipelineBuilder()
    .UseAdvancedExtensions()
    .Build();

MarkdownDocument document = Markdown.Parse(text, s_myPipeline);
string html = document.ToHtml(s_myPipeline);

Thank you!


Unable to stop pushing manifest file appscript.json = forced to redeploy scipt after each change-push files

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)
Annoying issue which leads to be required to redeploy script via deployment panel (web UI) after each change/push local files

if appscript.json file is not included in clasp.ignore - clasp push gives warning "manifest file changed" (while it's not!) and asks to owervrite it (if deny - stops pushing)
if appscript.json file IS included in clasp.ignore - clasp push gives error
"'Project contents must include a manifest file named appsscript.'"
Expected Behavior
Being able to push  changes without needed to redeploy script  via web UI
Actual Behavior
Need to redeploy script via web UI after each change / push local files
Steps to Reproduce the Problem

Specifications

Node version 18.16.1:
Version 2.4.2:
OS Windows:

After manually copy content of appscript.json file from site project to local project (they were different dispite constant pushing/overwriting according to clasp warning and logs)
problem with neded of redeploy is gone
the file still pushed acc to clasp push log but without warnings and redeploy required

Are other people modifying the project between your pushes?
The AppsScript server API does not allow pushing individual files.  An entire snapshot of the project must be uploaded.  The appscript.json file is required to be part of the snapshot for AppsScript to work, so it is impossible for the method you are using to work.

Are other people modifying the project between your pushes?
The AppsScript server API does not allow...

Nope I am the only developer for theprojekt so far
..
Tthanks for clarifiction


Wrong version of Minified library in release 1.0.1

Hi, have a nice day. Thanks for all your efforts. Just want to report that in the latest release version skrollr-menu 1.0.1, the minified version of the library it's the version from skrollr-menu 1.0.0. In that version isn't working the "data-menu-ignore" logic.
I verified from the github release tab and downloaded the code in .zip and .tar.gz to check. Also bower gets this package.

thanks


Add 2.1.0 and update readme

Codecov Report

Merging #67 (e646240) into main (18cfdc3) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files


Combine namespaces hpx::agas and hpx::naming

[reported by hkaiser] [Trac time Thu Feb 16 22:32:50 2012] The namespaces hpx::agas and hpx::naming should be combined. The combined namespace will have more functionality than just AGAS, thus I personally prefer to stick with hpx::naming as it is a more general term.

if this hasn't been done, then it might be a good one to fix during modularization


npm run start doesn't work

It wouldn't start with the step-by-step guide provided.
Opted to add this (see below) but it didn't work either.

Thanking you in advance if you could provide further information of how to deploy this template properly

--openssl-legacy-provider is just a tip, just google and then solution come out.
Here's the solution, for nodejs >= 18.x.
Windows: set NODE_OPTIONS=--openssl-legacy-provider && umi dev
Linux: export NODE_OPTIONS=--openssl-legacy-provider && umi dev

keep it open for convenience

windows:
"start": "set NODE_OPTIONS=--openssl-legacy-provider && umi dev",

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

still doesn`t work

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

@liukx-kellen show the error, use my solution?


feat: cosmos balance chart adjustments for delegation

Description

Include total cosmos delegation balance in charts
Ignore chart balance changes that are a result of delegation & undelegation

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Risk
Charts could look wrong if we screwed things up
Testing

Look at chart of an account with cosmos delegations & undelegations. Delegation balance should be reflected in the chart balance

@elmutt add the PR template to the PR description please, ser.

@elmutt add the PR template to the PR description please, ser.

done


Example of service-level event-listener?

Hi,
Is there any way someone make example how to make a service-level event listener?
E.g. a service has 2 chars, 1 char is write-only, and 1 char is notification only, I want to send
notification through char#2 as soon as the client write to char#1.
Is this even possible?

Never mind. I was just unfamiliar with javascript.


Rename project

Found yii2-country after many github searches. You might try renaming project to yii2-internationization, yii2-intl, yii2-localization, or another more definitive name. You will probably get more downloads as a result.

Migration namespace is missing from the docs.


⚠ Cioos National CKAN Sitemap has degraded performance

In c73c05f, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 11601 ms

Resolved: Cioos National CKAN Sitemap performance has improved in 7d6d294 after 10 minutes.


No Reactide (executable) file in Reactide folder

OS: Kubuntu 18.04
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.44.0
QT Version: 5.9.5
Kernel Version: 5.0.0-27-generic
OS Type: 64-bit
npm version: 6.9.0
nodejs version: 10.16.3
react version: 16.9.0
Performed steps:
git clone https://github.com/reactide/reactide.git
cd reactide/
git checkout 3.0-release
npm install
npm run webpack-production
npm run electron-packager

in your Reactide folder, navigate to the release-builds folder and double-click on Reactide (executable).

Nothing there, I've tried the performed steps with root privileges but nothing changed. I have also tried
npm install react-scripts --save
but did not help.
The message I receive is the following when I run electron-packager:

Packaging app for platform darwin x64 using electron v3.1.13
Wrote new app to release-builds/Reactide-darwin-x64

Any ideas? Thank you in advance!

Sorry about that! Just go to your package.json and change the --platform=darwin to --platform=linux and you should be able to run it! and I urge against the use of using react-scripts!

Sorry about that! Just go to your package.json and change the --platform=darwin to --platform=linux and you should be able to run it! and I urge against the use of using react-scripts!

Thank you! Solved


[Fix]Change the HTTP or HTTPS regular expression

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Please a new issue. @labbomb


POL-343 Use ouia from insights-common-typescript components

Codecov Report

Merging #203 into master will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #203      +/-   ##
==========================================
+ Coverage   91.61%   91.68%   +0.07%
==========================================
  Files         117      118       +1
  Lines        2314     2334      +20
  Branches      414      414
==========================================
+ Hits         2120     2140      +20
  Misses        192      192
  Partials        2        2

Impacted Files
Coverage Δ

src/components/Policy/ActionsForm.tsx
84.00% <ø> (ø)

...c/components/Policy/WizardSteps/CopyFromPolicy.tsx
100.00% <ø> (ø)

...components/Policy/WizardSteps/CreatePolicyStep.tsx
97.95% <ø> (ø)

src/components/Policy/WizardSteps/DetailsStep.tsx
100.00% <ø> (ø)

src/pages/ListPage/ListPage.tsx
96.55% <ø> (ø)

src/pages/PolicyDetail/PolicyDetail.tsx
100.00% <ø> (ø)

src/pages/PolicyDetail/Skeleton.tsx
100.00% <ø> (ø)

src/pages/PolicyDetail/TriggerDetailSection.tsx
100.00% <ø> (ø)

src/components/Condition/ConditionField.tsx
90.74% <100.00%> (+0.17%)
:arrow_up:

...c/components/Policy/ActionForm/ActionEmailForm.tsx
100.00% <100.00%> (ø)

... and 19 more

@lahavyuv86 The HTML does not change drastically, only adding the Ouia tags and a few divs on some components.


Incorrect LIKE operation locally.

The wildcard '[' is used by the SQL Like operator, but locally transform incorrecty in RegEx pattern.

@"[e]xample" transform in @"\A\[e]xample\s*\z" and should be @"\A[e]xample\s*\z".

@DerbyCL - Please add a regression test to demonstrate why this change is needed and fix all build failures for us to evaluate the PR.

Closing this for now since the requested tests have not been added. We can reconsider again in the future if the changes are made.


MI - REFERENCE section (Dynamic Load Balance Endpoint)

Complete the reference doc related to dynamic load balance endpoint [1].
[1] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/references/endpoints/dynamic-load-balance-endpoint.md

The original page is removed. Content is separated into 'Concepts'[1] and 'Properties'[2] and Examples.
[1] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/concepts/concepts.md
[2] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/references/synapse-properties/endpoint-properties.md

Completed the reference doc[2].
[2] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/references/synapse-properties/endpoint-properties.md


New templates

Types of changes
Create new separated templates to:
-bug ✔done
-feature
-support
-pull request
inspired by the kodi repository and according to github explanations it is possible to create separate templates, this can simplify things for us and users

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[X] I have read the CONTRIBUTING document.

All Submissions:

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Changes to Core Features:

[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you successfully ran tests with your changes locally?

Screenshots (if appropriate):
[You can erase any parts of this template not applicable to your Pull Request.]

Shall VPN policy be added?

in general we should follow the policy of the forum rules
but it does not seem to me the case to list every rule
however we can insert a warning at the end of the document with a link (in the form of a comment) that if someone does not respect the Kodi rules the request will be eliminated

so i have open a temporany test repo https://github.com/CastagnaIT/temp/issues
it's working good!
now just complete the documents

updated i think it's okay

Nice!


SFDX - force:mdapi:convert - Component conversion failed: getaddrinfo ENOTFOUND mdcoverage.secure.force.com

Summary
Running force:mdapi:convert command results in failure. The work environment is a proxy environment. So all traffic should go through the proxy. But it seems that 'mdcoverage.secure.force.com" is trying a direct connection.
Steps To Reproduce:
run command:
sfdx force:mdapi:convert --rootdir C:\Users<user>\AppData\Local\Temp\2.sfdx\tools\conflicts<org>\unpackaged --outputdir C:\Users<user>\AppData\Local\Temp\2.sfdx\tools\conflicts<org>\converted --dev-debug
Expected result
store converted metadata in "C:\Users<user>\AppData\Local\Temp\2.sfdx\tools\conflicts<org>\converted"
Actual result
ERROR running force:mdapi:convert:  Component conversion failed: getaddrinfo ENOTFOUND mdcoverage.secure.force.com
System Information

Which shell/terminal are you using? VSCode terminal

If you are using sfdx

Run sfdx version --verbose --json
{
"cliVersion": "sfdx-cli/7.156.1",
"architecture": "win32-x64",
"nodeVersion": "node-v16.15.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 2.1.0 (core)",
"apex 0.13.0 (core)",
"auth 2.2.0 (core)",
"community 2.0.0 (core)",
"config 1.4.12 (core)",
"custom-metadata 2.0.0 (core)",
"data 2.0.4 (core)",
"generator 2.0.1 (core)",
"info 2.0.1 (core)",
"limits 2.0.1 (core)",
"org 1.13.2 (core)",
"salesforce-alm 54.6.0 (core)",
"schema 2.1.1 (core)",
"sfdx-cli 7.156.1 (core)",
"signups 1.2.0 (core)",
"source 2.0.2 (core)",
"telemetry 2.0.0 (core)",
"templates 55.0.0 (core)",
"trust 2.0.0 (core)",
"user 2.1.0 (core)"
],
"osVersion": "Windows_NT 10.0.18363"
}

Additional information

Hello, this is probably due to DNS not being resolved can you try setting env var SFDX_DISABLE_DNS_CHECK ?

HI can you please upload an org so we can try reproduce this issue ?


Customizing vocabulary

First, let me thank you for sharing the model with community!
I am wondering whether there is a way to customize the model, namely to reduce the vocabulary. The model provided with already compiled decoding graph, so I can see no way to change G.fst and L.fst, but maybe there is a way I am not aware of?
If not, may I ask you to share the "sources" of your HCLG.fst (L.fst, Ha.fst, lang/phones.txt, tree etc.)?
I believe that would not be harmful for you interests.

Sorry. We do not have any plans to open any additional parts of this model. You could try to "customize" it by filtering n-best results or even better to work with lattices.
Also we do model customization as part of our services https://api.ai/pricing/ .

I too am interested in using my own language model.  This acoustic model has potential to do well on my test set that is getting 15-18% WER on GMM and nnet2 DNNs but is getting 32% WER using the deployed  HCLG.  My test has a vocab of only 300 words so the results can proved insight into the domain specific performance of your model.  Please consider sharing the tree file so I can build my own language model, sharing this file would not reveal any more details about the model.


Plugin version 1.0.0 gives an error when running capacitor sync command

Describe the bug
The below error when running 'npx cap sync' after the the latest plugin version 1.0.0 is installed
✖ Updating iOS native dependencies with "pod install" (may take several minutes):
✖ update ios:
[error] Error running update: Analyzing dependencies
[!] No podspec found for `CapacitorCommunityCameraPreview` in `../../node_modules/@capacitor-community/camera-preview`

To Reproduce
Steps to reproduce the behaviour:
Pre-requisites: installed capacitor and capacitor ios platform

Install the latest plugin version 1.0.0
Run npx cap sync
Note that the above error occurs

Expected behavior
No error should happen
Additional context
N/A

@ryaa I needed to change name of .podspec file in node_modules/capacitor-camera-preview to CapacitorCameraPreview.podspec and also in that file s.name to CapacitorCameraPreview for sync to pass. I don't know if that fixes it but sync passes after that.

@ryaa I needed to change name of .podspec file in node_modules/capacitor-camera-preview to CapacitorCameraPreview.podspec and also in that file s.name to CapacitorCameraPreview for sync to pass. I don't know if that fixes it but sync passes after that.

This is exactly what my PR does - see https://github.com/capacitor-community/camera-preview/pull/38 and this should fix the problem

PR #38 merged

@ryaa I just installed the latest version 1.0.1 from npm and it's still an issue, since CapacitorCommunityCameraPreview.podspec file is missing. Could you take a look?

@ryaa I just installed the latest version 1.0.1 from npm and it's still an issue, since CapacitorCommunityCameraPreview

Confirming the problem. package.json files property referenced the previous file name so the new renamed file was not included into the published npm package.
This PR should fix it https://github.com/capacitor-community/camera-preview/issues/37#issuecomment-662388451

I just installed this and got the exact same error.  I'm on v1.0.1.

I just installed this and got the exact same error. I'm on v1.0.1.

The PR with the latest fix has not been accepted/merged/released yet

Currently facing this same issue.

As a temporary workaround, until my PR is merged, after you install the plugin, please unzip and copy the below file into node_modules/@capacitor-community/camera-preview
CapacitorCommunityCameraPreview.podspec.zip

Ok @ryaa, thanks.

PR #39 merged.


format.py

Hello Anamika,
There a few problems that need fixing:

[ ] Lab_strains/dey_lab/format.py no longer solves #16 you should revert to this version: https://github.com/manulera/genestorian_data_refinement/pull/20/commits/97a4d5b118e15a774e2e717af16efd7001acc843
[ ] You should delete the following files (I think you are not using them):

[ ] genestorian_module/genestorian_module/Identifiers/identifiers.toml
[ ] genestorian_module/genestorian_module/generic_func.py

[ ] This file should be empty: genestorian_module/genestorian_module/__init__.py
[ ] Line 18 in get_data/convert_gene2toml.py should also check whether the field is empty. Note that the current version generates empty names:
https://github.com/manulera/genestorian_data_refinement/blob/03b6cb79fb3d323228cf165f326b4e61930e6d0f/data/gene_IDs.toml#L29-L32

Also, which script is addressing the second part of #16 ?

A python script that:

Takes Lab_strains/dey_lab/strains.tsv and data/alleles.toml as an input and replaces the allele names by

I think some of it might have been buried in some previous commit, that you accidentally overwrote, we can try to dig for it together.

I'm currently working in generic.py to write a generalized function issue #19 . Will soon push it to the repo.

Also, which script is addressing the second part of #16 ?

A python script that:

Takes Lab_strains/dey_lab/strains.tsv and data/alleles.toml as an input and replaces the allele names by

format.py. But instead of text I have it in json.  I can make it to write in a txt file if you want.


0.15.0-rc04 Compilation failed

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
0.15.0-rc04
What's Wrong?
[753/753] Linking CXX executable src/tools/meta_tool
[0/2] Re-checking globbed directories...
[0/1] Install the project...
-- Install configuration: "RELEASE"
-- Installing: /root/apache-doris-0.15.0-incubating-src/be/output/lib/
-- Installing: /root/apache-doris-0.15.0-incubating-src/be/output/lib/palo_be
-- Installing: /root/apache-doris-0.15.0-incubating-src/be/output/udf/libDorisUdf.a
-- Installing: /root/apache-doris-0.15.0-incubating-src/be/output/udf/include/udf.h
-- Installing: /root/apache-doris-0.15.0-incubating-src/be/output/udf/include/uda_test_harness.h
-- Up-to-date: /root/apache-doris-0.15.0-incubating-src/be/output/lib/
-- Installing: /root/apache-doris-0.15.0-incubating-src/be/output/lib/meta_tool
CMake Error at src/tools/cmake_install.cmake:66 (file):
file INSTALL cannot copy file
"/root/apache-doris-0.15.0-incubating-src/be/build_Release/src/tools/meta_tool"
to "/root/apache-doris-0.15.0-incubating-src/be/output/lib/meta_tool":
Success.
Call Stack (most recent call first):
cmake_install.cmake:117 (include)
FAILED: CMakeFiles/install.util
cd /root/apache-doris-0.15.0-incubating-src/be/build_Release && /usr/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed.
What You Expected?
narwal
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

编译环境：docker  apache/incubator-doris:build-env-1.4.1

docker 1.4.2

-- Build files have been written to: /root/apache-doris-0.15.0-incubating-src/be/build_Release
[0/2] Re-checking globbed directories...
[163/753] Building CXX object src/exec/CMakeFiles/Exec.dir/hdfs_file_reader.cpp.o
../src/exec/hdfs_file_reader.cpp: In member function 'virtual doris::Status doris::HdfsFileReader::seek(int64_t)':
../src/exec/hdfs_file_reader.cpp:188:14: warning: unused variable 'err_buf' [-Wunused-variable]
188 |         char err_buf[64];
|              ^~~~~~~
[337/753] Building CXX object src/olap/CMakeFiles/Olap.dir/storage_engine.cpp.o

-- Build files have been written to: /root/apache-doris-0.15.0-incubating-src/be/build_Release [0/2] Re-checking globbed directories... [163/753] Building CXX object src/exec/CMakeFiles/Exec.dir/hdfs_file_reader.cpp.o ../src/exec/hdfs_file_reader.cpp: In member function 'virtual doris::Status doris::HdfsFileReader::seek(int64_t)': ../src/exec/hdfs_file_reader.cpp:188:14: warning: unused variable 'err_buf' [-Wunused-variable] 188 | char err_buf[64]; | ^~~~~~~ [337/753] Building CXX object src/olap/CMakeFiles/Olap.dir/storage_engine.cpp.o

image 1.4.1 is ok for 0.15.0-rc04
This is just a warning, you can ignore it.


import requests Module Not Found

Description
When we run "grunt build" we got an error
Steps to reproduce
step 1 - npm install
step 2 - install python 3.6.5
step 3 - grunt build
Actual results
Warning: Command failed: python ./build/build_app_engine_package.py src out/app_engine
Traceback (most recent call last):
File "./build/build_app_engine_package.py", line 12, in
import requests
ModuleNotFoundError: No module named 'requests'
Use --force to continue.
Aborted due to warnings.

I had the same error .
For ubuntu use below commands to install requests .
apt-get install python-requests
sudo pip install requests or sudo pip3 install requests


use node 0.12 in Travis build

The latest production uploader was already built using node 0.12.0, so Travis should be using it too!
Ping @kentquirk for review/merge.

LGTM


Water wheel balancing.

 .eweer on Discord says

Following the conversation of: https://discord.com/channels/890222432605057044/1193013009493274624

Summary: Too many water wheels are bad, both for performance and intended gameplay.
Ideas:

Disable them completely
Issue: Water wheels are an essential part of remote rotary farms
Gate them
Issue: They are supposed to be early game tools
Nerf the SU they provide
Issue: Player will just make more of them
Hard-Limit or Soft-Limit the amount of wheels in a single system
Issue: Not feasible code-wise.
Give a limited amount of them to the player and make them not craftable
Issue: None?

 .eweer on Discord says

Bad bot. I pressed enter by accident. Wanted to change title to [Balance] Water wheels. :(

 .eweer on Discord says

[Balance] Water wheels

 mini_me0000 on Discord says

My vote goes for a limited amount of non-craftable water wheels, delivered by a non-repeated trade.
Maybe add crafting big wheel <--> small wheel as an option only. Similar like with a small cog <--> big cog right now

 autistic.sack.of.friends on Discord says

that could work yeah

 autistic.sack.of.friends on Discord says

also a consistent supply of stress is useful for making sure your power generation can't clog up forever

 Jazo on Discord says

I think more SU should be tied into more automation. To be limited decreased creativity and freedom very much. At some point you are not able to progress any further. Only real solution right now it waterwheel and even with them its quite a lot of work and expensive. When SU gets even harder, the fun comes to a stop I think. In Multiplayer it could be even worse because Players dont only block themselves with materials but also SU. With one shared cow and shared orders there is nothing you can do.

1.I think to make Betsy stronger for more Milk. Example for block under Betsy: (any block -> dirt -> grass -> enchanted grass -> etc...) increases milk supply
2. Or interesting ways to get better and better fuels which are quite easy to make in the beginning, but more complex ones are way stronger.
Waterwheels dont fit in the pack for me. You run them with milk because real water is expensive and its not automation or interesting. Feels more like a chore to continue playing after building first devices.

 autistic.sack.of.friends on Discord says

you can run quite a few engines off of one betsy

 autistic.sack.of.friends on Discord says

also in non co-op you'll eventually get multiple landing sites is the plan

 autistic.sack.of.friends on Discord says

like my current setup easily handles 6

 autistic.sack.of.friends on Discord says

and that's not even with fertilizer boosting

 autistic.sack.of.friends on Discord says

which gives you over double if i'm remembering right...

 Jazo on Discord says

6 Engines are not enough if I want to run everything at a fast pace. At some point I cant get it faster.

Yeah there is a way to get more, but I think it would be better if the steps are smoother. To calculate the surplus is also a bit complex with the SU´, different materials and different fuels (half of them seemed not useable)

 autistic.sack.of.friends on Discord says

i think the idea is that you need to think about what you put your milk towards

 autistic.sack.of.friends on Discord says

why is 256 rpm neccesary

 autistic.sack.of.friends on Discord says

you do not need that much speed

 autistic.sack.of.friends on Discord says

64 tops

 Jazo on Discord says

I like mine at least at 120 rpm. Yeah milk allocation is important. But it would be good to make it better and better. Instead of replacing it (I like the Idea to always have the same amount). Then the pack would be centered around Betsy and generators, instead of waterwheels or biodiesel. A few more fueltypes which motivate would be good.

I played a pack before where I planned a treefarm for over 2 weeks with minimal SU and nothing to spare. And if the pack is made around that idea, its possible. But I dont feel like SU should be a hard thing here, because the resource generation + trades is interesting enough. SU gets a bit in the way of a smooth gameplay (at least for me)

 autistic.sack.of.friends on Discord says

have you actually tried leaving things at a lowish su... i can't think of any resources in particular where you need to churn out over 60 per minute

 autistic.sack.of.friends on Discord says

i'm sorry 120 just seems excessive

 Jazo on Discord says

Had last time I played over 90 big waterwheels so it was fine. Crushing wheels take a lot of SU.

I kind of get what you mean, but I dont like to wait for machines. I think the modpack has a good philosophy in other regards, but need a good one with SU too. I dont think limiting players is the best way to go, but when there are good reasons with good recipes then it would be fine.
slower is more immersive, but harder to balance as developer.
Faster makes it less time consuming tp play and is better for massproduction and a bit lightweight
Not sure which way to go, has not changed much because its a hard topic. Just wanted to leave my thoughts <:thumbsup:1191476503750397982>

 autistic.sack.of.friends on Discord says

once you get something automated, you'll have a good amount in no time

OK, conclusion. we want waterwheels and windmills to have no recipes, instead we want to give them through early trades in limited amounts


[IGNORE] Mike pl native child

NOT AFFECT ANY CODE.
test detect changes from multiple folders with new regex

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


How to use perfectionist tool with it?

https://github.com/ben-eb/perfectionist

You'll need to use https://github.com/postcss/postcss-cli


[ada-url] Update to 2.7.4

This PR also fixes the tools feature. Previously, CPM was used to fetch dependencies. This made it impossible to install the tools feature on air-gapped devices.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

All features are tested successfully in the following triplet:
x86-windows
x64-windows
x64-windows-static

The usage test passed on x64-windows (header files found):
  find_package(ada CONFIG REQUIRED)
  target_link_libraries(main PRIVATE ada::ada)


One-class learning

Hi again, I'm trying to train a One-class scorer, but I'm not sure I'm understanding well how it works.
I trained the topic model with the whole dataset tm = ktrain.text.get_topic_model(texts, n_features=10000) and built it tm.build(texts, threshold=0.0). But then I want to train the scorer with the documents with certain label, not based in the topics. I do tm.train_scorer(doc_ids=tech_ids), where tech_ids are the ids of the texts with interested label. But then if I try to score, say, a sample of 1000 documents where 200 were used as seed in the train_scorer, these documents are not ranked with the highest values. How is it possible?
Thanks for the answer again... I'm a bit confused...
EDIT
Well, I have realized that when I'm feeding doc_ids, the scorer is getting all the topics those documents belong, am I correct?
So, in order to get my one-class classifier what do you think I should do? Train the get_topic_model with only the documents of this class and force to a unique topic?

Hello @basque21 :
The One-Class similarity scorer is implemented using scitkit-learn's LocalOutlierFactor.  Per the sklearn documentation, you should only make predictions on new, unseen data, not on examples used to train the scorer: From sklearn documentation:

In this case be aware that that you should only use predict, decision_function and score_samples on new unseen data and not on the training set.

For these reasons, you'll notice that, in the example notebook, the scorer only ever scores documents outside of the seed set.
This may be why you're getting unexpected results when scoring documents in the seed set.


Making tracking more pay-per-play in query

Lazily resolve services related to tracking from query such that they will not be loaded when only no-tracking queries are used.

@ajcvickers Can we add a regression test? (reflection?)

@ajcvickers @anpete is this something we are planning to take in "1.0.1"?

@divega Probably have to wait for the first point release, per discussion on internal APIs at lunch.

@anpete Updated with test,

:shipit:


#8: Setup script improvements.

If you want to check how it works, you can use this command: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ets-labs/vimrc/8-improve-setup-script/setup.sh)"

BTW, I have checked it on Mac OSX and Ubuntu 14.04.3 LTS

Absolutely gorgeous! Thanks!


Signalr core is not stable on Web App and clients keeps randomly disconnect

If you believe you have an issue that affects the security of the platform please do NOT create an issue and instead email your issue details to<EMAIL_ADDRESS>Your report may be eligible for our bug bounty but ONLY if it is reported through email.
Describe the bug
We have signalr core server running in a web app, and we randomly see clients disconnect within a few hours.
To Reproduce
Steps to reproduce the behavior:

SignalrCore server:
Microsoft.AspNetCore.App: 2.2.0
Microsoft.NETCore.App: 2.2.0
we deploy to Web App:
App service plan is 2 instances of P1V1.
We have client app (using Microsoft.AspNetCore.SignalR.Client 1.1.0) connects to the socket server. it maintains 2000 connections, and experience random disconnect every a few hours (definitely < 24hr).
We have socket server using legacy signalr running in Azure cloud service doesn't have this stability issue.

On the signalr core server side, we see below exceptions:
System.Net.WebSockets.WebSocketException:
   at System.Net.WebSockets.ManagedWebSocket+<ReceiveAsyncPrivate>d__61`2.MoveNext (System.Net.WebSockets.WebSocketProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Net.WebSockets.WebSocket+<ReceiveAsync>d__14.MoveNext (System.Net.WebSockets, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport+<StartReceiving>d__8.MoveNext (Microsoft.AspNetCore.Http.Connections, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60)
Inner exception Microsoft.AspNetCore.Connections.ConnectionResetException handled at System.Net.WebSockets.ManagedWebSocket+<ReceiveAsyncPrivate>d__61`2.MoveNext:
   at Microsoft.AspNetCore.Server.IIS.Core.IO.AsyncIOOperation.GetResult (Microsoft.AspNetCore.Server.IIS, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+<ReadBody>d__312.MoveNext (Microsoft.AspNetCore.Server.IIS, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.IO.Pipelines.PipeCompletion.ThrowLatchedException (System.IO.Pipelines, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
   at System.IO.Pipelines.Pipe.GetReadResult (System.IO.Pipelines, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
   at System.IO.Pipelines.Pipe.GetReadAsyncResult (System.IO.Pipelines, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
   at System.IO.Pipelines.Pipe+DefaultPipeReader.GetResult (System.IO.Pipelines, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
   at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+<ReadAsync>d__309.MoveNext (Microsoft.AspNetCore.Server.IIS, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.AspNetCore.Server.IIS.Core.HttpRequestStream+<ReadAsyncInternal>d__10.MoveNext (Microsoft.AspNetCore.Server.IIS, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1+ConfiguredValueTaskAwaiter.GetResult (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Net.WebSockets.ManagedWebSocket+<EnsureBufferContainsAsync>d__71.MoveNext (System.Net.WebSockets.WebSocketProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at System.Net.WebSockets.ManagedWebSocket+<ReceiveAsyncPrivate>d__61`2.MoveNext (System.Net.WebSockets.WebSocketProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)
Inner exception System.Runtime.InteropServices.COMException handled at Microsoft.AspNetCore.Server.IIS.Core.IO.AsyncIOOperation.GetResult:

On client, we see exception:
An internal WebSocket error occurred. Please see the innerException, if present, for more details.  => Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. => An existing connection was forcibly closed by the remote host

Expected behavior
Client doesn't disconnect.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Include the output of dotnet --info
I filed service request<PHONE_NUMBER>01506 on Azure portal for this issue as well.

We've seen this kind of thing with Azure App Service in the past. The general recommendation is to use Azure SignalR when using Azure App Service so that the WebSocket connections are offloaded.
The service request with Azure is probably your best way forward since the disconnection issues we've seen aren't isolated to SignalR. The underlying TCP connections are being terminatedl.


Add fantasy console images

Thank you for contributing! Please confirm the following:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Simply adding the logos for the fantasy consoles added in #336, #337, #338, #339, and #340 to the YAML front matter.

Xxx


Migration from fp-ts: replacements for fp-ts-routing and hyper-ts

(cc @schickling who told me to open this issue. 👋)
At Unsplash we are heavily using fp-ts and the surrounding ecosystem, namely the fp-ts-routing and hyper-ts extension libraries.
We are keen to migrate over to Effect however this would require replacements for fp-ts-routing and hyper-ts.
fp-ts-routing is lacking documentation but hopefully my blog post can shed light on why we find it to be so valuable at Unsplash: https://oliverjash.me/2022/type-safe-routing-in-react-with-fp-ts-routing-part-1.
Are there any existing libraries that would fill these gaps? If not, could we collaborate to make this happen? ❤

You should be able to replace hyper-ts with @effect/platform/HttpServer. I'm not aware of any routing solutions at the moment though. I'd love to see something like tanstack router on top of @effect-rx though.

What I like about fp-ts-routing:

It’s very simple: it’s just a string parser and formatter. I think of it as similar to io-ts/schema in that it’s a bidirectional transformation, from a string to a sum type and back.
It encourages you to model your routes as a sum type which is easy to match against.
You get link builders for free.
Representing parsers as a monad makes composition very easy. This is one of the reasons we adopted fp-ts-routing at Unsplash (coming from path-to-regexp): we needed to internationalise the site and with fp-ts-routing it was extremely easy to add a locale prefix to the URL path and also to translate each part of the URL.

I don’t think I could ever go back to something like React Router or Tanstack Router.
cc @gcanti who created this amazing library. Curious to hear your thoughts about how this idea could be ported to Effect.

@OliverJAsh I took the time to read the article you wrote and linked above, and it may not be exactly what you're looking for, it's definitely not a 1:1 with fp-ts-routing, and it is based on path-to-regexp, but I have a general routing solution I've been working on with Effect. The full functionality is split across a few different modules.
Firstly, I have @typed/path which defines a subset of the path-to-regexp DSL, it includes everything except arbitrary regular expressions, but definitely supports optionals, prefixes, zeroOrMore, oneOrMore, and even query parameters. It has bi-directional support, so it correctly parses the path syntax to records of corresponding parameters, and it also supports type-level interpolation in the opposite direction. There's a good chance you wouldn't need to interact directly with this library, but it does serve as the base and has 0 runtime dependencies.
More directly useful is @typed/route, which does require path-to-regexp as a runtime dependency, and it provides the runtime behavior of matching paths, creating paths, concatenating them using a type called Route<Path>. It's intended to be useful standalone, so that's pretty much all it does. Though it does implement an AsGuard<I, O, E, R> interface from my @typed/guard package which allows extends things with Effect.
The @typed/guard package works around a type Guard<I, O, E, R> which is just an alias to (i: I) => Effect<Option<O>, E, R>. All Routes implicitly are supported in the Guard operators, which all around allow you to compose, map, filter, encode, decode, or anything an Effect can do really.
I also have @typed/navigation, and @typed/router packages to further improve how all of this comes together in a browser or server environment, but they would assume a dependency on my push-based stream abstractions from @typed/fx which may or may not be ideal for you.
TLDR; That's a lot of words, but it's probably easier just to see some code - https://github.com/TylorS/typed/blob/development/packages/route/test/index.ts#L76

RE: fp-ts-routing, the codebase is small, making a 1:1 port should not be difficult
p.s.
However, I don't know if it's of interest to the effect org, /cc @mikearnaldi

RE: fp-ts-routing, the codebase is small, making a 1:1 port should not be difficult
p.s. However, I don't know if it's of interest to the effect org, /cc @mikearnaldi

It would be ideal if the folks who need such library would sponsor the development, it is a very FP specific lib that I am not sure solves a widespread problem. Happy to help with advise/review if they want to take the lead

I think both of the libraries I mentioned are solving widespread problems, certainly they are problems we encounter very frequently at Unsplash which is a typical CRUD application.
Maybe we can start with fp-ts-routing?

As a side note, a port of zio-parser would probably be a better long-term/general solution. You could easily build a bi-directional param/query parser like fp-ts-routing using it.

@IMax153 was playing with a zio-parser port

I've sort of "abandoned" this project for now, but in case anyone is curious :) https://github.com/IMax153/effect-ts-parser

Nice! I have my own "abandoned" port of effect-parse as well jajaja. I think your version is closer to complete though. https://github.com/jessekelly881/effect-parser


Fix some doc issues after using process with customer

Fixed some issues with steps after walking through the doc with a customer

lgtm


Return a Future instead of a void

Hello,
I tried your package and it is very useful. However, it would be great to be able to await until the modal is closed. It isn't difficult to do: the Navigator.push already returns a Future, so you just need to return that. :)
Have a good day,
Martin

Thanks for your support


Add issue metrics tracking

https://github.com/marketplace/actions/issue-metrics

@stan-dot why do you feel this is needed?

This is more of a " could"  than should

Understood, in the name of agile: can reopen if a specific requirement comes along


New version: Tencent.QQ version <IP_ADDRESS>149

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114949&drop=dogfoodAlpha

@wingetbot run


Feature Request: Add time to logs/output

If I run Cartography from the terminal, I can see output for each step, but it's missing a timestamp. I can't quite see how long individual steps or indeed the overall run took without setting up a stats server. This can be solved by simply prepending the current timestamp when writing log output.

Cartography doesn't prepend a timestamp to the log msg itself because when the msg reaches a log aggregator like Kibana then Kibana will include the log msg as a field called msg and the timestamp in a separate field. Having the timestamp in both the msg and time fields is redundant in this case.
It'd be possible to allow a user to configure the log msg format - maybe by subclassing the python logger - but it'd still be a decent sized refactor.
Anyone have other ideas?

I might be a little pendantic here, but the time when the log was generated (let's call it event time) is not the same as the time that e.g. Elasticsearch auto-allocates.
To give you an idea where this concept would fail, if you're using Filebeat to ship logs to Elasticsearch, and Elasticsearch is down for a bit, then Filebeat would, upon reconnecting, send all the logs that were written from the last successful write, and they would all have the same timestamp.
Usually logging libraries support easy customisation of their output format, although I'd have to check about the Python one.

I'm open to customization of the logger output, hopefully it's a small refactor.


Dropdown Items languages not updating in android

I have picker control in my app there is language not updating when user switch from english to  arabic until relaunch (close app and kill from background).

Tapped on English language from language selection screen.
Navigated a screen where dropdown is placed.
Clicked on dropdown its showing items in english [It's correct]
Now back press & navigated back to language selection screen.
Tapped on Arabic language from language selection screen.
Navigated a screen where dropdown is placed.
Clicked on dropdown its showing items in english [It's wrong, everything has changed in arabic except dropdown]

If I killed app and relaunched then its working fine.

Hi @majidalik
Sounds like your UI isn't updating when localise settings are changed.

I might add a hook to simplify this process. Does that sounds a good idea to you?
import { useLocalization } from 'react-native-localize'

function App() {
  const { locales } = useLocalization();

  return (
    <Text>Current system language is {locales[0].languageTag}</Text>
  );
}

(I close this since it was probably a missing event listener)


Kafka tombstones are deleted from ElasticSearch

Adds new support for Kafka compaction tombstones.
When a key is present and the value is null the message is treated as a tombstone. A bulk delete action is created and added to the bulk actions.
Tombstone Message Format
We're using the Confluent Avro encoders that make use of Schema Registry. Special care needs to be taken when publishing a tombstone message.
key.serializer=io.confluent.kafka.serializers.KafkaAvroSerializer
value.serializer=org.apache.kafka.common.serialization.ByteArraySerializer

The key needs to be Avro encoded in Confluent style so that it matches the key for non-tombstones. The value needs to use normal byte array so that only the naked null is put into the message value.
Potential issues

Currently no error handling or consideration for when the record does not exist.
No tests

Depends on modifications to the avro encoder made in https://github.com/Bridg/confluent-schema-registry/pull/1 so that the messages will actually make it to the connector.


Use MIME type base64 decoder for SAML messages

Motivation:
The Basic type base64 decoder rejects data that contains characters outside the base64 alphabet.
However, some identity provider produces base64 with line feed character, so we need to use
MIME type base64 decoder instead of the Basic type.
Modifications:

Get base64 decoder by calling Base64.getMimeDecoder() instread of Base64.getDecoder().
Improve KeyStoreCredentialResolverBuilder:

Able to read a keystore file from file system.
Able to specify keystore type.

Thanks, @hyangtack !


CITATION.cff file cannot be parsed

Please note that issues with the validity of single CITATION.cff files may take some time to be picked up by the Citation File Format maintainers themselves. Therefore, if you are reading this issue and know how to validate CITATION.cff files, please help out if you can!
Invalid CITATION.cff file
cff-version: 1.2.0
message: 'We appreciate, but do not require, attribution.'
references:
  type: book
  author:
  - family-names: 'Doan'
    given-names: 'Thanh'
  title: 'Book Name'
  year: 2022
  edition: '2nd'
  publisher:
  - name: O"Reilly Media, Inc.
  - website: https://www.oreilly.com/
  isbn:<PHONE_NUMBER>222
url: 'https://github.com/'

Context
Please describe what you want to do

create a valid CITATION.cff file
show the citation information in the sidebar of your GitHub repository

Hi @duythanhvn and welcome!
There's a couple of things I can see, I'll walk you through them:

There are a few required properties missing in the root of the document: authors and title
references should be an array, so I added the - and indented the reference
references.author should be plural even if there's just one author
references.publisher is an object, so no need for the dashes there
ISBN without any quotes is interpreted as a number, but it expects a string. You can either quote it or insert dashes to make YAML parsers interpret its value as a string.

Finally, note that url currently describes whatever software you choose to put in the root document. references also have the url property, but it would need to be indented if you want it part of the reference.
Making those changes, I ended up with
cff-version: 1.2.0
authors:
  - family-names: 'Doan'
    given-names: 'Thanh'
message: 'We appreciate, but do not require, attribution.'
title: 'The title of the software'
references:
  - type: book
    authors:
    - family-names: 'Doan'
      given-names: 'Thanh'
    title: 'Book Name'
    year: 2022
    edition: '2nd'
    publisher:
      name: O'Reilly Media, Inc.
      website: https://www.oreilly.com/
    isbn: '9781113333222'
url: 'https://github.com/'

If I save that snippet as CITATION.cff and run cffconvert --validate in its directory (cffconvert is available from PyPI https://pypi.org/project/cffconvert/), I get
Citation metadata are valid according to schema version 1.2.0.

You can read more about the format in the Guide to the Schema: https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md

Closing this as it seems to be fixed.


set insecure: true to skip verifying freeipa certs

There is no provision in the issuer as of now to provide CA bundle to verify freeIPA TLS certificate, hence this setting should be set to true for the readers and users.

@vedantaggrawal thank you for this PR, I just added information about how to secure ;)


Do we want to use css-in-js in this project?

We're using it on our other projects. It feels kinda nice to not have to worry about globaliness of CSS. Should we start using something like styled-components?

This is becoming a greater consideration in concert with https://github.com/thefrontside/frontside.com/issues/99#issuecomment-853399846.

We now use vanilla-extract


Unconfigured field _index_preview in server logs

NEST/Elasticsearch.Net version: NEST 7.14.1
Elasticsearch version: 7.14.0
.NET runtime version: net5.0
Operating system version: Windows 10
Description of the problem including expected versus actual behavior:
I have a multi field index with a prefixed textfield. In the server logs I see the following message very often:
[WARN ][o.e.i.s.IndexShard       ] no index mapper found for field: [descriptions.prefix._index_prefix] returning default postings format

I don't see any way to solve this warning.
Steps to reproduce:
Execute the following test
[Fact]
public async Task TestRaw()
{
    var indexName = $"{ Guid.NewGuid()}";
    var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200"));

    var connectionSettings = new ConnectionSettings(connectionPool)
        .DefaultMappingFor<ElasticTestIndexEntry>(m => m
            .IndexName(indexName)
        )
        .EnableDebugMode()
        .ThrowExceptions()
        //.DisableDirectStreaming()
        ;

    var client = new ElasticClient(connectionSettings);

    try
    {
        await client.Indices.CreateAsync(indexName, c => c
            .Map<ElasticTestIndexEntry>(m => m
                .AutoMap()
                .Properties(p => p
                    .Text(t => t
                        .Name(n => n.Descriptions)
                        .Fields(f => f
                            .Text(tt => tt
                                .Name("prefix")
                                .IndexPrefixes(pp => pp)
                            )
                        )
                    )
                )
            )
        );

        var bulkEntry = new BulkDescriptor();
        bulkEntry.Refresh(Refresh.WaitFor);
        bulkEntry.Index<ElasticTestIndexEntry>(i => i.Document(new ElasticTestIndexEntry()
        {
            Descriptions = new List<string>()
            {
                "abc def",
            },
        }));
        var bulkResponse = await client.BulkAsync(bulkEntry);
        bulkResponse.ItemsWithErrors.Should().BeEmpty();
    }
    finally
    {
        await client.Indices.DeleteAsync(indexName);
    }
}

public class ElasticTestIndexEntry
{
    public List<string> Descriptions { get; set; }
}

Then you have the warning in the server logs.
Expected behavior
The nest configuration configures the index correct so that no warning is in the log.

Hi @MartinDemberger. At a first glance, the generated mapping looks okay to me. I'm awaiting some input from colleagues to see if there's something specific about this case we need to be aware of.

Sorry for the delay @MartinDemberger. I've had some feedback that suggests you shouldn't need the sub-field in your mapping. The index_prefixes option enables a silent optimisation on a regular text field. The client can use the plain field descriptions and the text field will automatically decide when to use the special prefix index it creates, only if presented with a prefix query on that field. With your mapping it would index the full text twice - once in descriptions and again in descriptions.prefix.
So this should be sufficient during creation.
await client.Indices.CreateAsync(indexName, c => c
            .Map<ElasticTestIndexEntry>(m => m
                .AutoMap()
                .Properties(p => p
                    .Text(t => t
                        .Name(n => n.Descriptions)
			.IndexPrefixes(pp => pp)
                    )
                )
            )
        );

No problem. This isn't a issue that's urgent so there is no hurry.
Thanks for the answer but I can't use this. In my live index there is a more complex definition. And the sub-field has another indexer than the main field which provides a alternate way to search. I only removed it for this reproduction.

Ah, I see. In that case, it may be best to raise this within the Elasticsearch repo. The client is emitting the mapping as I'd expect based on the code. This seems to be more around the expected usage which may benefit from input from the engineers over there?

@MartinDemberger I wanted to check in before closing this out to see if there's anything further I can help with here and if this has answered your question?

Closing as I believe this has been answered.


isRouteErrorResponse types are wrong?

export function ErrorBoundary() {
  let error = useRouteError();
  let isResponse = isRouteErrorResponse(error);
  if (isResponse) {
    console.log(error.status);
  }
  return
Oops.
;
}

I would expect the error type in the if block to know it's an error response, but it's still unknown.

nvm, I always forget typescript can't figure this out, have to inline it.
export function ErrorBoundary() {
  let error = useRouteError();
  if (isRouteErrorResponse(error)) {
    console.log(error.status);
  }
  return
Oops.
;
}


Exit with code 1 when tests fail (for CI purposes)

Hi guys
In order to use codeceptjs for Continuous Integration, it needs to exit with code 1 when the tests fail. Unfortunately at this point it always exits with code 0 whether the tests pass or fail, thus CI assumes the tests are always successful. This makes codeceptjs useless for CI purposes unfortunately.
I'm using codeceptjs 0.2.4 with webdriverIO and chrome.
A possible solution would be to add process.exit(1); at the end of the tests if tests failed. I see that an event is emitted when the tests end (event.dispatcher.emit(event.all.result, this);) so maybe this could be done with a listener?
Best regards

Thanks. This must be implemented

Hi,
with 0.3.3 thus issue was reintroduced.
Best regrads


Prepare for a new rstar release?

We have some additions and changes, and it's been about 9 months since our last release. According to cargo semver-checks we're safe to push a point release (0.12.1).
What do people think?

For fixes and additions, I think we should release as often as we have the capacity to.

Done in https://github.com/georust/rstar/pull/180


Update ReversingLabs solution to v4.0.0

Required items, please complete
Change(s):

SpectraIntelligence-EnrichNetworkEntities: new playbook
SpectraAnalyze-EnrichNetworkEntities: new playbook
SpectraAnalyze-EnrichFileHash: new playbook
SpectraIntelligence-EnrichFileHash: fix issue with API connection that caused duplicate Microsoft Sentinel API connections to be deployed
Updated branding, images

Reason for Change(s):

New product branding, additional new features

Version Updated:

N/A

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Also please add "postDeploymentSteps" and "lastUpdateTime" fields in playbook.
you can refer below file for your reference.
https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/HYAS/Playbooks/HYAS-Insight-Domain-C2-Attribution-Data/azuredeploy.json

@v-shukore FYI created separate PR #10891 with updated branch name to reflect v3.0.1 as mentioned


Some data is missing on restore + upgrade flow.

-I have upgraded staging app from 1.4.4(226) to 1.5.0(260).After that I restored the app but restore didn't work with old RK's.So I reinstalled 1.4.4 (226) then restored it and then I upgraded it to 1.5.0 (260).
-After all this I went to the F&F list but my F&F list was missing And the version history page was also blank.

I tried 1.4.5 version upgrade to 1.5.0 this issue is not reproducible I can see Version history and my F&F list also. @cakesoft-swati could you Please check again and please login again once you install or restore

-Verified issue with upgrading 1.4.5 to 1.6.0


Multiple inline fields "overflow" on each other

In the example below, the labels will overflow over the input elements. Shouldn't the overflowing field just go down a line or something?

          First name
          <input placeholder="First Name" type="text">

          Middle name
          <input placeholder="Middle Name" type="text">

          Last name
          <input placeholder="Last Name" type="text">

Please add a jsfiddle, as Contributing guide suggested

I can't seen to reproduce it anymore. Weird (good weird!). https://jsfiddle.net/m128atkz/2/