Addressed PS Key bug + Logger and Helper class refactor

Changes:

The Wizard will re-run all powershell if it detects the key error identified in #362 which is a bug in the PS cmdlets
Refactored the Logger class to be accessible anywhere within the WDAC Wizard namespace (thanks, Deven!!). This allows for helper classes to log errors and info too. It's also contained within its own class file too
Split the Helper class into PolicyHelper class, which will contain all the WDAC policy related helper methods. OS and data structure-related helper methods will remain in Helper.cs

Closes #362

Hello @jgeurten
I came up with this command that does exactly what you had in mind, to frontload this error so subsequent commands pass.
if (Test-Path -LiteralPath 'C:\Program Files\Windows Defender\Offline' -PathType Container) {
    New-CIPolicy -UserPEs -ScanPath 'C:\Program Files\Windows Defender\Offline' -Level hash -FilePath .\Test.xml -NoShadowCopy -PathToCatroot 'C:\Program Files\Windows Defender\Offline' -WarningAction SilentlyContinue
}

What it does

Short-circuits the cmdlet and finishes in 2 seconds.
I personally put it in the preloader script of my module so it only runs once in the runspace.
No output is shown whatsoever (warning, error etc.)
Any subsequent attempts to run New-CiPolicy cmdlet will work normally without any errors or warnings.
The path I chose exists in Windows by default, and it contains very few PEs, something that is required for that error to be produced.
Test-Path is used for more resiliency.
-PathToCatroot is used and set to the same path as -ScanPath, this combination causes the operation to gracefully end prematurely.


Training time issue

Hi, I am training a RoBERTa model with A2T but it seems it will take really long time.
is it normal to take this long?

Hi @Han8931. Can you provide more detail as to how you are training your model (e.g. dataset size, attack parameters, etc)?

I just run a model with the provided configurations (BERT for IMDb). It seems even a single run takes around 8 hours.

Can confirm this problem. Tried SNLI with a2t on a 2080Ti (batch size 12), the first clean epoch took 7 hours and the generation with a2t was estimated to take 21 hours. Tried again on a 3090 (batch size 32), the first clean epoch still took 3 hours.
Comparably, I wrote a simple bert finetuning script and it took only around 1 hour for a clean epoch on the same 2080Ti.


[cbuildgen] Improve error message when update-rte is needed

Take for example the Blinky project from https://www.keil.arm.com/boards/nxp-lpcxpresso55s69-56e55af/projects/
After converting it with uv2csolution and trying to build with cbuild, the following error message is given:
*** ERROR M204:
  Path not found: 'D:/examples/blinky-f23141e6/RTE/_LPCXpresso55S69'!

The mentioned path contains the auto-generated RTE_Components.h that's typically not checked in within the project files.
For this sort of failure would be helpful to enhance the error message suggesting the use of the --update-rte option.
cc: @mcgordonite

Would it be an option that uv2csolution flags this issue already with a information?  Not sure if this can be done at that level.

A proper implementation in uv2solution would require RTE Model awareness which it currently does not have.
In the PR #1019 a cbuildgen warning message was introduced, for example:
*** WARNING M634:
  File 'D:/examples/blinky-f23141e6/RTE/_LPCXpresso55S69/RTE_Components.h' was not found, use the option '--update-rte' to generate it


IE 11

Running into the Object doesn't support property or method 'find'. Any suggestions to fix this issue?

Nevermind, found a polyfill.
http://babeljs.io/docs/usage/polyfill/

I just came here to post this same issue.   In my case, compiling the script isn't an option,  is there an alternative?

I'm seeing this same issue in IE 11:
[Vue warn]: Error in watcher "$parent.paginate"
SCRIPT438: Object doesn't support property or method 'find'

Looks like you could include the polyfill before your script.
http://babeljs.io/docs/usage/polyfill/#usage-in-browser

babel-polyfill


Update haproxy.cfg.ftl

Updated the haproxy config to use an exact match for host headers to avoid premature substring matches

https://github.com/rancher/rancher/issues/1503

LGTM, good catch, @willseward

LGTM


Unable to use Categorical columns as target or input fields for classification and regression

For classification, if the target is categorical the model is not getting trained and is throwing assertion error. It expects the categories to be numbers such as 0, 1, 2, etc.
For regression, the model is getting trained with categorical input fields but when predicting it is not accepting categorical values.
How to incorporate categorical columns with string values as input or target?

There are a few examples for handling categorical data in the docs. It's important to note the different call to predict with categorical data takes a row that may include strings etc, rather than an array of pure floats. i.e. you'll need to use the row syntax for that features ('a','b','c') instead of the array syntax ARRAY['a','b','c'].
https://postgresml.org/docs/guides/training/preprocessing

The preprocessing command is not allowed in pgml version 2.4.0. Is there an alternative for that version?

I'd recommend upgrading to 2.4.4 for bug fix reasons w/ 'alter extension pgml update' after installing the latest version. Particulately if you've been using a pre 2.4 version.
If you'd like more help debugging a full sql statement and error message would be helpful.

Upgraded to the latest version. Even now there seems to be a problem.
I have a simple iris dataset where the "Class" field has categorical values.
Sample:
Sepallength |    Class    | Sepalwidth | Petallength | Petalwidth
-------------+-------------+------------+-------------+------------
5.1 | Iris-setosa |        3.5 |         1.4 |        0.2
4.9 | Iris-setosa |          3 |         1.4 |        0.2
4.7 | Iris-setosa |        3.2 |         1.3 |        0.2
4.6 | Iris-setosa |        3.1 |         1.5 |        0.2
5 | Iris-setosa |        3.6 |         1.4 |        0.2
The command I tried to run as per documentation
SELECT pgml.train(
project_name => 'preprocessed_model',
task => 'classification',
relation_name => 'iris',
target => 'Class',
preprocess => '{
"Class":   {"encode": "target"}
}'
);
ERROR:  function pgml.train(project_name => unknown, task => unknown, relation_name => unknown, target => unknown, preprocess => unknown) does not exist
LINE 1: SELECT pgml.train(
^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

We've updated the serverless cloud dependencies to a version that includes the preprocessing functionality. Thanks for the report!


verify sht31 flask server /diag page

fixed fault register parsing.
added following commands:
clearing register - works
enabling heater - works, immediate diag read says cmd error but subsequent diag read looks correct
disabling heater - works
soft_reset: may work, hard to tell.  Bit 4 is not getting set.
reset:  works, initial register read is internal error, subsequent read is OK.  This cmd might be useful when sht31 is hung up next time to do a remote reset.  Bit 4 is not getting set.


Getting 1 Tap Buy instead of Subscribe in In-app Purchase

I am using version 0.5.2 of in_app_purchase.
Set up a subscription with in-play console with monthly billing, 14-day free trial
The app is published to internal testing in-play console

I am able to fetch the products using
final ProductDetailsResponse response =
await iapConnection.queryProductDetails(_ids);

The main problem is not being able to test the free trial. On trying to buy a subscription as a non-consumable using the following code:
await iapConnection.buyNonConsumable(purchaseParam: purchaseParam);
tested out the app in the example project provided in the plugin. It still shows the 1-tap buy instead of subscribe. I've tried disabling the all remaning subscription in play console, still the same result.
In other subscription getting subscribe and while other one getting 1-tap-buy
help :)

@MohammadaliDodiya
Latest plugin version is https://pub.dev/packages/in_app_purchase/changelog#301, so can you use the same and see if you still get same behavior ? Also provide your flutter doctor -v.

Yes, try with Package Update but find the same issue.  @darshankawar
my-036@my-036:~$ flutter doctor -v
[✓] Flutter (Channel stable, 2.10.2, on Ubuntu 20.04.2 LTS 5.13.0-35-generic, locale en_US.UTF-8)
    • Flutter version 2.10.2 at /home/my-036/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (4 weeks ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/my-036/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /opt/android-studio-4.2/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[✓] Android Studio (version 4.2)
    • Android Studio at /opt/android-studio-4.2/android-studio
    • Flutter plugin version 61.2.1
    • Dart plugin version 202.8531
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] Android Studio
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.36.0

[✓] Connected device (4 available)
    • M2006C3LII (mobile)         • EM5PRCZHQODERSEU • android-arm    • Android 10 (API 29)
    • sdk gphone x86 arm (mobile) • emulator-5554    • android-x86    • Android 11 (API 30) (emulator)
    • Linux (desktop)             • linux            • linux-x64      • Ubuntu 20.04.2 LTS 5.13.0-35-generic
    • Chrome (web)                • chrome           • web-javascript • Google Chrome 96.0.4664.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
my-036@my-036:~$

@MohammadaliDodiya
Since you mentioned that the main issue is not able to test free trial, is the issue when you test in in play store, only normal price items are displayed and not free trial items ?

nop issue is its showing 1-tap-buy instead of subscribe see above images @darshankawar

@MohammadaliDodiya
I am not sure if this is a bug and mostly working as intended. Can you try if there's a setting in google play store to change the authentication of purchase from 1 tap buy to something like always ?
Check if this link helps: https://www.reddit.com/r/google/comments/bq32vq/disable_1tap_buy/
Also see this article which also shows 1 tap buy at the end: https://medium.com/flutter-community/flutter-in-app-purchase-step-by-step-e5611501f723

@darshankawar main problem is we have created 3 subscriptions ( basic, personal, elite ) personal, elite  2 subscriptions got Subscribe button and the last one will

@darshankawar main problem is we have created 3 subscriptions ( basic, personal, elite )
personal, elite  2 subscriptions got Subscribe button while Purchasing Subscriptions Plan
while basic subscriptions got a 1-tap-buy button.
so we are not finding the actual reason.
how to add developer payload?  @darshankawar
login with User1 and purchase Basic plan then logout
and login with User2 on the same device
( who had not purchased any plan so it will redirect him to the home screen without purchasing) and when User2 is trying to choose a basic plan it is showing a plan already purchased ( because our play store account is common and in that basic is already purchased)

It's very hard to follow what's being reported here; it's not clear how the screenshots you've shown interact (e.g., you've said that this is about a subscription with a 14-day free trial, then the only screenshot you have is for something with a free trial disabled).
Please provide detailed setup instructions and Dart code to create a project that recreates this problem, ideally without a variety of other subscriptions (whose relevance to the issue being reported is not clear).

Issue Solved
Due too high Price its show One-tap-buy

Closing as resolved.


I have this error, I would like to resolve it.

I have this error, I would like to resolve it.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[22:22:08] language = ""  (string)
[22:22:08]
[22:22:08] Server Plugins
[22:22:08] --------------
[22:22:08]  Loading plugin: crashdetect.so
[22:22:08]   CrashDetect plugin 4.20
[22:22:08]   Loaded.
[22:22:08]  Loading plugin: sscanf.so
[22:22:08]

[22:22:08]  ===============================

[22:22:08]       sscanf plugin loaded.

[22:22:08]         Version:  2.10.2

[22:22:08]    (c) 2020 Alex "Y_Less" Cole

[22:22:08]  ===============================

[22:22:08]   Loaded.
[22:22:08]  Loading plugin: streamer.so
[22:22:08]

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[22:22:08]   Loaded.
[22:22:08]  Loading plugin: mysql.so
[22:22:08]  >> plugin.mysql: R41-4 successfully loaded.
[22:22:08]   Loaded.
[22:22:08]  Loading plugin: log-core.so
[22:22:08]   Plugin does not conform to architecture.
[22:22:08]   Failed.
[22:22:08]  Loading plugin: mapandreas.so
[22:22:08]   Loaded.
[22:22:08]  Loaded 5 plugins.

[22:22:08]
[22:22:08] Filterscripts
[22:22:08] ---------------
[22:22:08]   Loaded 0 filterscripts.

[22:22:09]   Filterscript '../scriptfiles/callbackfix.amx' loaded.
[22:22:09] [debug] Long callback execution detected (hang or performance issue)
[22:22:09] [debug] AMX backtrace:
[22:22:09] [debug] #0 0001f540 in Opcode:UnrelocateOpcode (Opcode:opcode=-147677621) at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\opcode.inc:830
[22:22:09] [debug] #1 000260e8 in CodeScanRunFastPrescan (&proc=@01d1ae50 -5900220, &nextaddr=@01d1ae4c -5904724, searchFuncAddr=131536) at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\codescan.inc:827
[22:22:09] [debug] #2 0002655c in bool:CodeScanRunFast (csState[CodeScanner:164]=@01d1b66c, searchFuncAddr=131536) at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\codescan.inc:866
[22:22:09] [debug] #3 00028468 in AddressofResolve () at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\addressof_jit.inc:130
[22:22:09] [debug] #4 00028aec in public AMX_OnCodeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Coding\y_va\..\..\YSI_Core\y_core\y_thirdpartyinclude.inc:367
[22:22:09] [debug] #5 00018d14 in public Debug_OnCodeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_amx_impl.inc:206
[22:22:09] [debug] #6 00018668 in public ScriptInit_OnCodeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_debug_impl.inc:644
[22:22:09] [debug] #7 00017f1c in ScriptInit_CallOnCodeInit (bool:jit=false) at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_scriptinit_impl.inc:392
[22:22:09] [debug] #8 000181fc in public SSCANF_OnGameModeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_scriptinit_impl.inc:588
[22:22:09] [debug] #9 000117a4 in public FIXES_OnGameModeInit ()  at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\sscanf-019253\sscanf2.inc:222
[22:22:09] [debug] #10 00004c0c in public OnGameModeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\sa-mp-fixes\fixes.inc:6689
[22:22:27] MapFix by Nexius v4.2.1 loaded (include version).
[22:22:27]
[22:22:27] --------------------------------------
[22:22:27]  Anticheat Nex-AC carregado!
[22:22:27]  Anticheat versão: 1.9.53
[22:22:27]  Autor: Nexius (PT-BR by NicK_)
[22:22:27] --------------------------------------

[22:22:28] << CASAS >>: 501 casas foram carregadas.
[22:22:28] FAMÍLIAS: 0 famílias carregadas!
[22:22:28] [Baús]: 409 caixas de itens foram carregadas...
[22:22:29] [Lixeira]: 20 lixeiras foram carregadas...
[22:22:29] [PORTAO]: 757 portoes foram carregados...
[22:22:29] Musica login: http://www.brasilplaystart.com.br/sounds/musica_login.mp3
[22:22:29] >	Concessionária          : 70 Carros
[22:22:29] > 	Fazendas            	: 14 Carregadas
[22:22:29] Reading File: blank
[22:22:29] Reading File: ArquivosBPS/Props/Empresas/businesses.txt
[22:22:29] Reading File: ArquivosBPS/Props/Empresas/banks.txt
[22:22:29] >	Comércios            	: 84 Carregados
[22:22:29] >	Organizações     		: 35 Carregadas
[22:22:29] >	Pasta Contas     		: ArquivosBPS/Contas/%s.ini
[22:22:29] >	Senha Admin       		: bpsfoda
[22:22:29] [SPRAY]: 99 spray tags foram carregadas...
[22:22:29]
[22:22:29] >				por: dimmy_scarface e Theus_Crazzy
[22:22:29] -------------------------------------------------------------------------------------------
[22:22:29]
GameMode Brasil New Start | carregada com sucesso!
[22:22:29] Number of vehicle models: 103
[22:22:29] DETRAN: 77 vagas do pátio foram carregadas

Sorry, but it has nothing to do with the profiler plugin, also it's not an error, crashdetect just tells you that some function is slow. You can disable it via long_call_time option in server.cfg, see https://github.com/Zeex/samp-plugin-crashdetect#configuration for more info.

It really helped! However, I need to find out what to do to solve this problem soon.


Save aff/neg/neutral alignment of speech to db

ATM the radio buttons don't save aff/neg/neutral designation of a speech, this is necessary for solving #66

Yeah, i need isaac to update that, apparently he fixed it

Pretty @isaaclo123 solved this and just has to push now (RIP database branch)


Postgres issue starting up

I had teslamate working on my Ubuntu computer, but it's having issues now.

teslamate_1  | 13:41:10.682 [info] Already up
teslamate_1  | 13:41:16.681 [info] Running TeslaMateWeb.Endpoint with cowboy 2.6.3 at :::4000 (http)
teslamate_1  | 13:41:16.681 [info] Access TeslaMateWeb.Endpoint at http://<IP_ADDRESS>
teslamate_1  | 13:41:16.760 [info] Found car 'Kevin Model 3'
teslamate_1  | 13:41:16.773 [info] Application teslamate exited: TeslaMate.Application.start(:normal, []) returned an error: shutdown: failed to start child: TeslaMate.Vehicles
teslamate_1  |     ** (EXIT) an exception was raised:
teslamate_1  |         ** (MatchError) no match of right hand side value: {:error, #Ecto.Changeset<action: :insert, changes: %{efficiency: 0.153, eid:<PHONE_NUMBER>0047724, model: "M3", vid:<PHONE_NUMBER>}, errors: [vid: {"has already been taken", [constraint: :unique, constraint_name: "cars_vid_index"]}], data: #TeslaMate.Log.Car<>, valid?: false>}
teslamate_1  |             (teslamate) lib/teslamate/vehicles.ex:70: TeslaMate.Vehicles.create_new!/1
teslamate_1  |             (teslamate) lib/teslamate/vehicles.ex:25: anonymous fn/2 in TeslaMate.Vehicles.init/1
teslamate_1  |             (elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
teslamate_1  |             (teslamate) lib/teslamate/vehicles.ex:25: TeslaMate.Vehicles.init/1
teslamate_1  |             (stdlib) supervisor.erl:295: :supervisor.init/1
teslamate_1  |             (stdlib) gen_server.erl:374: :gen_server.init_it/2
teslamate_1  |             (stdlib) gen_server.erl:342: :gen_server.init_it/6
teslamate_1  |             (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
teslamate_1  | {"Kernel pid terminated",application_controller,"{application_start_failure,teslamate,{{shutdown,{failed_to_start_child,'Elixir.TeslaMate.Vehicles',{{badmatch,{error,#{'struct' => 'Elixir.Ecto.Changeset',action => insert,changes => #{efficiency => 0.153,eid =><PHONE_NUMBER>0047724,model => <<"M3">>,vid =><PHONE_NUMBER>},constraints => [#{constraint => <<"cars_vid_index">>,error_message => <<"has already been taken">>,error_type => unique,field => vid,match => exact,type => unique},#{constraint => <<"cars_eid_index">>,error_message => <<"has already been taken">>,error_type => unique,field => eid,match => exact,type => unique}],data => #{'meta' => #{'struct' => 'Elixir.Ecto.Schema.Metadata',context => nil,prefix => nil,schema => 'Elixir.TeslaMate.Log.Car',source => <<"cars">>,state => built},'struct' => 'Elixir.TeslaMate.Log.Car',charging_processes => #{'cardinality' => many,'field' => charging_processes,'owner' => 'Elixir.TeslaMate.Log.Car','struct' => 'Elixir.Ecto.Association.NotLoaded'},drives => #{'cardinality' => many,'field' => drives,'owner' => 'Elixir.TeslaMate.Log.Car','struct' => 'Elixir.Ecto.Association.NotLoaded'},efficiency => nil,eid =><PHONE_NUMBER>0047724,id => nil,inserted_at => nil,model => nil,positions => #{'cardinality' => many,'field' => positions,'owner' => 'Elixir.TeslaMate.Log.Car','struct' => 'Elixir.Ecto.Association.NotLoaded'},updated_at => nil,vid =><PHONE_NUMBER>},empty_values => [<<>>],errors => [{vid,{<<"has already been taken">>,[{constraint,unique},{constraint_name,<<"cars_vid_index">>}]}}],filters => #{},params => #{<<"efficiency">> => 0.153,<<"eid">> =><PHONE_NUMBER>0047724,<<"model">> => <<"M3">>,<<"vid">> =><PHONE_NUMBER>},prepare => [],repo => 'Elixir.TeslaMate.Repo',repo_opts => [],required => [eid,vid,model,efficiency],types => #{charging_processes => {assoc,#{'struct' => 'Elixir.Ecto.Association.Has',cardinality => many,defaults => [],field => charging_processes,on_cast => nil,on_delete => nothing,on_replace => raise,owner => 'Elixir.TeslaMate.Log.Car',owner_key => id,queryable => 'Elixir.TeslaMate.Log.ChargingProcess',related => 'Elixir.TeslaMate.Log.ChargingProcess',related_key => car_id,relationship => child,unique => true,where => []}},drives => {assoc,#{'struct' => 'Elixir.Ecto.Association.Has',cardinality => many,defaults => [],field => drives,on_cast => nil,on_delete => nothing,on_replace => raise,owner => 'Elixir.TeslaMate.Log.Car',owner_key => id,queryable => 'Elixir.TeslaMate.Log.Drive',related => 'Elixir.TeslaMate.Log.Drive',related_key => car_id,relationship => child,unique => true,where => []}},efficiency => float,eid => integer,id => id,inserted_at => naive_datetime,model => string,positions => {assoc,#{'struct' => 'Elixir.Ecto.Association.Has',cardinality => many,defaults => [],field => positions,on_cast => nil,on_delete => nothing,on_replace => raise,owner => 'Elixir.TeslaMate.Log.Car',owner_key => id,queryable => 'Elixir.TeslaMate.Log.Position',related => 'Elixir.TeslaMate.Log.Position',related_key => car_id,relationship => child,unique => true,where => []}},updated_at => naive_datetime,vid => integer},'valid?' => false,validations => []}}},[{'Elixir.TeslaMate.Vehicles','create_new!',1,[{file,"lib/teslamate/vehicles.ex"},{line,70}]},{'Elixir.TeslaMate.Vehicles','-init/1-fun-0-',2,[{file,"lib/teslamate/vehicles.ex"},{line,25}]},{'Elixir.Enum','-map/2-lists^map/1-0-',2,[{file,"lib/enum.ex"},{line,1336}]},{'Elixir.TeslaMate.Vehicles',init,1,[{file,"lib/teslamate/vehicles.ex"},{line,25}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,295}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}}},{'Elixir.TeslaMate.Application',start,[normal,[]]}}}"}
teslamate_1  | Kernel pid terminated (application_controller) ({application_start_failure,teslamate,{{shutdown,{failed_to_start_child,'Elixir.TeslaMate.Vehicles',{{badmatch,{error,#{'struct' => 'Elixir.Ecto.Chan
teslamate_1  |
teslamate_1  | Crash dump is being written to: erl_crash.dump...done
db_1         | 2019-08-13 20:41:20.582 UTC [685] LOG:  incomplete startup packet
teslamate_1  | 13:41:22.813 [info] Already up

I tried connecting to the docker-compose psql and looking at the database directly, but it seemed to be fine:
sudo docker-compose run --rm db psql -h db -U teslamate

teslamate=# SELECT * from cars;
id |        eid        |    vid     | model | efficiency |     inserted_at     |     updated_at
----+-------------------+------------+-------+------------+---------------------+---------------------
1 |<PHONE_NUMBER>9185452 |<PHONE_NUMBER> | M3    |      0.153 | 2019-07-31 17:46:32 | 2019-07-31 17:46:32
(1 row)
teslamate=# \dt
List of relations
Schema |        Name        | Type  |   Owner
--------+--------------------+-------+-----------
public | addresses          | table | teslamate
public | cars               | table | teslamate
public | charges            | table | teslamate
public | charging_processes | table | teslamate
public | drives             | table | teslamate
public | geofences          | table | teslamate
public | positions          | table | teslamate
public | schema_migrations  | table | teslamate
public | settings           | table | teslamate
public | states             | table | teslamate
public | tokens             | table | teslamate
public | updates            | table | teslamate
(12 rows)

I'm not sure how to get this fixed without wiping my entire docker install. Help?

Someone experienced the same issue today. The underlying problem is actually a quirk on Tesla's end.
They recently changed the IDs (!!!) of some cars. See https://github.com/timdorr/tesla-api/issues/139
Unfortunately you have to fix it manually by updating the entry in the database table "cars". Change the eid of entry that has the vid<PHONE_NUMBER> to "36230209430047724" (I got those values from the log output you posted).

Well that's annoying of Tesla to do that.

kevin@NUC-TV:~/teslamate$ sudo docker-compose run --rm db psql -h db -U teslamate
[sudo] password for kevin:
Password for user teslamate:
psql (11.5 (Debian 11.5-1.pgdg90+1))
Type "help" for help.
teslamate=# SELECT * from cars;
id |        eid        |    vid     | model | efficiency |     inserted_at     |     updated_at
----+-------------------+------------+-------+------------+---------------------+---------------------
1 |<PHONE_NUMBER>9185452 |<PHONE_NUMBER> | M3    |      0.153 | 2019-07-31 17:46:32 | 2019-07-31 17:46:32
(1 row)
teslamate=# UPDATE cars set vid=36230209430047724 ;
UPDATE 1
teslamate=#

That fixed that issue... now it's saying this:

teslamate_1  | Server: <IP_ADDRESS>:4000 (http)
teslamate_1  | Request: GET /
teslamate_1  | ** (exit) exited in: :gen_statem.call(:"1", :summary, :infinity)
teslamate_1  |     ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started

This happens whenever I attempt to view the page at port:4000. Ideas?

You might have changed the wrong id :)
This is how it should be:
eid:<PHONE_NUMBER>0047724
vid:<PHONE_NUMBER>

Yup, I did that wrong, had to delete the new car.

teslamate=# DELETE FROM cars where eid=36230209430047724;
DELETE 1
teslamate=# SELECT * from cars;
id |        eid        |        vid        | model | efficiency |     inserted_at     |     updated_at
----+-------------------+-------------------+-------+------------+---------------------+---------------------
1 |<PHONE_NUMBER>9185452 |<PHONE_NUMBER>0047724 | M3    |      0.153 | 2019-07-31 17:46:32 | 2019-07-31 17:46:32
(1 row)
teslamate=# history
teslamate-# update cars set eid=36230209430047724 ;
ERROR:  syntax error at or near "history"
LINE 1: history
^
teslamate=# update cars set eid=36230209430047724 ;
UPDATE 1
teslamate=# SELECT * from cars;
id |        eid        |        vid        | model | efficiency |     inserted_at     |     updated_at
----+-------------------+-------------------+-------+------------+---------------------+---------------------
1 |<PHONE_NUMBER>0047724 |<PHONE_NUMBER>0047724 | M3    |      0.153 | 2019-07-31 17:46:32 | 2019-07-31 17:46:32
(1 row)
teslamate=# update cars set vid=1749778265 ;
UPDATE 1
teslamate=# SELECT * from cars;
id |        eid        |    vid     | model | efficiency |     inserted_at     |     updated_at
----+-------------------+------------+-------+------------+---------------------+---------------------
1 |<PHONE_NUMBER>0047724 |<PHONE_NUMBER> | M3    |      0.153 | 2019-07-31 17:46:32 | 2019-07-31 17:46:32
(1 row)

Thanks for your quick help. It's working again!

Thanks for your quick help. It's working again!

Awesome!
There may be others affected by the problem as well. I'll pin this issue 👍

FYI, the user needs to run the docker-compose in one ssh window and let it continue to error itself out, while you connect to that docker install with the command to command line Postgres:
sudo docker-compose run --rm db psql -h db -U teslamate
I didn't know much about how Docker worked until today. Even less about Postgres. Took me forever to figure out how to connect to a Postgres database inside of a Docker container.


Lists plugin - Create documentation

https://linear.app/prezly/issue/DEV-1660/lists-plugin-create-documentation
Please make sure to not miss the README file which is the major part of this PR: https://github.com/prezly/slate/blob/5e30682384df3b74eae2704d4536712bd64d2bb6/packages/slate-lists/README.md
Please also review the example: https://h9xxi.csb.app/ (source: https://codesandbox.io/s/relaxed-brattain-h9xxi).
It does not support pasting yet. I've created a separate story for it: https://linear.app/prezly/issue/DEV-1913/lists-plugin-add-html-and-docx-pasting-support-to-the-example.

I've created a "Prezly" organization in codesandbox.io - all sandboxes used in documentation are there.
Drop me a message in Slack if you want an invite :)

Asking everyone for review because I feel everyone may have something useful to say.
Although I'd appreciate it, please feel free to skip the review if you're not a frontend developer :)

I've merge this, but if anyone has any late feedback - please do provide it!


Minor Improvement:

Add final
Unnecessary semicolon ';'

Coverage remained the same at 90.124% when pulling 7c9f0a6ba15fb220f90d546f622fe12792d224a0 on arturobernalg:feature/minor_improvement into 3972e83317260316cf81266d82057cadb7d4baa7 on apache:master.


when _this.options.normalize === 2 keep eol inside string

when _this.options.normalize === 2 keep eol inside string

Coverage decreased (-0.6%) to 97.076% when pulling 2956d4fb958eab14f0f1ca0670d3ddc0ef8a173a on bluelovers:pr/eol into 847e0c38bd9ab0340900807233895baf9a05e5ce on Leonidas-from-XIV:master.

Coverage decreased (-0.6%) to 97.076% when pulling 2956d4fb958eab14f0f1ca0670d3ddc0ef8a173a on bluelovers:pr/eol into 847e0c38bd9ab0340900807233895baf9a05e5ce on Leonidas-from-XIV:master.

This patch is against the generated code and as such not usable. Also, I would prefer a different option that to set a boolean value to some meaningless integer to trigger this behaviour.
Also, truth be told, I don't think it is super-useful. If you need specific normalizing behaviour I think it would be better to not use the xml2js-provided normalizing and instead do that in your own code where you can implement any kind of logic.


ETA on Laravel 5.7 support

Is there any ETA on this? Want to use this in a new project and support is only until 5.6.

Will be released today.


GDScript 2.0: export_enum works only with int

Godot version
v4.0.dev.20211108.official [596865366]
System information
Windows 10
Issue description
In Godot 3 you could do this:
export(String, "Rebecca", "Mary", "Leah") var character_name = "Mary"
But if I try this in Godot 4:
@export_enum("Rebecca", "Mary", "Leah") var character_name = "Mary"
or
@export_enum("Rebecca", "Mary", "Leah") var character_name: String
It doesn't work and I get the error "@export_enum" annotation requieres a variable of type "int" but type "String" was given instead."
But according to the docs, it should be possible:

https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_exports.html
Steps to reproduce

Minimal reproduction project
No response

I'm new to the codebase so I might be wrong.
It seems like the part that responsible for annotations is not implemented for Godot 4.0 and the new @ export_enum annotation.
Inside the export_annotaion function you can see that there is no check for @ export_num and writing @export_enum (" test1 "," test2 "," test3 ") var test: float ignores the arguments and behaves like a normal export .
I think the way to fix this is to make some sort of a switch-case statement for each export annotation and to take care the behavior of each annotation.

also, let's not forget about this:
export(Array, String, "Rebecca", "Mary", "Leah") var character_name
if I understand correctly, the new syntax for that might look something like this:
enum CharacterNames {REBECCA: "Rebecca", MARY: "Mary", LEAH: "Leah"}

@export var character_name: Array[CharacterNames]

so the enum keyword is missing support for string values as well. a separate issue?

also, let's not forget about this: export(Array, String, "Rebecca", "Mary", "Leah") var character_names
if I understand correctly, the new syntax for that might look something like this:
enum CharacterNames {REBECCA = "Rebecca", MARY = "Mary", LEAH = "Leah"}

@export var character_names: Array[CharacterNames]

so the enum keyword is missing support for string values as well. a separate issue?

Godot never had support for actual enums with string values. It only supports "fake" enums in exported properties (which are therefore not type-safe).

I didn't mean to suggest that it did.
this is about restoring the functionality for exporting arrays of string flags we had in Godot 3, and I assumed that enum would be the way to do that since in Godot 4 named enums can be used as a type: Array[MyEnum], so apparently they are a little more than just Dictionary now.
according to the docs, @export_enum is supposed to support both int and string values. if enum had that same capability, then the Godot 3 feature set could be restored though that.
alternatively, I guess this would require a separate annotation like @export_enum_array.

To add some context to this issue, the reason why exported enums with a string internal data structure are super useful is something like this simple example

As you can see here these are effectively a group of constants, the ability to have these saved as strings however avoids this issue here https://github.com/godotengine/godot/issues/56000 where changing whats in an enum (Pending where you change it) changes the index ordering of everything (Which I think everyone can agree is expected if you're using integers internally).
The only current workaround to the above I've found is to only add to the 'end' of the enum to prevent index changes, but if someone else knows a better way to accomplish this please do let me know!

don't we have any solution for this? I find it better than assigning integers
its on the docs but still returning errors.
@export_enum("Wonderer", "Thrower", "Chaser") var enemyType: String = "Wonderer"
@export_enum("Wonderer", "Thrower", "Chaser") var enemyType: String

@erniel: Likely docs not matching current state of engine. Unfortunately many docs weren't updated.
Also make triple sure that you're looking at latest, not stable docs

This was supported in godot 3... and now it's not... it's even in the docs. I think it's just not implemented yet.

Is there any update about this issue please?
Is it a documentation problem and we will not be able to use export_enum for String like it is written in the latest documentation?
Is it a code problem? If so, is it aldready addressed and we should have a fix soon or not a priortity fix?
I am currently making some test to check the viability of using Godot Engine 4 for Tools development. I am new with Godot and it was for me the simplest and most intuitive way to create string combo list widget and be able to share it with multiple script.
Thank you for your time and keep the good work :)


replacing toolkit/suite with site

This is a first round of changes to replace toolkit/suite with site, and then have references to the tutorials be changed to reference the HPC-buildtest/tutorials repository. Note that there are white spaces after some of the docs updates I made - and I wasn't sure if we should add some kind of check or lint for this with the pre-commit #179 to ensure that it gets pushed cleaned up. If so, I can update #179 and here without the spaces at end of newlines.
Signed-off-by: vsoch<EMAIL_ADDRESS>

I was aware of the automated generation, but didn't know how to do it, and I suspected that some of the commands would fail, so although it (yes!) was done manually, I wanted to still update the paths.

I could tell it was manual update because if it was run through the automated script, the output of test will be different because the buildtest build --config has changed its behavior to build and run test automatically. That is the current state of devel at the moment.
For your reference the autodoc is covered in https://buildtest.readthedocs.io/en/latest/contributing/build_documentation.html#automate-documentation-examples.
It's not the best way of getting things done but it works for most examples


setField removes comment in patched line

Patch command
        {
          "path": "projects/my/project/test.yaml",
          "setField": {
            "field": "spec.values.app.image.tag",
            "value": "6.2.1"
          }
        }

Other comments in that file are kept

We should try to extract the SetField command and create a test case for this with some fixture YAMLs.
One way would be to unmarshal into https://pkg.go.dev/gopkg.in/yaml.v3#Node and work with the AST to set the the value (which is quite low-level) and handling cases of a key that does not exist or is not a "leaf".
We could also try to use https://pkg.go.dev/github.com/goccy/go-yaml instead.

@florian-kuepper Would you like to give this a try?

Fixed by 6b874fd


Feature/add date

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


Air unit stuck in a connected/disconnected loop (no video)

I can't seem to get my dji air unit to work after rooting and installing WTFOS.. I don't get video and it seems to just boot loop. I am getting a repeating on and off usb connection. I'm not able to connect to the air unit via usb though.. Any help is greatly appreciated.
I was able to root it and install the OSD mod but now it just loops...

How are you powering the AU?

Try booting while holding down the bind button. It should start in safe mode and allow you to re-connect in assistant.

Powered by a new speedybee F7 v3 + 6s battery. It worked before the Wtfos. Holding the bind button while powering doesn't seem to do anything. Led us solid red

Got it! Tried it on another drone and it worked. Turned out the wiring is not correct when using the plugs the Speedybee f7 v3 came with.. Very annoying..


[Android] CarouselView not showing if in a modal page

Hi,
I am trying to handle a login/registration form inside a CarouselView. In my MainPage, I have this:
`        protected override async void OnAppearing()
{
base.OnAppearing();
        // Is user logged in?
        if (!(bool)Application.Current.Properties["IsLoggedIn"]) // He is not logged in
        {
            await this.Navigation.PushModalAsync(new LoginRegistrationPage());
        }
    }`

LoginRegistrationPage contains a CarouselView and its first page is the registration form, while the second page is the login form.
iOS is fine, but on Android I get a blank page. The CarouselView is visible everywhere except that in a modal page. (I have tried to set LoginRegistrationPage as MainPage and to put it inside a simple Navigation rather than a modal one, both work).

This solved the issue for me: https://github.com/alexrainman/CarouselView/pull/329


use ajax binding to apply javascript to ajaxComplete and submit

Application-wide binding on buttons submitting (and ajax completing) so that the button's focus is blurred. This allows the user to purposefully put highlighting focus on a button, but if the button is clicked, the focus won't remain there indefinitely. One example is for favorite buttons as seen below, but this is also fixed for other buttons that stay on the same page, such as download buttons.

A rebase should now fix the travis errors


[T2A2][T11-A2]Tan Zhi Jie

This is a good attempt Tan. But code improvement can include many more i.e. formatting, adding comments, renaming variables, increasing SLAP, removing magic numbers, extracting methods, etc. Pay attention to those as well.


[WIP] Audit mode specs

@tyler-ball Here's my work so far on unit tests for audit mode (I have another big file in flight, should be done tomorrow AM). What do you think so far?
\cc @sersut

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.


Propagate license and install.sh fixes to devel

Current coverage is 39.12%

Merging #157 into devel will decrease coverage by -0.07% as of 4b2d55f

@@            devel    #157   diff @@
=====================================
  Files           2       2
  Stmts         893     892     -1
  Branches        0       0
  Methods         0       0
=====================================
- Hit           350     349     -1
  Partial         0       0
  Missed        543     543

Review entire Coverage Diff as of 4b2d55f

Uncovered Suggestions

+1.92% via src/mpi/mpi_caf.c#1904...1920
+1.58% via src/mpi/mpi_caf.c#2002...2015
+1.58% via src/mpi/mpi_caf.c#1557...1570
See 7 more...

Powered by Codecov. Updated on successful CI builds.

 All committers of the pull request should sign our Contributor License Agreement in order to get your pull request merged.2 out of 3 committers have signed the CLA.:white_check_mark: zbeekman:white_check_mark: rouson:x: Damian RousonDamian Rouson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).

:shipit:

@zbeekman Should this be closed now that you did the merge by hand?

This is to apply changes from master to devel. When merging by hand the pull request will be closed after you push. I have yet to merge this, but I'll do it now.

merged in 72a6000a4caea8643844d9e6302abbfbefbd281c

When merging by hand the pull request will be closed after you push.

I guess this may depend on whether there are merge conflicts, and how they are resolved. For some reason the auto-close didn't work this time but it has in the past.


[8.x] Callback in routes does not support object method callable type

Laravel Version: 8.25.0
PHP Version: 8.0.1

Description:
In the routing, you cannot pass a callable array formed by an object and a string (function name), even this is a supported callable.
PHP manual: https://www.php.net/manual/en/language.types.callable.php (type 3)
You can try it like this:
class foo
{
    public function bar()
    {
        echo 'This is a test';
    }
}

$callback = [new foo, 'bar'];
$callback(); // It echoes "This is a test"

Steps To Reproduce:
In the routes file:
class foo {
    public function bar() {
        echo 'This is a test';
    }
}
Route::get(
    '/test',
    [new foo, 'bar']
);

This throws an error in Illuminate\Routing\RouteAction as in line 34 it tries to convert the object to a string when concatenating for uses and controller in return array.

This isn't supported sorry.

This isn't supported sorry.


Try to auto detect if image is stereo

Look at left right image correlation

resize to small image, and compare pixels with a difference


Example project pathing and imports not working on all platforms

Mac OSX users report that executing manage.py commands from a virtualenv result in an import error.
$ python example/manage.py shell

And here's the kind of traceback we see:
Traceback (most recent call last):
  File "example/manage.py", line 9, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/gordo/.virtualenvs/django-calaccess-raw-data/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/Users/gordo/.virtualenvs/django-calaccess-raw-data/lib/python2.7/site-packages/django/core/management/__init__.py", line 302, in execute
    settings.INSTALLED_APPS
  File "/Users/gordo/.virtualenvs/django-calaccess-raw-data/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
    self._setup(name)
  File "/Users/gordo/.virtualenvs/django-calaccess-raw-data/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
    self._wrapped = Settings(settings_module)
  File "/Users/gordo/.virtualenvs/django-calaccess-raw-data/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named settings

Other projects like django-debug-toolbar have moved to a flatter example project structure, which research by @gordonje suggests will solve this problem. However, if we change that directory tree, there will be a small cascade of other changes that are necessary. Here's my quick draft list of what all those would be.

[ ] The remodel of the example directory to eliminate the project subdirectory and move all those files to the base
[ ] Walk through the settings.py file and see if any of the settings need to be changed to reflect the new path. Right away, the BASE_DIR setting that on line 2 is one that screams out as possibly needing to change.
[ ] Verify that the data and toolbox and test-data subdirectories are still properly discovered and work
[ ] Update the TravisCI testing configuration file to the new settings paths
[ ] Update our documentation for getting started to reflect the paths

Gonna fix the user docs after we merge in #1180 because there might be some conflicts.
Didn't see anything that needed to change in MakeFile. The build jobs passed after pushing.

Actually, not seeing any path issues in the user docs either. Gonna call this one done unless something else comes up.


Filter/block events from stale application instances

In our scenario we have 1000+ clients that install our product (typically a desktop app) and although we have an in-place upgrade capability, it's optional and user driven. Therefore after a while we have a situation with a number of old installations with issues that have been resolved submitting irrelevant exception reports.
Essentially it is out of our control to upgrade the older instances, however given the newer releases have resolved issues the submissions from older releases become less relevant.
Therefore we think it would be appropriate to control the clients submissions with a project level setting that enables/disables the client based on it’s version. For example:
Set the Project Configuration Setting: EnableVerson=4.2
In our application check the ‘EnableVersion’ setting from the Exceptionless client once registered, if the current application version is older (i.e. 4.1) then disable submissions. If the current version is the same or newer then submit.
In our situation the version number is enough for us to control which submissions are more/less relevant, however I would imagine there may be other criteria that may be of value to be able to leverage for enabling/disabling of submissions

Sort-of related, we also had one specific error causing a 250k+ exceptions in a month. This is an error that users/clients never see, but is unhandled. Because the error is outside of our control, we can't do much about it. It would also be good if the final solution would also make it possible to do something about this.
For us a working solution would be to control in the Project Configuration that a certain exception should be filtered by the client. I'm not sure yet how this should be configured, just exception type, or a regex match or something is probably too course.
Ideally filtering a stack would be best, but the problem with that is that the event -> stack code has to move from server to client. Problem is, this is against the decision in Exceptionless that the logic should be on the server side, so it's easier to patch.

I guess we would need a way to identify a particular type of submission at the client side and use server side control to block/disable. Is there anything is the server side stack grouping logic that could be replicated client side.
Failing that the ability to filter based on any one of the submission properties matching a particular value should cover most scenarios.
In our case if we could set a project level filter/block on the version property of a submission that should be all we need.

This can be done now fairly easily using project configuration and wiring up to the submitting event and cancelling the submission.

It would be nice if it was more of a 1st class feature though.

Another thought, as this is mostly a problem for us when a small number of application instances send a high number of duplicate submissions. Would there be merit in being able to de-prioritise certain stacks server side and respond to the client with a lower throttling limit so clients that submit low-priority stack submissions get throttled before others?

 Could also implement a client side throttler plugin.

https://github.com/exceptionless/Exceptionless/issues/112

I think we could implement the version:latest functionality and send down the latest version down to the client in a header. Then we could get really smart and even allow you to turn off old clients. I know in one of our products we can get hammered with older errors that are no longer relevant.

Merged into https://github.com/exceptionless/Exceptionless/issues/112


GEODE-2723: Removed localCacheEnabled field, and associated dead code.

Removed localCacheEnabled field, and associated dead code.
Ran pre-checkin, no failures.

Is this ok to merge ?

Looks good to merge


Add assert_threads_result helper and threads test

Some notes:

Ids don't always start from 0 and increment by 1, as shown in the below example. So asserting ids is pointless imo.
Threads request is only supported in DAP server.
Example failure message:

  result:
  {
    "type": "response",
    "command": "threads",
    "request_seq": 8,
    "success": true,
    "message": "Success",
    "body": {
      "threads": [
        {
          "id": 1,
          "name": "#1 /var/folders/yg/hnbymwxd5pn7v94_clc59y6r0000gn/T/debug-20220330-11589-znkib2.rb:6:in `<main>'"
        },
        {
          "id": 4,
          "name": "#4 /var/folders/yg/hnbymwxd5pn7v94_clc59y6r0000gn/T/debug-20220330-11589-znkib2.rb:2:in `block in foo'"
        }
      ]
    },
    "seq": 9
  }.
  </\.rb:7:in `<main>'/> was expected to be =~
  <"#1 /var/folders/yg/hnbymwxd5pn7v94_clc59y6r0000gn/T/debug-20220330-11589-znkib2.rb:6:in `<main>'">.

Could you update CONTRIBUTING.md?

Sure. But speaking of documentation, do you think we can do that in Ruby comments? Like test-unit does. And in the contribution guideline we just link to the file.
I think it fits the convention better and it's easier for writers of methods (like me) to remember too 😛

We can write how to use API in the comments and CONTRIBUTING.md. I think that writing in CONTRIBUTING.md is good because they are well organized.

I don't think having documentation in 2 places is a good idea. It's the same reason we only write command intro in session.rb and generate it in README.md, instead of having it in both places.

Well, I see. Or, we can create rdoc page from the comment?

Yes. In that case, we'll need to write the comments follow yard's specification.

@ono-max I've updated the contribution guideline for now. can you check it? thx

Nice work! LGTM

You missed https://github.com/ruby/debug/pull/607/files#r843338555.


tree-wide: fix unused installCheckPhase's (or be explicit about disabling them)

Description of changes
LLDB's:
See #166604.
Enable the installCheckPhase that is meant to catch this problem.
Mark the broken LLDB's as broken until they're fixed (14/git).
For the rest:
For each, I checked:

If they built as-is
Ensured they didn't fail when adding 'exit 1' to installCheckPhase
Ensured did fail when adding doInstallCheck with exit 1 present
Ensured built with original installCheckPhase with doInstallCheck

I found these using some quick ripgrep incantation, and manually
skipped over the packages that were built using python builders as they
handle installCheckPhase themselves.
EDIT: oops they might warrant review later too, not sure what installCheckPhase does for them, since checkPhase is mapped to it.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

To the extent we're preferring .tests now, a separate pass for finding
installCheckPhases that should be converted to passthru.tests can be
made, but that's out of scope for this.
(and probably warrants a discussion if that's what we want...
I like having tests run as part of my build so I can't use broken
things :), although the separation is nice especially for long builds!)

@siraben 😉
https://github.com/siraben/nix-lint

Absolutely! Definitely think this would be good for lint-y tools (was wondering the same while going through this haha).  cc https://github.com/jtojnar/nixpkgs-hammering as another candidate maybe :).  I think same goes for checkPhase/doCheck(/checkTarget/checkInputs)?  Ideally filtering out places where it's explicitly disabled in the expression, or to be robust in various language mkDerivation wrappers/builders.  But yes that would be great! :)

it'd be nice if stdenv would check it for us
i tried the following but it didn't work
diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix
index<PHONE_NUMBER>c..2037cd65bb6 100644
--- a/pkgs/stdenv/generic/make-derivation.nix
+++ b/pkgs/stdenv/generic/make-derivation.nix
@@ -66,7 +66,7 @@ in

 # TODO(@Ericson2314): Make unconditional / resolve #33599
 # InstallCheck phase
-, doInstallCheck ? config.doCheckByDefault or false
+, doInstallCheck ? config.doCheckByDefault or null

 , # TODO(@Ericson2314): Make always true and remove
   strictDeps ? stdenv.hostPlatform != stdenv.buildPlatform
@@ -97,6 +97,8 @@ in

 , ... } @ attrs:

+assert lib.assertMsg (attrs ? installCheckPhase && doInstallCheck == null) "doInstallCheck must be set when InstallCheckPhase is set";
+
 let
   # TODO(@oxij, @Ericson2314): This is here to keep the old semantics, remove when
   # no package has `doCheck = true`.

cc @Ericson2314

@ofborg build verilog

Look okay, any objections? Thanks! :+1:

(The reason I had borg test verilog is that on master if you enable verilog tests a few /fail/ but they pass here so seems like someone broke something we should've caught with these tests if they were enabled as expected?)


Mark SD card NOINIT on unmount

In response to re-initialize SD card after hotplug #9  and Card eject-insert in example #32


rendercomplete called multiple times with incomplete maps rendered

Describe the bug
I have some code intended to export an OpenLayers map to a static image, for use in a PDF/print export.
I have followed the basic outlines of the Map Export example (the actual use case is quite a bit more complex, but the basic steps are the same).
Doing this, I have encountered a weird problem when trying to print layers based on RasterSource, where I frequently end up with images that miss some/most/all tiles.
To Reproduce
Steps to reproduce the behavior:

Go to https://codesandbox.io/s/competent-moore-xj67kc?file=/src/index.mjs
A world map is displayed as a static image; this image is produced by OpenLayers from OSM data fed through a simple RasterLayer operation that filters out the sea (sort of)
Notice that the rendercomplete message is logged to the console 10 times (for me, might vary depending on machine I guess)
If the code is changed to use map.once('rendercomplete', ...), like in the original Map Export example, a completely white image is instead generated
Looking at the results of each rendercomplete, it looks like tiles are faded in from completely white to fully opaque
If the size is changed to a signficantly larger value (like 3200x3200 for high resolution print), the number of renderComplete is increased dramatically, and the time between them is so long that the debounce trick I've used doesn't work, I get "intermediate" rendering results with some (often majority) of tiles missing

Expected behavior
I expect a usable map image on the first rendercomplete, so that map.once can be used instead of debounce tricks, or at least a way to figure out if a render result is actually complete, or if I can expect more data to be rendered.
In my real world application, I've seen cases where the render loop seemingly never stabilizes, producing infinite number of rendercompletes.
I confess I'm not sure if I can realistically expect this to work, if I misunderstood some feature when writing this code, or if there's some inherent technical limitation in creating static hi-res images from OpenLayers maps with intricate RasterSources, so any help on this would be very helpful!

It looks like any of the OpenLayers examples which use RasterSource would have the same problem if used in an export.  There might be better alternative to a RasterSource,  e.g. using the layer's postrender event (as in https://openlayers.org/en/latest/examples/image-filter.html)
const layer = new TileLayer({
  source: new OSM()
});

layer.on('postrender', function (event) {
  const context = event.context
  const canvas = context.canvas;
  const width = canvas.width;
  const height = canvas.height;
  const imageData = context.getImageData(0, 0, width, height);
  const data = imageData.data;
  for (let i = 0, ii = data.length; i < ii; i += 4) {
    if (data[i] < 224) {
      data[i + 3] = 0;
    }
  }
  context.putImageData(imageData, 0, 0);
});

or using a WebGL layer and style
const layer = new WebGLTileLayer({
  source: new OSM(),
  style: {
    color: [
      'array',
      ['band', 1],
      ['band', 2],
      ['band', 3],
      ['case', ['<', ['band', 1], 224 / 255], 0, ['band', 4]]
    ]
  }
});

So it looks like there is a bug with Raster sources - they prevent the rendercomplete event from working correctly. But note that this could also be due to browser limitations. A destination image size of 3200x3200 pixels means that the Raster source needs to create an additional canvas with the same size, and that size might be 6400x6400 pixels or even more on a Retina display, which is likely to exceed the maximum canvas size allowed by the browser.

@mike-000 thanks for the input! I might look into the possibility of using WebGL which might be better from both performance and maybe these days it's a more well tested path. Having said that, my real application does a lot more complex operations than just filtering on a single band, so it might take significant work to rewrite the current setup.

@ahocevar agreed that 3200x3200 might be very large, and in my real application I don't think we use more than 1600x1600, but still see this issue. The same setup does work without issues (but probably lots of rendercomplete events) when we run it as an "interactive" map on screen, even if I use the whole screen (more pixels than 1600x1600 but less than 3200x3200).
A bit curious about the OOM scenario: wouldn't I see some error for this case? I imagine getting the canvas context would fail if the browser can't allocate the memory? Or at least some error/warning logged to the console. I guess what I'm saying is that if rendering an image like this is unrealistic, it would be great to get some indication that what I'm requesting is impossible.


Crash on sending .suggestedActions with builder.Message()

Added task list based on below discussion.

[ ] Update Documentation
[x] Place Feature request. Placed at  #2798 on BotBuilder

Earlier similar issue: #10
Follow messages popsup in emulator:
[16:09:33] [err-client] Uncaught TypeError: Cannot read property 'length' of undefined /Applications/botframework-emulator.app/Contents/Resources/app/node_modules/rxjs/Subscriber.js 227 13 {}
Development environment:

Run on localhost on http://localhost:3978/api/messages
Bot Framework Emulator version 3.5.29
"botbuilder": "^3.8.3"
example: Add suggested actions to message  on Bot Framework documentation

Code:
// LUIS intent declaration
const recognizer = new builder.LuisRecognizer(LuisRestFilterModelUrl);
const intents = new builder.IntentDialog({ 'recognizers': [recognizer] });
bot.dialog('/', intents);

intents.onBegin(
    (session,args) => {
       let msg = new builder.Message(session)
            .text("Thank you. Short message.")
            .suggestedActions([
                builder.CardAction.imBack(session, "productId=1&color=green", "Green"),
                builder.CardAction.imBack(session, "productId=1&color=blue", "Blue"),
                builder.CardAction.imBack(session, "productId=1&color=red", "Red")
            ]);
        session.send(msg);
      }
      );

Hi @ronak-itility, it seems your suggested actions payload isn't getting constructed correctly. Try this slight variation (based on https://github.com/Microsoft/BotBuilder/tree/master/Node/examples/feature-suggestedActions):
    let msg = new builder.Message(session)
        .text("Thank you. Short message.")
        .suggestedActions(
            builder.SuggestedActions.create(
                    session, [
                        builder.CardAction.imBack(session, "productId=1&color=green", "Green"),
                        builder.CardAction.imBack(session, "productId=1&color=blue", "Blue"),
                        builder.CardAction.imBack(session, "productId=1&color=red", "Red")
                    ]
                ));
    session.send(msg);

And it seems our documentation is incorrect on the page you referenced. We'll get that updated. Thank you for the report!

@eanders-MS can you elaborate on your solution, what difference it made internally in the bot operation and what change on response happened that emulator is able to handle it well. Also in the code base of bot, can you point out the code block that affected this behavior ?

The suggestedActions field on the activity is expecting an object structured like the interface ISuggestedActions, rather than a simple array of CardActions. When the emulator (or more accurately, the WebChat control) tried to read the suggestedActions field, it didn't find the actions member and threw an exception.

PS: Also though this works, earlier form is more intuitive, and i think thats how it should form the suggestedActions.

I agree, and it seems reasonably straight forward to add support for this. I urge you to file a suggestion over at the BotBuilder repo.

Suggestion added at issue #2798 on BotBuilder

Issue appears resolved. Closing it out.

I thought updating the Bot documentation was part of resolving the issue ?

A pull request has been made to the docs and it working its way to production. Should be live in a day or two.

The live docs have been updated with the new code sample: https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-send-suggested-actions


MGMT-17948 Show number of devices selected by a new fleet

In the Create new fleet wizard, now the "device selector" will show the number of selected devices based on the label match.
https://github.com/flightctl/flightctl-ui/assets/829045/08d1dad8-34e6-4ad9-ad02-3ac5b4e52eed

WOW! This looks great! Maybe we can make the number of selected devices more prominent? Let's brainstorm about this on Monday.

WOW! This looks great! Maybe we can make the number of selected devices more prominent? Let's brainstorm about this on Monday.

Thanks! Changed the message according to the new designs, to show an alert when there are added labels.


Add crypto utility function and use in BearerDid

This PR will:

Move a crypto utility function from within BearerDid to the @web5/crypto package.
Update BearerDid to use the utility function.
Update the docs for BearerDid to close #418.

[!NOTE]
The package versions for @web5/crypto and @web5/dids are not incremented in this PR as this change is rather minimal, has no immediate impact on external API consumers, and consequently, isn't worth publishing a new release.
A future PR will bump the versions and publish new releases as the utility function added to @web5/crypto is consumed in other packages in this monorepo (which is already the case for a branch that is still a WIP.

Only nitpicky feedback item, so take it or leave it, would've been to do this one https://github.com/TBD54566975/web5-js/issues/418 is a separate PR. Reasoning being, it's a disparate matter to the other two items in this PR so caused a slight disruption when reviewing, but also it may just be because of my naivete to this code base.


Rewrite compiler with nom

More extensible
Parsed structures hold span information
Better warnings
Faster

Coverage remained the same at 86.694% when pulling f8ae236fb07aa81fb77394556b0f92ab6df4265e on using-nom into 2617dc0bd39e223e320bf013ca7d5b53cebfe6be on master.


V1 1

remove ref's to aws secrets, preferring to use service account in cluster.

@jmichaelthurman Any reason you closed the PR, it looks good.


Create from receipt preview shows wrong amount even though it is right on create page

Shows .17 should show 16.88
Probs a small display error.

Screenshots

PS: On a side not, I feel that the receipt detector is not very good at detecting DD/MM/YYYY it usually assumes MM/DD/YYYY.
Might be nice to have either a setting for a preference or guess based on the language/location of the receipt or something like that.

I am also encountering the incorrect amount preview every time I try the receipt scanner.
Considering the current user journey adds two additional interactions and an incorrect amount preview, I would suggest to

simply remove the preview modal, or
fix the preview and add a button to save preview data as-is with otherwise default settings (split etc.)


Remove #[async_trait] where possible

Description
async fn and -> impl Trait is stable in traits. This uses it wherever possible. Due to trait bound requirements, all converted functions need -> impl Future + Send.
Due to compiler limitations, namely dyn Trait compatibility, it is not possible at this time to convert the remaining uses without creating concrete types and implementing Future by hand.
Fixes #620
Type of change
Code simplification
How Has This Been Tested?
cargo check passes as expected; bazel test //... succeeds as well.
Checklist

[ ] Updated documentation if needed
[ ] Tests added/amended
[x] bazel test //...  passes locally
[x] PR is contained in a single commit, using git amend see some docs

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


chore: Updates the planner-db deployment script

Details:

Removes the top-level version field because it is obsolete (see https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-top-level-element-obsolete) and clutters the logs
Moves the volume definition from the makefile into compose.yaml
Adds host.docker.internal to /etc/hosts to facilitate debugging the DB

Signed-off-by: Jonathan Kilzi<EMAIL_ADDRESS>

@machacekondra FYI


The specified host network collides with a non-hostonly network!

Upon a fresh install of Vagrant and Dinghy, i'm receiving the following error when attempting to dinghy up for the first time:
The specified host network collides with a non-hostonly network!
This will cause your specified IP to be inaccessible. Please change
the IP or name of your host only network so that it no longer matches that of
a bridged or non-hostonly network.

My local IP range is 192.168.10.x, and i've confirmed than there are no host-only networks in that range on my machine (or in the 192.168.42.x range).
The full console output is as follows:
Bringing machine 'dinghy' up with 'virtualbox' provider...
==> dinghy: Checking if box 'codekitchen/boot2docker' is up to date...
==> dinghy: Clearing any previously set network interfaces...
The specified host network collides with a non-hostonly network!
This will cause your specified IP to be inaccessible. Please change
the IP or name of your host only network so that it no longer matches that of
a bridged or non-hostonly network.
/usr/local/Cellar/dinghy/3.0.4/cli/dinghy/vagrant.rb:21:in `up': There was an error bringing up the Vagrant box. Dinghy cannot continue. (RuntimeError)
    from /usr/local/Cellar/dinghy/3.0.4/cli/cli.rb:33:in `up'
    from /usr/local/Cellar/dinghy/3.0.4/cli/thor/lib/thor/command.rb:27:in `run'
    from /usr/local/Cellar/dinghy/3.0.4/cli/thor/lib/thor/invocation.rb:126:in `invoke_command'
    from /usr/local/Cellar/dinghy/3.0.4/cli/thor/lib/thor.rb:359:in `dispatch'
    from /usr/local/Cellar/dinghy/3.0.4/cli/thor/lib/thor/base.rb:440:in `start'
    from /usr/local/bin/dinghy:5:in `<main>'

Any help in diagnosing this issue would be much appreciated.  Thanks!

Darn, I knew that using a hard-coded IP would bite somebody eventually, but I haven't gotten around to making it dynamic.
Interesting that you can't find any other networks in the 192.168.42.x range though. Does virtualbox list any in preferences -> network?

Nope... there was one originally but it was removed (and the system restarted, etc) and the issue persisted.  It was a host-only network.

Upon further investigation, it looks like the cause of the problem lies within the codekitchen/boot2docker image.  Vagrant returns the error under all cases when trying to spin up this image, but it able to spin up other boot2docker images with the same configuration.

Oh there's another interface in the base codekitchen/boot2docker image, and sure enough it's <IP_ADDRESS>: https://github.com/codekitchen/boot2docker-vagrant-box/blob/master/vagrantfile.tpl#L13
I actually inherited that config from upstream: https://github.com/dduportal/boot2docker-vagrant-box/blob/master/vagrantfile.tpl#L23 I don't think it's even needed for dinghy. I'll look into just removing it.

In fact, i've got vmware fusion and got exactly the same issue. Not sure if there's something equivalent for it but still didn't found it.

OK the master branch doesn't have a <IP_ADDRESS> interface anymore. I'm not ready to cut a new release yet, but you can install the master branch by following these instructions: https://github.com/codekitchen/dinghy#prereleases
<IP_ADDRESS> is still hard-coded, so if you have a conflict there this won't help.

It do work like a charm, that's amazing, and the next release should fix this issue completely. Thanks !

ok, this has been released. i'll track a separate issue for making the <IP_ADDRESS> interface dynamic.

The specified host network collides with a non-hostonly network!
This will cause your specified IP to be inaccessible. Please change
the IP or name of your host only network so that it no longer matches that of
a bridged or non-hostonly network.
Bridged Network Address: '<IP_ADDRESS>'
Host-only Network 'en0: Wi-Fi (AirPort)': '<IP_ADDRESS>'

i have a same issue please could you help me how what do to solve the problem


[WFLY-6350][WFLY-6816] Make standard configs and persisted configs match xsds

Replaces #8773
@stuartwdouglas @jmesnil FYI

@bstansberry messaging-activemq changes looks good except for the block-on-durable-send bit.

all looking good for the messaging-activemq subsystem, thanks for looking at it

Thanks, @rhusar for paying attention to this topic and doing the initial work. It's very helpful in general and this time surfaced a bug in core.

@bstansberry Perfect, thanks for picking this up and doing this all the way.


Storybook crashes when changing certain controls

Describe the bug
If you type something into the "inputIcon" control for TextField (e.g $) and hit backspace, it replaces the value with an empty object, and crashes the storybook
Happens for inputIcon and helperIcon. Some of it also happens with value (although that just sets the displayed value to [object Object] ). Seems to be storybook being a mess, but perhaps the icon-controls could just have a few pre-defined to select from instead?
Steps to reproduce the bug

Open https://eds-storybook-react.azurewebsites.net/?path=/story/components-textfield--default
Find "inputIcon" control
Type $
Hit backspace

Expected behavior
Should not crash.
Specifications

Version: Storybook
Browser: Chrome
OS: MacOS Catalina

Additional context

Thanks for reporting this!
We are currently working on refurbishing our Textfield component, and in that regards we are having a look at the "unit" placement, so we'll make sure to test for this use-case and when we are having a pass at that part of the code in #1111 😁

This will be fixed in #1152


[BUG] EVAL crash after 6.2.2 => 6.3.0

Describe the bug
The following Lua code takes down the server after upgrading to 6.3.0. Atomically fetching the values of all keys matching a pattern.
local results = {}; for i,k in ipairs(redis.call('keys',ARGV[1])) do results[i] = redis.call('get',k) end; return results

To reproduce

Run a new keydb server.
Run EVAL "local results = {}; for i,k in ipairs(redis.call('keys',ARGV[1])) do results[i] = redis.call('get',k) end; return results" 0 '*'  on >= 6.3.0.

Expected behavior
Should return (empty array). Or the values of all keys if there are any keys there. 🙏
Additional information
Bug exists in all keydb versions >= 6.3.0.
KeyDB Bug report is same as https://github.com/Snapchat/KeyDB/issues/452.

Fixed with #564, keys command wasn't properly respecting the CLIENT_DENY_BLOCKING flag.


XS✔ ◾ Add fetch-depth=0 param to checkout action per PR-Release error msg

PR Metrics
✔ Thanks for keeping your pull request small.
✔ Thanks for adding tests.

Lines

Product Code
0

Test Code
0

Subtotal
0

Ignored Code
3

Total
3

Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs!


Unsupported vendor-prefixed style property webkitTransform

Hi, I'm getting this warning error when loading the list on web
Warning: Unsupported vendor-prefixed style property webkitTransform. Did you mean WebkitTransform?

Check the render method of `ViewRenderer`.

The issue seems to be in this line https://github.com/Flipkart/ReactEssentials/blob/8e7df4a56f14e9dfb6584e9b0a397f81df5e43aa/src/recyclerlistview/viewrenderer/web/ViewRenderer.js#L64

webkitTransform is the right nam https://stackoverflow.com/questions/708895/how-to-set-the-style-webkit-transform-dynamically-using-javascript
Which browser are you trying this on? I don't see the warning on chrome.

yes, I'm using chrome as well. Not sure why it gives that error on mine then. Just commenting that line it works, but not sure what the implications are.

Also I have another issue when I build my project, it complains about not having react-native dependency, where I'm using it on the web. Even if I set the process.env it stills warns at building time. I'm using it within a meteor app. Any ideas?

webKit transform is there to support browsers like UC. They don't understand transform property. Removing this warning will require a browser UA check which I don't to be inside the library. Maybe we can accept it as a prop. Regarding the process.env, does it just warns or the build actually fails. In case it does work are you able to get it to render everything fine? Share relevant part of webpack config if possible. Ideally webpack should've taken care of it.
Btw if you're using it on web you might want to check out perfUpgrade branch. We're working on improving things in case of non deterministic rendering.

Please refer the link https://titobouzout.github.io/react/tips/inline-styles.html used for inline styles used in react. I think the property for inline style should be WebkitTransform (with a uppercase W).

Thanks @twistedfork88 that'd solve the issue.
@naqvitalha regarding the env variable, I'm not using webpack to bundle my project, so I don't have a config file. Even with the warning at build time, the project still runs, but it's a little annoying having that issue if I can prevent it somehow. I know other libraries like styled-components handle the separation btw native and web, or event rnw, where you can then create an alias for it depending where you are using it.

thanks @twistedfork88, didn't know about this convention.
@tafelito the idea with process.env was to keep the import location constant. The easiest solution that I can think of is to have something like import { RecyclerListView } from "recyclerlistivew/web" that should do it. That's how styled-compoments does it. With aliases there is a chance that this might happen to someone again since not all builders support aliases.
Will try to get this out in next release.

that'd great @naqvitalha thanks!

@tafelito try version 0.0.2 . It's a beta. See if it fixes all of your issues.

@naqvitalha 0.0.2 looks good! importing form /web did the job!
Thanks!

Great! It'll get release within a few days.

Issue fixed in release 1.1.5 (https://github.com/Flipkart/ReactEssentials/releases/tag/1.1.5). Closing.


Create SECURITY.me

thankyou🙏

Thanks.  I'll look into it.
On Fri, Aug 26, 2022 at 3:53 AM David21101991 @.***>
wrote:

@.**** commented on this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/community/community/pull/30849#pullrequestreview-1086843117,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX73GLD4DPEWJKSRORPZUJ3V3CV47ANCNFSM57UO6P6A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=feedback-id:message-id:date:subject:cc:to:from:mime-version
:dkim-signature:dkim-signature;
bh=xJsDXpf7m/in6gjiAS+gjcehP6b+ZoF0GDp8aYO9qHk=;
b=TF3q8nP+LDU6S5YaDZN5BY9yfjQEd4vPHjgZaazH62hYeqTKFe96JsT+BQRrHX/fOt
olkgx/aAN3THfLeChHFAOBBMs7Uc6eYzEwJzU76Sr2+bRza/HXq3CP40XbCHYhQRYVK7
+3OF4nYPFDsSe8Y8LFcCfYYTgAt5CWD1wAy6YdRKYb9oZQ5SbjXUeFfwwi7Y6Z/6Xxo2
6W6Pe+6UMqJ+EQanTPYcqzfZKYQPk4QT2r1rXTYqJLmuzpGxLx2sUh5ufNgZyrxzhKL+
IhsMPw9LCPr1YBMROUTtVbNN81gcMbIx47sABkkl5G140ZKEMFYwyT2vILF9c7ICsktW
QlMw==

https://bit.ly/3ANhhUr


Empty output specifying HTTP(S) port

Description
Web I try to run gospider on an URL specifying also the HTTP port, sometimes I don't know why exactly it doesn't crawl the target.
Go version
go version go1.16.2 linux/amd64
Gospider Version
1.1.5 (In the last commit of https://github.com/jaeles-project/gospider/blob/2e610b3fd79e1ac0945b694385edd88028f821ce/core/version.go the version is wrong btw)
Test case 1 - Not specifying http or https port
./gospider -q -s https://shippingmanager.bpost.be/ --debug

[0000]  INFO Start crawling: https://shippingmanager.bpost.be/
[0000]  INFO Found robots.txt: https://shippingmanager.bpost.be//robots.txt
https://shippingmanager.bpost.be/ShmFrontEnd/
[0000]  INFO Done.

Test case 2 - Specifying the port:
./gospider -q -s https://shippingmanager.bpost.be:443/ --debug

Closing the issue because the problem is the web response which redirects (With location header) to a wrong URI: http to 443 (https) port


Add: SMBv1 metric

Currently not working: the remediation and rollback are running infinitly in the Edamame app and in GitHub actions CI/CD.

This remediation needs a restart to be effective.
Since there will be many other of those cases, we should think of a way to prompt the user to restart their computer or at least to communicate this fact.


dbs_scrape should check if otphelper is online or not

Ideally, dbs_scrape should be able to determine if otphelper is online or not (maybe otphelper can detect network connectivity changes and save status to Firebase). This is so that dbs_scrape doesn't need to run unnecessarily, and be able to retry after N seconds/minutes.
Another way around this is to have the otphelper to report status every hour (like the hourly dbs_scrape). I think it is easier to implement it this way. dbs_scrape will only have to check if the last reported date is within an hour of current time or not.
Example: otphelper saves the date and time<PHONE_NUMBER>50, and dbs_scrape runs at<PHONE_NUMBER>00. As the two date and time are only 10 minutes apart (within an hour or 60 minutes), this passes the validation process. dbs_scrape can then judge that the otphelper is online albeit not accurate enough (if otphelper goes offline within that 10 minutes.

Done in commit 9c7041896075113ab317c23dc078179c2648b2cd

Closed the wrong issue just now


ci: no "requirements.txt" in flask_cors

CI is failing because Flask-CORS>=2.1.0 makes pip
INFO: pip is looking at multiple versions of flask-cors to determine which version is compatible with other requirements. This could take a while

But it fails trying 2.1.1. because no requirements.txt is found
        with open (join(dirname(__file__), 'requirements.txt'), 'r') as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-e64ihnwd/flask-cors_4a4456bda28143908cbb7e9a49971dac/requirements.txt'

Maybe we can narrow down the version range?

Additional info: https://github.com/inveniosoftware/invenio-openaire/pull/63/checks?check_run_id=1530223047


:sparkles: add password retreive from keychain

Add the ability to retrieve proxy password directly from keychain when using on MacOs.
Use read command with -s option to read password (better ui)
Change encoding function using fish command string

Cheers


Mobile sliding menu for header

To fix:

[x] Set drawer background color to primary color
[x] Login button on laptop-size screen has mysteriously become invisible

@blukai I can't figure out how to align the name to the left without modifying LoggedIn itself, any tips?

Nope. 😆 Looks good.

resolve conflict @recurza

resolved


[Improvement][Task] Datax task add sap hana datasource

Purpose of the pull request
Datax performs ETL operations on the SAP Hana database through RDBMS
closes #5086

hi, thanks for your contribution,code style check fail,you can refer this doc:https://dolphinscheduler.apache.org/zh-cn/community/development/pull-request.html

https://mvnrepository.com/artifact/com.sap.cloud.db.jdbc/ngdbc
His license seems to be unavailable for Apache

https://mvnrepository.com/artifact/com.sap.cloud.db.jdbc/ngdbc
His license seems to be unavailable for Apache

https://mvnrepository.com/artifact/com.sap.cloud.db.jdbc/ngdbc
His license seems to be unavailable for Apache

What should i do for ngdbc dependency unavailable for Apache?

https://mvnrepository.com/artifact/com.sap.cloud.db.jdbc/ngdbc
His license seems to be unavailable for Apache

What should i do for ngdbc dependency unavailable for Apache?

Are there other options?

https://mvnrepository.com/artifact/com.sap.cloud.db.jdbc/ngdbc
His license seems to be unavailable for Apache

What should i do for ngdbc dependency unavailable for Apache?

Are there other options?

i can not find other dependency except ngdbc....

License is indeed a troublesome issue. BTW, when you submit a PR, it is best to thoroughly discuss it first, so as to avoid this happening. I will close it. If you have a new solution, please discuss in the issue. Thanks again for your contribution.


python311Packages.openai-triton[-bin]: 2.0.0 -> 2.1.0

Description of changes
"Changelog": https://github.com/openai/triton/releases/tag/v2.1.0
cc @SomeoneSerge @Madouura
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Duplicate of #272364.

Closing then ! Feel free to grab any change you want from here :)


No more changelogs in github since baseBranch rename

Problem
I renamed my baseBranch from master to main, did this in a single commit. Directly after that push, I also changed the base branch setting in GH settings also. I believe the version of the package was at v2.0.12 which had a nice and pretty changelog, and GH saw this as a release.
Ever since that, all my releases are merely tagged but no GH release created.
Proposed solution
Have GH releases re-instated.

Could have been introduced by #376

cc @mitchellhamilton

This might indeed be caused by #376 - the fix for creating proper releases after this change is on the way: https://github.com/changesets/action/pull/35

@maraisr I'm closing this as probably solved - but please reopen if I am wrong


Pretty table does not display

If I generate a simple PrettyTable, instead of printing the table it prints its class instance e.g. "<itable.itable.PrettyTable at 0x7f9225161890>"
I get the same result in IPython qtconsole and notebook.   Is there a display_pretty method or some magic I should do first?
e.g.
In [1]: import pandas
In [2]: %pylab inline
Populating the interactive namespace from numpy and matplotlib
In [3]: import itable
In [4]: df = pandas.DataFrame(range(10))
In [5]: df
Out[5]:
0
0  0
1  1
2  2
3  3
4  4
5  5
6  6
7  7
8  8
9  9
[10 rows x 1 columns]
In [6]: pt = itable.PrettyTable(df)
In [7]: pt
Out[7]: <itable.itable.PrettyTable at 0x7f9225161890>

What version of IPython notebook are you using? On 2.3.1 it is working fine.
If you run on the IPython command line, it will print the class instance. In the notebook, it should automatically display using the built in _repr_html_ function.

I am also seeing a similar issue when I attempt to export a working HTML notebook to pdf using nbconvert. something like the following
ipython nbconvert --to=pdf --template=nocode.tplx Metrics.ipynb


fix: use correct param for dryRun check

Codecov Report

Merging #36 (300b907) into master (7b7ed56) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #36   +/-   ##
=======================================
  Coverage   97.62%   97.62%
=======================================
  Files          26       26
  Lines        1178     1178
=======================================
  Hits         1150     1150
  Misses         28       28

Impacted Files
Coverage Δ

lib/checkpoint.js
100.00% <100.00%> (ø)

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

Good eye! Thanks very much for the PR, and apologies for the delay merging.

Released in 10.1.0.


Zero Downtime Deployments

At the infrastructure level, I'd recommend implementing this as part of a transition to production infrastructure in Azure - don't try to force this on the improvised beta architecture. Nick's work with terraform will allow rolling upgrades of containers.
Also this is wider than just devops - to do this properly, we'll likely need to implement API versioning in the front end, the API layer, and in the development process - since all these services are deployed and developed separately. In the current model it would actually be better to deliberately take everything offline while deploying to avoid these systems being out of sync (i.e. front end making a call to the API that doesn't work anymore because the customer doesn't have the new version fo the FE).

In addition to API versioning I think we should have some way for the user to let us know a front-end app version displayed somewhere in the UI such as the footer. We could use real version numbers if we have a true CI/CD setup in the future but for now I'd settle for the commit hash of the last commit so we can tell what they are running.
Until we notify the sites otherwise I think we should instruct them to close the browser at the end of their testing each day. If they have shifts they should just close it at the end of the shift and reopen it again.


Unable to test automation if smctl provision ... has success

The smctl provision CLI tool returns always 0 even if the command fails. Normaly CLI tools returns
1 or any value greater zero on error. This makes it possible to test if the command has success.
( echo $? shows the status of last execute shell command )
Instead the provision command returns a human readable text and tells how to check if the command has success or not.
smctl provision sm-instance service-manager service-operator-access -o yaml
Service Instance sm-instance successfully scheduled for provisioning. To see status of the operation use:
smctl status /v1/service_instances/3c496c0c-d89d-4753-af6f-e3c979203b8a/operations/6e9ff2c0-f5e4-4f15-804f-b5d122c53fda

But this output is pretty useless in an test/automation environment. The smctl list-instances  do not return failed instances nor do we have any other chances to retrieved failed provision commands.
Any idea how to automate/test the instance provision command?
one solution could be to support -o json as argument in the provision command as well. In this case we can fetch the  test command easy from the output instead of parse human readable output.

the documentation tells me the the provision supports the -o argument....but the output is still a human readable text instead of json.
 smctl help provision
Provisions an instance in SM

Usage:
  smctl provision [name] [offering] [plan] [flags]

Flags:
  -b, --broker-name string   Name of the broker which provides the service offering. Required when offering name is ambiguous
  -h, --help                 help for provision
      --mode string          How calls to SM are performed sync or async (default "async")
  -o, --output string        output format
      --param stringArray    Additional query parameters in the form key=value
  -c, --parameters string    Valid JSON object containing instance parameters

 smctl provision sm-instance service-manager service-operator-access -o json
Service Instance sm-instance successfully scheduled for provisioning. To see status of the operation use:
smctl status /v1/service_instances/4cb6570b-d57c-4fa0-9b75-725313ed5b56/operations/24147e97-5123-404e-93ba-4afdd1b3cc16

Can you try provisioning with  --param async=false?

now the exit code is good....but the output is still not JSON
smctl provision sm-instance service-manager service-operator-access -o json --param async=false
Error: request POST https://service-manager.cfapps.sap.hana.ondemand.com/v1/service_instances?async=false&async=true failed: StatusCode: 409 Body: {"error":"Conflict","description":"instance with same name exists for the current tenant"}

(venv) d023280@C02C23Y8MD6T unittest % (shoot--cpet--unittest) echo $?
1


REDACT option for EXPLAIN, EXPLAIN ANALYZE

DOC-6758

Document REDACT option for EXPLAIN and EXPLAIN ANALYZE.
Document other options that had examples, but were missing from the parameter tables.

@michae2, I'm not sure if the example statements I used were ideal for showing redacted values. If you can think of a better one, please feel free to suggest one. It would have to use the MoVR dataset for consistency with the other docs examples.

If you want a statement that shows off a little more redaction, maybe one with constants in a few more places, like:
EXPLAIN (REDACT) SELECT (SELECT sum(revenue / 2.0) FROM rides r2 WHERE r2.rider_id = rider_id) AS rsum FROM rides WHERE end_time - start_time <= '1 day' AND city IN ('los angeles', 'san francisco');

But maybe this is overkill... I think the statement you have is fine.

Thanks @michae2 - I'll stick with the statement I used, in that case. How does this rest of this PR look to you?

This change is


docs(custom): fix outdated module name

I'm really confused at how the custom folder was seemingly gitignored but also kept git history... I'm assuming its supposed to be in git history and have deleted the .gitignore as it was the only entry.
Closes #131

@sgoudham custom was added to .gitignore so no custom user modules made it upstream by accident.
A better way to ignore it would be to ignore custom except current files.
Here is PR for it #154


Use releaseRepository in release action

This was replaced in the vanniktech plugin as of 0.28.0 https://vanniktech.github.io/gradle-maven-publish-plugin/changelog/#0280-2024-03-12
Fixes the apparent release action failures e.g. https://github.com/touchlab/KMMBridge/actions/runs/10689342756/job/29631221033

Thanks! Will try it on next release.


[google-cloud-cpp] Update to v1.16.0

Describe the pull request
Updates the google-cloud-cpp package to the latest release (v1.16.0)

What does your PR fix? Fixes #

N/A

Which triplets are supported/not supported? Have you updated the CI baseline?

There should be no changes to the baseline needed.

Does your PR follow the maintainer guide?

Yes.

Hi @coryan
Thanks for this PR.
Is this PR ready to merge?

@NancyLi1013 yes, I think this is ready, but let's see what the CI builds have to say.

LGTM now.


Add Next.js 8 serverless example hosting on firebase

The idea behind the example
With Next.js 8, it's possible to split pages into serverless functions, this example demonstrate a setup using Firebase Cloud Functions, Firebase Hosting and main app is written in typescript. Firebase Hosting rewrite rules provides ability to route http requests to Firebase Cloud Functions. Each function is corresponding to one page (or multiple pages) rendering with the idea of micro services. This setup creates multiple cloud functions, so it's more scalable, cost efficient and tracable, there are also drawbacks using this architecture, the pros and cons are open for discussion.

I learned a few things from the discussion here. I'm hopeful that Firebase will eventually support serving each page in isolation.

@johnapost yep that'd be great 💯

I'm late to the discussion here. Would lazy requires solve the problem, as discussed in this video?
https://youtu.be/v3eG9xpzNXM

It would not, as the function size would keep increasing as your app grows. You could use lazy requires just to make sure the code is not loaded between invocations but it wouldn't solve the size problem.