additional retrain of tensorflow for new Icon mods

I've been testing this tool out with different icon mods, while mostly work I've found an issue with this relatively newer icon mod.
this is of no urgency and wanted to know if there's anything to be done because tensorflow is out of my expertise
https://rainbowbu.itch.io/new-icons-modfoxhole
tysm. <3

Thanks for sharing.  I'll add this icon mod to the training set.
I aim for 100% accuracy, so if you notice any other issues, please send me some example screenshots.  I will add them to my test suite and attempt to resolve in the next update.  (feel free to DM screenshots via Discord if you prefer not to post)

@softttware please give it a try now and let me know if you notice any issues.

My apologies, I only got to this right now. It still has errors still but I think that is just a problem with resolution and contrast

Can you DM me an example screenshot?
The tool is designed to work at all common resolutions, etc.
So if it's not working, I'd like to fix it.
On Wed, Jun 26, 2024, 4:49 PM softttware @.***> wrote:

My apologies, I only got to this right now. It still has errors still but
I think that is just a problem with resolution and contrast
—
Reply to this email directly, view it on GitHub
https://github.com/GICodeWarrior/fir/issues/12#issuecomment-2192800526,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAE2W6C4T6DYEL4QDJWDVTZJNHPDAVCNFSM6AAAAABHNNTDMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJSHAYDANJSGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Here's a screenshot with the item mod. the items that have been causing issues are both Cometa Revolver and .44 Ammo reporting wrongly

I don't know how to DM you but if you want to reach out to me on discord i'm @softtware there.
mod link just in case: https://rainbowbu.itch.io/new-icons-modfoxhole

Thanks for sharing.
That image seems to work correctly for me.  This is what https://fir.gicode.net/ says:

Please let me know if you see anything wrong there.
If you are running the recognition inside a spreadsheet, that spreadsheet likely needs to be updated.  I put some high level instructions for updating in issue #13.
In the meantime, you could use the "Append to Google Spreadsheet" button to add data to your spreadsheet.

I will rebuild FIR and update it and will let you know!

reopening this just to ask for the discord in which I can reach out to you, sorry for the trouble

I believe this issue was resolved.  Feel free to open a new issue if needed.


Plugin request for Buf Schema Registry: protoc-gen-grpc-dotnet

Mandatory
Where is the source code for the plugin?
https://github.com/grpc/grpc-dotnet
Optional
Does the plugin have a valid semver version?
v2.51.0
Does this plugin have runtime dependencies?
Unsure (probably only on classes in grpc-dotnet itself)
Does the plugin have a dependency on another plugin?
Unsure (seems like it might generate the protobuf part as well?)
Do you think this plugin will be compatible with the BSR go module proxy or npm registry?
N/A

Closing request for now as there is nothing to be done - see https://github.com/bufbuild/plugins/issues/409#issuecomment-1460594256.


update path handling in examples/forward/source_space_morphing.py

closes #10810

+1 to merge when the CIs all pass

thanks @dominikwelke !


Extend db with migrations & seeders

Pagination example
https://medium.com/hackernoon/how-to-paginate-records-in-mysql-using-sequelize-and-nodejs-a3465d12aad5

https://sequelize.org/v7/
https://www.npmjs.com/package/sequelize-file

Sequelize supports that.

We can easily build migrations and seeders with the tools used in node-react-boilerplate.


Potentially unused code in iris.coord

📰 Custom Issue

It looks like this class is not to be used anywhere and it not part of the public interface. Maybe it could be removed?
https://github.com/SciTools/iris/blob/ae2b59ba3dc68fe54893f4e8f4246e5c19c1a5bf/lib/iris/coords.py#L3156-L3176

@bouweandela actually, I think it is used,
here : https://github.com/SciTools/iris/blob/main/lib/iris/analysis/init.py#L2345
Did you just miss that, or do you think there is an opportunity to simplify this ?

Did you just miss that

Yes! I must have been sleeping :sleeping:

do you think there is an opportunity to simplify this ?

Yes, this looks like itertools.groupby. Is that what you had in mind?

@bouweandela Is this something that you wanted to take on? :thinking:

Yes, I can have a look.


[BUG] Docker Fails When Attempting Geocoding

Hey folks,
I was just following the tutorial concerning Eunomia and ran into this error:
> geocodedLocation <- geocodeAddresses(addressTable = notGeocodedLocation)
Geocoding chunk 1 of 1
Fatal error: cannot create 'R_TempDir'
Error: '/tmp/RtmpD7WMaA\add_geocoder_3.3.0_score_threshold_0.5.csv' does not exist.

Not sure what exactly this error is.

Here are system details:
OS: Fedora 38
R details:
R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
GIS Commit Hash: a5279642ccc883e34cdb1009daf8c827a71bb872

Here's the code I was using too as well
library(DatabaseConnector)
library(gaiaCore)

gaia <- createConnectionDetails(
  dbms = "postgresql",
  server = "localhost/gaiadb",
  user = "thecedarprince",
  password = "",
  pathToDriver = "./drivers"
)
synthea <- createConnectionDetails(
  dbms = "postgresql",
  server = "localhost/synthea",
  user = "thecedarprince",
  password = "",
  pathToDriver = "./drivers"
)

transformedLocation <- getLocationAddresses(connectionDetails = synthea,
                                            cdmDatabaseSchema = "omop")
splitResult <- splitAddresses(addressTable = transformedLocation)

alreadyGeocodedLocation <- splitResult$geocoded

notGeocodedLocation <- splitResult$ungeocoded
geocodedLocation <- geocodeAddresses(addressTable = notGeocodedLocation)

Hi @TheCedarPrince ! Thanks for creating an issue for this.

> geocodedLocation <- geocodeAddresses(addressTable = notGeocodedLocation)
Geocoding chunk 1 of 1
Fatal error: cannot create 'R_TempDir'
Error: '/tmp/RtmpD7WMaA\add_geocoder_3.3.0_score_threshold_0.5.csv' does not exist.

This function leverages DeGauss geocoder, which writes and reads a csv using R's tempdir() function.
It looks like its either not able to create the directory and subsequently can't read it. That backslash looks suspicious to me.
I will dig into the issue a little deeper and get back to you.

I noticed that too -- I wonder if there was something going wrong internally with the pathing... :thinking:
Seems to be coming from here:
https://github.com/OHDSI/GIS/blob/a5279642ccc883e34cdb1009daf8c827a71bb872/R/geocode.R#L44


Add aignas as a maintainer to rules_python_gazelle_plugin

The same has been done a while ago in the rules_python project already.
See #2401

Hello @rickeylev, @f0rmiga, modules you maintain (rules_python_gazelle_plugin) have been updated in this PR. Please review the changes.


Add possibility to extend snippets to other filetypes

With Ultisnips it is possible to create snippets for a specific filetype that builds on snippets existing for an other filetype (using the extends command).
A specific example where this is useful is for instance with vimwiki (which uses vimwiki filetype instead of regular markdown). In that case, it is useful to have specific snippets for vimwiki, but also activate normal markdown snippets.
Is that feature already possible with LuaSnip? Would that be possible to add it?

Would either of #132 or #142 work for you?

From #132, I tried that
require("luasnip").snippets={
  vimwiki ={}
}
require("luasnip").snippets.vimwiki = require("luasnip").snippets.markdown
require("luasnip/loaders/from_vscode").load({include = {"markdown"}})
require("luasnip/loaders/from_vscode").lazy_load()

but it does not seem to work. Not sure if #142 applies here as it is a completely different filetype and not just something like md.vimwiki

#132 should work if you do
require("luasnip").snippets.markdown = require("luasnip").snippets.vimwiki

instead, it's all about using the same table for vimwiki and markdown snippets.
You can make #142 work by manually setting ft to markdown.vimwiki(via autocmd or after/ftplugin/vimwiki.vim), but that may interfere with other plugins.
Both are rather hacky, so I'd also be open to support something like extend from Ultisnips.

Indeed that kinda work if I write it in the correct way 😄
But now if I write my snippets for vimwiki as
require("luasnip").snippets={
  vimwiki ={
    s("test1", {
      t("this is my awesome text snippet")
    }),
  }
}

the snippets are also going to be present when I edit simple markdown files. Would it be possible to avoid that and have these extra snippets only work for vimwiki?

That's the hackiness :P
I'll add the extend, that should make it work properly.
How does it work in ultisnips? Just extend(filetype, with_this_filetype)?

Check out the proper_filetype_extend-branch,
require("luasnip").filetype_extend("vimwiki", "markdown")

should work.

Does not seems to work.
I have the following error when neovim starts:
Error detected while processing /home/lambtho/.dotfiles/nvim/.config/nvim/init.lua:
E5113: Error while calling lua chunk: vim/shared.lua:320: src: expected table, got string
stack traceback:
        vim/shared.lua:320: in function 'list_extend'
        ...nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua:377: in function 'filetype
_extend'
        /home/lambtho/.config/nvim/init.lua:32: in main chunk

Error is fixed when using
```require("luasnip").filetype_extend({"vimwiki"}, {"markdown"})``
Although it still does not work. I get mardown snippets in markdown, vimwiki specific snippets in vimwiki but no markdown in vimwiki.
My config is
require("luasnip").snippets={
  vimwiki ={
    s("test1", {
      t("this is my awesome text snippet")
    }),
  }
}

require("luasnip").filetype_extend({"vimwiki"}, {"markdown"})
require("luasnip/loaders/from_vscode").lazy_load()

Could you try
luasnip.filetype_extend("vimwiki", {"markdown"})

Could you try
luasnip.filetype_extend("vimwiki", {"markdown"})

No neovim error, but still not working as expected (i.e. markdown snippets in markdown, vimwiki specific snippets in vimwiki but no markdown snippets in vimwiki).

A bit off topic but here's how I accomplish this.
Main LuaSnip Config
setmetatable(require('luasnip').snippets, {
   __index = function(_, v)
       return require('snippets.' .. v)
   end
})

markdown.lua in lua/snippets directory
return {
  -- snippets here
}

vimwiki.lua in lua/snippets directory
local markdown_snippets = require('snippets.markdown')
-- add custom snippets
return markdown_snippets

Almost there.. 😄
In markdown: it is working as expected, but all markdown snippets appear twice in nvim-cmp.
In vimwiki: Vimwiki snippets appear once in nvim-cmp, markdown snippets work but do not show in nvim-cmp
although, maybe this should be fixed in https://github.com/saadparwaiz1/cmp_luasnip

@lambtho12 can you try out this pr it should fix the nvim-cmp issue

Ok. I will report on the tests on the PR directly to keep things separate

Almost there.. 😄
In markdown: it is working as expected, but all markdown snippets appear twice in nvim-cmp.
In vimwiki: Vimwiki snippets appear once in nvim-cmp, markdown snippets work but do not show in nvim-cmp
although, maybe this should be fixed in https://github.com/saadparwaiz1/cmp_luasnip

@lambtho12 can you try out this pr it should fix the nvim-cmp issue

Ha, beat me to it :D

Finally, it seems that there is still an issue... Not sure if it is from here or cmp_luasnip.
As explained on cmp_luasnip, when I want to use a snippet in vimwiki, I get the following
E5108: Error executing lua .../pack/packer/start/LuaSnip/lua/luasnip/nodes/snippet.lua:774: Vi
m:E492: Not an editor command: VimtexEventInitPost call vimtex#syntax#core#init_post()

(and I really do not know why it references vimtex here...)

Seems like it happens while running the autocommands for snippet events, do you have an autocommand on them?

These are the only autocommand I have:
local cmd = vim.cmd
cmd 'au TextYankPost * lua vim.highlight.on_yank {on_visual = false}'  -- disabled in visual mode
cmd 'autocmd BufRead,BufNewFile *.tex,*.dtx,*.md setlocal textwidth=80'
cmd 'autocmd FileType beancount,tex,markdown autocmd BufWritePre <buffer> %s/\\s\\+$//e'

Hmmm, weird..
Did you expand the snippet via nvim_cmp or directly via trigger?

Same thing if I expand it by nvim_cmp or via direct trigger. In any case, the snippet expand, but I still get the error message.
If I expand it by pressing  on the nvim_cmp menu, it breaks nvim_cmp menu and it will not show it anymore after that (in any buffer). If I close the cmp menu and expand the snippet via direct trigger, the cmp menu continues working

Did the reinstall you mentioned in nvim_cmp also fix this error?

Yes! Sorry, I forgot to mention it here as well.
I still have no idea about what was the underlying issue.

Nice :ok_hand:
Soooo... everything works? :eyes: :P

I haven't written much yet, but it seems to be good for now. Thank you again for your quick solution.
I will reopen this issue if I stumble across an issue with a bit more use.

Apologies for digging this out, thought it might be more fitting than crating new issue but can do that if you prefer it that way.
friendly-snippets just merged conventional commit snippets (for git). I am trying to get them to work with Neogit, which sets its own filetype instead of gitcommit. I am lazy loading snippets like this (I have no lazy loading of any plugins, etc):
local ls = require 'luasnip'
require('luasnip.loaders.from_vscode').lazy_load {}
ls.filetype_extend('NeogitCommitMessage', { 'gitcommit' })

but it does not show those snippets. It works when I use load() instead of lazy_load(). Is that expected or an issue? Would rather not load all snippets (continue using lazy_load()).

Weird, I cannot reproduce :/
" don't have Neogit, so try this
:!echo "vim: ft=NeogitCommitMessage" > ngcm
:lua ls.filetype_extend("NeogitCommmitMessage", {"gitcommit"})
:lua require("luasnip.loaders.from_vscode").lazy_load()
:e ngcm
feat<Tab> expands

(I'm not on the most current version of friendly-snippets where this specific issue is fixed)
We load snippets on BufEnter, so if the correct filetype isn't set by then, it fails. Can you verify that it works with explicitly setting the filetype and doesn't with actual Neogit?

I tried what you did above but it still doesn't show nor expand those snippets.


Set userInteraction for initialLocalNotification

Previously it was correctly set for "remove" notifications, but was not set for local ones, and this way "initialnotification" were never treated as "opened by user".
Initial fix was in #220 which broke compilation.

Yeah would be great to see this resolved - my bad for breaking it with #220


System.Reflection.TargetInvocationException   HResult=0x80131604

I have a freshly created Windows 10 VM and when I attempt to run the HelloWinUI3.sln I receive a System.Reflection.TargetInvocationException.
Windows 10 Version: Microsoft Windows [Version 10.0.19042.985]
Dotnet SDK version: 6.0.100-preview.3.21202.5 [C:\Program Files\dotnet\sdk]
Visual Studio Version: Microsoft Visual Studio Enterprise 2019 Preview Version 16.10.0 Preview 4.0
Maui-check response:  Congratulations, everything looks great!

System.Reflection.TargetInvocationException
HResult=0x80131604
Message=Exception has been thrown by the target of an invocation.
Source=System.Private.CoreLib
StackTrace:
at System.RuntimeType.CreateInstanceOfT()
at System.Activator.CreateInstanceT
at WinRT.WeakLazy`1.get_Value()
at Microsoft.UI.Xaml.Application._IApplicationStatics.get_Instance()
at Microsoft.UI.Xaml.Application.Start(ApplicationInitializationCallback callback)
at HelloWinUI3.Program.Main(String[] args) in C:\Users\Bob\Documents\Code\net6-mobile-samples\HelloWinUI3\HelloWinUI3\obj\x64\Debug\net6.0-windows10.0.19041.0\App.g.i.cs:line 26
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
COMException: Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))

I'm also hitting this issue. Used maui-check to install tools and VS 16.11.0 Preview 1.

I'm also having this issue in VS 16.11.0 P1

I am getting this with 6.0.100-preview.4.21255.9 and VS 16.11.0 Preview 1.0.  maui-check says everything's ok.

Same here, passing maui-check
Microsoft Visual Studio Community 2019 Preview
Version 16.11.0 Preview 1.0

Same here and same setup as Alexander. Has anyone been able to work around this?

why this issue and what is solution

I recently started with MAUI and ran into this.

Same issue on my side

Same with VS2022. The maui-check says "Android SDK" and ".NET SDK - Workloads(5 parts about android and ios)" are missing. But I am running it on Windows.


JSON file typings

Hi @MrSunshyne,
@k3ii assisted me in generating a .ts file for featured-issues.json so we can extract the literal types from it.
What do you think about converting all the other .json files in the same directory to .ts as well?
P.S. There are some .js files as well in the directory. I think we need to convert them to .json & .ts as well.

@MrSunshyne alright, @k3ii thought of splitting .json & .ts files in separate directories and creating a script to convert .json to .ts.
@k3ii All .json files in the data directory contain arrays, except for photos-raw.json. This one needs to be converted slightly differently. We can look into this together.

@MrSunshyne alright, @k3ii thought of splitting .json & .ts files in separate directories and creating a script to convert .json to .ts.
@k3ii All .json files in the data directory contain arrays, except for photos-raw.json. This one needs to be converted slightly differently. We can look into this together.

@n-d-r-d-g  do we do the work in this PR or  we get this one merge and work on another PR?

@MrSunshyne alright, @k3ii thought of splitting .json & .ts files in separate directories and creating a script to convert .json to .ts.
@k3ii All .json files in the data directory contain arrays, except for photos-raw.json. This one needs to be converted slightly differently. We can look into this together.

@n-d-r-d-g do we do the work in this PR or we get this one merge and work on another PR?

@k3ii Yeah maybe it's a better idea to merge this one then. Let's work on another PR for the other changes.
@MrSunshyne could you please merge this one? We'll get rid of the unmaintainable code in the next PR.


Update egrep of zap_device function

This PR changes the egrep's regexp of zap_device function in entrypoint.sh to make possible to find devices that begins with xv, like /dev/xvdi.

Thanks @galindro

@leseb when this change will be available in ceph/daemon docker hub's image?

Yes soon, I need to push a new version. Doing this now.


Istioctl install does not honor serviceAnnotations specified using IstioOperatorAPI syntax when applying a previously generated manifest

Bug description
When installing via istioctl, the serviceAnnotations are not applied when configured using the Istio Operator API, despite being present in the final install manifest.
This only happens when the manifest is first generated, and then applied via a separate apply command. If the manifest is applied directly (without first generating it), the annotations are created.
[X] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Service annotations are present on the istio-ingressgateway service.
Steps to reproduce the bug
Prepare the overlay file:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  hub: "docker.io/istio"
  profile: "minimal"
  addonComponents:
    pilot:
      enabled: true
  components:
    ingressGateways:
      - name: istio-ingressgateway
        enabled: true
        k8s:
          serviceAnnotations:
            service.beta.kubernetes.io/aws-load-balancer-internal: "<IP_ADDRESS>/0"
      - name: cluster-local-gateway
        enabled: true
        label:
          istio: cluster-local-gateway
          app: cluster-local-gateway
        k8s:
          service:
            type: ClusterIP
            ports:
            - port: 15020
              name: status-port
            - port: 80
              name: http2
            - port: 443
              name: https

istioctl manifest generate -f /path/to/above/overlay.yml > /tmp/manifest.yml
istioctl manifest apply -f /tmp/manifest.yml

Verify the manifest and notice the annotations are there:
apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-internal: <IP_ADDRESS>/0

Verify that the annotations were not created
k get svc istio-ingressgateway -n istio-system -o yaml
But wait, there is more!
If the overlay is applied directly, that is, without using manifest generate, then the annotations are properly applied:
istioctl manifest apply -f /path/to/above/overlay.yml
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istioctl version --remote
client version: 1.6.3
control plane version: 1.6.7
data plane version: 1.6.7 (2 proxies)

How was Istio installed?
Via istioctl
Environment where bug was observed (cloud vendor, OS, etc)
MacOS 10.14.6.
Tested against AWS EKS 1.17, as well as local Docker Desktop Kubernetes running 1.16.5.

istioctl manifest generate -f /path/to/above/overlay.yml > /tmp/manifest.yml
istioctl manifest apply -f /tmp/manifest.yml
Is not a valid set of commands. You either use manifest generate | kubectl apply or manifest apply, not both

@howardjohn thanks for the clarification. This is in fact a miss with my understanding of the documented workflow.
I think part of the confusion might come from the way the context help is written:
$ istioctl manifest -h
The manifest subcommand generates, applies, diffs or migrates Istio manifests.

Usage:
  istioctl manifest [command]

Available Commands:
  apply       Applies an Istio manifest, installing or reconfiguring Istio on a cluster.

$ istioctl manifest apply -h
The apply subcommand generates an Istio install manifest and applies it to a cluster.

It is obvious from reading the context help on manifest apply that it will generate and apply a manifest.
However, it's less obvious when reading command descriptions one level up.
Thank you for the clarification!


Tailor AzBlade doc to self-host scenario

Docs Build status updates of commit 57ecb50:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

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.


V4 table-responsive class not working in form tag

Before opening an issue:

Search for duplicate or closed issues
Validate and lint any HTML to avoid common problems
Prepare a reduced test case for any bugs
Read the contributing guidelines

When asking general "how to" questions:

Please do not open an issue here
Instead, ask for help on StackOverflow, IRC, or Slack

When reporting a bug, include:

Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
Reduced test cases and potential fixes using JS Bin

When suggesting a feature, include:

As much detail as possible for what we should add and why it's important to Bootstrap
Relevant links to prior art, screenshots, or live demos whenever possible

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via JS Bin or CodePen and report back with your link, Bootstrap version, and specific browser and OS details.

and inside row class : https://codepen.io/skamthon/pen/OjqaBR

As the grid docs mention, only columns should be immediate descendants of rows. Your markup isn't correct—update it and you should be fine.


document percy support

This is not a request but an offer. I think I am the first/only person to get percy.io working with ember-exam. Here is the complete list of changes required: https://github.com/kellyselden/package-hint-historic-resolver/pull/159
You may want to add it to the docs, or just close this issue and allow github issue searches to find this issue.

Thanks for the example! I'm not gonna adds this to the docs at this point in time, since it seems like an uncommon use case, but having this issue and a link to the Percy docs for parallel tests is beneficial.


compileDeleteWithJoins incorrect behaviour with MySQL and inner join

Laravel Version
10.26.2
PHP Version
8.1.23
Database Driver & Version
MySQL 8.0.32-1.2.11-server
Description
When using getGrammar()->compileDelete() on a query builder that has a join in it, in case of an inner join the compiled delete statement is incorrect.
According to MySQL docs it should contain both tables in order to delete rows in both tables.
The way it currently is implemented it will only delete data from the first table and not the joined data from the referenced table.
From tinker:
Current behaviour:
>>> $query->limit(1000)->getGrammar()->compileDelete($query->toBase())
=> "delete `commands` from `commands` inner join `statuses` on `commands`.`id` = `statuses`.`model_id` where `commands`.`created_at` < ? and `commands`.`action` in (?, ?, ?, ?, ?) and `statuses`.`model_type` = ? and `parent_uuid` is null"

Expected result:
>>> $query->limit(1000)->getGrammar()->compileDelete($query->toBase())
=> "delete `commands`, `statuses` from `commands` inner join `statuses` on `commands`.`id` = `statuses`.`model_id` where `commands`.`created_at` < ? and `commands`.`action` in (?, ?, ?, ?, ?) and `statuses`.`model_type` = ? and `parent_uuid` is null"

Steps To Reproduce
I was using this Spatie package that parses queries this way: https://github.com/spatie/laravel-queued-db-cleanup
CleanDatabaseJobFactory::new()
            ->query(DeviceCommand::join('statuses', 'commands.id', '=', 'statuses.model_id')
            ->where('commands.created_at', '<', Carbon::now()->subDays(5)->toDateTimeString())
                ->whereIn('commands.action', [CommandEnum::deviceAppList(), CommandEnum::deviceInfo(), CommandEnum::deviceAppStats(), CommandEnum::deviceAppStatus(), CommandEnum::deviceSensorData()])
                ->where('statuses.model_type', '=', DeviceCommand::class)
            )
            ->deleteChunkSize(1000)
            ->getBatch()
            ->onQueue('maintenance')
            ->dispatch();

As I see, this is an error, it's just how the method is implemented.
The description at compileDeleteWithJoins() method in Illuminate\Database\Query\Grammars\Grammar just says "Compile a delete statement with joins into SQL". So it's not very specific. At this point it is not clear if it will delete the records of all tables involved or if it will just delete records from the main table. But when you look at the method's code, it is clear that the intention is to delete only the records from the main table. At least that is the way I see it.

I am against changing the current behaviour. The new wished one would only work for MySQL and not any other database as multiple-deletes are not part of the standard. Depending on the DB used, the Laravel code would now behave differently 😬

Thanks all. This is indeed not something we're going to change soon as it involves a major breaking change. If anything is unclear we'd appreciate a PR to the docs 👍


universal-cookie-express v3.0.1 break the session

Hi,
I was using universal-cookie-express ^2.1.5, upgraded to latest and now express session or csrf (both using redis, if it's matter) are not working, so req.session is always undefined..
Is there any breaking changes? there's no error on screen..

That version was unfortunally broken. If you upgrade universal-cookie, universal-cookie-express and react-cookie (if using it) to 3.0.3 and it should work and be 100% retro-compatible outside of the undocumented hooks on the Cookies constructor. However, you need React >= 16.3.0 if you are using react-cookie.
Let me know if it works and if not, would you mind sharing some code to reproduce?


Create a "meet the team" section on the Carbon website

We want Carbon to be a growing community.
A big part of growing a community is making sure it's about people, and not just about technology.
We should introduce the core Carbon team, with pictures and short bios, and contact information. This can include leadership, design, and devs.

@designertyler

@jeanservaas
should include headshots/avatar, role, commits for each member of our team; and then a section for significant contributors.


Python bindings named access does not return id

In the Python Bindings Documentation this is an example for named access:

m.geom('gizmo').id is the same number as returned by mujoco.mj_name2id(m, mujoco.mjtObj.mjOBJ_GEOM, 'gizmo')

However when I try to replicate this, it does not work
import mujoco

XML=r"""
<mujoco>
  <worldbody>
    <body>
      <geom type="box" size="1 1 1" name="gizmo"/>
    </body>
  </worldbody>
</mujoco>
"""

model = mujoco.MjModel.from_xml_string(XML)
data = mujoco.MjData(model)

id1 = mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_GEOM, 'gizmo') # Works
id2 = model.geom("gizmo").id # Fails with AttributeError: 'mujoco._structs._MjModelGeomViews' object has no attribute 'id'

Im using Mujoco Version 2.2.2 and Windows 10

Hi!
MuJoCo "latest" documetation describes the code at head, not the last release. You can click the "v:latest" button on the bottom left to see the 2.2.2 documentation which you'll see does not include this feature.
This feature will be available at the next release, or your can build MuJoCo from source yourself.

Fixed by 57b0b36699e26fa1bda20e58a059d7ac7e439b3a
This feature is now available in pypi wheels.


When hide receipts is enabled, the other person wont receive the delivery notification

I think i found another bug, i have enable "hide read receipts" and have 'delivery notification' enabled, but apparently, in this setup the people wont get the delivery notification ( second tick ). It will get  just one tick forever!

Nothing can be done about it. Delivery reports are sent when you clear whatsapp from recent apps. Thats how it works. Its their implementation. I'm closing this issue.


Conflict with FullPage.js

Hi !
I love your slider but i can't make it work with the nice "FullPage.js" plugin..
(https://github.com/alvarotrigo/fullPage.js or http://alvarotrigo.com/fullPage )
This a jsfiddle with only fullpage.js, you can slide the two sections easily
http://jsfiddle.net/zuzd85fc/1/
but when i add Slick, there is a conflict and we can't slide anymore.
http://jsfiddle.net/zuzd85fc/2/
Can you help me to fix this ?
Thanks !

Thought I'd save any future hair-puller a little time by saying add table-layout: fixed; to any nested layout divs inside your full page .section divs as well and it should sort it out.
Thanks Ken.


Enhancement: use the app as a simplifed and cheap "proof-of-health"

Let's say there is enough users of the app in population. Let's say that certain parties (an airport, planned surgery, dancing class, night bar, foreign contry, whatever) will require a proof-of-health (a negative test 2 days old max) from the user. If the app was collecting data (with the user agreement) for how long it was running (so the user is not powering it off or disabling bluetooth on purpose), the app could show a certificate that the user is using the app and not meeting infected people recently. This could serve to many parties as a cheap proof-of-health.

BTW, this could be also a motivational factor to install the app.

That would be nice :) Some people will be faking it (with a screenshot), but it's still worth it.

Give it an animation then. Perhaps current time/date + picture from the camera perhaps? Or, generate a 2D bar code that would be unique and valid for couple of seconds/minutes only; the 3rd party would have to read it to learn if it's valid or not. I'm sure there will be a way...

what about a case when the app shows I have not met anyone infected, yet the day after one of my recent contact gets tested positively? In such cases the app would work as a false safety proof.

The delay between meeting someone infected and learning about this fact is IMHO caused by the late entering of the code from the infected person. This is a crucial property of the app; not sure if code entering can be enforced or even automated (once the lab learns someone is positive, it will enter the code). I don't think so as the app does not collect any data identifying the person. On the other hand, late entering of the code is not breaking purpose of this feature only; it's actually breaking purpose of whole the app. So if we believe the application makes sense, then this feature must makes sense.
BTW, my role is not to analyze how to implement the feature, what are the risks or consequences, or which other requirements must be met first. I believe that more involved participants will analyze properly :).

BTW, I'm not an epidemiologist but what I remember... getting infected and going for a test at the very same moment does not mean the test will result to be positive. It will take some time before the infection gets evolved and during all this time the tests will give you false negative results. There is no perfect tool.


Create a top bar in dev/staging mode with some relavant info

For example, when you are in development/staging, knowing which server you are using would be great. It would also be great to have on that bar another info like the time that the request took to process, the DB IP/hostname of the user database and the ruby version.
/cc @xavijam @juanignaciosl

I feel it is more convenient for staging right?

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


[config] Update genisis.blob for SignedTransaction change

09817d3 changed SignedTransaction.

I'm still unable to run Docker containers locally with this change however.

mint.key also needs to be regenerated.


Freeze when retrieving item stolen by a Gum Head

As the title says, I'm not certain if it happens 100% of the time, but if your items are stolen by a gum head enemy, it will drop it normally when killed. The problem is that, when grabbing the stolen item, the game will freeze and Japanese text in an orange color will appear at the bottom of the screen. The game can't be paused and sound stops as well, leaving no other option but to close the game.

Thanks for the report, I'm a bit late in responding but I will look into this. What item was stolen that caused this? I think I have an idea of what is going on.

It's been a while since it happened, but I'm certain it was one of the new
additional items like the gold/silver pipe or the Eileen-healing supplies.
Can't be more precise.
El jue., 18 de mayo de 2023 10:55 p. m., Hunter Stanton <
@.***> escribió:

Thanks for the report, I'm a bit late in responding but I will look into
this. What item was stolen that caused this? I think I have an idea of what
is going on.
—
Reply to this email directly, view it on GitHub
https://github.com/HunterStanton/SilentHill4Randomizer/issues/6#issuecomment-1553930978,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSBXV432EXXVPWWNHOMC3DXG3OLRANCNFSM6AAAAAAWURIXPA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks, that clears it up. I forgot that the Gum Head item stealing game mechanic existed and didn't account for it. The Japanese text you saw says "undefined" or something like that and is the fallback when an item doesn't have any pickup text, and since those items were never in the vanilla game, they don't have any pickup text.
Should be able to add some text to these to fix this very soon. Will close out this issue when it is fixed. Thanks for the report


Add Forex data and continuous LIVE training , validation and trading piece

Please add forex data and live online feed  e.g Interactive Brokers through Backtrader  which has inbuilt backtesting  with connection for live trading and data feeds ( Forex, Stocks, Futures, CFDs, ETF, Options, Commodities , etc )  from interactive brokers .
Continuous Live Market Data Feed from IB ==> Features generation & data procession on the fly ==>
Personae ==> Continuous RL Prediction  or Signal generation ==> Trade long or short through IB ( Timeframes -- 1Min, 5Min, 15Min, 30Min, 1H, 4H, Daily )
You can test using Interactive brokers Demo account

I'm sorry that I was too busy these days, I just started an internship, maybe there are almost no time maintaining this project these days, I will try to do that when this internship end, thank you for your advice!


The text associated with this error code could not be found while launching UWP app using WinAppdriver with appium

Hi,
At times, I am receiving "The text associated with this error code could not be found"  while launching UWP app using appium+winappdriver. Below are the details. Request any help
Appium version: v1.16.0
WinAppdriver version : WinAppDriver version 1.2-RC
Type of app: UWP
Below is the appium server log
2020-06-11 16:11:19:475 - [HTTP] --> POST /wd/hub/session 2020-06-11 16:11:19:476 - [HTTP] {"capabilities":{"firstMatch":[{"platformName":"Windows","appium:deviceName":"WindowsPC","appium:app":".......!App","ms:waitForAppLaunch":10}]},"desiredCapabilities":{"platformName":"Windows","deviceName":"WindowsPC","app":".......!App","ms:waitForAppLaunch":10}} 2020-06-11 16:11:19:476 - [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Windows","deviceName":"WindowsPC","app":".......!App","ms:waitForAppLaunch":10},null,{"firstMatch":[{"platformName":"Windows","appium:deviceName":"WindowsPC","appium:app":".......!App","ms:waitForAppLaunch":10}]}] 2020-06-11 16:11:19:477 - [debug] [BaseDriver] Event 'newSessionRequested' logged at<PHONE_NUMBER>477 (16:11:19 GMT+0530 (India Standard Time)) 2020-06-11 16:11:19:533 - [Appium] Appium v1.16.0 creating new WindowsDriver (v1.8.0) session 2020-06-11 16:11:19:534 - [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: { 2020-06-11 16:11:19:535 - [debug] [BaseDriver]   "platformName": "Windows", 2020-06-11 16:11:19:535 - [debug] [BaseDriver]   "deviceName": "WindowsPC", 2020-06-11 16:11:19:535 - [debug] [BaseDriver]   "app": ".......!App", 2020-06-11 16:11:19:535 - [debug] [BaseDriver]   "waitForAppLaunch": 10 2020-06-11 16:11:19:535 - [debug] [BaseDriver] } 2020-06-11 16:11:19:536 - [BaseDriver] The following capabilities were provided, but are not recognized by Appium: 2020-06-11 16:11:19:536 - [BaseDriver]   waitForAppLaunch 2020-06-11 16:11:19:537 - [BaseDriver] Session created with session id: 69611cd8-75a9-462b-994a-aee52f53d442 2020-06-11 16:11:19:537 - [WinAppDriver] You must use WinAppDriver version 1.2-RC 2020-06-11 16:11:19:538 - [WinAppDriver] Verifying WinAppDriver version 1.2-RC is installed via comparing the checksum. 2020-06-11 16:11:19:542 - [debug] [WinAppDriver] WinAppDriver changed state to 'starting' 2020-06-11 16:11:19:542 - [WinAppDriver] Killing any old WinAppDrivers on same port, running: FOR /F "usebackq tokens=5" %a in (netstat -nao ^| findstr /R /C:"4724 ") do (FOR /F "usebackq" %b in (TASKLIST /FI "PID eq %a" ^| findstr /I winappdriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %a))
2020-06-11 16:11:19:669 - [WinAppDriver] No old WinAppDrivers seemed to exist
2020-06-11 16:11:19:670 - [WinAppDriver] Spawning WinAppDriver with: 4724/wd/hub
2020-06-11 16:11:19:719 - [WinAppDriver] [STDOUT] Windows Application Driver listening for requests at: http://<IP_ADDRESS>:4724/wd/hub
2020-06-11 16:11:19:722 - [debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:4724/wd/hub/status] with no body
2020-06-11 16:11:19:730 - [WinAppDriver] [STDOUT] Press ENTER to exit.
2020-06-11 16:11:19:738 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:739 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:739 - [WinAppDriver] [STDOUT] ==========================================
2020-06-11 16:11:19:739 - [WinAppDriver] [STDOUT] GET /wd/hub/status HTTP/1.1
2020-06-11 16:11:19:739 - [WinAppDriver] [STDOUT] Accept: application/json, /
2020-06-11 16:11:19:740 - [WinAppDriver] [STDOUT] Connection: close
2020-06-11 16:11:19:740 - [WinAppDriver] [STDOUT] Content-Type: application/json; charset=utf-8
2020-06-11 16:11:19:740 - [WinAppDriver] [STDOUT] Host: <IP_ADDRESS>:4724
2020-06-11 16:11:19:740 - [WinAppDriver] [STDOUT] User-Agent: appium
2020-06-11 16:11:19:740 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:740 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:744 - [WinAppDriver] [STDOUT] HTTP/1.1 200 OK
2020-06-11 16:11:19:744 - [WinAppDriver] [STDOUT] Content-Length: 146
2020-06-11 16:11:19:744 - [WinAppDriver] [STDOUT] Content-Type: application/json
2020-06-11 16:11:19:744 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:744 - [WinAppDriver] [STDOUT] {"build":{"revision":"2002","time":"Wed Oct  2 21:08:40 2019","version":"1.2.1910"},"os":{"arch":"amd64","name":"windows","version":"10.0.18362"}}
2020-06-11 16:11:19:745 - [debug] [WD Proxy] Got response with status 200: {"build":{"revision":"2002","time":"Wed Oct  2 21:08:40 2019","version":"1.2.1910"},"os":{"arch":"amd64","name":"windows","version":"10.0.18362"}}
2020-06-11 16:11:19:745 - [WinAppDriver] Status call returned 200. we're online and ready to run tests
2020-06-11 16:11:19:746 - [debug] [WinAppDriver] WinAppDriver changed state to 'online'
2020-06-11 16:11:19:746 - [debug] [WinAppDriver] Starting WinAppDriver session. Will timeout in '20000' ms.
2020-06-11 16:11:19:747 - [debug] [WD Proxy] Matched '/session' to command name 'createSession'
2020-06-11 16:11:19:748 - [debug] [WD Proxy] Proxying [POST /session] to [POST http://<IP_ADDRESS>:4724/wd/hub/session] with body: {"desiredCapabilities":{"platformName":"Windows","deviceName":"WindowsPC","app":".......!App","waitForAppLaunch":10}}
2020-06-11 16:11:19:753 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:754 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:754 - [WinAppDriver] [STDOUT] ==========================================
2020-06-11 16:11:19:754 - [WinAppDriver] [STDOUT] POST /wd/hub/session HTTP/1.1
2020-06-11 16:11:19:754 - [WinAppDriver] [STDOUT] Accept: application/json, /
2020-06-11 16:11:19:755 - [WinAppDriver] [STDOUT] Connection: close
2020-06-11 16:11:19:755 - [WinAppDriver] [STDOUT] Content-Length: 136
2020-06-11 16:11:19:755 - [WinAppDriver] [STDOUT] Content-Type: application/json; charset=utf-8
2020-06-11 16:11:19:755 - [WinAppDriver] [STDOUT] Host: <IP_ADDRESS>:4724
2020-06-11 16:11:19:755 - [WinAppDriver] [STDOUT] User-Agent: appium
2020-06-11 16:11:19:755 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:19:756 - [WinAppDriver] [STDOUT] {"desiredCapabilities":{"platformName":"Windows","deviceName":"WindowsPC","app":".......!App","waitForAppLaunch":10}}
2020-06-11 16:11:34:744 - [WinAppDriver] [STDOUT] HTTP/1.1 500 Internal Error
2020-06-11 16:11:34:745 - [WinAppDriver] [STDOUT] Content-Length: 192
2020-06-11 16:11:34:745 - [WinAppDriver] [STDOUT] Content-Type: application/json
2020-06-11 16:11:34:745 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:34:746 - [WinAppDriver] [STDOUT] {"status":13,"value":{"error":"unknown error","message":"The text associated with this error code could not be found.\r\n\r\nThe text associated with this error code could not be found.\r\n"}}
2020-06-11 16:11:34:753 - [WD Proxy] Got an unexpected response with status 500: {"status":13,"value":{"error":"unknown error","message":"The text associated with this error code could not be found.\r\n\r\nThe text associated with this error code could not be found.\r\n"}}
2020-06-11 16:11:34:757 - [debug] [W3C] Matched W3C error code 'unknown error' to UnknownError
2020-06-11 16:11:34:758 - [WinAppDriver] Could not start WinAppDriver session error = 'An unknown server-side error occurred while processing the command. Original error: The text associated with this error code could not be found.
2020-06-11 16:11:34:759 - [WinAppDriver]
2020-06-11 16:11:34:759 - [WinAppDriver] The text associated with this error code could not be found.
2020-06-11 16:11:34:759 - [WinAppDriver] ', attempt = '1' from 'undefined'
2020-06-11 16:11:35:272 - [debug] [WD Proxy] Matched '/session' to command name 'createSession'
2020-06-11 16:11:35:273 - [debug] [WD Proxy] Proxying [POST /session] to [POST http://<IP_ADDRESS>:4724/wd/hub/session] with body: {"desiredCapabilities":{"platformName":"Windows","deviceName":"WindowsPC","app":".......!App","waitForAppLaunch":10}}
2020-06-11 16:11:35:282 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:35:283 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:35:283 - [WinAppDriver] [STDOUT] ==========================================
2020-06-11 16:11:35:284 - [WinAppDriver] [STDOUT] POST /wd/hub/session HTTP/1.1
2020-06-11 16:11:35:284 - [WinAppDriver] [STDOUT] Accept: application/json, /
2020-06-11 16:11:35:284 - [WinAppDriver] [STDOUT] Connection: close
2020-06-11 16:11:35:285 - [WinAppDriver] [STDOUT] Content-Length: 136
2020-06-11 16:11:35:285 - [WinAppDriver] [STDOUT] Content-Type: application/json; charset=utf-8
2020-06-11 16:11:35:286 - [WinAppDriver] [STDOUT] Host: <IP_ADDRESS>:4724
2020-06-11 16:11:35:286 - [WinAppDriver] [STDOUT] User-Agent: appium
2020-06-11 16:11:35:286 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:35:287 - [WinAppDriver] [STDOUT] {"desiredCapabilities":{"platformName":"Windows","deviceName":"WindowsPC","app":".......!App","waitForAppLaunch":10}}
2020-06-11 16:11:47:156 - [WinAppDriver] [STDOUT] HTTP/1.1 500 Internal Error
2020-06-11 16:11:47:157 - [WinAppDriver] [STDOUT] Content-Length: 192
2020-06-11 16:11:47:157 - [WinAppDriver] [STDOUT] Content-Type: application/json
2020-06-11 16:11:47:158 - [WinAppDriver] [STDOUT]
2020-06-11 16:11:47:158 - [WinAppDriver] [STDOUT] {"status":13,"value":{"error":"unknown error","message":"The text associated with this error code could not be found.\r\n\r\nThe text associated with this error code could not be found.\r\n"}}
2020-06-11 16:11:47:160 - [WD Proxy] Got an unexpected response with status 500: {"status":13,"value":{"error":"unknown error","message":"The text associated with this error code could not be found.\r\n\r\nThe text associated with this error code could not be found.\r\n"}}
2020-06-11 16:11:47:161 - [debug] [W3C] Matched W3C error code 'unknown error' to UnknownError
2020-06-11 16:11:47:161 - [WinAppDriver] Could not start WinAppDriver session error = 'An unknown server-side error occurred while processing the command. Original error: The text associated with this error code could not be found.
2020-06-11 16:11:47:161 - [WinAppDriver]
2020-06-11 16:11:47:161 - [WinAppDriver] The text associated with this error code could not be found.
2020-06-11 16:11:47:162 - [WinAppDriver] ', attempt = '2' from 'undefined'
2020-06-11 16:11:47:162 - [debug] [WinAppDriver] timeoutError was Condition unmet after 27416 ms. Timing out.
2020-06-11 16:11:47:162 - [debug] [WinAppDriver] Deleting WinAppDriver session
2020-06-11 16:11:47:164 - [debug] [BaseDriver] Event 'newSessionStarted' logged at<PHONE_NUMBER>164 (16:11:47 GMT+0530 (India Standard Time))
2020-06-11 16:11:47:273 - [debug] [W3C] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: The text associated with this error code could not be found.
2020-06-11 16:11:47:274 - [debug] [W3C]
2020-06-11 16:11:47:274 - [debug] [W3C] The text associated with this error code could not be found.
2020-06-11 16:11:47:274 - [debug] [W3C]
2020-06-11 16:11:47:274 - [debug] [W3C]     at errorFromW3CJsonCode (C:\Users\rkanakachalam\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:780:25)
2020-06-11 16:11:47:275 - [debug] [W3C]     at ProxyRequestError.getActualError (C:\Users\rkanakachalam\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:663:14)
2020-06-11 16:11:47:275 - [debug] [W3C]     at JWProxy.command (C:\Users\rkanakachalam\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:268:19)
2020-06-11 16:11:47:279 - [HTTP] <-- POST /wd/hub/session 500 27801 ms - 1024
2020-06-11 16:11:47:279 - [HTTP] `

Appreciate any help

We're you able to solve this?

Can you share the code? For me it appears like a timing issue.

No the OP but I'm running into this issue as well. It occurs if I add any appArguments to the session. If I comment out the line adding the additional capability for appArguments, it works. I believe I've included all relevant info below:
UnitTest.cs
var options = new AppiumOptions();
options.AddAdditionalCapability("app", "d7a79968-15e7-4af8-a4e8-653aca4fee24_vg8b7pdx2916g!App");
options.AddAdditionalCapability("appArguments", "authtest");
var session = new WindowsDriver<WindowsElement>(new Uri("http://<IP_ADDRESS>:4723"), options);
Assert.IsNotNull(session, "Session is null");
var signinButton = session.FindElementByAccessibilityId("SignInButton");
Assert.IsNotNull(signinButton, "SignIn MIssing");

Logs
==========================================
POST /session HTTP/1.1
Accept: application/json, image/png
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 198
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:4723
User-Agent: selenium/3.141.0 (.net windows)

{"desiredCapabilities":{"app":"d7a79968-15e7-4af8-a4e8-653aca4fee24_vg8b7pdx2916g!App","appArguments":"authtest","platformName":"Windows"},"capabilities":{"firstMatch":[{"platformName":"Windows"}]}}
HTTP/1.1 500 Internal Error
Content-Length: 192
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"The text associated with this error code could not be found.\r\n\r\nThe text associated with this error code could not be found.\r\n"}}

Unit Test Error
 Message:
    Test method TestUnitTest.UnitTest1.TestMethod1 threw exception:
    OpenQA.Selenium.WebDriverException: The text associated with this error code could not be found.

    The text associated with this error code could not be found.

  Stack Trace:
    RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
    RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
    RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
    RemoteWebDriver.ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
    AppiumDriver`1.ctor(Uri remoteAddress, ICapabilities appiumOptions)
    UnitTest1.TestMethod1()

And what does this app arguments authtest do, have you tried running the application with Process.Start and then creating a session with the opened window.

I'm trying to pass a string (authtest) to the UWP app I'm testing using appArguments like mentioned in the Authoring Your Own Test Script (https://github.com/microsoft/WinAppDriver/blob/master/Docs/AuthoringTestScripts.md).
I am running the tests using Visual Studio's Test Explorer by clicking on the button "Run all Tests In View".
If I remove the line attempting to add the appArguments to the AppiumOptions, everything works as I would expect (the app launches and the tests actually run) but when I add that line, the tests aren't able to init a session and the error that's thrown is the one I posted above.
I appreciate the help and please let me know if I can provide any other information.

im getting  the same issue, anyone have resolved this?>


23 restructure and update codebase

Close PR since there are changes and issues that needs to be cleaned up.


Added support for listening to notifications

It seems there is very little in the way of exposing Postgres asynchronous notifications (https://www.postgresql.org/docs/9.3/libpq-notify.html) via the client. This allows a consumer to be configured which is called each time a NotificationResponse is received. This allows r2dbc users to take advantage of basic pub/sub functionality via the Postgres LISTEN/NOTIFY mechanism (see tests for examples).
In terms of the API I'm not sure whether a Consumer is preferable or if it would be better to expose a Flux directly.

Sorry for the long radio silence. It took us a while to sort out a few issues in the R2DBC project.
With r2dbc/r2dbc-spi#35 we're envisioning a standardized approach for event providers (such as connection events or Pub/Sub notifications). It would make sense to expose Flux<Notification> that multicasts events via DirectProcessor or a similar processor to subscribers.
What do you think? As this PR is here for quite some time, we should rebase it if the suggestion above makes sense.

Thanks a lot. That's merged and polished now.


Add --print-only flag

Copy of #66 by @lverma14 that I accidentally closed.
It can't be reopened because its base branch doesn't exist anymore.
Original PR message follows.

Functionality to print the changed code to stdout. Doesn't modify the actual code.
Current gopatch -p functionality completely modifies the target file and
outputs nothing to the command line. There is no option which could show us what the
modified code after applying the patch would look like which also doesn't actually modify the code.
This pull request extends gopatch to display changed code to stdout. This would give more
context and can be used for integrating gopatch into arclint.
Now call to --print-only flag is associated with printing out the modified code to stdout,
if the is patch applied. It also prints the description comments from the applied patch to the stderr.
Components Changed:
main.go: added --print-onlyflag and its functionality

Codecov Report

Merging #70 (a7dd485) into main (569b20d) will decrease coverage by 0.03%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
- Coverage   86.54%   86.51%   -0.04%
==========================================
  Files          38       38
  Lines        2051     2061      +10
==========================================
+ Hits         1775     1783       +8
- Misses        221      222       +1
- Partials       55       56       +1

Impacted Files
Coverage Δ

main.go
65.92% <84.61%> (+0.83%)
:arrow_up:

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

LGTM


Cannot debug non-trivial .NET Core solution with Visual Studio Code extension

Describe the bug
I am able to debug a simple .NET core application, created with dotnet new web, however debugging does not start successfully for a more complex solution structure.
Since the tooling cannot automatically generate all the relevant configuration files for the solution, I have copied missing files from a working example and manually updated everything. I did manage to get something working with this strategy ~6months ago, but I'm not having any luck now. I wouldn't be surprised if I've missed something and there's a value in a file that's not quite right, but I can't see any significant differences between them, I'm pretty sure the prelauch task that's failing is exactly the same.
Running azds up manually, without the flags used for the persistent debugging connection, works just fine for both applications.
To Reproduce

Clone the repo at https://github.com/acrees/azds-issue-repo
Open in VS Code
Attempt to start debugging with the '.NET Core Launch (AZDS)' task

This causes a popup stating "The preLaunchTask azds: prelaunch' terminated with exit code 1.". The terminal shows:
> Executing task: C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI\azds.exe up --await-exec --keep-alive <

Could not locate an applicable session to keep ports and file synchronization alive. If calling from a tool with built-in support for Azure Dev Spaces, restart the tool.
The terminal process terminated with exit code: 1

I've attempted restarting VS Code and my entire machine several times, and uninstalling and reinstalling everything: the extension, cli and AZDS controller and nothing has caused any change in behaviour.
Logs
azds-cli-2020-01-24-16-53-26-3868.txt
azds-sdk-2020-01-24-16-53-26-3868.txt
Environment Details
AZDS CLI version: 1.0.20200116.7
AZDS API version: 3.2
VS Code extension version: 2.0.220200113
Operating System: Windows 10 build 17763

@dakanev-msft Some more guidance on this would be helpful with respect to how to set things up using vs code workspaces.   Admittedly, from what I can find the vscodes workspace documentation is lacking.
I too am trying to figure out how to best organize my project taking into account that I have a number of projects which have dependencies on other projects and also have dependencies on a number of proto files that are up the file hierarchy that aren't in a project but are being linked in with the proto compiler.
I am not sure how to organize everything so that the dockerfiles will build for azds, Visual Studio opens my solution fine and and currently I am able to deploy to docker desktop but am now working on getting it to kubernetes.
Also, it would be great to have some clarity how one deploys multiple projects because the documentation seems to indicate that you should do that one by one, which would be tedious with more than than the two services that the azds example shows.  There is a one-liner stating that deployment for multiple projects is done the same was as production.  My production helm chart currently uses dockerfiles from ACR, which doesn't seem right for Dev Spaces.

@clintsinger Yes, as you saw in the BikeSharingApp, by default we expect each microservice project to be in a specific folder. You can bypass this by updating the files we generate to match your solution's structure (cf. comments in a previous issue: https://github.com/Azure/dev-spaces/issues/120#issuecomment-518413765 and https://github.com/Azure/dev-spaces/issues/120#issuecomment-513506747).
That said, I also logged a work item on our side to document this and determine if we can do any better here. I'll update this issue once we release this documentation.

@clintsinger We added a new entry into our documentation about this: https://docs.microsoft.com/en-us/azure/dev-spaces/faq#can-i-use-azure-dev-spaces-with-multiple-microservices-in-an-application
That said, more work is needed on our side to provide a better experience in VS Code. As of today, Visual Studio is able to prepare .NET Core solutions for Dev Spaces (thus taking into account projects dependencies), but VS Code isn't.
Because VS Code doesn't have this concept of solutions, we need to determine how to make this work with the workspace paradigm.
In the meantime, if you're able to deploy your solution from Visual Studio, you should be able to make it work in VS Code as well by reusing the files (Dockerfile, Dockerfile.develop, etc.) created for you by Visual Studio when preparing it for Dev Spaces.
Specifically, you should only have to:

Open the startup project in VS Code.
Validate that it contains the Dev Spaces required files (azds.yaml, Dockerfile, Dockerfile.develop, etc.) created by Visual Studio.
Make sure that the files were generated by Visual Studio for the whole solution and not only for this project. An easy way to check this is to look at the Dockerfile and check if all dependencies are copied, and not only this project (COPY ["OtherLibrary/OtherLibrary.csproj", "OtherLibrary/"]).
Make sure that you have the Dev Spaces launch configuration in your launch.json (named .NET Core Launch (AZDS)).
Update the launch configuration to match your solution's files architecture. In my case, I only had to update the cwd and program fields so that they contained the name of the startup project:

{
    ...
    "cwd": "/src/NAME_OF_THE_STARTUP_PROJECT/",
    "program": "/src/NAME_OF_THE_STARTUP_PROJECT/bin/Debug/netcoreapp3.1/NAME_OF_THE_STARTUP_PROJECT.dll",
    "sourceFileMap": {
        "/src": "${workspaceFolder}/.."
    }
}

Open other dependencies project as a workspace in VS Code.
Debug using the Dev Spaces launch configuration.

I'll try to create a sample solution and push it on GitHub next week so that you can see a live example.


Added the remainder of the NY Delegation

Why close the PR? Looks like it's merge-worthy!

Had to do some command-line conflict resolution to get it merged

Sorry about that! I was going to work through the merge conflict today, but it looks like you beat me to it! Thanks!


Support sdks v1.0

Fixes an issue with getMembers on channel always returning undefined.

Implement  getUserDescriptor and getAndSubscribeUser on android

probably submit a PR to @svlaev fork, so we can review there

@Kabangi is this code working? I'm getting fatal error: 'TwilioChatClient/TCHUserInfo.h' file not found and I'm not sure which fork to use to get this working. I've installed both the Chat and AccessManager SDK's manually and ran react-native link react-native-twilio-chat

@zachrnolan make sure you're using latest TwilioChat SDK in your podfile:
  pod 'TwilioChatClient', '~> 1.0.7'
  pod 'TwilioAccessManager', '~> 0.1.3'

@zachrnolan  Sorry I missed your question, probably use my fork. Am using it on an app and it's working fine. Make sure to use #support-sdks-v1.0 if you decide to

@Kabangi Thanks for the response. I ended up using the twilio-chat npm package (which now supports React Native), so no longer needing to use the native SDKs.

@zachrnolan I would really love to hear your experience with twilio-chat

@Kabangi I also have experience with twilio-chat. The app is still in development. So far so good. I had some problems with the push notifications. I wrote to the Twilio ppl and they fixed the issue in the latest JS SDK. Haven't checked if pushes work yet, but I believe they should.
Twilio even released an example app with RN integration to help us.
If you have any issues - write them. They are always open for feedback.
Good luck!

@Kabangi It's working great so far. I'm not using push notifications, so not sure about that. I'm planning on writing a blog post soon about integrating it with RN. I'll keep you updated.

@svlaev I'm starting to integrate pushes into our twilio-chat and also
having issues. What were the problems you ran into and which version is
supposed to fix them?
On Sep 18, 2017 2:19 AM, "svlaev"<EMAIL_ADDRESS>wrote:
@Kabangi https://github.com/kabangi I also have experience with
twilio-chat. The app is still in development. So far so good. I had some
problems with the push notifications. I wrote to the Twilio ppl and they
fixed the issue in the latest JS SDK. Haven't checked if pushes work yet,
but I believe they should.
Twilio even released an example app with RN integration to help us.
If you have any issues - write them. They are always open for feedback.
Good luck!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ccm-innovation/react-native-twilio-chat/pull/31#issuecomment-330167227,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGtW_Pq7EHbto---UkklU4WuBKd2VBkFks5sjjWtgaJpZM4N6e0x
.

@marneborn IIRC it happened on version 1.0.4. I was passing the push token to the sdk, but when I tried to send a push, I got "Invalid credential SID" error in the twilio console debugger. Versions > 1.1.0 should work fine.
P.S. Keep an eye on the changelog here: https://www.twilio.com/docs/api/chat/changelogs/javascript
Good luck!


Error: Exception: Error: Unauthorized

I am getting Error: Exception: Error: Unauthorized after I enter my login information. Microsoft login says it's successful, but I am getting userId = null.
Error: Exception: Error: Unauthorized dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49  throw_ packages/auth0_flutter2/auth0_flutter2.dart 122:7                             handleWebLoginCallback dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 60:31            <fn> dart-sdk/lib/async/zone.dart 1658:54                                          runBinary dart-sdk/lib/async/future_impl.dart 162:22                                    handleError dart-sdk/lib/async/future_impl.dart 778:46                                    handleError dart-sdk/lib/async/future_impl.dart 799:13                                    _propagateToListeners dart-sdk/lib/async/future_impl.dart 574:5                                     [_completeError] dart-sdk/lib/async/future_impl.dart 665:7                                     callback dart-sdk/lib/async/schedule_microtask.dart 40:11                              _microtaskLoop dart-sdk/lib/async/schedule_microtask.dart 49:5                               _startMicrotaskLoop dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15           <fn>

Make sure that the application you created in the auth0 panel is a web app type. Native won't work with the web.


Export content

User input
Export content - Can we export content from the "Categorization Page"? Not all wastes or risks are equal. Items identified often require a more detailed evaluation. It would be helpful to be able to export the content into an excel sheet (so it could be copied into a template such as a waste worksheet, evaluation form, a fishbone analysis, FMEA template or a Heatmap).
Sharepoint list ID
136
User
Heidi Rae Maier Sagstad

Relates to #300 and #204 .

Maybe we could look at showing processes using these templates within Flyt?


Add bash completions

This will complete started commands and provide a list of possible commands and options.
Closes https://github.com/openSUSE/sdbootutil/issues/61
Unfortunately, we can't access the available snapshots, so the user still has to know which ones are available on his system. Equally, we can't enter snapshots to find kernel versions, so we recommend only the currently installed kernels.

I'd probably add a hidden function to sdbootutil that can be eval'd from the completion script to avoid duplicating all that code

I'd probably add a hidden function to sdbootutil that can be eval'd from the completion script to avoid duplicating all that code

I've looked a bit into how bash completion works and it seems like the bash completion has to happen in the same shell context. So I can A) source the sdbootutil script, but that would execute the functions that might fail as the bash completion can be called as non-super user
B) call a function in sdbootutil where I echo the recommendations, but that would also not be a nice solution
C) Create two functions in sdbootutil that are callable that return the architecture/image name and kernels in the current snapshot.
Or do you have a different idea?
I agree that the code duplication isn't nice

something like eval $(sdbootutil _print_bash_completion_data)

something like eval $(sdbootutil _print_bash_completion_data)

I've tried to implement this. I couldn't test it yet though, but please tell me if this is what you had in mind :)
The code also isn't nice yet, it's just thought as a concept currently :)

@aplanas can you have a look at this one please? :)

@TobiPeterG the PR is looking good. Give me some time to test it a bit

Should I just rebase or do you have any issues with the functionality/code that I should fix with a rebase?

Yes please, do a rebase. But I need to research a bit more. I found a good reference

Now depends on #172
I have refactored this PR and split it into multiple commits. Please have a look :)

To also support snapshots as completion, it would be the easiest to add a new option "--snapshot" that I can check for i nthe completion script. Otherwise it's impossible to know if the user wants to add an option or a snapshot number and I don't want to show both in one list.

Rebased :)
I added the "_none" function when no completion is useful.


problem with messages in node.send

If you use node.send from inside a function node, it doesn't seem to copy the emitted msg properly.
In the flow below, you get 1, then 9 10s, rather than the ascending numbers.
If you take the delay node out, it works fine, so it's something about references to objects rather than copies of objects, I suspect.
I can work around it with node.send({payload: i}), but I'd prefer not to.
[{"id":"3935632e.f2d07c","type":"inject","z":"3eed488a.dd7fc","name":"go","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":130,"y":180,"wires":[["2642f404.f305ac"]]},{"id":"2642f404.f305ac","type":"function","z":"3eed488a.dd7fc","name":"cycle","func":"for (var i=1; i<=10; i++)\n{\n    msg.payload = i;\n    node.send(msg);\n}\n","outputs":1,"noerr":0,"x":310,"y":180,"wires":[["6a81f90e.931578"]]},{"id":"6a81f90e.931578","type":"delay","z":"3eed488a.dd7fc","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"2","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":450,"y":240,"wires":[["fb0663e4.764f08"]]},{"id":"fb0663e4.764f08","type":"debug","z":"3eed488a.dd7fc","name":"","active":true,"console":"false","complete":"false","x":530,"y":300,"wires":[]}]

If you are sending the same message object repeatedly this is what you get.
If you want to reuse the message object multiple times you are responsible for cloning it with:
var newMessage = RED.utils.cloneMessage(msg);

Will update the docs to make this clearer.

but if you take out the delay node, it works fine - you get the 1-10 values as expected. So it seems odd you get different behaviour when you add an extra node later

no, the message that flows down stream is normally the same message and can be updated by anything that holds a reference.

that as may be, but users wouldn't have any reason to be aware of that... is there anywhere else that this might be observed?

We can discuss what behaviour is expected or otherwise, but here are the facts of the current behaviour which explains what you observe.

the runtime tries to avoid cloning messages where possible as it is an expensive operation. If a node calls send with a single message object and is wired to just one other node, it will skip automatically cloning the message as, in theory, there is only the single copy to worry about.

the runtime has no way of knowing that a subsequent call to send is with a reused message object.

the message passing is 'depth-first' up to the point an async operation is encountered.

in a flow consisting of Inject -> Function -> Debug, the call to send(msg) from the Function node triggers the Debug node which displays the message. The call stack then unwinds and allows the Function node to make its next call to send. Because the original msg has already been dealt with by the Debug node, the fact the msg has been modified is not noticed.

In a flow consisting of Inject -> Function -> Delay -> Debug, the Delay node contains an async action. This means the Function node is able to make multiple calls to send - queuing up all of its messages at the Delay node. They then, asynchronously, arrive at the Debug node where you discover what your thought were multiple individual messages were in fact multiple references to the same message object.

So what do we do about it?
We've always said that a node is responsible for cloning a message object if they intend to reuse it multiple times. That is something that is probably more explicit in the nodes we publish than in the docs (which is why I marked this as a docs issue in my original response).
That said, it will be an uphill struggle to explain this nuance of message passing to all users - especially those who don't read the docs.
In summary:

we avoid cloning in order to improve performance on the most common flow case (one node, one message, one recipient).
users who have wanted to implement the edge case of sending multiple messages (and reuse the object) have either diligently cloned their message or not.
if we add cloning to all messages it will penalise all users - and those that have been diligent doubly so as their code will clone the message and then so will ours.

In conclusion:

🤔

thank you for that detailed explanation :) IMHO, FWIW, not many people use node.send, and I would posit that those that do would expect the behaviour that I did, i.e. that distinct messages would be emitted.
So I think if you cloned the message on node.send it would only impact performance for people who use node.send, would avoid having to explain quite a subtle nuance of NR internals, and would make it behave (I argue) "as expected".
For the case where there is only one following node (e.g. a debug), the optimisation of not cloning the message then is fine (for the reason you explained).
For people who have gone to the trouble of creating a new message object first (and that really wouldn't have occurred to me, even though it's what I implicitly did when I did node.send({payload: i}) ), then I would argue it's a small hit.

another thought ... is there any way for an async node like delay to notice that it's getting repeated pointers to the same message object, and take steps to clone them itself in that situation, so the queue is full of unique objects rather than repeated pointers to the same object?
I think I'd prefer to see the function node do it in a way which gives the intended outcome rather than rely on all implementors of async nodes to do something special on their side, though.

I wonder how many contrib-nodes are out there which are not aware of this issue....

Maybe i'm a bit late in thid discusion, but @andysc i dont agree with you that the cloning sould be done inside node.send () sorry. I use it sometime with new created messages. With your request that would mean it will always be cloned. An other issue i can think of is that you want to modify the received msg for other nodes to get as well.
The best way, as suggested earlier is to clone the msg yourself when you need that.
Or at least create a second function in node the node object like clonedsend() or something like that.

I kind of can see it both ways...
On the one hand - In a typical function you just return msg; at the end, and that will do it without cloning, and you can return and array of an array of msgs if you want to return multiple messages. If you "have to" also do a node.send( within a function then that is either an extra send or as it's part of an async action, in which cases it's "safer" (for all the user assumptions mentioned) to clone it anyway.
On the other hand having an explicit node.sendClone() function would be clear, and wouldn't change existing behaviour - but users would need to know to use it.

my biggest worry is the unintended consequences... i.e unexpectedly your code doesn't work as expected (like I saw when I inserted a delay node before the debug node). That doesn't seem to be the Node-RED way to me

On a related note I guess one should not expect objects handed out to output nodes to remain intact.
We used to inadvertently expect that, but something in the mqtt-out node or downstream seems to JSON.stringify the payload of the handed-out MQTT message in-place.
Plase note I am no saying this is a bug in Node-RED or MQTT.js: I think when handed over a message does not belong to the user anymore.
So again: users should make copies of messages after sending if they need them!

For very small cases in scope, that are important, sending a copy of the msg object is actually the key.
node.send(Object.assign({},msg)); actually works fine, just try not to overdo it.

@styltsars96 we do provide RED.utils.cloneMessage(msg) for this purpose. It deals with the edge case where the HTTP In/Response nodes are involved as they send the msg.req and msg.res properties that are not cloneable.

@knolleary It is not exposed to function nodes however. The way I understood it, RED.utils.cloneMessage(msg)  is only good when we create new nodes.
Do I need to add the require('node-red'); in the function global context, through the settings.js to expose it to functions? Or is there a simpler way that eludes me? It could be usefull in the future.
The solution I posted works for the stuff I'm currently working on however.
Thanks, anyway!

@styltsars96 apologies for the typo - RED.util.cloneMessage(msg) (not utils) is certainly available to the Function node.

@knolleary Thank you, just tried it, and it does work. Since it clones internal objects like res and req, I will be using this from now on.

Since 1.0, node.send will clone all messages it is given - which I think eliminates the original issue being discussed.


Image: cannot be displayed because it contains errors

Hi,
I've been playing around with the wrapper, and encountered a slight problem with the image creation part.
I've tried to use different types for input, filename, HTML string and URL. None seemed to be working.
When i execute the file it loads but the image can not be displayed & the saved image is corrupt.
Please find code below.
`<?php
require DIR . '/vendor/autoload.php';
use mikehaertl\wkhtmlto\Image;
// You can pass a filename, a HTML string, an URL or an options array to the constructor
$image = new Image('index.html');
$image->binary = '/usr/local/bin/wkhtmltopdf';
if (!$image->saveAs('page.png')) {
echo $image->getError();
}
// ... or send to client for inline display
$image->send();
// ... or send to client as file download
$image->send('page.png');
?>`
Kind regards,
Bart

@mikehaertl
My bad used the wrong binary:
$image->binary = '/usr/local/bin/wkhtmltopdf';
instead of:
$image->binary = '/usr/local/bin/wkhtmltoimage';


Filtering based on an array projection filters out records where the array is null

Using this data on a MongoDB mount:
{ "a": 1, "b": { "ba": true, "bb": ["x", false, { "foo": "bar" }], "bc": 0.5 }, "c": [] }
{ "a": 2, "b": { "ba": false, "bb": ["y", true, { "foo": "baz" }], "bc": 60 }, "c": [true, false, "maybe"] }
{ "a": 3, "b": { "ba": true, "bb": ["z", { "foo": "quux" }] }, "c": null }

With this query:
SELECT t.* FROM `/test/structure_test.json` AS t WHERE t.c[0] != true

Results in:
[
{ "value": { "_id": { "$oid": "58f7fa86be6ea60adc03ee5a" }, "a": 1, "b": { "ba": true, "bb": [ "x", false, { "foo": "bar" } ], "bc": 0.5 }, "c": [] } }
]

This may be intentional, but if so it makes it would seem that the statement I was trying to make with the query is unrepresentable, as attempting to guard based on type before checking the index fails totally:
{
  "error": {
    "status": "Unable to compile to JavaScript.",
    "detail": {
      "message": "Operation/value could not be compiled to JavaScript: Timestamp(1901-12-13T20:45:52Z, 0)",
      "value": "Timestamp(1901-12-13T20:45:52Z, 0)",
      "logicalplan": {
        "type": "LogicalPlan/Let",
        "label": "'__tmp0",
        "children": [
          {
            "type": "LogicalPlan/Let",
            "label": "'__tmp1",
            "children": [
              {
                "type": "LogicalPlan/Read",
                "label": "/test/structure_test.json"
              },
              {
                "type": "LogicalPlan/Typecheck",
                "label": "Obj(Map[], Some(Top))",
                "children": [
                  {
                    "type": "LogicalPlan/Free",
                    "label": "'__tmp1"
                  },
                  {
                    "type": "LogicalPlan/Free",
                    "label": "'__tmp1"
                  },
                  {
                    "type": "LogicalPlan/Constant",
                    "label": "NA"
                  }
                ]
              }
            ]
          },
          {
            "type": "LogicalPlan/Invoke",
            "label": "Squash",
            "children": [
              {
                "type": "LogicalPlan/Invoke",
                "label": "Filter",
                "children": [
                  {
                    "type": "LogicalPlan/Free",
                    "label": "'__tmp0"
                  },
                  {
                    "type": "LogicalPlan/Invoke",
                    "label": "Or",
                    "children": [
                      {
                        "type": "LogicalPlan/Invoke",
                        "label": "Neq",
                        "children": [
                          {
                            "type": "LogicalPlan/Invoke",
                            "label": "unknown function: Returns the simple type of a value.",
                            "children": [
                              {
                                "type": "LogicalPlan/ObjectProject",
                                "label": "'__tmp0{\"c\"}"
                              }
                            ]
                          },
                          {
                            "type": "LogicalPlan/Constant/Str",
                            "label": "\"array\""
                          }
                        ]
                      },
                      {
                        "type": "LogicalPlan/Let",
                        "label": "'__tmp2",
                        "children": [
                          {
                            "type": "LogicalPlan/ObjectProject",
                            "label": "'__tmp0{\"c\"}"
                          },
                          {
                            "type": "LogicalPlan/Typecheck",
                            "label": "FlexArr(0, None, Top)",
                            "children": [
                              {
                                "type": "LogicalPlan/Free",
                                "label": "'__tmp2"
                              },
                              {
                                "type": "LogicalPlan/Invoke",
                                "label": "Neq",
                                "children": [
                                  {
                                    "type": "LogicalPlan/Invoke",
                                    "label": "ArrayProject",
                                    "children": [
                                      {
                                        "type": "LogicalPlan/Free",
                                        "label": "'__tmp2"
                                      },
                                      {
                                        "type": "LogicalPlan/Constant",
                                        "label": "Int(0)"
                                      }
                                    ]
                                  },
                                  {
                                    "type": "LogicalPlan/Constant",
                                    "label": "Bool(true)"
                                  }
                                ]
                              },
                              {
                                "type": "LogicalPlan/Constant",
                                "label": "NA"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

So, first, I’d expect zero results from that query. [][0] should be undefined, and equality on undefined values is undefined. null[0] is also undefined[†], so that part is behaving correctly.
“attempting to guard based on type before checking the index fails totally” – what query did you try for this?
It sounds like you want heterogeneous equality, which both MRA and SQL don’t support, but more limitedly, the logical operators do treat undefined values as false. E.g., you should be able to write where t.c[0] != true | t.c = null, and even though the first condition is undefined, it’s canceled by the second being true. Not that this helps you with values of other types, but at least it’ll handle nulls.
[†]: null is a bit tricky. In MRA, null is just unit, but in SQL it has crazy semantics (like everything in SQL). I think we currently err on the side of treating it as a normal value (like unit), but we should try to match SQL semantics.

So, first, I’d expect zero results from that query.

So there's a different bug than the one I reported here then too? :smile:

what query did you try for this?

Oops, thought I'd included it:
SELECT t.* FROM `/test/structure_test.json` AS t WHERE TYPE_OF(t.c) != "array" OR t.c[0] != true

Seems to be an issue relating to exceeding SQL-2 current capabilities - Please re-home under suitable epic, if this is incorrect @sellout


changed line 56 by adding do before not

changed line 56 by adding do before not

@thaJeztah please have a look at this PR


Fix spelling mistake

@DLu sorry for the long delay. Would you mind cherry-picking https://github.com/ros/class_loader/commit/ca8e8fc9d6efc9ac060493bd4ae519e66d864d2a instead? It helps keeping all backport PRs linked to the original one (through the commit message).

Done


Enable focus shift into modal dialogs when using VoiceOver on iOS

Summary
This resolves an issue that occurred where the virtual indicator in VoiceOver on iOS was not being shifted into the modal dialog correctly when the modal was opened.  Prior to this PR, we had shifted focus to the div with the aria-modal="true" on it. This worked well with other screen readers but doesn't appear to work with VoiceOver on iOS. Prior to this behavior we had been using focus-trap-react which uses tabbable to shift focus to the first interactive element within the modal.
The fix in this PR re-introduces behavior from focus-trap-react via tabbable where the first interactive DOM element inside the modal will receive focus when the modal is open.
In the case that there is no interactive content within the modal, it will fallback to reading screen reader help text that indicates the beginning of the modal dialog.
Resolves #736
Deployment URLs:

https://terra-framework-deploye-pr-771.herokuapp.com/#/components/terra-abstract-modal/abstract-modal/abstract-modal
https://terra-framework-deploye-pr-771.herokuapp.com/#/tests/terra-abstract-modal/abstract-modal/abstract-modal-content-overflow
https://terra-framework-deploye-pr-771.herokuapp.com/#/components/terra-application-layout/application-layout/example

Functional verification completed. The modal dialog examples display and function as expected. Focus moves into dialogs correctly on mobile and screen readers will now read the full content of alert modals.


Add a title above the wife image

Add a title above the wife photo saying "XYZ, your future wife is" which will make it more dynamic and cool.
For eg., if my input is Raju, then it will say "Raju, your future wife is"

Kindly assign it under GSSOC and hacktoberfest. Thank you

great, I think you should go ahead and implement the point  2 first and open another issue for point 1 : )

Okay on it. Kindly assign under GSSOC and hacktoberfest

you can assign that task to me under gsso-ext and Hacktoberfest label..

Hey @1Shubham7 , it is done and I will send the PR in a while. Assign it under GSSOC-ext and hacktoberfest.
and @SaanyaGarg5 , this issue has already been assigned to me, so you can create your own issue or you can work on other issue which has not been assigned to anyone yet :)

change the issue name and discription to be about about adding that title, you can add another PR for other stuff : )

Done :)

Hey @1Shubham7 , Please add the label of specifically gssoc-ext, hacktoberfest-accepted, hacktoberfest in the issue also.. otherwise it will not be counted :)


Factorial function seems to not work

I can't refer the variable result that's definitely in scope for the function for some reason.
Also, Looking at the source code, the code is actually different than the one shown here.

Thanks for reporting this. Why are you trying to subtract result here? When expanding the function call for factorial(3) and factorial(4) on paper what will your solution yield?

def factorial(n: Int): Int =
if (n == 1) n
else factorial(n - 1) * n
factorial(3) shouldBe 6
factorial(4) shouldBe 24
this is not working as is coming back with error ERROR -> not found: value n at [224, 224, 224]
I run the code in my IDE and is working buty in your test n is not recognised.

def factorial(n: Int): Int =
if (n == 1) n
else factorial(n - 1) * n
factorial(3) shouldBe 6
factorial(4) shouldBe 24
this is not working as is coming back with error ERROR -> not found: value n at [224, 224, 224]
I run the code in my IDE and is working buty in your test n is not recognised.

this answer should also be accepted

Error related to dependency was shown whatever I put in the answer box in this Function Loops tutorial page.
Evaluation failed : Unresolved Dependency : Error downloading org.scala-exercises:exercises-scalatutorial_2.13:0.6.0-SNAPSHOT not found: /app/.ivy2/local/org.scala-exercises/exercises-scalatutorial_2.13/0.6.0-SNAPSHOT/ivys/ivy.xml not found: https://repo1.maven.org/maven2/org/scala-exercises/exercises-scalatutorial_2.13/0.6.0-SNAPSHOT/exercises-scalatutorial_2.13-0.6.0-SNAPSHOT.pom not found: https://oss.sonatype.org/content/repositories/releases/org/scala-exercises/exercises-scalatutorial_2.13/0.6.0-SNAPSHOT/exercises-scalatutorial_2.13-0.6.0-SNAPSHOT.pom not found: https://oss.sonatype.org/content/repositories/snapshots/org/scala-exercises/exercises-scalatutorial_2.13/0.6.0-SNAPSHOT/exercises-scalatutorial_2.13-0.6.0-SNAPSHOT.pom


Add Mobile Field with Opt In Language for Petition Signing

On the sign petition form

[ ] Add phone number field (where it is not required in order to sign a petition)

[ ] When values are added in that phone number field -> show checkbox with mobile opt in language

When number is provided and opt in box is checked

[ ] Post to AK for sms_subscribed (sky will handle this in mop)
[ ] Post to revere api to get immediate text

[ ] Deploy a/b test - 50% of folks to see the phone field/checkbox  & 50% of folks to see current form

Context from @schuyler1d - work will be happening here:

src/containers/signature-add-form.js
test/components/signature-add-form.js
src/components/theme-giraffe/signature-add-form.js

Comps here: https://github.com/MoveOnOrg/mop-frontend/issues/511

personal feedback from the comps: "Mobile Opt-in" isn't quite clear that it's a phone number field.  Maybe "Mobile Phone (optional)" or at least placeholder text of the form (xxx-xxx-xxxx or<PHONE_NUMBER>).
Not sure we can do this, but at least when someone starts entering their number, maybe it auto-checks the optin box?

@schuyler1d  talked to Mark and we're using 'Mobile' from now on across the site (it was updated in our wp sites)
Currently, the opt in language appears after someone starts typing in mobile. I'm down for a placeholder and down for it starting as checked.

Noting though - on the comps, I've made the decision to keep the opt in text grey to match the rest of the forms' opt in texts

Handled and tested with :
https://github.com/MoveOnOrg/mop-frontend/pull/549
https://github.com/MoveOnOrg/mop-frontend/pull/525
https://github.com/MoveOnOrg/mop-frontend/pull/580
After rounds of live testing with petitions - it's been decided to add the mobile field.


parent::__construct() not running when controller/method name is the same

I found a weird bug when renaming some of our controllers..
I can load Foo/bar absolutely fine with no issues with code looking like this:
class Foo extends BF_Controller {

	public function bar() {
		$this->lang->load('example');
        }
}

But when I rename the method to Foo/foo, the construct doesn't run.
Example Error output
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Foo::$lang
Filename: controllers/Foo.php
Line Number: 20

( ! ) Fatal error: Call to a member function load() on a non-object in /var/www/html/application/controllers/Foo.php on line 20
Call Stack
#	Time	Memory	Function	Location
1	0.0002	233968	{main}( )	../index.php:0
2	0.0012	237200	require_once( '/var/www/html/system/core/CodeIgniter.php' )	../index.php:293
3	0.0829	569200	Foo->foo( )	../CodeIgniter.php:500

A PHP Error was encountered
Severity: Error
Message: Call to a member function load() on a non-object
Filename: controllers/Foo.php
Line Number: 20

If I run the parent::_construct() manually, the code runs fine with the class and method names matching.
class Foo extends BF_Controller {
	function __construct () {
		parent::__construct();
	}

	public function foo() {
		$this->lang->load('example');
        }
}

I know this probably isn't best practice, but I thought I would raise it anyway as it stood out to me.
Server Info:

CodeIgniter 3.0.4
PHP Version 5.5.9-1ubuntu4.14
Linux vagrant-ubuntu-trusty-64 3.13.0-55-generic #92-Ubuntu SMP Sun Jun 14 18:32:20 UTC 2015 x86_64

This is not a bug, but a legacy PHP feature that is noted in the manual.

Also, this is a duplicate of #3451.

Thanks @narfbg, I wasn't aware of this. You've taught me something :)


[Ubuntu] Update npm parcel package to v2

Description
This PR updates the npm parcel package to v2
Related issue: https://github.com/actions/virtual-environments-internal/issues/3099
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu1804, ubuntu2004

/azp run ubuntu1804


[✨] Discussion tab too for discussion, how to have integration of qwik with customized server backend / nginx?

Is your feature request related to a problem?

can we have discussion tab?
how to have qwik integration with "nginx" or customized golang backend?

Describe the solution you'd like
as mentioned
Describe alternatives you've considered
none
Additional context
No response

Hi @sprappcom thanks for opening this.
we have a discord server for this kind of support.
So I close this issue and I am looking forward to answering you there. Thanks


LCFS - Clean up ERD and send PDF to Sashi for review

Describe the task
Following our Postgres database discussion, we have created an ERD for the LCFS database. This task is to create a copy of the current version of the ERD file and clean it up by removing deleted tables and fields, finish changing labels, etc. Once revised, we will want to save a copy (PDF?) to send to our data architect Sashi Das for review & comment.
As a first step, the PO will review the ERD for label changes and will then inform the team when this ticket is ready to be executed.

Need to add prefex (e.g., org changed to org_id)

Purpose
Work required to finish ERD to ultimately receive feedback from our data architect on LCFS database design.
Acceptance Criteria

[ ] first
[ ] second
[ ] third

Additional context

Add any other context about the task here.
Or here

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @jig-patel @prv-proton @hvalioll

I have finished reviewing the ERD and adjusting some of the labels & statuses. It is ready to be cleaned up and made into a PDF for Sashi's review. The file can be found in MS Teams Files: Team LCFS channel > General > LCFS Database; filename is "LCFS_ERD_Justin-Edits.drawio".


Formatting examples for string best practices

Formatting examples for string best practices
Contributes to dotnet/docs#11429
Related to dotnet/docs#12158

Updated base branch to master.


Testing, please ignore. (dblxne)

This is a bug bounty test - please ignore.. Please DO NOT APPROVE THIS! (dblxne)

 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.dblxne cdwzs seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


move tree_hash() into its own crate (clvm-utils)

this is a pure refactoring. I'm moving the tree_hash() function into its own crate clvm-utils. This is in preparation of adding more clvm utilities, such as curry/uncurry and computing puzzle-hashes.

CI is red now because cargo publish --dry-run fails, because it requires the new crate to have been uploaded to crates.io.
no matching package named `clvm-utils` found
  location searched: registry `crates-io`
  required by package `chia v0.1.[14](https://github.com/Chia-Network/chia_rs/actions/runs/3438238969/jobs/5734039912#step:9:15) (/home/runner/work/chia_rs/chia_rs/target/package/chia-0.1.14)`

If it looks good I'll upload it and re-trigger the CI

Sounds to me like you want to create a crate that the wallet can use without dragging in unnecessary consensus stuff like the block running ROM (so a wallet base library). I support the idea of keeping the wallet attack surface minimal.

yes, that's my hope.


use .prettierrc when it exist (instead of default prettier config with tabWidth: 2)

@js2me https://prettier.io/docs/en/configuration.html

Hi, I simply updated the scripts in my project package.json as follows:
  "scripts": {
    ...
    "generate-api": "ts-node build-scripts/generate-api && eslint --fix \"src/models/swagger-gen/*.ts?(x)\"",
    "build": "yarn generate-api && react-scripts build",
    ...
  },

generate-api - it starts the swagger-typescript-api (customized via build-scripts/generate-api/index.ts file) and then starts the ESlint which also runs the prettier.  The files .eslintrc and .prettierrc are used from the project.
build - first generates the API files and then builds my React app in standard way
I think you can easily use this approach regardless of the framework (React, Angular, Vue, ...) or package manager (yarn, npm, ...) you use.