android app is crashing when app is launching

android app is crashing when app is launching

react-native version
0.53.2

Affected OS
Android

OS Version
Nexus_5X_API_25 or Pixel XL - 8.0.0

react-native-device-info
^0.21.4

Current behavior
Pls find below the steps i followed

npm install --save react-native-device-info
react-native link react-native-device-info

Upon successfully installing and when i build react-native run-android, my build is 100% successful. But when the app is about to launch, it crashed and throws the message as ... is stopped and there is no error message in the bundler as well.
Expected behavior
It is not expected to crash as my intention is to get the device info.
#Alternative approach which i tried

I've tried with this https://www.npmjs.com/package/react-native-device-information which didn't work for me (same crashing)
I tried the solution(s) suggested by https://github.com/rebeccahughes/react-native-device-info/issues/152, but still didn't work.
I tried this one as well, https://github.com/rebeccahughes/react-native-device-info/issues/287. But no luck.

Now i'm struck now, lost and i have spent almost a day on this. Can someone pls suggest me in the right direction.
Thanks,
Brad

Hi @Brad19, could you provide some logs from the Android build?

before linking react-native-device-info (ie., just after install), it throws the message as undefined if i call any function say for eg., getSystemName(). But once i link  react-native-device-info, i did the following to launch the app again

close the bundler
rebuild the app

now this time, build is successful, but the app crashed saying that "XXX stopped working" and my bundler didn't throw any info.
Please advise.

having the same issue how do I resolve it

@ahmedraza11 please open a new issue describing your problem, with as much logs as possible

Change your app/build.gradle dependencies to look like this:
dependencies {
...
compile(project(':react-native-device-info')) {
exclude group: 'com.google.android.gms'
}
}
and then go to cd android
clean your gradlew file
and come back to your root directory and then run your application.

It is working for me :)
BR,
Ram Avadh Maurya

Worked for me too..

I have faced same issue.

RN version: 0.60.0
This lib version: 2.3.1

Any idea to fix it?

Sounds like an incorrect androidx transition. I can't reproduce in any case, I have it working fine on Android with RN60. The example is RN60 as well now.

Same issue on Android even after a fresh INIT -- crashes upon loading on emulator, but only if Device Info is installed with OneSignal package (https://www.npmjs.com/package/react-native-onesignal)
RN version 0.60.4

@bossswag  WOW. I did realize that it's conflict. Still waiting for a fix :D

Don't wait for a fix, the repo works from my perspective - we need a new issue with clean reproduction or it won't get fixed.
It is working for me :)
BR,
Ram Avadh Maurya

don't copy and past other's posting. :)

In my case I just into in android directory and execute ./gradlew clean after execute normaly the command to run app in emulator in my case I use yarn android.

@FaustoCouto Thanks man! Saved me hours of needless debugging 😅

@FaustoCouto Thanks man!!! You save my Night!

@FaustoCouto thank you!

@FaustoCouto you saved my career, thanks bro! 😆


unable to login

I have installed complete.
but i don't have username&password for login.
and when i try to login with admin&admin ,error happend with:ldap_bind(): Unable to bind to server: Can't contact LDAP server

Simple edit /config/params.php from
'user_driver'=>'ldap',
to
'user_driver'=>'',

or
'user_driver'=>'local',


Add link to documentation

In my project, I've been told to described a parameter - I actually have no idea how I do that. It'd be helpful to include a link to a reference I could look at to see how to do that.

Re: [B] FDG.Parser.to_dot/1 in johnhamelink/elixir-fdg

Hi there,
I am currently reworking the Elixir implementation of Inch and will try to do a better job in wording the suggestions.
In the meantime: The current implementation looks for an annotation of the parameter name in the @doc attribute. In this case you could write "ast" in backticks ` like this: ast. This seems to be a common way to annotate parameters in docs: http://elixir-lang.org/docs/v1.1/elixir/List.html#replace_at/3
I will definitely improve this part of Inch for Elixir and if you have any other ideas how to make it better, just ping me here or on Twitter.


HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body In content: Must be 2000 or fewer in length.

When running the 07hs-bosses command, This error is produced.
It is happening because the ASCII table produces too many characters to be fired off to discords API and in turn, cannot send the message to the discord channel.
The 2000 character limit is exceeded when the account to be looked up has too many boss's registered on the high scores.
I would assume this would be an issue for the minigames if too many appeared but I'm not sure if there can be too many minigames
To Reproduce
/07hs-bosses
Expected behavior
No response in discord, but running the bot locally produces the HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body In content: Must be 2000 or fewer in length.

Python 3.10
Version 0.2.2

Additional
I feel like some form of pagination of the ASCII table would fix this or change the way the table is formatted.

I see, that's a good point. Thank you for the information.


Remove references to PTXQC

Description of the bug
These two configuration parameters are not used in the workflow:
 // PTXQC
    enable_qc           = false
    ptxqc_report_layout = null

PTXQC was removed from the pipeline.
Command used and terminal output
No response
Relevant files
No response
System information
No response

Ok makes sense. We should however make sure that we provide a similar feature set in the long term or do some comparisons.


Windows ia32 build for Electron

Thank you for the great open sourcing and merged this PR,
I have tested with https://github.com/jeylabs/node-serialport/runs/1917673052?check_suite_focus=true It's built without any issues.
do you have any plan to release new version ?

@reconbot any update about release

@reconbot Thanks for the update and sorry to ask
Count not find any release assets for<EMAIL_ADDRESS>also getting this error when I install SerialPort now

@reconbot not for ia32 in that release page? and those assets from Dec 18, 2020
could you please release new @serialport/bindings version ?

@reconbot thanks again to looking into this, I have tested x64 build but I need the ia32 binary to electron


Using singleton records instead of tuples

This depends on having records lib in core.

What's the motivation for this? They should be exactly the same, except with Tuple you don't have to do low-level property testing to determine the tag of an object.

That's just an idea. This might have some advantages with records lib ready. Feel free to close this if you don't like it

I think the main problem is that we have to forget that it's a record, so a hypothetical purescript-record API isn't very helpful. If we have { foo: 42 } as the representation, and we coerce it to a Variant, there's no way to recover the record. It's representation would have to be Foreign. Say we are doing record dispatch. With the Tuple representation, I can immediately get the tag, and lookup the corresponding property. When using a singleton record, there would be know way to do that. We'd have to iterate over the Foreign keys and pull out the first one.

Makes sense


58 style button elements any page text and grid background colors

Styles our initial layout. My PR for '57 add placeholder dial images and sdp sticker' needs to be merged before this one just to be safe.

Sounds like a plan! Thanks, guys.


Card formats

Hello
I am not a CSS specialist and though I tried to change card format in the CSS card format file, it does not seem to work…
I would like to suggest adding this format : 3.5 x 5.75 in in order to be able to print through a studio.
Maybe other formats from this printerstudio service would be interesting !
Besides, not sure it's an easy thing but would be interesting as well to generate JPG files of single cards.
http://www.printerstudio.com/personalized/blank_cards_custom_imprint_playing_cards_large_size.html
Thanks

Good idea. Currently the tool supports the standard bridge (2.25 x 3.5") and poker (2.5 x 3.5") card sizes, which seem to be the by far the most common. The poker size is also used by trading card games like Magic the Gathering. I have also randomly added (3.5 x 5.0") and (5.0 x 7.5") cards because you can comfortably print 2x2 and 1x2 of those on A4 or letter paper.
From looking at a couple of google results on custom card printing, the following sizes seem to be common as well and should be included:

Large size (3.5 x 5.75")
Tarot size (2.75 x 4.75")
Mini size (1.75 x 2.5")
Standard poker size (63 x 88mm, ca. 2.48 x 3.46")

If you know of any other commonly used sizes, let me know.

About the JPG export, do you need that for your print service? There are ways to do that (here or here), but I'm not sure it will work well.
If you have a tool that can convert PDF to JPG (there's tons of those online), try the following: Export your deck with a custom page size equal to your card size. This way each page in the PDF contains one card without any borders. Then, export each PDF page to an image.

Any update on this issue? Adding more card sizes?

From the readme:

I won't have time to work on this project in the forseeable future. PR's are still welcome, so feel free to implement new awesome features!

New mantained fork https://github.com/crobi/rpg-cards/issues/159


Firewall rules without the use of address and port lists

Is your feature request related to a problem? Please describe.
We use AFM with AS3 to manage our firewall rules on the Service Forwarding virtual servers. In our firewall infrastructure we have a very large set of rules.
At the moment, firewall rules can only be created using address lists and port lists.
This creates enormous overhead in our config and automation because we have many different communication relationships due to the different rules.
Describe the solution you'd like
We would like to create firewall rules in a firewall rule lsit without the  use of address and ports list (like in the gui).
At the moment:
`"fwRuleList":
{
                "class": "Firewall_Rule_List",
                "rules": [
                    {
                        "protocol": "tcp",
                        "name": "tcpAllow",
                        "loggingEnabled": true,
                        "destination": {
                            "portLists": [
                                {
                                    "use": "fwAllowedPortList"
                                }
                            ]
                        },
                        "source": {
                            "addressLists": [
                                {
                                    "use": "fwAllowedAddressList"
                                }
                            ]
                        },
                        "action": "accept"
                    },`

I want to do something like that:
` "fwRuleList": {
                "class": "Firewall_Rule_List",
                "rules": [
                    {
                        "protocol": "tcp",
                        "name": "tcpAllow",
                        "loggingEnabled": true,
                        "destination": {
                            "ports": [
                              "443","80","6000-6111"
                            ],
                           "addresses": [
                                "<IP_ADDRESS>/24"
                            ]
                        },
                        "source": {
                            "addresses": [
                                "<IP_ADDRESS>/24"
                            ]
                        },
                        "action": "accept"
                    },`

Describe alternatives you've considered
Creating a lot of address and ports list is no alternative.
Additional context
Add any other context, such as the desired tmsh configuration, about the feature request here.

I have added this issue to AS3 backlog as AUTOTOOL-4417

Closed Resolved in AS3-53
Release Notes | https://github.com/F5Networks/f5-appsvcs-extension/releases/tag/v3.53.0


Passing commands through -o fails, recluster didn't work for all

On a customer site, fixing the script so it won't fail when passing -o parameters.
the recluster command didn't work as well, so that is fixed too.
Tested on live cluster

Looks good to me


Integration is not a valid attribute

Trying to follow this example and I'm getting an error "Integration is not a valid attribute" AL(AL0112)
If I comment it out, The subscriber cannot see the 'OnAddressLineChanged'

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

ID: 1707a904-2ed1-590e-4a3d-cda6aa6b1d06
Version Independent ID: 8583221b-8b6f-49c0-f71e-f660fe6f49bb
Content: Publishing Events - Business Central
Content Source: dev-itpro/developer/devenv-publishing-events.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hello, sorry the attribute should be [IntegrationEvent(false, false)], not [Integration(false, false)]. We have fixed the article and the update will be published soon. Thanks for the feedback!


fix(?): s.ns can be nil

I was getting the following error on nightly v0.10.0-dev-2445+g2e1f5055a. There is no error when using v0.9.2.
E5108: Error executing lua .../.local/share/nvim/lazy/statuscol.nvim/lua/statuscol.lua:69: attempt to index field 'ns' (a nil value) stack traceback:
	.../.local/share/nvim/lazy/statuscol.nvim/lua/statuscol.lua:69: in function 'update_sign_defined'
	.../.local/share/nvim/lazy/statuscol.nvim/lua/statuscol.lua:190: in function 'place_signs'
	.../.local/share/nvim/lazy/statuscol.nvim/lua/statuscol.lua:248: in function 'update_callargs'
	.../.local/share/nvim/lazy/statuscol.nvim/lua/statuscol.lua:284: in function <.../.local/share/nvim/lazy/statuscol.nvim/lua/statuscol.lua:262>

I don't know the root cause, but adding an or "" seems to fix it.

Thanks but you shouldn't get this error on the 0.10 branch, please see https://github.com/luukvbaal/statuscol.nvim/issues/91.
Might try to make the 0.10 branch compatible with 0.9 to backport some of the recent fixes.
I hadn't up to this point so as to avoid any unnecessary if else chains in the performance critical statuscolumn code. But it's probably fine and worth getting rid of the branch inconvenience while the 0.10 dev cycle lingers on 😅


avatar state should synchronize the property Position and Quaternion, instead of Transform3D

Transform3D also contains scale (Vector3) which is needless. Also it is bloat for bandwidth (especially for serialization, Transform3D is 48 bytes!)

For an example game, I want to keep it intuitive, syncing the player's whole transform, instead of settling for the 28 bytes of position + quaternion :)
But otherwise I agree, it's best practice to only sync what you need.
Closing as won't fix.


NameError: name 'anyHub' is not defined

vim or neovim?

[x] vim
[ ] neovim

Output of vim --version or nvim --version:  vim -u .vimrc_tmenu   --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jul  7 2023 01:12:41)
Included patches: 1-1649

Output of :echo has("python"):

Output of :echo has("python3"):  1

Output of :echo &pythondll(only vim, not neovim):

Output of :echo &pythonthreedll(only vim, not neovim): libpython3.7m.so

Output of :py print(sys.version):

Output of :py3 print(sys.version): 3.7.12 (default, Dec 15 2021, 03:25:47)
[GCC 8.3.0]

Output of :echo g:Lf_Debug_Cmd:

Output of :echo g:Lf_FilesFromCache:

Operating system:

[] Linux
[] Mac OS X
[] Windows
[X] Etc.

Configurations related to LeaderF in vimrc:
Plug 'Yggdroot/LeaderF', { 'do': ':LeaderfInstallCExtension' }

" don't show the help in normal mode
"let g:Lf_HideHelp = 1
let g:Lf_UseCache = 0
let g:Lf_UseVersionControlTool = 0
let g:Lf_IgnoreCurrentBufferName = 1
" popup mode
let g:Lf_WindowPosition = 'popup'
let g:Lf_StlSeparator = { 'left': "\ue0b0", 'right': "\ue0b2", 'font': "DejaVu Sans Mono for Powerline" }
let g:Lf_PreviewResult = {'Function': 0, 'BufTag': 0 }
let g:Lf_ShortcutF = "ff"
noremap fb :=printf("Leaderf buffer %s", "")
noremap fm :=printf("Leaderf mru %s", "")
noremap ft :=printf("Leaderf bufTag %s", "")
noremap fl :=printf("Leaderf line %s", "")
noremap  :=printf("Leaderf! rg --current-buffer -e %s ", expand(""))
noremap  :=printf("Leaderf! rg -e %s ", expand(""))
" search visually selected text literally
xnoremap gf :=printf("Leaderf! rg -F -e %s ", leaderf#Rg#visual())
noremap go :Leaderf! rg --recall
" should use Leaderf gtags --update first
let g:Lf_GtagsAutoGenerate = 0
let g:Lf_Gtagslabel = 'native-pygments'
noremap fr :=printf("Leaderf! gtags -r %s --auto-jump", expand(""))
noremap fd :=printf("Leaderf! gtags -d %s --auto-jump", expand(""))
noremap fo :=printf("Leaderf! gtags --recall %s", "")
noremap fn :=printf("Leaderf gtags --next %s", "")
noremap fp :=printf("Leaderf gtags --previous %s", "")
Describe your question, feature request, or bug.
installation was ok, no errors
Leaderf -h
return
Error detected while processing function leaderf#Any#start[4]..leaderf#LfPy:
line    1:
Traceback (most recent call last):
File "", line 1, in
NameError: name 'anyHub' is not defined
Steps to reproduce
Actual behaviour
Expected behaviour
no error

What's the output of :py3 print(sys.path)  after Leaderf -h is run?

:Leaderf -h
Error detected while processing function leaderf#Any#start[4]..leaderf#LfPy:
line    1:
Traceback (most recent call last):
File "", line 1, in
NameError: name 'anyHub' is not defined
:py3 print(sys.path)
['/intax/roze2/.vim/plugged/LeaderF/autoload/leaderf/python', '/opt/freeware/lib64/python37.zip', '
/opt/freeware/lib64/python3.7', '/opt/freeware/lib64/python3.7/lib-dynload', '/opt/freeware/lib64/python3.7/site-packages', '/opt/freeware/lib/python3.7/site-packages', 'vim_path']

Duplicate of #720 .

I'm new here - sorry for the stupid question...
Is my problem to be solved by reinstalling the LeaderF plugin?
I have reinstalled the plugin, including the C extension,but the result is still the same.
According to messages like
Symbol PyBool_FromLong (number 1) is not exported from dependent module vim.
I judge that the problem is in the setting/availability of some symbols in vim-leaderf-python communication.
I compiled vim to have python support bolted on statically, but the result is still the same.
vim reports that it has Python3 support, the LeaderF installation went Ok...
Question:
Is there any way to verify the functionality of LeaderF outside of Vim?

Actually, if Leaderf -h,
https://github.com/Yggdroot/LeaderF/blob/7088babc96bc35b5a5a0b5ad12e3d2e7430b1a38/autoload/leaderf/Any.vim#L10-L14
should have been executed.
You can run :py3 from leaderf.anyExpl import * after Leaderf -h.
To see the output of :py3 print(globals()) before and after the command above.

I've requested help on the AIX discussion forum as well, so we'll see.

https://github.com/Yggdroot/LeaderF/blob/7088babc96bc35b5a5a0b5ad12e3d2e7430b1a38/autoload/leaderf/Any.vim#L10-L14
It seems Line 14 is not executed, could you check it please?
You can add the code as below:
if leaderf#versionCheck() == 0  " this check is necessary
     echoerr "leaderf#versionCheck() failed."
     finish
 endif

 exec g:Lf_py "from leaderf.anyExpl import *"

I'd like to thank you for your willingness and helpfulness. I've come to the conclusion that the plugin is unrunnable on AIX.  I tried the replacements you sent last time and didn't get much further...
`Error detected while processing /intax/roze2/.vim/plugged/LeaderF/autoload/leaderf/Any.vim:
line   16:
Traceback (most recent call last):
File "", line 1, in
File "/intax/roze2/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/anyExpl.py", line 15
, in
from .manager import *
File "/intax/roze2/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 19
, in
from .asyncExecutor import AsyncExecutor
File "/intax/roze2/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/asyncExecutor.py", l
ine 7, in
import subprocess
File "/opt/freeware/lib/python3.7/subprocess.py", line 152, in
import _posixsubprocess
ImportError: Symbol resolution failed for /opt/freeware/lib/python3.7/lib-dynload/_posixsubpro
cess.so because:
^ISymbol PyArg_ParseTuple (number 1) is not exported from dependent
^I  module vim.
^ISymbol PyBytes_AsString (number 2) is not exported from dependent
^I  module vim.
^ISymbol PyErr_Fetch (number 3) is not exported from dependent
^I  module vim.
^ISymbol PyErr_Restore (number 4) is not exported from dependent
^I  module vim.
^ISymbol PyErr_SetFromErrno (number 5) is not exported from dependent
^I  module vim.
^ISymbol PyErr_SetString (number 6) is not exported from dependent
^I  module vim.
Additional errors occurred but are not reported.
Examine .loader section symbols with the 'dump -Tv' command.
Error detected while processing function leaderf#Any#start[4]..leaderf#LfPy:
line    1:
Traceback (most recent call last):
I tried a little search for Symbol PyArg_ParseTuple (number 1)
and found ... https://bugs.python.org/issue13493
I've long ago accepted that rows of things are common on Linux, but on AIX there is a problem.
Thanks again for the help, I'm going to run LeaderF on windows :-)


Add starter CI setup

Notes:
WORKSPACE is not at the top level of the source, so all tests set working_directory to pkg. I
wonder if there is a way to factor that up.
I want to start with Linux only now, because I have doubts about windows and macos portability. I will add those later.

Fixes #10

Thanks.  I forgot about that.


Authentication fails

Checklist

[ X] I've the latest update of Swiftinstagram.
[X] I've searched for existing GitHub issues.
[X] I've read the wiki pages.
[X] I've read the contibution guidelines.

Expected Behavior
Authentication should succeed
Actual Behavior
Authentication fails after challenge
Steps to Reproduce the Problem

execute the api.login(...) method
type in username and password in the presented webView
an "Unusual login attempt" warning is prompted and email/SMS verification is required
perform authentication
access_token is not fetched

Specifications

iOS Version: 11.3
Device(s): iOS simulator

same here

Hi @salas81 and @EZabolotniy, still getting this error?


Implement the necessary backend piece for Shopify's session tokens

The Shopify docs on the topic seems pretty complete. We should implement it in SPyLib.

@Nathan-Nesbitt Please look at this next.
You could save time by looking at the shopify-python-api repo that has some code for this though we want it async and an API more adapted to what we do (i.e. FastAPI friendly)

Just writing out some logic in here for later:

App should redirect to the authentication endpoint if the online or offline token is invalid. (This will require some changes to the OAuth flow as it currently only handles the situation where the user in attempting to validate the first time. Since we don't want to have to reauthorize the app / offline token we need to handle the case where the user just wants to reauthorize the app with existing or new scopes)
We should be automatically checking the app/uninstalled webhook so that when the app is uninstalled from a store, we automatically remove all instances of that store from the app.
We should be checking the app scopes within the app on each request to avoid pointless requests that won't pass. We can get the authorized scopes here and store them in the database/Application object
When the OnlineToken expires we should be redirecting back to the OAuth screen
(Might already be done) Verifying the token signature on each request.

I think it might be a good idea to check that the user's permissions are never more than the app permissions (online token should have <= online token scopes). I don't think this will happen directly from Shopify, but it could save us from making a mistake when loading scopes from a DB.


ionic 2 after create app then serve get this error

Hi,
In windows 8 , installed ionic@latest and gone through of project creation and then run command "ionic serve"  and got below error every second until ctrl + c;
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
[15:32:30]  transpile started ...
Caught exception:
TypeError: undefined is not a function
at Socket. (C:\Users\roshan\AppData\Roaming\npm\node_modules\ioni
c\lib\utils\npmScripts.js:39:49)
at Socket.emit (events.js:129:20)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at Pipe.onread (net.js:538:20)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
[15:32:41]  build dev failed: undefined is not a function
[15:32:41]  dev server running: http://localhost:8100/
Caught exception:
TypeError: undefined is not a function
at Socket. (C:\Users\roshan\AppData\Roaming\npm\node_modules\ioni
c\lib\utils\npmScripts.js:39:49)
at Socket.emit (events.js:129:20)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at Pipe.onread (net.js:538:20)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
Caught exception:
TypeError: undefined is not a function
at Socket. (C:\Users\roshan\AppData\Roaming\npm\node_modules\ioni
c\lib\utils\npmScripts.js:39:49)
at Socket.emit (events.js:129:20)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at Pipe.onread (net.js:538:20)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
[15:32:41]  copy finished in 11.69 s
Caught exception:
TypeError: undefined is not a function
at Socket. (C:\Users\roshan\AppData\Roaming\npm\node_modules\ioni
c\lib\utils\npmScripts.js:39:49)
at Socket.emit (events.js:129:20)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at Pipe.onread (net.js:538:20)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Please  let us know the solution get on nest level.
Thanks

I'm getting the exact same error on Mac OSX:
 TypeError: undefined is not a function
    at Socket.<anonymous> (/usr/local/lib/node_modules/ionic/lib/utils/npmScripts.js:39:49)
    at Socket.emit (events.js:129:20)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)
    at Pipe.onread (net.js:538:20)

Mind letting us know? https://github.com/driftyco/ionic-cli/issues```

The following resolved this issue for me:

Uninstalled and installed latest NodeJS
Ran "npm update -g"
Ran "npm rebuild node-sass"
"ionic serve" ran successfully after this

This worked for me as well.

Same error here. The @emersonstewart solution, not working form me

I get the same error with Ionic 2, too. @emersonstewart solution did not solve for me. Ionic1 project works fine, though.
Any help, please? Thank you.

:EMOJICODE:

@emersonstewart solution did not work for me either. I was simply trying to "ionic serve" the "MyIonic2Project" from the ionic tutorial at "http://ionicframework.com/docs/v2/intro/tutorial/". My details as below:
Win 8.1
Node v0.12.2
NPM v2.7.4
Ionic v2.2.1
Cordova v6.5.0


feature Support block specific query with AST names (#43533)

Support block specific query with AST names when necessary for security reasons, configure the name list in fe.conf, for example:
block_sql_ast_names="CreateFileStmt, CreateFunctionStmt"

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall


API load testing has better success rate without sidecars. Is this normal?

Describe the bug
I have a service that exposes a simple API. I want to perform API load testing and I have tried it with and without the Envoy sidecar (thus managed by Istio or not). The service is exposed either through the Istio Ingress Gateway or behind Ambassador API Gateway. The issue happens with both.
What happens is that when I don't have the sidecars deployed I get almost everytime 100% success ratio (all requests hit Ambassador). With the sidecars I get something between 80-99% but never 100% (Ambassador / Istio ingress gateway). What could be the cause of these drops?
Vegeta also reports dial tcp <IP_ADDRESS>:0->XXX.XXX.XXX.XXX:80: socket: too many open files when the errors occur.
Expected behavior
100.00% success ratio.
Steps to reproduce the bug
I am using Vegeta as load testing tool: echo 'GET http://XXX.XXX.XXX.XXX/hello' | vegeta attack -rate 500 -duration 10s | tee results.bin | vegeta report. This is just a simple "hello world" route.
Version
Istio 1.0.5
Kubernetes v1.11.2-gke.25
Installation
Istio 1.0.5 was installed via Helm templates, as instructed in the installation instructions.
Environment
Google Kubernetes Engine cluster with Istio 1.0.5

Second test, disabled automatic sidecar injection and added Envoy manually with istioctl inject. Works like a charm. 100% every time :)


Quick start guide

Description
We need a brief quick start user guide that lets users see how create an APT account, start a document, review a document, etc.
Tasks:

[ ] draft the document
[ ] review/edit guide
[ ] Place in markdown file on github

Acceptance Criteria:

[ ] Provide DevSeed the quick start guide

@wrynearson We will have this new guide done this sprint (S5). We will want to add this under the user guides tab with the Latex and APT user guides. Would it be easier for you if we just send you the markdown file when we are done?

Yes @bwbaker1, please send the file or post it here, and we'll get it uploaded.

@wrynearson Here is the markdown file for the quick start guide.
APT_QuickStart.md


guideline for setting up the development environment

it is so simple in README that it can't be followed to setup the environment (redis/postgresql..).
In slides, command docker run -v $PWD:/project golang:1.4 /project/archci.sh > docker.log 2>&1 doesn't work
It will be nice list those dependence can be written in step-wise guideline first, then it can be automated into script or Dockerfile. refer to #1
Thanks.

Great. That's really important for the project and community. We will add it soon :smiley:

Now we have better document in http://archci.com:8000 and the archci/demo container to run ArchCI service.


Save search work

Hi!
Can i save  private and addresses that was done via bitcracker ?

no. 2. HDD is not enough

so bitcrack is useless i think

no. 2. HDD is not enough

2 why? mb i need my range

20.000.000 address 500Mb

20.000.000 address 500Mb

this is what i need, adresses with priv


Detect practice mode by LUA?

What is your question?
Hey, so I'm making a HUD mod for Psych Engine 0.6.3, and I want different things to display when you are in normal play, botplay, practice mode, and instakill on miss. I was able to get normal play and botplay HUDs working fine, but I don't know how to detect practice mode and instakill on miss using an if or elseif statement.
Does it output the value as words (true or false) or numbers (0 or 1)?

One question: Is there one for instakill on miss?

getProperty('instaKillOnMiss')
btw, they are all in PlayState.hx

thx!!!

I tried to import a variable to show getProperty('practiceMode') by doing this:
local practiceMode = getProperty('practiceMode')
However, whenever I want to make the score text display this variable, it just resets back to the default score text.

I tried to import a variable to show getProperty('practiceMode') by doing this: local practiceMode = getProperty('practiceMode')
However, whenever I want to make the score text display this variable, it just resets back to the default score text.

it works fine for me.
can i see your code?

Here:
hud thing.txt
(i put it in .txt because github doesn't support .lua)

Here's the project I'm working on, if you want that too:
https://gamebanana.com/mods/523232

do you want Debug Value to show true or false?
then you can do this:
local practiceMode = 0  --or anything else
if getProperty('practiceMode') then
    practiceMode = 'true'
else
    practiceMode = 'false'
 end
I think it resets the score text to default because it can't show the bool variable in the text.

Same goes for instakill on miss, I'm guessing. Thanks!


rigJQuerySource path error

Happy new year Ralf !
Running this function on an ubuntu set-up I'm getting a wrong JQuerypath.
I have set tJquerySettings["useJQremotely"] to false.
The function on line 212 of JQuery.lc combines rigSiteURL() with the path, with no slash between the two. Looks like it needs a slash added there? However even with an added slash it doesn't really work as this results in mysite/index.lc/assets/js.. when it should be just mysite/assets/js..
Am I understanding this wrong ?
regards
Martin

Martin, thanks for reporting this issue which is related
to URIs including "index.lc".
This is fixed in the latest commit. Please check it out,
should work now even if you don't remove "index.lc"
from URIs using htaccess and mod_rewrite.
Happy New Year to you too!

Ralf, great you work fast!
there is another issue, it seems I have trouble with the ' .bind('click',..' form of script that RevIgniter generates, doesn't seem to work as opposed to manually scripting with '.click' which works ok for me.

Hmm... did a quick test using the following code:
rigJQopen
	rigJQeventOpen "'#testBtn'", "'click'"
		rigJQalert "'You clicked me!'"
	rigJQeventClose
rigJQclose

This generates this JavaScript code:

So, this works for me. Which handler did you use to
generate a .bind() statement?

OK I can confirm that rigJQalert works. The problem I am having is with rigJQxhRequest.
I have set up a similar example to the one described in the user guide. But I've cut out the database and model and just want to return a test statement.
  rigJQopen 	rigJQeventOpen "'#startbt'", "'click'" 	rigJQxhRequest "load", "test/dohandler", , , , "'#results'"  --doesn't work         //rigJQalert "'you clicked me!'"  --works ok 	rigJQeventClose   rigJQclose
My dohandler is in test.lc (and the handler name is listed in gControllerHandlers):
put "you clicked the button" into gData["dlist"]  get rigLoadView("showresultsv")
Showresultsv.lc is in my view folder with only the following text [[gData["dlist"] ]]
My main view file has the following
[[gData["dlist"] ]]

And in the header:
 <? return rigJQuerySource() ?>         [[gData["JQscript"] ]]
When I click the button (id startbt) then nothing happens.
However the following direct js works. ( I'm also showing a loading gif)

I think its related to the prepending of http://mysite.com/. As you can see my script doesn't have that part. Could you let the rigJQxhRequest path be accepted as an absolute path perhaps?
Another thing that my be relevant, I have my rig installation outside of the public html folder.

Martin, if prepending the site URL to controller(/handler) paths
in rigJQxhRequest does not work this means that the generated
full site URL is not valid. On the basis of your infos this is:
http://mysite.com/index.lc/test/dohandler
What is the entry of your base site URL in config.lc? is this really
"http://mysite.com/"? When you do your AJAX tests do you use
an IP address whereas the entry in config.lc is a name address
or vice versa?
Of course you could easily use a modified copy of the Jquery library
in application/libraries. But first I would check why the generated
URL is not valid because the function rigSiteURL() which returns the site URL
is used all over the place. This means there are a lot of other libraries
which depend on a valid site URL generated by the very same function
and therefore, like the Jquery library, may not work in your installation.

Ralf, yes my config is http://mysite.com/  (where mysite is replaced by my actual domain)
So a little more testing and I find a recipe: I can access my page in the browser either by typing www.mysite.com or just mysite.com and both work to get to my initial view page. However with www in the address bar, the Revigniter jquery load doesn't work, but it does work if I initially go to the page using just mysite.com. This probably sounds like a total noob issue (which I am really) and I guess I can manage it in any case by redirection or use of correct links.


Check nimbus for disk swap issues potentailly affecting performance

Currently using ~12.5GB of storage.

No evidence that we are using the virtual disk


⚠ Bofrost.at has degraded performance

In 513720c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1339 ms

Resolved: Bofrost.at performance has improved in 09e497c after 6 minutes.


Problems: 1) angular CLI spec file, 2) constructor store syntax

I have two questions. First, I'm getting this error on trying to set up ngrx/store:
src/app/project/task-list/task-list.component.spec.ts (17, 21): Supplied parameters do not match any signature of call target.

When I open up the spec file, I see that the line says:
let component = new TaskListComponent();

So it seems to be complaining because my constructor has the store: Store<AppState> object, but the spec doesn't have that parameter passed in. How would I fix the spec test? Is there any way for me to keep it or do I just have to delete the spec file to fix this bug?
Second question is: do I have to have type checking on Store? In all the ngrx/store examples I see, the constructor is just declared as store: Store, but the compiler is forcing me to specify the type of store store: Store<AppState>. (I had a bunch of problems related to type issues, but I'll start with this simple one cause I feel there might be some really basic things I'm just not understanding...).

Generally, you don't ever want to use the new operator when testing components. I recommend checking out Julie Ralph's ng2-test-seed for high quality, up-to-date examples of testing components.
If you are seeing official examples of store: Store in constructors, can you point them out or send a PR to fix them? If you are using TypeScript, the Store<T> class is indeed generic and requires a type parameter. If you don't want to use an explicit type you can just use Store<any>

Thanks @MikeRyan52!

The let component = new TaskListComponent(); line was auto-generated by Angular CLI.
The examples of store: Store were found at https://gist.github.com/btroncone/a6e4347326749f938510

I ended up fixing the error by just deleting the spec file, but I'll check out Julie Ralph's link when I get to implementing specs :)


Group github.com/onsi deps

What does this PR do?
This PR groups both github.com/onsi packages i.e. ginkgo and gomega.
Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Checklist:

[ ] Squashed commits into logical changes
[ ] Documentation
[ ] GitHub Actions (if applicable)

Special notes for your reviewer:

IIUC we will get updates for ginkgo and gomega in one PR.

Yes, that is the intent.


socket connection to the server was not read from or written to within the timeout period

We are getting these errors intermittently while performing the below command.
command
AWS_REGION=us-east-1 s3p sync --go --delete --origin /path-to-folder --target s3://sync-s3-bucket --overwrite

Error
Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.

I just bumped s3p from the v2 AWS SDK to the v3. Can you retry?


[RFC] CMake: generate application management commands automatically

(Please note my new employer's copyright, SOB, etc.)
This series adds a custom Sphinx directive named "zephyr-app-commands" to the Zephyr documentation. When inserted in the text, it generates CMake-based instructions (currently just Unix commands) to manage an application (build, flash, debug, etc.).
As an example, the arduino_101 documentation is updated to use this directive instead of manually written "make" commands.
The purpose of this is to make the global conversion of CMake-based commands happen once in a way that makes it easy to make future changes across the docs, simply by changing the implementation of the directive. In particular, that should make it possible to generate Windows-compatible documentation that doesn't need a Unix shell by changing one file or so.
I tried to do this using a Sphinx include directive, but that won't work for technical reasons I'll explain if anyone asks.
If this approach is acceptable, I'm happy to take on the task of updating the places in the documentation where "make" is called to manage applications to use this directive instead.

Here is a gist with screenshots from the updated documentation page: https://gist.github.com/mbolivar/ab4eb095af9417bc9f52ed51fa130a09

Interesting... but I need to stare at this a bit more and not late on a Friday :)

Indeed, please take your time.
I'm aware that there are trade-offs to manage between ease of contribution and top-level control, especially since this might make it easier to contribute docs which appear correct but don't work, especially on hardware that core maintainers have no access to.
I think this approach manages these trade-offs well, especially since we can treat divergences from the generated documentation as bugs, but it all bears consideration.

(not to mention ease of editing the generated content itself for authors less familiar with Python and docutils internals)

The rationale and approach seems sane to me.

P.S.  your commit message needs tweaking to get past the checks

OK, great, thanks! I'll close this RFC out and submit a real PR ASAP.


Add GPX and/or KML Parsing

For those times when we forget to bring our Flysight or we do bring one and the battery is dead, we might have a backup that needs parsing!

Gaggle's KML output (maybe just KML in general?) doesn't contain enough information to calculate flight metrics, but its GPX output slots into the current pipelines fairly painlessly. Hooray!


create a CNAME file so links to capitalone.io work

Thanks!
Background https://help.github.com/articles/troubleshooting-custom-domains/
@nadinehoffman @SanthiSridharan can you do this for other c1 projects as well.

@spidaman where did you see links to capitalone.io ? one of the issues with doing the cname is that only works for single project and that domain was intended to be housing for several projects. it looks like this was already handled via a different mechanism, i see the custodian pages at the domain, so going to close this pr. thanks.


Integrate Microsoft "features" YAML File to Determine Usable Features for Generated Devcontainer

Is your feature request related to a problem? Please describe.
Generating a devcontainer.json requires thoughtful selection of applicable features for various environments. Using the comprehensive list of features from the Microsoft "features" YAML file can help ensure that all usable features are considered and properly included by the AI.
Describe the solution you'd like

Fetch and parse the "features" YAML file from Microsoft’s GitHub repository: collection-index.yml.
Integrate the parsed data into the generation logic of the devcontainer.json to automatically suggest or include applicable features.
Ensure that the feature selection is based on the context and requirements of the GitHub repository being analyzed.

Describe alternatives you've considered

Relying on user input for additional features, which may not be as comprehensive or accurate as using a well-maintained source like Microsoft's.

Additional context
The modification should involve:

Updating main.py to include a function that fetches and parses the YAML file, feeding it to the context.
Enhancing generate_devcontainer_json method to leverage the parsed data for including applicable features.
Testing the integration thoroughly to ensure that the chosen features align with the repository's requirements and dependencies.

This feature will enhance the accuracy and comprehensiveness of the generated devcontainer configurations, improving the development experience for users.

/bounty $20


Delta-rs with lakefs:// URIs in presigned mode

Created at
2024-01-10T11:41:35.000Z
Priority
p2
PRD
https://github.com/treeverse/lakeFS/issues/7268
Feature Definition
https://us-6915.app.gong.io/e/c-share/identification?tkn=9zdh7j7he4c71uhj3b7sky06q
T-shirt size
Related feature requests
https://github.com/treeverse/product/issues/119
https://github.com/treeverse/product/issues/117

duplicate of https://github.com/treeverse/lakeFS/issues/7268


Expose Publish Retry Settings

This PR aims to address this issue.
I have two concerns about this PR:

Function merge_dict is taken straight from StackOverflow post. Need to contact the user for a license to use the code.

Do I need to catch errors with user-supplied config dictionary that may have invalid keys?

@anguillanneuf, this needs to happen either in synth.py or the gapic generator.  We can't change the code manually.


WebRTC stream doesn't load in latest Android App

Cross-linking from the Home assistant Android app issue: https://github.com/home-assistant/android/issues/2047
Seems the stream doesn't load. Web and older versions of the app are fine. My current assumption is that there is an issue in the Android app, but I am not familiar enough with either the WebRTC or Janus underpinnings to make that determination. Opening this issue primarily for documentation and exposure.

So the issue is unfortunately this component it seems. The webRTC component works fine

Sorry for the delay. Found out what the issue was here, Janus does some checks for the browser version, which returns null since this commit I guess: https://github.com/home-assistant/android/commit/602b6b9be481abf00f03b809a8296673fbe30f85
I think that previously the chrome version was included, but since the user-agent is very simple now (does not include any info about the webview anymore) the underlying webrtcadapter library cannot determine the version properly and returns null.
This commit works around that: https://github.com/jurriaan/janus-stream-custom-component/commit/da1678e3f3809ef5399048eb8a60f08b2330fb71
It now works again on my Android device.


Rename the project to netcdf

Also change the name on npm and republish it

there are people using this project and all the project implementing the parser are using this standard, as you can see in this list of projects

Actually netcdf is taken on npm so we can do nothing ... Too bad because of course netcdf appears on the top of the list looking for this keyword on npm.
I have the impression that if you put a '-' in the name npm will split it and use it as keyword. So in the future if the name we want is taken, like netcdf, it would make sense probably to use 'netcdf-js' in order to be indexed correctly.

in any case, that keyword is in the package.json and therefore it changes nothing


children and descendants

The docs say:

Note that li items can contains only one or max two direct children.

Can you explain why there is this limitation and how we can work around it. I want to use "jsl" in a wysiwyg html editor to let the use rearrange lists. The content within an  can be anything. For example:

eric idle was a very nice person.

Do I have to wrap all content within the
 in a
 or  which might be difficult to accomplish.

It is not so simple. The only way is to write a plugin for that wysiwyg which will create required type of list or rewrite this. I can't help you with this.

@camohub Thanks for your reply. Is this requirement for max two children a limit to what can be in the "Currently dragged element" or does it also apply to the underlying
 as well. If it is a limit of what can be in the "Currently dragged element" then I can remove the child markup when creating the drag element.

If I remember this requirement is necessary to creating nested lists.


kmedium alpha scaling error

Hey Thurston,
I recently updated to QUPS v1.2.1 and noticed the added feature of kmedium.alpha_mode = 'no_dispersion' when alpha_power == 1... nice!
Although I kept getting NaNs in my channel data, and when comparing with an old version of QUPS, I noticed that a line in src/Medium.m involving manual scaling of alpha_coef may be the culprit. After removing the manual scaling factor on alpha (i.e., just leave alpha as is), my simulations run correctly now and complete without NaNs in my channel data.
Thanks,
Ben

Never mind, I can just enter the attenuation values in my script as dB/m/Hz instead of dB/cm/MHz (as I originally had everything).


[FEATURE] Use wasmcloud cache for inspect commands

Is your feature request related to a problem? Please describe.
Currently, both wash claims inspect and wash par inspect do not refer to the wasmcloud cache before downloading an actor or provider from an OCI registry. This causes the inspect command to take longer than it should, as OCI references are intended to be immutable.
Describe the solution you'd like
Following the same process as wasmcloud-host does, wash claims inspect and wash par inspect should read and write from/to the cache stored in the user's temp directory. This logic can be found in the cached_file function.

For an initial implementation, I imagine this essentially being a copy-paste from the linked cached_file function

@stevelr I'm okay with moving this to the Post MVP scope as it has some implications around inspecting what's in a local registry, thoughts?

Regarding my above comment, the implication is as follows:
If an actor/provider is present in the local cache, then the idea is that  wash claims inspect would display the embedded claims in the cached file rather than fetching the latest artifact (if it changed). I actually think this is intended behavior, as it shows you the information about the actor/provider that the host will start.
What I'd love to see for this issue is to:

Inspect artifacts in the local cache. The Rust code to determine where an actor is stored can be found here, and the provider code is here
Add a --disable-cache boolean flag that will fetch the latest artifact from the OCI URL and overwrite the local cache. This could be derived from an environment variable like WASH_DISABLE_CACHE in order to disable cache and always fetch the latest artifact.

nit: to me "disable" sounds like it might mean turning the cache off for longer than the duration of the current command. For example, "disable" for systemd services means turning them off for the next boot.  --no-cache sounds more temporary.


feat: Add custom repositories support

I think this might be addressed with https://github.com/redhat-cop/infra.leapp/pull/161.

I agree I think this ended up getting implemented in #161 so closing


[Bug]: Rust #![attributes] are not highlighted

Your minimal.lua config
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  {
    "olimorris/onedarkpro.nvim",
    opts = {
      -- Your OneDarkPro config goes here
    },
    config = true
  },

  { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },

  -- Delete if you do not require LSP
  {
    "VonHeikemen/lsp-zero.nvim",
    branch = "v2.x",
    dependencies = {
      -- LSP Support
      {"neovim/nvim-lspconfig"},             -- Required
      {                                      -- Optional
        "williamboman/mason.nvim",
        build = function()
          pcall(vim.cmd, "MasonUpdate")
        end,
      },
      {"williamboman/mason-lspconfig.nvim"}, -- Optional

      -- Autocompletion
      {"hrsh7th/nvim-cmp"},     -- Required
      {"hrsh7th/cmp-nvim-lsp"}, -- Required
      {"L3MON4D3/LuaSnip"},     -- Required
    },
    config = function()
      local lsp = require("lsp-zero").preset({})

      lsp.on_attach(function(client, bufnr)
        lsp.default_keymaps({buffer = bufnr})
      end)

      lsp.ensure_installed({ "lua_ls" })

      -- (Optional) Configure lua language server for neovim
      require("lspconfig").lua_ls.setup(lsp.nvim_lua_ls())

      lsp.setup()
    end
  }

  -- add any other plugins here
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- setup treesitter
local ok, treesitter = pcall(require, "nvim-treesitter.configs")
if ok then
  treesitter.setup({
    ensure_installed = "all",
    ignore_install = { "phpdoc" }, -- list of parser which cause issues or crashes
    highlight = { enable = true },
  })
end

vim.cmd("colorscheme onedark")

Error messages
No response
Describe the bug
For example, this is not highlighted, which I typically put at the top of any lib.rs file:
#![deny(clippy::all, clippy::pedantic, rust_2018_idioms, clippy::unwrap_used)]

But kind without the ! are highlighted correctly:
#[derive(Debug)]

Screenshot:

Looks like it needs an additional LSP semantic token highlight.
Reproduce the bug

cargo new example-crate
Edit main.rs to have the following contents

#![deny(clippy::all, clippy::pedantic, rust_2018_idioms, clippy::unwrap_used)]

#[derive(Debug)]
enum Error {
  MyError,
}

fn main() {}

Final checks

[X] I have made sure this issue exists in the latest version of the plugin
[X] I have tested with the minimal.lua config file above and still get the issue
[X] I have confirmed that Treesitter is working correctly by running :checkhealth treesitter
[X] If related to semantic tokens, I have checked that my LSP server supports them
[X] I have made sure this is not a duplicate issue

I notice this isn't coloured in the original VS Code theme either:

...which seems a bit of a miss.
How does this look?

I used these highlights:
<EMAIL_ADDRESS>= { link = "Function" },
<EMAIL_ADDRESS>= { link =<EMAIL_ADDRESS>},
<EMAIL_ADDRESS>= { fg = theme.palette.red, style = config.styles.variables },

That looks great! Should I copy those to my config or will you be adding those to the default Rust highlights?

I've merged into main! Thanks for raising...looks so much better.


as_grambank_wide fails tests

as_grambank_wide/as.grambank.wide fails test in main branch.
==> Testing R file using 'testthat'

[ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ]

── Error (test_as_grambank_wide.R:3:5): as.grambank.wide ───────────────────────
Error in `as.grambank.wide(gb$tables$ValueTable)`: could not find function "as.grambank.wide"

── Failure (test_as_grambank_wide.R:30:5): as.grambank.wide fails on incorrect formats ──
`as.grambank.wide("not a table")` threw an error with unexpected message.
Expected match: "'ValueTable' must be a dataframe."
Actual message: "could not find function \"as.grambank.wide\""
Backtrace:
    ▆
 1. └─testthat::expect_error(as.grambank.wide("not a table"), "'ValueTable' must be a dataframe.") at test_as_grambank_wide.R:30:4
 2.   └─testthat:::quasi_capture(...)
 3.     ├─testthat (local) .capture(...)
 4.     │ └─base::withCallingHandlers(...)
 5.     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))

── Failure (test_as_grambank_wide.R:31:5): as.grambank.wide fails on incorrect formats ──
`as.grambank.wide(data.frame())` threw an error with unexpected message.
Expected match: "Invalid table format"
Actual message: "could not find function \"as.grambank.wide\""
Backtrace:
    ▆
 1. └─testthat::expect_error(as.grambank.wide(data.frame()), "Invalid table format") at test_as_grambank_wide.R:31:4
 2.   └─testthat:::quasi_capture(...)
 3.     ├─testthat (local) .capture(...)
 4.     │ └─base::withCallingHandlers(...)
 5.     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ]

Test complete

Somehow, when I run the tests it's not accurately finding the functions. If I start with

library(rcldf)
library(tidyverse)
source("../../R/as_grambank_wide.R")

then the test passes.

As far as I understand from the error message below, I run into problems loading the package due to this function.
Error: package or namespace load failed for 'rgrambank' in namespaceExport(ns, exports):
 undefined exports: as.grambank.wide
Error: loading failed
Execution halted
ERROR: loading failed

Hi Olena, it should work now, please reinstall and try again


[Impeller][Compiler] support more types in vertex stage inputs

Today, using a type like float or int results in a Padding<4> in the generated header.

This is a little better after flutter/impeller#31, but still has some gaps

I took a look at what was missing and the the common types are already in there. If we are missing something specific we end up needing later, we can file a separate issue for that.


Publish 8.0-20230204010107+0000

Publish 8.0-20230204010107+0000

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.


Allow Stashing of Individual Hunks

Is your feature request related to a problem? Please describe.
There is no way to stash individual hunks from within Neovim
Describe the solution you'd like
I would like to be able to stash hunks in a similar fashion to how they can be staged/unstaged
Describe alternatives you've considered
In a pinch, I can accomplish something similar using git stash -p
Additional context
N/A

Stash hunks is easy enough but how would/can we handle unstashing.
Also what exactly happens when a hunk is stashed. Do we create a new stash for each stashed hunk or do we append to an existing stash?

An alternative which might be preferable is to stage hunks as normal and then run:
:!git stash push --staged --message "hunks stashed from gitsigns"

Closing until response.


WCAG: Label within legend on radio/checkboxes gives warning from wave accessibility tests

Description of the bug
It looks like we have a minor error in how we have our radio and checkboxes set up.
The reason why Wave is giving us a warning is because the label tag use an id connected to an div element. The label tag is mainly used for input elements and to my understanding do not support div

Solution would be to remove the label tag and leave the text inside the legend
Example (Under the fieldset for the win header)
Steps To Reproduce
Go to an app with checkboxes/radiobuttons
Check with Wave or just check the html and see that there are a label inside the legend
Additional Information
No response

Duplicate of #753


adjustment for anomaly detection

Hey!
Thanks for making the code available. I was wondering about the adjustment made for the anomaly detection. Is this done for all the competing methods? And is there some documentation for the datasets that explains that part of the evaluation?

For anomaly detection, we follow the https://github.com/thuml/Time-Series-Library We use the same strategy for all methods. You can refer to their repo for more details about the evalution.

Thank you. That's interesting, it seems to be common in the deep learning literature but not in the previous time series anomaly literature. For example the VUS paper https://www.paparrizos.org/papers/PaparrizosVLDB22b.pdf and the "precision and recall for time series" paper don't consider this version, right? https://proceedings.neurips.cc/paper_files/paper/2018/file/8f468c873a32bb0619eaeb2050ba45d1-Paper.pdf
It makes sense that you follow the competing methods, but is there a reason not to use the published and studied metrics?


MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start.

<EMAIL_ADDRESS>dev
wrangler dev

⛅ wrangler 3.64.0
⎔ Starting local server...
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
C:\Users\user\my-app\node_modules\wrangler\wrangler-dist\cli.js:29765
throw a;
^
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
at #assembleAndUpdateConfig (C:\Users\user\my-app\node_modules\miniflare\dist\src\index.js:9178:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Mutex.runWith (C:\Users\user\my-app\node_modules\miniflare\dist\src\index.js:3521:16) {
code: 'ERR_RUNTIME_FAILURE',
cause: undefined
}
Node.js v22.4.1

can anyone pls help this to resolve ?

I believe this is a duplicate of https://github.com/cloudflare/workers-sdk/issues/6170. Let's move the discussion there.
Are you able to provide a reproduction that we can run locally? Also can you provide exactly what version/build of Windows you are using?

Yeah i have resolved this issue , the problem is with the node js version, i have re-installed it !!!
Thankyou for responding!!!

Yeah i have resolved this issue , the problem is with the node js version, i have re-installed it !!! Thankyou for responding!!!

What node version worked for you ?

@hamaadraza Check this reply, it worked for me, you may try to follow the options listed if you are using Windows that is: cloudflare/workers-sdk#6170 (comment)

Thank you so much. Worked perfectly.


Install custom.css

I use a ~/.jupyter/custom/custom.css style sheet for my notebooks and reveal.js exports. I would like to install it somewhere in the produced image so that it works out of the box for my students. I believe that maybe this could be achieved by putting custom.css in the source repo and then copying it to somewhere below one of
config:
    /home/jovyan/.jupyter
    /srv/conda/envs/notebook/etc/jupyter
    /usr/local/etc/jupyter
    /etc/jupyter

in the postBuilt script, but I'm not sure how to do that and how robust that solution is (I figured out the paths by calling !jupyter --paths but maybe this is not always the same, I don't know). Is that possible? If not, consider this a FR. Thanks!

Ok, I managed myself to get this working by adding my custom.css to my repo and this postBuild
#!/bin/bash

mkdir -p ~/.jupyter/custom
cp custom.css ~/.jupyter/custom

For future reference: there is no need to do the above. If custom.css is located in your repo in /.jupyter/custom , it will just be copied to the user home directory in the image. So no postBuild is required.


ARROW-13016: [C++][Compute] Support Null type in Sum/Mean/MinMax aggregation

The Sum/Mean/MinMax of a Null type array is a Null type scalar.

One problem with supporting this for the "null" type, is that a sum of an empty array (empty to start with or after skipping all the nulls) can be defined as 0 (depending on the value of the min_count parameter), while for "null" type that can of course only be null.

@jorisvandenbossche has a good point. The only reason to define these kernels is for consistency. But always returning null doesn't seem consistent with current behaviour of the kernels for numeric types.
@bkietz Any opinion?

Maybe we can keep a consistent behavior with numeric types.
For example,

Count: keep the current implementation (return 0 for skip_nulls option, otherwise return the count of the null elements)
Sum: return 0 if min_count == 0, otherwise return a null scalar
Mean: return a double scalar of null value
MinMax: return a struct scalar of two null scalar children

Count is indeed certainly not a problem for "null" type (since it only counting the values, not calculating anything with them). And also for MinMax it seems this always returns null for empty or all-null numeric arrays, so there wouldn't be an inconsistency here.
So it's mainly Sum that would give a type inconsistency. Mean might give less of a problem, because currently that kernel always returns a double regardless of the (numeric) input type.

This PR is rebased with the master branch and updated.

The MinMax of null type is supported now, so it's removed in this PR.
The sum of an empty array or min_count == 0 returns an int64 scalar of 0, otherwise return a null scalar
The mean of an empty array or min_count == 0 returns a double scalar of 0, otherwise return a double scalar of null value

I am not sure how to return different types of data, so I skipped the type checking.
@jorisvandenbossche @pitrou @bkietz Could you please help to review?

@lidavidm, the code is updated. Now the sum of a null array always returns an int64 scalar.


Make the Navbar responsive

Feature Request
I think the navbar should be made responsive as while viewing on a different device, the navbar looks a little clunky.

I have made the changes so now the above-mentioned problem looks to be resolved. The website looks responsive on all devices.


Feat feedback button

Provide a feedback button in the TopBar that allows users to either send us an email or directly link to Github Issues.
Testing location

Looks good to me. The only thing I would change is the name of the page. It is still called "algo-learn" in e.g. the mail text. But maybe this is an issue we should solve for the whole page.

Agree, but would change this with the bigger refactoring. So for the moment it stays consistent

Yes. So from my side, this PR can be merged.


Prevents duplicate help messages being printed out, when using ./pt -h

The err message itself contains the entirety of the help message, plus
the flags library has already output, so when catching and displaying
the error, it duplicates the help message.
The check simply looks for 'Usage:' which is an indicator that it is a
help message and not an actual error.

There's a generic error message duplication bug in pt that needs fixing, working around -h duplication is not enough:
% pt -x
unknown flag 'x'
unknown flag 'x'

I have sent PR #116. This issue is caused by PrintErrors flag of go-flags. If it is set, the package should not show go-flags error message.

oh... :dizzy_face:
I will merge #116 instead of this PR.
@mkaz @einars Thank you for reporting.

I have released v2.0.2 now.


added conditional download

I pulled back your latest changes, and added in this conditional download clause, to save time on subsequent runs. If you close the notebook and re-open it. I could agree that it doesn't aid readibility of the notebook so I understand if you don't merge, I can keep it in my dev branch. Its great to see the notebook working again (note I have not tested the whole thing in the docker image, yet but I will do when my next week).

@russelljjarvis
Could you reopen this request to the dev branch?


[$250] Add some basic runtime type validation in Onyx

coming from https://github.com/Expensify/Expensify/issues/363913...
Problem
It is possible to queue incorrect Onyx updates from Auth. Twice now, we have seen an array used in place of an object in an Onyx update in Auth, which when merged completely removes the object and replaces it with an array.
Solution
While we recognize that there a number of more elegant solutions to this (compile time type validation of Onyx updates in the back-end being a prime candidate), we should apply a simple solution to prevent simple mistakes from having catastrophic effects, as we have seen occur in production twice already.
What this means is - let's update Onyx such that:

it will not apply any updates where we try to merge an array into an object, or vice-versa
it will log an alert if we do try to do that (except on dev, of course)

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0152270829f1a6f929
Upwork Job ID:<PHONE_NUMBER>488273408
Last Price Increase: 2024-04-08

Issue OwnerCurrent Issue Owner: @kadiealexander

@ShridharGoel Wouldn't we need to check if it's an Array for the existingValue as well? I am assuming we're using the existing block with OnyxUtils.get(key).then(existingValue.
@roryabraham

The following is true for all/any environment right?

it will not apply any updates where we try to merge an array into an object, or vice-versa

Would Logger.logAlert suffice for the mismatch? do we need any sendActionToDevTools?

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01f70bed1934fd35d5

### Proposal
Please re-state the problem that we are trying to solve in this issue.
Add some basic runtime type validation in Onyx #39852
What is the root cause of that problem?
The validation of the datatype for Onyx update will be done in the backend but double validation in the frontend is helpful in order to prevent simple mistakes.
What changes do you think we should make in order to solve the problem?
The functions for Onyx update such as Onyx.set(), Onyx.update() are performed by write(..., onyxData, ...) function in the @libs/API/index.ts.
As the parameter for Onyx, we can see a variable - onyxData(which is consist of OptimisticData and onyxDataWithoutOptimisticData). Here, OptimisticData is enough to compare the types of old and new.
There is the example of optimisticData variable below. (refer to tunction signIn())
const optimisticData: OnyxUpdate[] = [
        {
            onyxMethod: Onyx.METHOD.MERGE,
            key: ONYXKEYS.ACCOUNT,
            value: {
                ...CONST.DEFAULT_ACCOUNT_DATA,
                isLoading: true,
                loadingForm: twoFactorAuthCode ? CONST.FORMS.VALIDATE_TFA_CODE_FORM : CONST.FORMS.VALIDATE_CODE_FORM,
            },
        },
    ];

We can get the old value from "key" property, and compare it with "value" property.
const promise1 = new Promise((resolve, reject) => {
    if (oldValueType !== newValueType) {
        Logger.logAlert();
        Promise.reject();
    } else {
        // Do the original action
        Promise.resolve();
    }
});
Promise.all([promise1]).then((values) => {
    console.log(values);
});

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

Contributor details
My Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01e06e26f8cd83d24f

I think @ShridharGoel's proposal makes sense. Pending response from @roryabraham .
🎀 👀 🎀 C+ reviewed.

@mananjadhav That proposal won't work in many cases, as mentioned in my proposal.
Some examples where that solution will cause regression:

When we try to clear an Array key (we won't be able to clear)
When there're many updates in update array, but only one of them is invalid

Can you double check on that?
cc @roryabraham

At once we pass either an object or array to merge. So, if the existing value is an object and the new value is not, we'll not continue with the merge, and vice-versa.

@ShridharGoel So is it correct that you're suggesting to run OnyxUtils.get(key).then(existingValue => to check the existingValue for every change? (without batching changes)

Any solution is likely to conflict with https://github.com/Expensify/react-native-onyx/pull/523

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01372c73faaf7896d3

The following is true for all/any environment right?

correct

Would Logger.logAlert suffice for the mismatch?

yes

Sorry if this wasn't clear, but this change should apply not only to Onyx.merge, but also to Onyx.set and Onyx.mergeCollection. As such, I don't think any of the current proposals are sufficient

I think that the write() function in the @libs/API/index.ts performs all the commands such as merge(), set(), mergeCollection(), and so on by following the command type. The first parameter of write() function is command such as "ONYXKEYS.MERGE". Even though the parameter is MERGE_COLLECTION, it works.

Proposal updated to handle the Onyx.set and Onyx.mergeCollection too, based on this expectation update

@mananjadhav bump for review please!

Will review this today/tomorrow.

Going to move forward with @dominictb's proposal - I like how it abstracted isUpdateCompatibleWithExistingValue.

Going to move forward with @dominictb's proposal - I like how it abstracted isUpdateCompatibleWithExistingValue.

Agreed.

PR is still in draft

PR was taken out of draft, I left a comment there

@mananjadhav requesting your PR review again. Thanks!

PR is in review and should hopefully be merged soon

Onyx PR merged. @dominictb please open a PR to upgrade react-native-onyx to 2.0.35+ ASAP to complete this issue. Thanks!

Sure!

E/App PR has been merged, thanks everyone. now we just hurry up and wait for it to be deployed.

Unfortunately the E/App PR to upgrade Onyx was reverted due to a regression from an unrelated Oynx PR. I've asked someone else to redo the upgrade PR, so there's nothing more to do here except for wait for Onyx to be fixed and upgraded again for this to go to staging.

Not overdue.

@roryabraham Are we expecting any updates on the Onyx version?

Waiting for an update from @roryabraham on this one.

Quick bump @roryabraham. Did you get chance to look at the previous comments?

Just checked and it seems @roryabraham is OOO. Let's wait for him to come back by this week, else will ask to reassign.

Ok, so this is definitely out in production right now, and I think it was deployed in https://github.com/Expensify/App/pull/42772.
So that means it's been on prod for about a week. Given the unrelated delays, I suggest we pay this out right away and then close this.

@kadiealexander this is ready for payout. Can you update the payment summary?

Payouts due:

[ ] Contributor: $250 @dominictb
[ ] Contributor+: $250 @mananjadhav (Upwork)

Upwork job is here.
@dominictb please apply on Upwork, I couldn't find your account.

@kadiealexander I don't need the Upwork payout. I have requested on NewDot.

Withdrawn, thanks Manan!

$250 approved for @mananjadhav


Fix Broken Links in documentation

solves #86
Updated broken links in configuration.md.
Tested the new links in index.html:
-the links navigate to the correct pages.

All corrections were applied correctly. Thanks.


Fixing files issue with reporting

cannot read property filesSrc of undefined

Thanks for your interest in palantir/grunt-tslint, @Hobart2967! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

This seems fine; can you sign the CLA @Hobart2967?


Update Grafana to 6.3.6

Hi, @andyone.
I would ask you to build an RPM package for Grafana 6.3.6. I have also adapted patch for alerting by ClickHouse metrics. Now Grafana stores basic authentication credentials inside special Secure JSON data structure, so it is needs extracting and decrypting before usage with function DecryptedBasicAuthPassword().
Please let me know if you find something to improve.

Looks good, merged. Thanks!

Package has been added to kaos-testing repository.


Called setPositions() on a Context with the wrong number of positions

Trying to use the pre-trained espaloma-0.3.0 on my supercell, and came across this vague error that I can't seem to get the origin of?
/home/hy2120/miniconda/envs/openff/lib/python3.10/site-packages/dgl/heterograph.py:72: DGLWarning: Recommend creating graphs by `dgl.graph(data)` instead of `dgl.DGLGraph(data)`.
  dgl_warning('Recommend creating graphs by `dgl.graph(data)'
/home/hy2120/miniconda/envs/openff/lib/python3.10/site-packages/dgl/backend/pytorch/tensor.py:352: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  assert input.numel() == input.storage().size(), "Cannot convert view " \
Traceback (most recent call last):
  File "<stdin>", line 25, in <module>
  File "/home/hy2120/miniconda/envs/openff/lib/python3.10/site-packages/openmm/openmm.py", line 3479, in setPositions
    return _openmm.Context_setPositions(self, positions)
openmm.OpenMMException: Called setPositions() on a Context with the wrong number of positions

@ijpulidos @yuanqing-wang any ideas here?

We worked around this by borrowing approaches in #192 and using the EspalomaTemplateGeneratorwhich we then put in an openff.Forcefield object in order to use the openmm.app.Modeller. This approach seemed to be happily start a multi-molecule input file in Espaloma, and though I have not checked carefully the Forcefield is correct, the dynamics looked sensible.
I'm always a bit lost debugging Python and end up trying different instantiated objects until something works.
https://github.com/Frost-group/ConjugatedEspaloma/commit/61e52802f27e286931fe2f099d25011e82a8ee0b

@ijpulidos we should update our docs to include a little example like this


Requesting a new audio feature

[O] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
I'm currently using scrcpy --video-codec=h264 --max-fps=60 --record=video.mp4--no-audio. However, it seems like this option disables the audio completely, eventually making the recorded video (.mp4) soundless. using --no-audio-playback makes the sound become recorded, but doesn't let me hear anything while recording the android screen.
Describe the solution you'd like
I would like a new option about audio. This new audio option should play the audio on the android device itself, not the connected PC (this will make no latency when playing audio). However, the audio itself is still being recorded, so I could heat the audio when I check the recorded .mp4 file.
I'm very new to this, so there could be a possibility that this option already exists, but I don't know how to use it. If so, please reply to me, and I'll use that method and end this issue report. I'll wait for replies.

Sad to hear, anyways thanks for the replies.


feat(pwa): added pendapatan feature :rocket:

:tada: This PR is included in version 1.0.0-beta.8 :tada:
The release is available on:

GitHub release
v1.0.0-beta.8

Your semantic-release bot :package::rocket:

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

GitHub release
v1.0.0

Your semantic-release bot :package::rocket:


Nginx bouncer error: request failed: bad uri: ${CROWDSEC_LAPI_URL}

What happened?
Nginx throws error:
[Crowdsec] bouncer error: request failed: bad uri: ${CROWDSEC_LAPI_URL}/v1/decisions?ip=*.*.*.*, client: *.*.*.*, server: [redacted], request: "GET /startpage/ HTTP/2.0", host: "[redacted]", referrer: "[redacted]"
What did you expect to happen?
Should use API_URL variable as per docs.
How can we reproduce it (as minimally and precisely as possible)?
Deploy nginx bouncer on kubernetes via:
controller:
  extraVolumes:
    - name: crowdsec-bouncer-plugin
      emptyDir: {}
  extraInitContainers:
    - name: init-clone-crowdsec-bouncer
      image: crowdsecurity/lua-bouncer-plugin
      tag: v1.0.2@sha256:608f0ff0b78bdcc3eb68669900020352095671c0952c13e17155b584d3419085
      imagePullPolicy: IfNotPresent
      env:
        - name: CROWDSEC_LAPI_URL
          value: "http://crowdsec-service.watchtower.svc.cluster.local:8080" # crowdsec lapi service-name
        - name: API_URL
          value: "http://crowdsec-service.watchtower.svc.cluster.local:8080" # crowdsec lapi service-name
        - name: API_KEY
          valueFrom:
            secretKeyRef:
              name: ingress-nginx
              key: BOUNCER_KEY
        - name: BOUNCER_CONFIG
          value: "/crowdsec/crowdsec-bouncer.conf"
        - name: BAN_TEMPLATE_PATH
          value: /etc/nginx/lua/plugins/crowdsec/templates/ban.html
      # Due to https://discourse.crowdsec.net/t/problems-installing-nginx-bouncer-in-k3s/1273
      # command: ['sh', '-c', "sh /docker_start.sh; mkdir -p /lua_plugins/crowdsec/; cp -R /crowdsec/* /lua_plugins/crowdsec/"]
      command:
        [
          "sh",
          "-c",
          "apk update; apk add bash; bash /docker_start.sh; mkdir -p /lua_plugins/crowdsec/; cp -R /crowdsec/* /lua_plugins/crowdsec/",
        ]
      volumeMounts:
        - name: crowdsec-bouncer-plugin
          mountPath: /lua_plugins
  extraVolumeMounts:
    - name: crowdsec-bouncer-plugin
      mountPath: /etc/nginx/lua/plugins/crowdsec
      subPath: crowdsec
  config:
    plugins: "crowdsec"
    lua-shared-dicts: "crowdsec_cache: 50m"
    server-snippet: |
      resolver local=on ipv6=off;

Anything else we need to know?
Tried setting CROWDSEC_LAPI_URL as env variable.
Crowdsec version

v1.6.2

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Enabled collections and parsers

$ cscli hub list -o raw
# paste output here

Acquisition config

```console
# On Linux:
$ cat /etc/crowdsec/acquis.yaml /etc/crowdsec/acquis.d/*
# paste output here
On Windows:
C:> Get-Content C:\ProgramData\CrowdSec\config\acquis.yaml
paste output here

Config show

$ cscli config show
# paste output here

Prometheus metrics

$ cscli metrics
# paste output here

Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.

Will look into this currently it should detect the API_URL within the bash script and replace the whole configuration line.
https://github.com/crowdsecurity/cs-openresty-bouncer/blob/3ae4af0f0a672138a905f1d256501e18d0b2c563/docker/docker_start.sh#L8-L10
Can you check the loaded configuration location does not include duplicated API_URL keys by execing into the nginx ingress?

ok, issue is if initContainer fails due to some reason... currently that's not resulting in process failure. and system continues.
Related #35


Don't show wxWidgets 3.2 Art images if generating for wxWidgets 3.1

Description:

wxUiEditor supports generating code for wxWidgets 3.1. However, because it is built with wxWidgets 3.2, the list of Art images contains many of the new svg images that are not available in wxWidgets 3.1. The dialog box should be changed to let the user choose the version so that we can remove the items that are new to 3.2. We should also check to see if there are images new to 3.3 as well.

We only marginally support wxWidgets 3.1, so I'm not seeing this as a bug. Marking this as low priority, since given the active plans for wxUiEditor, it's unlikely this will ever be fixed unless someone else wants to tackle it.


Implement more logic for file loader / resolver for multi-file tests

https://github.com/dudykr/stc/pull/700 enabled a multi-file testing system, but the loader/resolver is not good enough.
But I want to work on other things first, so I'm filing an issue instead.
If you run check.sh, you will see panic messages starting with not yet implemented: .
e.g.
========== Running test moduleResolution/importFromDot.ts
Source:
// @module: commonjs

// @Filename: a.ts
export const rootA = 0;

// @Filename: a/index.ts
export const indexInA = 0;

// @Filename: a/b.ts
import { indexInA, rootA } from ".";

[crates/stc_ts_type_checker/tests/tsc.rs:305] &libs = [
    Es5,
    Dom,
]
load_file: Real("a/b.ts")
resolve: Real("a/b.ts") "."
thread 'conformance::moduleResolution::importFromDot.ts' panicked at 'not yet implemented: resolve: Real("a/b.ts") "."', crates/stc_ts_type_checker/tests/tsc.rs:523:9
stack backtrace:
   0: rust_begin_unwind

Relevant code:
https://github.com/dudykr/stc/blob/86891e586d0162a7b737143910c8e2d30a1aefca/crates/stc_ts_type_checker/tests/tsc.rs#L506-L545

I'd love to work on this

Thank you!

That makes sense, I was extremely busy last week didn't have time to work on this, will try to find some time this weekend. Sorry for the delay man.

No worries, really. It's definitely not something you should be sorry.
I found that we need node_modules support while trying to make more good first issues.

Sorry for the delay, I'm still interested and I'll dedicate some time this weekend!

Hi @kdy1! If this still needs attention, I'd be willing to work on it.
I've already implemented the TypeScript Module Resolution system before (for my Turboprisma project), so it should be pretty easy to do.

It will be really nice, thank you!

@DavidHancu go for it man. I can't really dedicate time to this.

resolve import . at #1064
resolve emit error about not exist file #1076


Eazydiner Restaurant scraper

Describe the project you want to add with tech stack
To scrape the eazydiner website and obtain valuable information such as restaurant names, addresses, contact details, ratings, and reviews, etc.
Expected behavior
It will provide a JSON response which will have the restaurant names, addresses, contact details, ratings, and reviews, etc. for a given city provided by the user.
Screenshots (optional)

@MohitGupta121 @TusharKesarwani please assign me the issue


Can you add the functionality of combining image batches? This way, we can achieve video background removal

Can you add the functionality of combining image batches? This way, we can achieve video background removal

It's not easy with video when using multiple masks. I've done this before in a fork for segment_anything, where the masking was quite accurate, but it involves adding multiple masks (sub-batches) to the initial batch. Here, we need to think about the most efficient approach, as the post-processors also need to be adjusted accordingly to handle potentially empty masks and, most importantly, whether the model maintains mask quality across the batch length. Wouldn't Rembg / Image Remove Background Node in ComfUI Essentials be more suitable for removing the background in your task?? It can handle image batches effectively.
Just my thoughts.


fix nonce-check failed after delete the node data and restart all the node

fix nonce-check failed after delete the node data and restart all the node
add try catch to the function executed by the threadpool

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ba23b38). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #145   +/-   ##
=========================================
  Coverage          ?   17.02%
  Complexity        ?      653
=========================================
  Files             ?      411
  Lines             ?    12223
  Branches          ?     1425
=========================================
  Hits              ?     2081
  Misses            ?     9921
  Partials          ?      221

Continue to review full report at Codecov.

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


Misc projects docs grammar fixes

Thank you for the Prettier fix (sorry I was lazy and made the edit via the GitHub UI and not my editor, so Prettier didn't run).

No problem.


Unable to launch any hosts using the new docker-machine in a local auth setup

v0.49.0-rc1
Steps I took:

Turned on local auth
Added an additional user account
Logged in using user account on another browser
Use original browser (logged in as admin) to try to launch DO machines.

Result: exit status 1 for every host even though machine is created in DO.

Relevant stack trace:
goroutine 21 [running]:
github.com/rancher/go-machine-service/handlers.getMachineDir(0x0, 0x0, 0x0, 0x0, 0x0)
        /gprojects/go-machine-service/src/github.com/rancher/go-machine-service/handlers/common.go:35 +0x8d
github.com/rancher/go-machine-service/handlers.PurgeMachine(0xc20830c000, 0xc208080000, 0x0, 0x0)
        /gprojects/go-machine-service/src/github.com/rancher/go-machine-service/handlers/remove.go:22 +0x359

Eureka! Figured it out and will fix.
We changed go-rancher client to not return an error if a request gets a 404 response

The issue seemed to reside in adding a custom host at the same time as a host using machine.
Did not have the issue in v0.49.0-rc3.


(Frontend) AHR Black History Month

Preview Link

Click to demo updates
To Do

[x] fix frontend tests for BRFSS provider
[x] fix missing age buckets for voter: data table is ONLY showing 18-24;
[x] fix missing age buckets for voter: data table is missing data and population data for some age buckets. issue is on the backend as the /tmp json files are missing the data to begin with
[x] fix missing age buckets for voter: simple bar chart is MISSING 18-24
[x] fix missing age buckets for voter: disparity bar chart is MISSING 18-24
[ ] CHRONIC KIDNEY (AHR reports "Black and Hispanic adults compared with white and Asian adults" but our report shows black and AIAN as highest, and hispanic and asian as lowest". Confirm why and if this is a problem with the numbers or the AHR analysis
[ ] PREVENTABLE HOSP "Black adults compared with Asian/Pacific Islander adults. " Asian is missing and other variables because of mismatched racial groups. ALSO "Adults ages 65 and older, who have a rate of preventable hospitalization more than 12 times that of those ages 18-44." we don't have any age brackets available. is this a data error?
[ ] VOTER we are only looking at the subset for presidential; it looks like they average in the non-demographic breakdown midterm data as well for their "all" metric. should do this somehow?
[ ] VOTER why is there no data in AHR csv for 65+ ??
[ ] update data sources / meta data.
[ ] Confirm which data is actually sourced originally from BRFSS survey and which data might come from other surveys (voting?)

Spot check our results against AHR

[x] Asthma
[x] Cardiovascular disease
[x] Chronic Kidney Disease
[x] Avoided Care due to Costs
[x] Preventable Hospitalization
[x] Voter Participation

Description
Adds several new determinants to the tracker, to balance the number of determinants per category and to highlight some determinants that particularly affect Black Americans (with the focus of Feb being Black History Month)
Chronic Disease

Asthma: Percentage of adults who reported being told by a health professional that they currently have asthma
Cardiovascular diseases: Percentage of adults who reported being told by a health professional that they had angina or coronary heart disease; a heart attack or myocardial infarction; or a stroke
Chronic Kidney Disease: Percentage of adults who reported being told by a health professional that they have kidney disease not including kidney stones, bladder infection or incontinence

Social / Political Determinant

Avoided Care due to Cost: Percentage of adults who reported a time in the past 12 months when they needed to see a doctor but could not because of cost
Preventable Hospitalizations: Discharges following hospitalization for diabetes with short- or long-term complications, uncontrolled diabetes without complications, diabetes with lower-extremity amputation, chronic obstructive pulmonary disease, angina without a procedure, asthma, hypertension, heart failure, dehydration, bacterial pneumonia or urinary tract infection per 100,000 Medicare beneficiaries ages 18 and older continuously enrolled in Medicare fee-for-service Part A
Voter Participation (Presidential): Percentage of U.S. citizens ages 18 and older who voted in the last presidential national election

Motivation and Context
closes #1423
How has this been tested?

Screenshots (if appropriate):

Types of changes

Breaking change (fix or feature that would cause existing functionality to not work as expected)

We now use either midterm, presidential, or the average of both. results match AHR's average reporting for state totals


feat: add support for voting and proposal validation

Summary
This PR adds last missing functionality for Offchain space settings - voting and proposal validation.
Designs didn't include designs for basic voting validation so I improvised.
Closes: https://github.com/snapshot-labs/workflow/issues/152
Depends on: https://github.com/snapshot-labs/sx-monorepo/pull/836
How to test

Go to offchain space settings.
You can modify voting and proposal validation, using different strategies.

Screenshots

@wa0x6e Updated, I liked the version without toggle so I applied it.

The text from Stamp selector should be aligned to left. The arrow in the selector should stay same position than on the empty state, currently it's vertically aligned, also it should use shrink-0 otherwise it get resized.

We should remove the option "Anyone can propose" this is never valid for proposal validation, we shouldn't allow the UX to lead to invalid settings. I would instead show "Allow only authors to submit a proposal" before the validation selector, show validation selector only if "Allow only authors " is not selected and remove the error message "Proposal validation is required to prevent unauthorized..." or "Proposal settings are invalid".

Can you add a placeholder for Minimum score input with e.g. 1.23

Otherwise it looks good.

When I disable "Only author can propose" I don't see selector for proposal validation:

When I disable "Allow onlys author to submit proposal" I don't see selector for proposal validation:

Is there a particulary reason this "Only Allow onlys author to submit proposal" options is a switch box.
A better UX would be to include this as an option in the proposal validation modal

When I disable "Allow onlys author to submit proposal" I don't see selector for proposal validation:

Fixed, your network had any validation enabled underneath only members. Changed it so it defaults to basic with minScore: 1  if you had any validation previously, hope it's okay.

@Sekhmet It still not working for me, maybe you forgot to commit changes, I don't see any commit after my message. I think actually a better approach is what Wan suggested, that would simplify the UX. Adding "Allow only authors to submit a proposal" in the list in proposal validation.

That's right, I forgot to push 😆
Will update not to use toggle.

When "Only authors can propose" is selected by default (from the API), and you select any choices, like "Basic", the bottom toolbar with the reset/save button appears. But when you go back, and select "Only authors can propose" again, the bottom toolbar does not disappear, even though it's supposed to be back to the default state.
From my tests, only happening when "Only authors can propose" is the base choice


⚠ Bofrost.fr has degraded performance

In 61a084f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1301 ms

Resolved: Bofrost.fr performance has improved in 9a22dfd after 9 minutes.


Drop use of obsolete windows compilers

[@h-vetinari writing] AFAICT, this recipe hasn't been building windows since its inception, but there was some effort to try adding support in #23. In any case, let's remove the outdated pins from the recipe.
Closes #45

@conda-forge/panda3d, this should be a trivial fix, PTAL! :)


Remove lodash dependency

Our canary build and product builds are currently failing due to a component governance alert concerning lodash. I have updated the packages that have removed their lodash dependency.

@chlafreniere @halerankin @lucyzhang929 @barbaravaldez for the turndown update

Thanks @Charles-Gagnon. Let's wait to see whether the turndown-related tests pass. They've caught changes in behavior a few times before.

Take a look at the build failures too - there's an additional package.json you need to update

@cssuh It looks like you didn't update the yarn.lock after reverting the electron change


Add automation service role capabilities

PLEASE READ
Following a recent back-end update, all contributors with a local clone or fork of our repository are required to run yarn install. This does not apply to direct page edits.

[x] Yes, I've run yarn install
[ ] No, does not apply to me

Purpose of this pull request
This pull request adds Automation Service role capabilities to this article:
https://help.sumologic.com/docs/manage/users-roles/roles/role-capabilities/
It also makes updates to some other articles.

This was something I should have done with Asana ticket "Update permissions for the Automation Service", but didn't. It came to light in a Slack thread.
Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions, .clabot
[ ] Update Content - Revisions, updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Thanks, @kimsauce!


Doesn't seem to work when tamper protection is on

When tamper protection is enabled (the default), some services cannot be stopped:

Stop attempt failed ( Error 1052)

This was already mentioned in #6 but it looks like the issue was closed by the reporter with no more information.

That’s…what tamper protection does.
Tamper protection protects certain processes from being tampered with.


upload examples  error

Hi,
thanks for reporting. It is due to USB host component being still WiP (espressif one), and i will update it soon. In meantime you can just delete that broken line in my library code.

Hi!
I have the same issue here. As from what I have understood from the previous answer I have commeneted the conflictive lines:

Now the sketch compiles and I see the MIDI device. However there is no MIDI output ( I am compiling the example sketch).

Can you help me with that? Thanks.

Hi, thanks for reporting. It is due to USB host component being still WiP (espressif one), and i will update it soon. In meantime you can just delete that broken line in my library code.

Do you have an update preview? I thank you for your attention.