Merge Optimization Efforts

As discussed in https://github.com/mathnet/mathnet-numerics/pull/173, we've got a few independent efforts to add optimization to mathnet-numerics, and we would like to merge these efforts, and eventually get the code into the mathnet-numerics master.
I'm starting this issue so we have a central place to discuss these efforts, since it will likely involve multiple pull requests.
The first thing we need to do is get the various contributors to settle on an API. To that end, I've created a pull request (https://github.com/mathnet/mathnet-numerics/pull/282) with the start of some experimental code. Right now, it's basically got the API, and an implementation of a Newton unconstrained minimizer. It's branched from the current mathnet-numerics master.
Suggested next steps:
(1) @cdrnet  should pull my branch into it's own mathnet branch
(2) @joemoorhouse should add an algorithm that calls out to native code using the candidate API to see how he likes working with it/how native code fits in.
(3) Any interested parties, including at a minimum me, @joemoorhouse, and @cdrnet should discuss the API
(4) Once the API is settled, we can add additional algorithms.

(1) Done: unified_optimization branch.

Hi Scott, Just had a look at the API, and personally I like the concept. I think it is nice to have an interface in which the Minimizer asks for the function value, gradient or Hessian (and in turns says when the point at which these are calculated has changed). I think that is going to give enough flexibility where calculations of these share computationally intensive components.
I have one idea (which might or might not be a good one! :)): I have been playing around with the interfaces and wonder whether it is possible to simplify (arguably) somewhat, because I see that the IEvaluation is already responsible for calculating and storing the function value, gradient and Hessian. I wonder if we can combine IObjectiveFunction and IEvaluation and the objects that implement these into one. The single interface would be:
public interface IObjectiveFunction
{
    Vector<double> Point { get; set; }
    double Value { get; }
    Vector<double> Gradient { get; }
    Matrix<double> Hessian { get; }
}

I think that EvaluationStatus can (even should?) be part of the internals. The setter of the Point could be used to indicate when this has been changed and be used to reset EvaluationStatus.
Anyway, I have put an illustration of this here (and can flesh out more if required).
https://github.com/joemoorhouse/mathnet-numerics/blob/unified_optimization/src/Numerics/Optimization/ObjectiveFunctionAlternative.cs
Just an idea to get the discussion going(and I might well be missing something!). As you will see, just a variation on the current API as well, sharing all the same concepts.
Thanks,
Joe

I'm very interested in non-linear optimization with this library. I noticed that there is a "Nonlinear Optimization" item listed under "Optimization" in the Math.NET documentation, but it appears it's still under development based on this discussion.
Is this the latest discussion? I would like for the API to stabilize before use in production code.

Similar question from me. Are there plans to make Levenberg-Marquardht available?

Yes - it would actually be very helpful if you could quickly review whether this proposal would work well in your particular scenarios (from the API/architecture point of view).

The API is not yet stable.
@ndalchau: @joemoorhouse's optimization branch has a wrapper around the MKL non-linear least squares optimizer. I suspect he will contribute this to the final version once the API stabilizes. Not sure if this is LM or not. If you're not wedded to the algorithm, I generally use BFGS-B for small-scale nonlinear least squares problems, and that will definitely be included.

Generally the architecture looks fine. BFGS-B would be a great addition, but for most applications I need optimisers for which I cannot provide derivatives information. I believe you need to specify gradients/hessians for BFGS, right?

@ndalchau : BFGS needs gradients, but not hessians. However, Levenberg–Marquardt also needs gradients. If other libraries were letting you get away without specifying gradients it was because they're automatically doing either finite difference or automatic differentiation gradient calculations under the hood, not anything to do with Levenberg–Marquardt. It's not implemented currently, but it wouldn't be very hard to write an objective function class that takes a value-only objective function class and transforms it into a value + gradient objective function class by doing finite difference. That's roughly the plan I have for adding support for "gradient-free" optimization.

@scottstephens : Thanks for the clarification. Yes, the implementation of LM I've previously used optionally allows the provision of a Jacobian. If you don't provide it, I guess it reconstructs. I'd forgotten about this.
There are also the Simplex methods, which are interesting and useful, and would be in the gradient-free category. For example, Nelder-Mead. Something to bear in mind.
I'd be very happy to test out preliminary implementations of gradient-free optimizers if/when you have something. Just let me know, and point me to the relevant place.

@scottstephens: I believe that would be suitable for my application as well. In particular I am interested in non-linear least squares optimization, for which either of the methods you discussed should be suitable.
In general, the API looks very reasonable and seems to make sense. The current objective function interface appears to be flexible enough to allow for the optimization of non-linear piecewise functions, which was one of my largest concerns.

@joemoorhouse : Finally got a chance to look at your suggestion for merging IEvaluation and IObjectiveFunction into a single interface. I like the concept, it's always bothered me that there were two classes involved with implementing an objective function. I took a stab at fleshing it out: https://github.com/scottstephens/mathnet-numerics/tree/unified_optimization_single_objective_interface
Let me know what you think.

Hi @scottstephens: yes, the IEvaluation interface looks good to me. My main comment is semantic: I would suggest changing the name ;). I would suggest using IEvaluator instead (or IObjectiveFunction). This concentrates on the fact that the object is able to provide the function value, gradient or Hessian rather than the fact that it stores it.
For example it feels a little odd to me to pass an evaluation to a FindMinimum method (this is an actual value), whereas it makes sense to pass an evaluator:
public MinimizationOutput FindMinimum(IEvaluation objective, Vector initial_guess)
then becomes:
public MinimizationOutput FindMinimum(IEvaluator objective, Vector initial_guess)
We know that the object that implements the interface will most commonly cache the value, gradient and Hessian so that these are only recalculated when the point changes, but (I think the idea is) that the minimiser should not really care about this; it just wants the values. The interface forces the minimiser to change the point separately from getting the values, which encourages less frequent point changes, but that is all.
This might imply that CreateNew() is then unnecessary I think (you just use the IEvaluator that is passed in rather than having to make a new one), although I can see that a Clone() method might be useful (which is basically the same thing)?
Again, just some thoughts, happy to go with the consensus. And clearly not a massively big deal!

I've started to catch up with this again, see the updated unified_optimization branch in this repo.

@cdrnet Great to see progress in this area.
I have two questions:

What is the plan on integrating this into master branch?
What are the other optimization branches (optimization-1, optimization-2, and optimization-3) for?

@tibel

What is the plan on integrating this into master branch?

The API has not stabilized enough yet, so either we delay merging into master or we explicitly opt-out from semantic versioning for this section, e.g. by marking it as [Obsolete("Preliminary API. Breaking changes between minor releases expected.")]

What are the other optimization branches (optimization-1, optimization-2, and optimization-3) for?

These were earlier prototypes. The idea of this unified_optimization branch is to combine these 3 branches (and also a few others not pulled into mathnet yet) and their ideas into one unified and consistent API. Some of them have working implementations that still need to be migrated over into this branch, and one of them is leveraging MKL already.

@cdrnet Maybe adding a task list to this issue would be good. So it can be tracked what has to be done (e.g. migrate MKL impl from branch xxx or stabilize api).

Any ideas on a path forward for this? It seems like it's mostly semantics at this point. Personally I think IEvaluator or IObjective would make sense in this context, and shouldn't cause too much confusion in the future. Either way it would be good to have a consensus on this so we can stabilize the API.
Which pieces are left to merge into the unified_optimization branch? Are we only missing the MKL implementation?

I've started merging algorithm implementations from the other prototype branches into the unified one, but this is still work in progress, i.e. there's currently some duplication.

@ndalchau There is now an implementation of Nelder-Mead simplex algorithm that you can try.
@cdrnet Is there anything I can help with to enable you to merge this into master branch? As @tibel suggested a task list would be useful, even if it doesn't contain everything that needs to be done, it still makes it easier to help.

Blocking merging into master:

[ ] Blocked until v3.8 is released
[ ] One of the BfgsMinimizer unit tests currently fails.

Non-blocking remaining tasks, off the top of my head:

[ ] The whole optimization provider story is still quite open (mostly to leverage MKL in a native provider).
[ ] The objective function design needs more work. I did some experimental refactoring but am not happy yet with the current design.
[ ] There are some duplication left-overs from the prototype merge e.g. regarding line search. Also the API is still quite inconsistent.
[ ] At least basic documentation for the website
[ ] It would be great if we could collect a few pseudo-real world use cases/examples to verify the API usability.
[ ] We usually have a facade class in the root namespace for simple yet common use cases. We should add one for this as well.

Resurrecting this old issue. Found the bug in TestBfgsMinimizer.FindMinimum_BigRosenbrock_Hard. It was a typo. The correct result should have been 100 and not 1. See PR #391

If there is still an interest to use this branch I can try to combine the 3 line search classes (have to start working to be sure if a common base class or just an option is the best way to go).
I could also try to combine as much as possible of the BfgsSolver, BfgsBMinimizer and BfgsMinimizer. As I understand it the functional difference between BfgsBMinimizer and BfgsMinimizer is that BfgsBMinimizer is bounded while BfgsMinimizer isn't?

Yes, I'm still interested in this branch and looking forward to finally integrate it into mainline.
Currently it is still way too messy, mostly because of me merging two different but somewhat overlapping spikes. Would be great if we could cleans this up and finally move forward. Regarding BfgsBMinimizer, yes, that is my understanding as well (but I was not directly involved).

I'll start working on this.

I've been absent from this thread for a while; I'm sorry about that. However, I've got some newly acquired day-job motivation to add finite-difference support to the library, so I'll be working on that in the days to come. Along the way I'd like to improve the testing and documentation of the library, which I think should get us pretty close to being able to merge this into master.
Besides having fresh knowledge of the code, I will have unusually high availability over the next three weeks or so; if there's anything I can be helpful with on getting this ready to merge, the near future is a good time to ask me for it.

That's great news, we shouldn't miss this opportunity!
I've just created an Optimization Project, maybe this can help to move forward (about projects). I might need to add you to the project though so you can add cards and move them around.

@cdrnet With the latest merge I think this case and #173 can be closed right? Or am I missing something?

Yes, indeed!


Cannot add items from config after initialisation

Is there a reason why the function addItemsFromConfig is protected? I want to use it inside a ServiceProvider, is it a bad idea?

It was originally just a convenience method for processing config passed to the constructor. I think it would be straight forward to just change the accessibility but I'll need to check to make sure that it doesn't override anything. :+1:

This will now be handled by a separate package containing a config service provider and factory.


Installing on OpenSuse problem

This is my terminal output after installing the dependencies one by one.
kour@linux-fhgw:~/Downloads/codepulse> chmod +x codepulse
kour@linux-fhgw:~/Downloads/codepulse> ./codepulse
./codepulse: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory
kour@linux-fhgw:~/Downloads/codepulse> ./codepulse
./codepulse: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
kour@linux-fhgw:~/Downloads/codepulse> ./codepulse
./codepulse: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
./codepulse: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
kour@linux-fhgw:~/Downloads/codepulse> ./codepulse
./codepulse: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
kour@linux-fhgw:~/Downloads/codepulse> ./codepulse
(codepulse:15866): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",
(codepulse:15866): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[15866:1016/005256:WARNING:simple_index_file.cc(338)] Could not map Simple Index file.
[15866:1016/005256:INFO:simple_index_file.cc(437)] Simple Cache Index is being restored from disk.
At the time all of the dependencies were installed I got the problem shown in the screenshot.

My System is OpenSuse 13.1

Marios, we've since release version 1.1.3 of Code Pulse that addresses a number of issues hopefully including the one you've run into. Please try that version and let us know if you still run into problems. For now I'm closing this issue.

Hello leRadwan ,
Thank you very much for your reply. Unfortunately It has been years since I opened that issue and nowadays I am not running OpenSuse. Although I am gonna give test the latest version on my Mint Box.
Cheers
Marios


Instrumentedtests/recyclerview

Refactored the instrumentation tests to support RecyclerViews.
Fixed an issue with restoring the search query state.
Refactored AddonsHandler so we can now directly start the AddonsActivity in tests, instead of starting MoviesActivity and from there start the AddonsActivity.
Upgraded test libraries, which also required us to upgrade to support lib version 27.1.1

@poisdeux I think the upgrade to 27 should be in a separate PR. In fact i think every upgrade (android, gradle, whatever) should have its own PR so that we can identify if something goes wrong due to it.

@SyncedSynapse I removed the upgrade. Tests run fine on the minSDK (API 17) and targetSDK (API 26). Didn't run the tests on SDK levels inbetween.


Undefined variable: newKey8

This happens every time vim starts, since today. I don't recall changing .vimrc or updating NERDTree. I tried to update it but haven't solved it yet.

Environment:

Operating System: ArchLinux
Vim version :version: 8.0
NERDTree version git rev-parse --short HEAD: 45f4d61
NERDTree settings applied in your vimrc, if any:

Plug 'scrooloose/nerdtree'
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree
map <C-n> :NERDTreeToggle<CR>
" close vim if the only window left open is a NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
" git status in NERDTree
Plug 'Xuyuanp/nerdtree-git-plugin'

Process: List the steps that will recreate the issue.

Optional
Screenshot(s):
Possible Fix:
Maybe it has something to do with lib/nerdtree/key_map.vim:146:
let newKey8^G3^EquickhelpText = opts['quickhelpText']

There are lots of plugins not compatible with Vim8.0. Im holding till there!

I had to reboot and everything came back to normal, like it was before (even with vim 8).


gfx/sfml: Don't try to use fonts that don't support ASCII

This is a temporary solution and will be replaced once our font handling is a bit smarter, but getting regular text working working alright is higher priority than emoji-fonts right now.


Some problem about data generation

After I deployed the operating environment, i run the
./leaderboard/scripts/run_evaluation.sh without any modify
then have an error
Problem reading checkpoint. Route id 60 larger than maximum number of routes 23
========= Preparing RouteScenario_0 (repetition 0) =========
> Setting up the agent
routes_town01_short_10_01_00_37_02
> Loading the world
> Running the route
Traceback (most recent call last):
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 152, in _tick_scenario
ego_action = self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/agent_wrapper.py", line 82, in call
return self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/autonomous_agent.py", line 115, in call
control = self.run_step(input_data, timestamp)
File "leaderboard/team_code/auto_pilot.py", line 177, in run_step
self.save(far_node, near_command, steer, throttle, brake, target_speed, data)
TypeError: save() missing 1 required positional argument: 'tick_data'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 477, in main
leaderboard_evaluator.run(arguments)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 414, in run
self._load_and_run_scenario(args, config)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 351, in _load_and_run_scenario
self.manager.run_scenario()
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 136, in run_scenario
self._tick_scenario(timestamp)
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 159, in _tick_scenario
raise AgentError(e)
leaderboard.autoagents.agent_wrapper.AgentError: save() missing 1 required positional argument: 'tick_data'
The server has an error after a few seconds
4.24.3-0+++UE4+Release-4.24 518 0
Disabling core dumps.
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=111328 LargeMemoryPoolOffset=242464
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)
I use the Ubuntu 20 and Nvidia1080Ti

I updated the code. Try again and let me know if there are still some issues.

Thank you for your quickly reply, but there are still problem.
Problem reading checkpoint. Route id 60 larger than maximum number of routes 32
========= Preparing RouteScenario_0 (repetition 0) =========
> Setting up the agent
routes_town05_short_10_01_02_38_08
> Loading the world
> Running the route
Traceback (most recent call last):
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 152, in _tick_scenario
ego_action = self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/agent_wrapper.py", line 82, in call
return self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/autonomous_agent.py", line 115, in call
control = self.run_step(input_data, timestamp)
File "leaderboard/team_code/auto_pilot.py", line 177, in run_step
self.save(near_node, far_node, near_command, steer, throttle, brake, target_speed, data)
File "/home/harli/transfuser-main/leaderboard/team_code/base_agent.py", line 303, in save
'is_vehicle_present': self.is_vehicle_present,
AttributeError: 'AutoPilot' object has no attribute 'is_vehicle_present'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 477, in main
leaderboard_evaluator.run(arguments)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 414, in run
self._load_and_run_scenario(args, config)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 351, in _load_and_run_scenario
self.manager.run_scenario()
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 136, in run_scenario
self._tick_scenario(timestamp)
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 159, in _tick_scenario
raise AgentError(e)
leaderboard.autoagents.agent_wrapper.AgentError: 'AutoPilot' object has no attribute 'is_vehicle_present'

Sorry, I think I missed a few things earlier when I pushed the code. I updated the code again.

Sorry, I think the file you modified has space errors. I fixed them, but there are still errors

Thanks a lot for pointing this out. I just realized that I had updated base_agent.py at some point but forgot to update auto_pilot.py. Hopefully, the erros are fixed now.

Thank you again for your help. The program can run normally, but Carla frame rate is very low. Is that normal?

Do you mean the CARLA server fps is low or the data generation rate is slow?

CARLA server fps is low.

The server is run at 20 fps as per the leaderboard framework. This can be changed in leaderboard_evaluator.py.

Thank your for your reply. This problem has been solved. I will close this issue.


Select interaction is bugged with Overlay

Hello,
I have a vector layer with a select interaction.
On select, I display an ol.Overlay.
My overlay element has buttons, when I click on those buttons, the onSelect is triggered and my feature gets deselected.
The stopEvent parameter in my overlay is unset so it should be true by default. My OL version is 6.0.1.
Is it the normal behaviour ?

I couldn't manage to create a simple use case to reproduce my problem, but it has to be a combination of using an angular component which contains a svg path in my overlay. The problem appeared only when the target of the click event was a SVGPathElement, but again I couldn't reproduce this in a simple vanilla js use case, it worked fine even with a svg path element...
So I solved my problem by creating a mask with a simple div above my svg path component and then it worked...
It's weird I didn't found the origin of the problem, maybe to be continued...

There were some changes recently: #10355, #10255, #10162
None of them is in 6.0.1


Feature/update animals table

Dear Reviewer,
This pull request includes the completion of various tasks related to the animals table and transaction handling. The following tasks have been accomplished:

Added a new column "species" of type string to the animals table.
Inserted animal data with details like name, birthdate, weight, neutered status, and escape attempts.
Executed changes within transactions to modify and verify species column updates.
Updated animals' species based on specific conditions within transactions, committing and verifying changes.
Calculated statistics and answered queries regarding animal data.

Screenshots of transaction outcomes and query results have been provided for documentation.
Tasks completed and files updated:

Updated schema.sql to include "species" column.
Updated data.sql with new animal insertions.
Added transactions and queries to queries.sql.
Added screenshots of transaction outcomes and query results.

Screenshots of Transactions:

[x] Transaction# 1 Inside a transaction update the animals table by setting the species column to unspecified. Verify that change was made. Then roll back the change and verify that the species columns went back to the state before the transaction.

[x] ** Transaction# 2 Inside a transaction:**

Update the animals table by setting the species column to digimon for all animals that have a name ending in mon.
Update the animals table by setting the species column to pokemon for all animals that don't have species already set.
Verify that changes were made.
Commit the transaction.
Verify that changes persist after commit.

[x] Transaction# 3 Inside a transaction delete all records in the animals table

Inside a transaction delete all records in the animals table

Rollback the transaction and after the rollback verify if all records in the animals table still exists.

[x] Transaction# 4 Inside a transaction:

Delete all animals born after Jan 1st, 2022.

Create a savepoint for the transaction.

Update all animals' weight to be their weight multiplied by -1.

Rollback to the savepoint

Update all animals' weights that are negative to be their weight multiplied by -1.

Commit transaction

Screenshots of Queries:

[x] Query 1 Write queries to answer the following questions:

How many animals are there?

[x] Query 2 How many animals have never tried to escape?

[x] Query 3 What is the average weight of animals?

[x] Query 4 Who escapes the most, neutered or not neutered animals?

[x] Query 5 What is the minimum and maximum weight of each type of animal?

[x] Query 6 What is the average number of escape attempts per animal type of those born between 1990 and 2000?

Required change by Reviewer

[x] You should add a statement to verify if all records in the animals' table still exist after rolling back.

Please kindly review and merge this pull request to incorporate the changes made to the project.
Thank you!
@Zafron047

Required change by Reviewer

[x] you should add a statement to verify if all records in the animals' table still exist after rolling back.

ROLLBACK;

-- After the rollback verify if all records in the animals table still exists.
SELECT COUNT(*) FROM animals;

@AbelG101 Thanks for the thorough inspection and your kind review. 😺

@mukhammadrizooff Thanks a lot for your kind review and approval. 😄


Localize “email address” placeholder on home page

https://github.com/kubernetes/website/issues/20566
/language no

@npu21 I don't think the Norwegian (norsk)  localization is active.

@npu21 thanks for the PR! Unfortunately @sftim is correct and the Norwegian localization is not active. In the past I've seen this localization used as an example, but it might be worth removing the content rather than localizing it.
/close


Support non-ASCII characters in Commonjs

HI. This lib has been updated to type module but electron still does not support modules, so I am not able to use the latest version of this lib. But the fix of non-ascii chars are only in the newest version.
Any way to get this fixed on the old versions too?
Thanks!

I have no plans to backport it. The code is super simple, so I suggest you just copy-paste it.

https://stackoverflow.com/a/70895828/64949


Gemspec upgrade

:+1: Thanks

No problems, this engine looks ace and full of promise.
Sent from my iPhone

On 15 Mar 2015, at 17:44, Dean Perry<EMAIL_ADDRESS>wrote:
Thanks
—
Reply to this email directly or view it on GitHub.


docs(security): data plane proxy mesh membership

Putting this into 1.4.1, because I cannot see 4.4.4 yet.

leaving as is for now in case we get rid of semver before I leave, in which case we can do things differently 🤞


feat: bootstrap with oss: true to 8.9.0

What this PR does / why we need it:
Runs the latest bootstrap with oss: true

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


Slack and maillists are inaccessible

Hello. I already joined the Zulip forum, but just to report about these issues:

Slack does not work beacuse it requires me to have @microsoft.com email (I think it can be configured in the settings?)
Mailing list link (http://lists.gforge.inria.fr/mailman/listinfo/fstar-club) does not open (ERR_CONNECTION_TIMED_OUT)

@WhiteBlackGoose Did you try https://aka.ms/JoinEverestSlack ? I successfully join this project. Also current communications can happens on GitHub Discussions which was activated recently

Thanks, I'll check those out one day...

Closing the issue, thanks @kant2002 for the comment!

@kant2002 not really, still requires msft or google. cc @aseemr probably worth opening

@WhiteBlackGoose welcome back from your exile! Maybe you are right an I do have gmail account.

You should be able to join slack from https://aka.ms/JoinEverestSlack
I just updated the joining link
Email list is still inaccessible---we're planning on creating a new one.

Thanks, it worked!


Typo on SQL Server process name

It is "sqlservr.exe" and not "sqlserver.exe".

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

ID: c58c2dff-dcca-2a91-8f0b-9dc0853c5fb5
Version Independent ID: f59e13bd-bcd1-c7e6-dd45-4a7834a6c8db
Content: General-purpose service tier - Azure SQL Database
Content Source: articles/sql-database/sql-database-service-tier-general-purpose.md
Service: sql-database
Sub-service: service
GitHub Login: @jovanpop-msft
Microsoft Alias: jovanpop

@scoriani Thank you for reporting this issue, I have updated the doc accordingly.
The changes should be live by EOD.
In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. We love taking contributions from the community.


Solve Round A

Solve Questions of Round A
Languages accepted:

C
C++
Java
Python

Questions to view: https://github.com/BlankCoders/GoogleKickStart2020_Solutions/blob/master/Round A/QuestionsList.md
Important: Comment below to let us know what you want to solve & in which language. 😄
Assignees:

Allocation ✅

C - @hazard4king
C++ - @pixan198
Java - @evandrix
Python - @lostgirljourney

Plates ✅

C - @ighosh98
C++ - @pixan198
Java - @amith-gowda
Python - @hritik5102

Workout

C - @ighosh98
C++ - @pixan198
Java - NA
Python - @drishtantR1508

Bundling

C - @Sweta040799
C++ - @pixan198
Java - NA
Python - NA

NA  - Not Assigned
🚀 Happy Coding 🚀

Hey @lostgirljourney , I want to work on this issue!

Hey @lostgirljourney , I want to work on this issue!

@pixan198 question & language; mention it.

@lostgirljourney
Language:

C++

Questions:

Allocation
Plates

Hey @lostgirljourney , I'd like to work on
Language:

C++

Questions:

Workout
Bundling

Okay you can go ahead but please add your own codes. Don't just do for Hacktoberfest. :hugs: @pixan198

@lostgirljourney Yeah

Hey @lostgirljourney , I'd like to work on
Language:

C++

Questions:

Allocation

@evandrix alright assigning you.

Hi! @lostgirljourney
I'd like to work on
Language:
C
Question:
Allocation

@hazard4king assigning you.

Hi,
I'd like to work on the following:
Language: C
Problem: Plates

I would like to solve the issues
Language: C++
Problems:
-> Allocation
-> Bundling

@Sweta040799 assigning you.

@Sweta040799 that's already assigned!

@ighosh98 assigning you.

Can I change the language to C for problem: Bundling
On Thu, Oct 1, 2020, 3:45 PM Falguni Sarkar<EMAIL_ADDRESS>wrote:

@Sweta040799 https://github.com/Sweta040799 that's already assigned!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BlankCoders/GoogleKickStart2020_Solutions/issues/3#issuecomment-702358204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOSDLSHVD53JOJOIM36XWU3SITL5DANCNFSM4R7RZOXA
.

@Sweta040799 assigning you!

@lostgirljourney please review #28

Assigning you @ighosh98

Hey, I'd like to work on the plates problem in Java

@amith-gowda assigning you.

Will be pushing a cleaner and slightly more efficient solution for Allocation in C++

Hello @lostgirljourney , I would like to contribute to this issue
Round - A
Problem - Plates
Language - Python
Thank you :)

Hello @lostgirljourney , I would like to contribute to this issue
Round - A
Problem - Plates
Language - Python
Thank you :)

@hritik5102 assigning you.

Hello @lostgirljourney , Please check PR #52
If any changes required please let me know
Thank you :)

I want to contribute on workout problem round A in python language.
@Anni852
@lostgirljourney

Assigned @drishtantR1508

Hello @lostgirljourney, I would like to contribute on workout in Java

@xenoteo sure, assigned.

I would like to contribute on Bundling in Java as well :)

Assigned you @xenoteo.

Hey, I'd like to work on the Allocation problem in C++

Hey, I'd like to work on the Allocation problem in C++

Hey, allocation is already done in CPP.
If you like to contribute check out other issues.
🚀

Hey @lostgirljourney , I would like to contribute to this issue:-
Round - A.
Problem - Bundling.
Language - Python.

@imsushant12 assigning you.


Add task to ensure min size of PIXI_CACHE_DIR

Closes #20.
I ended up using a small Python script to parse the output of pixi info --json. Not sure if it's worth adding this to the template, but I'm putting here for the record as I used it in one project, and it's certainly useful on Windows (when working with a home directory that's on the network and has low quota).

Superseded by #24.


Missing class /file

Seems like the K-center and other coreset class implementation file is missing.
Hence, not able to run the command for initialization.
Thanks

I have updated it. Thanks.


[BUG] After updating to v1.50.74,historical conversations in the left dialogue list were cleared.

Describe the bug / 描述问题
After updating to v1.50.74, the historical conversations in the left dialogue list were cleared. I checked and found that the original data was still in localstorage locally, but it seems that it has not been synchronized to indexedDB and cannot be read.

To Reproduce / 复现步骤
Update to the latest version through chatall's automatic update feature and restart.
Expected behavior / 期望行为
Local history conversations can be synchronized to indexDB.
Screenshots / 截图
No response
Devtools Info / 开发者工具信息

OS and version / 操作系统版本
macOS
ChatALL version / ChatALL 版本
1.50.74
Network / 网络
VPN
Additional context / 其它相关信息
No response

Could you please check the console for any errors?
The error message should contain the phrase "Migration error"

Could you please check the console for any errors?
The error message should contain the phrase "Migration error"

migration.js:89 Migration error: TypeError: Cannot read properties of null (reading 'index')
at s (migration.js:32:19)
at main.js:46:9

It lost all settings for me, on macOS. Any way to get them back?

It lost all settings for me, on macOS. Any way to get them back?

Follow video below to get your settings, you can paste it to a file and save it.
https://github.com/sunner/ChatALL/assets/26683979/aee606e9-35c3-46e6-843b-cf2dac1b3506
Then could you check if the isMigratedSettingsPrompts key exists there.

If you did not see the isMigratedSettingsPrompts, check and screenshot any errors that show up in the Console tab.

@tanchekwei This is all I see in local storage:

No errors in the Console:

This is what I see in local storage:

No errors in Console:

@timkgh I did not see the chatall-app if it is not there; your setting is gone.

It is there, it has some settings, it preserved the OpenAI API key, but it lost the selected providers, I see selectedBots: null - is that the setting that didn't migrate?

It seems completely broken. I can't even select any providers, I can check a few boxes but it does save/remember them. Do I have to start fresh, reset all settings? What happened with this migration, it seems to have corrupted things badly.


error of esp32 in arduino

hi,
I can't able to dump anything on esp32 devkit board i'm getting this error anyone plz help me
c:/users/user/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:/users/user/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/../libexec/gcc/xtensa-esp32-elf/5.2.0/liblto_plugin-0.dll: error loading plugin:
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ESP32 Dev Module

This is an issue that has nothing to do with this project.
Please close it and go to https://github.com/espressif/esp-idf


Respect opening databases in read-only mode

Fixes issue #18

Merged through 3818ba879b929da8a4e72a6196ccff83b3b83f66 and<PHONE_NUMBER>b1cc701620873ff6537d274cdf7982
Thanks!


fix examples

pub-from-browser, pub-from-disk, and sub-to-browser gRPC examples need to be updated to the new interface

Hey there, I'm trying to get ion-sfu working. Was just starting to test it out, and I was wondering if pub-sub-in-browser also needs updating? Here's what's happening for me right now:
$ ./main -c config.toml -p 7000

Returns:
flag provided but not defined: -p
Usage of ./main:
  -a string
    	listen addr (default "<IP_ADDRESS>:7000")
  -c string
    	config file (default "config.toml")
  -cert string
    	cert file
  -h	help info
  -key string
    	key file

Alright, the default port is 7000 anyway, so I ran:
./main -c config.toml

# that works:
#=> config config.toml load ok!
#=> [2020-08-01 20:34:34.099] [INFO] [203][proc.go][main] => Listening at http://[<IP_ADDRESS>:7000]

The websocket connects successfully
Clicking publish gives me the message "Publishing local stream",
Hitting subscribe returns "Subscribing to remote stream: undefined".

The system also never hits this log Publishing local published with mid: ${mid}
I also tried with docker, but I'm not sure of the correct command to get it working. I ran docker run -p 50051:50051 -p 5000-5020:5000-5020/udp pion/ion-sfu:latest, but the websocket was not able connect. Probably a port problem I'm guessing?
Let me know if it's working for you and I can keep digging, I'm just a bit new to Go & Docker.

@vicramon i just updated some docs. looks like the fiddle was also out of date and adam fixed that. please let me know if you run into any other issues (feel free to open an issue)

Great, thanks. I'm confirming that pub-sub-in-browser example in the browser is now working for me. I would have saved myself a few hours if I had just started playing with this project a few hours later haha.
Two quick other things while I'm here:

It looks like the slack is invite-only – not sure if that's intentional, but because there's a slack badge on the repo, I thought it might have been a mistake.
Do you know if there are any docs around deployment? I will probably try to get this thing up on Heroku today.

the slack channel is on the public gophers slack instance.
for deployment, there isn't docs specifically for ion-sfu right now


Log player UIDs on connect

Primarily to help server admins find cheater UIDs without requiring other mods. Uses a similar style to #154.

I'm curious why we haven't been doing that already...
@BobTheBob9 any reasons why (not)?

not really, i'll throw it in and commit sometime today

Please revert this it makes ban evading harder

actually wait no it doesnt nvm

I will cry if it is left as "---UID:" as opposed to the nicer looking " --- UID: " or ", UID: "

Given that it's based on the same output style as #154, if you want it changed, just make a PR updating both :P


Add Spanish translations

For PXBLUE-1950

Changes proposed in this Pull Request:

Add Spanish translations for resource strings

Don't merge this until the current dev -> master PR is merged and 3.1.0 is published

Are we planning to have a professional translation company doing/auditing the translations in the near future? If not, shall we make a story in Jira?

Our strings are pretty simple...I was hoping to just find someone who is a native speaker and willing to take 5 minutes to look them over.

You know anybody?

No. Fiverr.com ?

I was thinking Eaton employee => free. I'm sure Jonathan would be willing to look at the French ones. I'm willing to bet somebody on SB knows somebody who speaks spanish. Or I have a friend who might do it.

yeah — want to make sure no weird thing goes into production

Nobody stepped up who knows Spanish, but I did a back-and-forth translate in google to make sure they still make sense when translated English -> Spanish -> English and everything seemed good. I think we should be okay since these are pretty straightforward phrases and don't have any technical jargon or things like that.
Also, when implementing the language support for React / RN, I'm making it so any of these strings can be overridden if necessary in any language.

This PR looks fine to me, but could you add a type for these translation files?
Angular has one here and it'll help make sure no translation strings get forgotten.

@emclaug2 types added...and caught a mistake in the French key name...good call.

Can fix this real quick if you feel like it
https://github.com/pxblue/react-auth-shared/issues/23

I'm going to approve this PR as is.


⚠ Bofrost.at has degraded performance

In 5cbd259, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2181 ms

Resolved: Bofrost.at performance has improved in fbe7183 after 47 minutes.


feat: Add Cloud Service Links

Fixes Issue
Closes #2549
Changes proposed

Added the new JSON files that were needed for the new cloud computing content
Updated the categories and sidebar for the new content

Screenshots

Note to reviewers
The links to the following services are not working for me. Can you please check it & share the updated links that need to be there, I will update those and the PR should be good for review!

Clouddocs.biz URL:(https://clouddocs.biz/)
Meta Cloud URL:(https://cloud.meta.com/)
Cloud VMWare URL:(https://cloud.vmware.com/)

Hi @Nikshinde7, please do not create a JSON file for each resource, create a single JSON file and add these resources in that file. For more details, kindly follow our contributing guidelines.

Heya @rupali-codes, I think we have a separate JSON file for each resource, so I followed the same approach. However, if we don't want it to be that way, I'll update the PR with the same! Ty!

Hi @Nikshinde7, please do not create a JSON file for each resource, create a single JSON file and add these resources in that file. For more details, kindly follow our contributing guidelines.

Heya @rupali-codes, I think we have a separate JSON file for each resource, so I followed the same approach. However, if we don't want it to be that way, I'll update the PR with the same! Please let me know! Ty!

Hey @Nikshinde7, its not for each resource, its just cloud platforms like aws, orcale etc, are very huge so we created a separate subcategory for them, although we would add more resources to it later on. Please summarize the resources you're adding in a single subcategory.

Hey @rupali-codes I have added the necessary changes you mentioned, removed the newly created json files for each category.

@rupali-codes I have renamed the subcategories to platforms. Thanks!


Error when running the EraseUserData batch file - Anbernic RG505 installation

Note: I try to install it using Win10 on parallels
Log:
Ignore any errors. This step can take up to 10 minutes, please wait!
fastboot: error: cannot load 'flash/userdata.img': No such file or directory
******** Did you mean to fastboot format this ext4 partition?
Erasing 'metadata'                                 OKAY [  0.153s]
Finished. Total time: 0.185s
CreateProcess failed: The system cannot find the file specified. (2)
fastboot: error: Cannot generate image for metadata
Erasing 'userdata'                                 OKAY [199.343s]
CreateProcess failed: The system cannot find the file specified. (2)
fastboot: error: Cannot generate image for userdata
Ignore any errors. /userdata and /metadata wiped. Factory reset complete. Closing this window in 60 seconds.

This is expected behaviour.


Whether sku_tier of "azurerm_kubernets_cluster" supports "premium" functionality

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The azcli command supports the following features when creating or updating an AKS.(Long Term Support (LTS))

sku_tier = premium
k8s-support-plan = AKSLongTermSupport

The example of the command is as follows.
az aks create --resource-group myResourceGroup --name myAKSCluster --tier premium --k8s-support-plan AKSLongTermSupport --kubernetes-version 1.27

az aks update --resource-group myResourceGroup --name myAKSCluster --tier premium --k8s-support-plan AKSLongTermSupport

"sku_tier = premium", "k8s-support-plan = AKSLongTermSupport" is not currently supported for the "azurerm_kubernets_cluster" feature. Do you have any future support plans? I'm curious. In other words, I would like to know if you are planning to support the LTS feature or not.
New or Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Potential Terraform Configuration
No response
References
No response

Hi @sohwaje thanks for opening this issue! I've checked the azurerm_kubernetes_cluster resource, it hadn't supported premium yet. I would suggest an issue in terraform-provider-azurerm repo first, once the resource support these features then we're good to bring them into this module.
Would you please close this issue and open a new one in the provider's repo? Thanks!

The stable API is supporting this:
https://github.com/Azure/azure-rest-api-specs/blob/c1ba9df47907f9012ae14ca4616aed9e5665f9e5/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/managedClusters.json#L5777-L5785
However the docs have not been updated yet.
https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers
Also the Azure Portal has not been updated yet.
The Terraform provider has this PR open:
https://github.com/hashicorp/terraform-provider-azurerm/pull/23970
Related provider issue:
https://github.com/hashicorp/terraform-provider-azurerm/issues/23972


Run on GPU

Can this model run on GPU? If yes, how do i connect my GPU to it

Yes, if you use transformers package here is one note: https://huggingface.co/docs/transformers/perf_infer_gpu_one


dockerfile cuda -> 10.0

I have updated the toolchain build to use CUDA 10.0. This PR updates this repo's Dockerfile correspondingly.
Please wait for me to run a kokoro presubmit before merging, to confirm that this is configured correctly.

Nevermind my comment about a presubmit. Looks like presubmits are not configured on this repo. I'll just wait for the next scheduled build to happen and fix it if there are any problems.
@rxwei, could you merge this? (I don't have write access to this repo).

Oh thanks, I have access now. I'll merge it!


Dropdown components only show 1 value

let dropdown = view.modelBuilder.dropDown()
.withProperties({
value: 'Full',
values: ['Full', 'Differential', 'Transaction Log']
})
.component();
Actual:
In the dialog it only show value in the dropdown.

Expected:
It should show all options.

This is how editable drop down designed. The list gets filtered by the value in the input box and gets reset if the value is removed. we should create a separate bug for the editable drop down if different behavior is expected. For the model view I changed the drop down to be editable and not editable. so by setting the drop down property editable to false, the list will be a regular drop down


fix amazon video urls

ASIN lookup seems to be impossible without login, otherwise like this. Unfixable for now.


Cleanup

cleanup code with autopep8
cleanup code with autoflake
add pep8 autoformat check to travis

run the following command:
$ autopep8 -i -r -a -a .
$ autoflake -i -r --remove-all-unused-imports --remove-unused-variables .

Coverage decreased (-0.21%) to 99.37% when pulling 7be95b68cf7cd0e34f9ac709609986d3ac1430cd on Kriechi:cleanup into f7b75ba8c21c66e38da81adf3b2c573b7dae87f3 on mitmproxy:master.

Coverage decreased (-0.21%) to 99.37% when pulling a11f2a6f33c2fd9cd3784c6860dfb15fc8becebf on Kriechi:cleanup into f7b75ba8c21c66e38da81adf3b2c573b7dae87f3 on mitmproxy:master.

Coverage decreased (-0.21%) to 99.37% when pulling<PHONE_NUMBER>0379f12aca72309dc47437cd1a825c on Kriechi:cleanup into f7b75ba8c21c66e38da81adf3b2c573b7dae87f3 on mitmproxy:master.

Lets merge this and see. There are a few things that autopep8 does that I don't like (blank lines before class comments, for example), which we can exempt using the --ignore flag. I also think we should extract the autoflake and autopep8 commands into a script that we can run, add to a commit hook, configure our editors to run, etc. that makes sure what we do is consistent with what Travis does.

What are your opinions on https://github.com/google/yapf? Worth a shot?

Hmm... looks interesting. Let me play with it. I would love to have something that you can trust to just apply a totally consistent style, a la gofmt.


Drag image when airMode is active

Would be nice to allow the user drag'n'drop images and other files into the editor when using airMode, like when normal mode is used.

Do you think it is supported in angular-summernote, not summernote?

Yes, I got confused with the repos. Thank you


String argument without encoding. Burp xml upload via API

Bug description
We are facing an error "string argument without encoding" when we tried uploading burp xml report using re-import api.
Steps to reproduce
Steps to reproduce the behavior:

create a project using an API
create engagement using an API
create test case "Burp Scan" using an API
upload burp base-64 encoded xml report using re-import API

Expected behavior
upload should happen without any errors.
Deployment method (select with an X)

[ ] Docker

Console logs (optional)
Internal Server Error: /api/v2/reimport-scan/
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/rest_framework/viewsets.py", line 114, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 505, in dispatch
response = self.handle_exception(exc)
File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 465, in handle_exception
self.raise_uncaught_exception(exc)
File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
raise exc
File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch
response = handler(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py", line 19, in create
self.perform_create(serializer)
File "./dojo/api_v2/views.py", line 771, in perform_create
serializer.save(push_to_jira=push_to_jira)
File "./dojo/api_v2/serializers.py", line 914, in save
burp_rr.save()
File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 741, in save
force_update=force_update, update_fields=update_fields)
File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 779, in save_base
force_update, using, update_fields,
File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 870, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 908, in _do_insert
using=using, raw=raw)
File "/usr/local/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1186, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1374, in execute_sql
for sql, params in self.as_sql():
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1318, in as_sql
for obj in self.query.objs
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1318, in
for obj in self.query.objs
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1317, in
[self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1258, in prepare_value
value = field.get_db_prep_save(value, connection=self.connection)
File "/usr/local/lib/python3.6/site-packages/django/db/models/fields/init.py", line 793, in get_db_prep_save
return self.get_db_prep_value(value, connection=connection, prepared=False)
File "/usr/local/lib/python3.6/site-packages/django/db/models/fields/init.py", line 2296, in get_db_prep_value
return connection.Database.Binary(value)
File "/usr/local/lib/python3.6/site-packages/MySQLdb/init.py", line 123, in Binary
return bytes(x)
TypeError: string argument without an encoding

Fixed in #3044


Recommendations for HoneyToken user

Please give recommendations for for the HT user. The documenation is lacking information about this.

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

ID: 5f77d1a5-6730-91f4-35c3-d9b12bbf67bb
Version Independent ID: 4c98c142-02f1-bd74-f75e-75e5a14c0e07
Content: Azure Advanced Threat Protection configure detection exclusions and honeytoken accounts
Content Source: ATPDocs/install-atp-step7.md
Service: azure-advanced-threat-protection
GitHub Login: @mlottner
Microsoft Alias: mlottner

@KjetilEVRY Appreciate your feedback. What type of honeytoken recommendations would you like or expect to see? Best practices, configuration suggestions? Something else entirely? Let us know how we can help!

Yes, some best practices, maybe an example or two. I think that the name and description might be important for example. And of course, that it should be in a disabled state.

@KjetilEVRY Thanks for the feedback. I'll work with the product team to create some best practice examples and update the page.

#please-close

This document still need recommendations. There is minimal guidance on how to set this up.


Use lockfile-only for cargo dependabot

Previously the dependabot for cargo was using auto which would update
both the manifest, Cargo.toml files and the Cargo.lock file. Since
this repository is for library crates, we only want to update the lock
file that people develop with. We don't want to update the manifest file
and force consumers to update unnecessarily.

Motivation

Current dependencies on/for this PR:

main

PR #199   👈

This stack of pull requests is managed by Graphite.


Publish/unpublish from list

Checkbox ? Publish / unpublish in all language ? Just in default language

Or instead of Green star we could have a flag with each language. It would be in color when published and grey when not published. Clicking on a flag would publish/unpublish the trek on the language.

Need to clarify what is WAITING FOR PUBLICATION.
I dont really understand the workflow.


Add version info in include/c.h

What steps will reproduce the problem?
1. There isn't any version info in b binding file include/c.h

What is the expected output? What do you see instead?
I can get version info in c interface

What version of the product are you using? On what operating system?
ANY

I'm working on a php binding using c binding, but I can't get version info,
If it was supplied as a macro will be much appreciated.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 13 Jun 2012 at 3:42

Original comment by<EMAIL_ADDRESS>on 16 Oct 2012 at 11:30

Changed state: Fixed

Fixed in 1.7.0.

Original comment by<EMAIL_ADDRESS>on 16 Oct 2012 at 11:30


Problem of the bot

When I put &caption and type it too much I put speed and show 0 gb meaning nothing can you help on some tips

When I put &caption and type it too much I put speed and show 0 gb meaning nothing can you help on some tips


[5.7] remainder of alignment changes

This pulls in the remainder of the alignment related changes from main to 5.7.
The changes here are syntactic for the most part.  The single change that is more than syntax only is the change to add in the new internal wrapper for the placement allocator.  This ensures that we always use the proper allocator for Swift and will not be intercepted by the user.
The changes for the alignment should be low risk on all platforms and this has been in main for a week.
Discussed with @mikeash separately and he agrees that this change should be low risk and good to have.
CC: @grynspan @mikeash @airspeedswift

@swift-ci please test

ship it!

I notice that this pull doesn't include one change from #42376, this scoping, any reason why? If needed, it will have to be adapted to this recently merged change in the 5.7 branch.

@buttaface - you also identified why it was missing - the change was only recently merged.  Now this needs updating to include it (as again, you pointed out) :-(.  :sigh:  Thank you again for being vigilant about this.

Hmm, from what I can tell, the new path doesn't have the new placement allocator: https://github.com/apple/swift/pull/42554/files#diff-03ec3b0a524a8a45afffa59620ca14f8b89487743fe498b47a5a8513579e0c7aR1159.  I think that this should be fine as is?

I wasn't sure if it was needed, since that pull replaced the old branch but you were still adding the <new header. That's why I simply asked what you wanted to do.

Ah!  Sorry, I misunderstood what you meant.  I simply addressed the conflict in the simplest way.  The cost of the additional include is low enough that I don't think it matters much, but I could clean it up if you feel strongly about it.

No problem for me. I've noticed that a cherry-pick or rebase will sometimes lose changes without notifying me, so I was simply asking, sounds like that wasn't the case here.

That sounds really rather annoying - silly tools.  Thanks for checking - seems like this should be all good!


Env::get('FOO') in  #PHP_TAG=7.4-dev-macos-4.27.0

Codebase
I am using .env variables to populate the database name in Drupal settings.php
use Env\Env; #https://github.com/oscarotero/env
use function Env\env;
Env::$options = Env::USE_ENV_ARRAY;

$databases['default']['default'] = array(
      'driver' => 'mysql',
      'database' => Env::get('DB_NAME'),
      'username' => Env::get('DB_USER'),
      'password' => Env::get('DB_PASSWORD'),
      'host' => Env::get('DB_HOST'),
      'port' => Env::get('DB_PORT'),
      'prefix' => '',
    );

Describe your issue
When updating from PHP_TAG=7.4-dev-macos-4.24.5 to PHP_TAG=7.4-dev-macos-4.27.0
https://github.com/oscarotero/env 's package only returns NULL
Did something change in PHP  7.4.21 that would stop this package from working as expected?
Thanks in advance!

note changing from
Env::$options = Env::USE_ENV_ARRAY;
to
Env::$options = Env::USE_SERVER_ARRAY;
fixed my issue and is not an issue with wodby's containers.


Nameless terms and erasure

This is an alternative to #136, in a much less invasive manner.
It provides a function to replace all nNamed with nAnon in terms as well as interesting properties such as the fact that being eq_term is the same as being equal for them.

This looks nice.

Thanks. I also fixed eq_term in PCUICTyping.
I proved the main properties for name erasure and stated a yet unproven lemma for easier usage. It probably still has value without it.

It's now proven, so I think this PR is rather complete.

Had to make the change to eq_term in TemplateCoq as well, now it should compile and be mergeable.


ENH: Allow MF to run on other systems

Relates to #2112.
Many chanegs to make MF run on other systems:

[x] Error, warn, or ignore bad SSS matrix condition.

[x] Regularize "out" components e.g. if grads only exist, the first external degree components must be omitted

[ ] Fix head shape calculation for KIT data.

@kingjr can you try this branch on your data?

@wronk do you have time to take a look at this one, too?

@kingjr feel free to try this PR again with the current commits. One problem is the origin='auto' might currently be broken for KIT. If your subject is an adult you can try passing origin=(0., 0., 0.04). You'll also need to pass ignore_ref=True for KIT data for now.

Good call adding the matrix condition number :)

Comments thus far addressed, thanks for the look @wronk.

@kingjr can you try again? I made the KIT support a bit better (I hope).

It doesn't crash, but it very similar to the previous results; I'll try to segment my brain and set a forward inverse to see whether my problem doesn't come from elsewhere.

Did you try it with origin=(0., 0., 0.04)? How many components remain after regularization now? Should be around 60 or 70.

Did you try it with origin=(0., 0., 0.04)?

No I had not. This changes things quite a bit. Not sure whether this is good or not (top is without SSS, bottom is with):

How many components remain after regularization now?

71/80 inside and 12/15 outside harmonic components

No I had not. This changes things quite a bit.

Where was the origin='auto' setting your origin?

71/80 inside and 12/15 outside harmonic components

Good to know -- that's what it should be.
It might be nice to look at the before and after Evoked butterfly plots, too, next time you're playing with the script.

The SSS is much closer to the original if I don't remove the "bad" channels. I had been told that these chans were broken, but after inspection, I actually don't see clear differences in terms of median absolute deviation across time.
My intuition is thus that the current script is ok.

@kingjr cool! I wonder if it was an issue with the low channel count getting too low, then.
Can you let me know what the origin='auto' setting was giving you, though? It's the default, so we really want it working for people. If it gave you something far from 0, 0, 0.04 for an adult, it indicates something might be going wrong. If it is far off, can you share the data with me somewhere, or perhaps a different recording that also has a bad fit?

with 'auto': origin= -2.0, 6.9, 58.4 mm does this make sense?
I put the data here, if you want to have a look. It's a two tones localizer; I added the HPI, digitization and mri (although a bit old) in case: http://we.tl/fEtdEk3CbQ

I'd expect that to work okay. I'm actually a bit surprised the data look substantially different for (0., 0., 40) mm vs the fit version.

It might be worthwhile to check how a sphere looks at those origins with respect to the sensors. 0 0 40 is a neuromag "center"

Yeah that's probably true. It would be good to write some viz utility that showed the head position (as a surface, if available, plus optionally the SSS sphere) as a function of time.

these files are from an old experiment and I think these are the correct pairs. @kingjr has recently done the conversion from the text files we use and the old *.elp so he might also be able to share them.
what I was suggesting before was that you can look at the dig for the files constructed with mne-c pipeline (test_bin_raw.fif) and the ones created with the python module, using
dig = [x for x in raw.info['dig'] if x['kind'] != 4]

The hpi and the cardinal points should be the same in the raw objects.

@Eric89GXL can you remind what the problem is here?

The sphere head fit with our current test data is terrible because the set
of points chosen is from a restricted area. A more uniform sampling should
fix it.

(I assume that's the only problem but can't verify it until I get the more
uniform sampling going)

@teonlamont in other words, the "extra" points (which are the ones used by the fitting routines) are the ones that need to be fixed

So I don't think those files will actually be useful. I guess I need the HSP instead?

@Eric89GXL I am going to share a link with you offline of some files. It has all the digitization data (hsp, elp, markers). you should be able to use that to test

Cool, I'll try it. Can I add it to the test dataset? I take it your can't
find the original matching hsp file or share it?

let's not add it there (this is my diss work-in-progress). I will go see if I can find the original hsp file. we could also see if @kingjr would be ok using his files and replacing them in the test dataset. it's the exact system in question and he has already provided the headshape and electrode files.

Okay, this one's ready for review/merge. @teonlamont let me know if you can find that original file. This PR no longer depends on updating it, but it would be good to get it fixed if we can.

Yes you can you my files for whatever you want.
On Thursday, 17 December 2015, Teon L Brooks<EMAIL_ADDRESS>wrote:

let's not add it there (this is my diss work-in-progress). I will go see
if I can find the original hsp file. we could also see if @kingjr
https://github.com/kingjr would be ok using his files and replacing
them in the test dataset. it's the exact system in question and he has
already provided the headshape and electrode files.
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/pull/2709#issuecomment-165529572
.

@agramfort feel like looking at this one? It's only +487/-182, and @wronk is already happy with it :)

thanks @Eric89GXL !


Felix mixes up builddate and gitcommit on startup message

Current Behavior
When starting (with info logging enabled), felix e.g. logs the following line:
Felix starting up GOMAXPROCS=4 builddate="917484d86d19f1c9b77ece5e42ebbd01bb8570d0" gitcommit="2020-11-23T18:48:10+0000" version="v3.17.0"

As you can see, builddate and gitcommit are switched :-)
Your Environment

Calico version 3.17.0
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes 1.18.12
Operating System and version: FlatCar ContainerLinux 2605.7.0

Lovely

This should do it: https://github.com/projectcalico/node/pull/674


Oddness in doc explanation of required username and password

SUMMARY
In a few places in the doc there are this kind of problem:

I think the intention is that the password is in italics.

I can take a look at this.


Fixes typo

Same typo as gh-pages - didn't notice it before...

much appreciated! are you using this library for a project, @tiesont ?

Not at the moment, no. I was researching projects to use in an anti-spam component for my current project, and thought this was interesting. I noticed the typos and the grammar-Nazi in me couldn't let it go...
Your project is interesting enough to add it to my things to revisit later, though. :)


Can't type a text when previously remove all text from editor on Android

Do you want to request a feature or report a bug?
bug
What is the current behavior?
When remove all text from editor then it's impossible to add a new text on Android 9.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
You can test in on draftjs homepage. Just add some text and then remove it. After it you can't add a new text.
What is the expected behavior?
A new text should be added after removing old text and starting to type new text.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Tested with Draftjs v0.11.2 in Chrome browser on Android 9.

Same
Here is the overall behaviour:

When you type a word, it starts to be underlined, and only the first letter of this word is caught by the onChange method, whatever letters are in the word. You can see it by doing

<EditorState
    onChange={editorState => {
        console.log(editorState.getCurrentContent().getPlainText('\n'));
        this.setState({ editorState })
    }}
/>

When you delete some letters of the word, still the same behaviour: only the first letter is caught
When you delete the only letter of the word, onChange method doesn't see it
When the word is the first one, and there are no letters to delete anymore, and you press Delete, errors are thrown: Uncaught Error: Got unexpected null or undefined at nullthrows and Uncaught Invariant Violation: Invalid DraftEditorContents node., and then you can't type anymore because for each lette typed the two errors are thrown.

I wonder if removing the autocorrect / autocomplete of Android would change something, but I don't know if it's possible to do it within draft-js...

Any update?

These bugs sound similar to those with slate and plate js. There seems to be a different API implementation than on desktop browsers, or perhaps the os

Any updates?


Auto Updater Error: Download Fails

I have been integrating electron's auto update support and have made it pretty far but can't seem to get it entirely working. I am receiving the "checking-for-update" and "update-available" events and have verified that the download url returned by my feedUrl works, however before the file actually downloads I get an error event with the message "Update download failed: (null)"
I should mention a few things about my url that could be a factor:

Uses http://   - I found some older issues where this was causing a problem, although the error message was quite different and sounded like it got fixed.

The url consists of an IP, port, and query string variable
i.e. http://xxx.xxx.xxx.xxx:1234?filetype=zip

Could any of this be causing the problem? If not, any other ideas?

Electron version: 0.36.7
Operating system: OSX 10.11.3

I also see the same behavior on Electron version: 0.36.9
Error: Update download failed: (null)

Since the autoUpdater still works fine in Atom, I have to assume there is probably something wrong with your server. Can you try whether a local server would work?

A local server worked so it sounds like you're right. You can go ahead and close this out.


Logging output during terragrunt output makes some scripting difficult

in the past, I'd have a command like
 ecs-cli compose service up --cluster  $(terraform output cluster_name)
This doesn't work as well with terragrunt, as the actual stdout of that command is
 echo $cluster_name Copying configuration from "file:///Users/josh/workspace/backpackhealth/backpackinfra"... Terraform initialized in an empty directory! The directory has no Terraform configuration files. You may begin working with Terraform immediately by creating Terraform configuration files. dev-green-ecs

Please check if the latest version of Terragrunt fixes this issue for you: https://github.com/gruntwork-io/terragrunt/releases/tag/v0.13.2

Yup.  Thanks!


Clear network cache when reloading

The cache is now nuked before we reload and perform network analysis.

typisk safari


Plan for Puppetboard v5

We need to uptick the major version of the Puppetboard for at least 2 reasons:

more and more dependencies are dropping Python 3.7 support, which has EOL on 27 Jun 2023,
https://github.com/voxpupuli/puppetboard/issues/721

...but perhaps we could use this opportunity to add more breaking changes?
Maybe we could do something for performance but f.e. it would cost us dropping Puppet 5 support? 🤔
@bastelfreak , @mterzo , @corey-hammerton and a recent big contributor, @lcharreau?
But of course, if anyone else wants to chip in, feel free! I just ping some people to get them notified. ☺

Puppet 6 is dead now. I am fine with dropping Puppet 5/6 (do we eben have puppet 6 specific code?) and also dropping EoL python versions.

I noticed that we currently have a few features disabled by default which may hinder discoverability of them.
I think we should enable all features by default in v5. The features in question:

Catalog view - https://github.com/voxpupuli/puppetboard/commit/bce33aee
Class view - https://github.com/voxpupuli/puppetboard/pull/799

If the latter would be enabled we should also think about how to configure cache and scheduler for it with reasonable defaults for typical Puppet deployments. Because I think that caching in the app memory (SimpleCache) and having the scheduler disabled by default is good mostly for development... Feel free to chip in regarding this, @lcharreau!

I like the idea to enable both. I'm not sure if any form of cache needs to be implemented. The setup from @lcharreau sounds quite nice. We could just enable the views and document the setup from https://github.com/voxpupuli/puppetboard/pull/799/ in the README.md. If that's not sufficient we can still think about another option or people can disable the view.

Hello.
the Class view has been deactivated by default because it is potentially (depending on the number of servers) very resource-intensive (fetching events for each report) and we have several hundred servers managed by Puppet.
We've added a cache and a scheduler to be able to pre-compute the results at regular intervals (every 5 minutes).
The SimpleCache cache is very suitable if you only have one worker. If you have several workers, it is advisable to use a common backend such as Memcached.
The scheduler allows you to request Puppetdb only for new reports, so you need to configure the interval between 2 jobs according to the time between 2 Puppet agent executions.
So to summarise, if you have few servers (I couldn't give a threshold), I think you could consider disabling the scheduler and using the "SimpleCache" cache. At each client request, we'll parse all the events from each report.


Timeout when running amplify api add-graphql-datasource

Describe the bug
I'm trying out the new add-graphql-datasource command with a fresh environment. I've gone through the amplify api add steps and have not tied it to a datasource, but now when I run amplify api add-graphql-datasource I run into a timeout error.
I've created the Aurora Serverless instances as well, following the steps described in the official docs here, including enabling the Data API and adding a few tables. https://aws-amplify.github.io/docs/cli/graphql#automatically-import-existing-datasources
I've also verified that the DB is not paused when attempting to run the add-graphql-datasource command
To Reproduce
Steps to reproduce the behavior:
Run add-graphql-datasource with a new Aurora Serverless instance ready to be connected to.
Expected behavior
I expected to be presented with my Aurora Serverless cluster as described here: https://aws.amazon.com/blogs/mobile/aws-amplify-announces-new-amazon-aurora-serverless-and-graphql-transform-features-for-building-aws-appsync-apis/
? Select the Aurora Serverless cluster that will be used as the data source for your API (Use arrow keys)
Log (IP modified, just in case)
amplify api add-graphql-datasource
Using datasource: Aurora Serverless, provided by: awscloudformation
? Provide the region in which your cluster is located: us-east-1
Error: connect ETIMEDOUT 169.xx.xx.xxx:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)
There was an error adding the datasource

Happy to provide any additional details you might need

Hi,
You are seeing this timeout when the CLI is attempting to communicate with the Aurora Serverless Cluster. The reason is that Aurora Serverless reduces capacity when 'idle' (no queries/communication/activity with the cluster after X amount of time), so any future calls to the Cluster once it has gone into the idle state takes awhile as the serverless cluster now undergoes a cold-start. One solution is to disallow the automatic reduction of capacity due to inactivity. For instructions on how to do that, please follow the documentation here: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.modifying.html

@ashwindevendran @yuth Hi, sorry but I am getting the same thing and I am sure my cluster and compute is up and running.
C:\Users\Admin\Development\amplify>amplify api add-graphql-datasource
Using datasource: Aurora Serverless, provided by: awscloudformation
? Provide the region in which your cluster is located: us-east-1
Error: connect ETIMEDOUT 169.xxx.xxx.xxx:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1083:14)
There was an error adding the datasource

@ashwindevendran @yuth Actually reading the error in more detail <IP_ADDRESS> seems something seriously weird.
How is amplify api add-graphql-datasource supposed to work? Has it ever worked on Windows 10 ?
C:\Users\Admin\Development\amplify>amplify api add-graphql-datasource
Using datasource: Aurora Serverless, provided by: awscloudformation
? Provide the region in which your cluster is located: us-east-1
Error: connect ETIMEDOUT <IP_ADDRESS>:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1083:14)
There was an error adding the datasource

C:\Users\Admin\Development\amplify>amplify -v
1.6.3

@davekiss Were you unblocked with @ashwindevendran's response?

@kaustavghosh06 I have not tried it again, but I'm positive the instance was not sleeping/inactive when I attempted to get it set up just as @BerndWessels describes

@davekiss Closing this issue since we haven't been able to reproduce this on our end. Please let us know if you're still seeing this.


Concurrent commit IsolatePath type env in root_state, system memory leak

Describe the bug
Concurrent commit IsolatePath type env in root_state, system memory leak
To Reproduce
Each op_env inserts 1000 key values, and 100 concurrent op_env.commit() operations, the system memory overflows and is not released after the commit success
                       let create_result = await stack.root_state_stub().create_isolate_path_op_env_with_access({
                            access :cyfs.AccessPermissions.Full,
                            path : env_path
                        });
                        let op_env =  create_result.unwrap();
                        let create_info =await op_env.create_new(cyfs.ObjectMapSimpleContentType.Map)
                        assert.ok(!create_info.err);
                        let object_list = [];
                        for (let j = 0; j < ket_data_number; j++) {
                            let id = `message-${RandomGenerator.string(20)}-${Date.now()}`;
                            let request_json = JSON.stringify({
                                message: RandomGenerator.string(20)
                            });
                            let begin = Date.now();
                            let save_object = HandlerRequestObject.create(stack.local_device_id().object_id, HandlerType.PutObject, id,request_json, new Uint8Array(0));
                            let create_time = Date.now() - begin;
                            let result = await stack.non_service().put_object({
                                common: {
                                    flags: 1,
                                    level: cyfs.NONAPILevel.NOC
                                },
                                object: cyfs.NONObjectInfo.new_from_object_raw(save_object.to_vec().unwrap()).unwrap(),
                            })
                            let put_time = Date.now() - begin - create_time;
                            assert.ok(!result.err)
                            assert.ok(!result.err)
                            let object_id = save_object.calculate_id().to_base_58()
                            logger.info(`task ${i} put object success ${object_id} ,create_time = ${create_time} put_time = ${put_time}`)
                            let object_path =  `${env_path}/${object_id}`;
                            let insert_root =await op_env.insert_with_key(object_path,
                                object_id,
                                save_object.calculate_id(),)
                            assert.ok(!insert_root.err);
                            object_list.push({
                                object_path,
                                key : object_id,
                                object_id,
                                id,
                                request_json,
                                create_time,
                                put_time
                            })
                        }
                        let commit =await op_env.commit();

Expected behavior
The overall size of 100,000 key values is only about 40MB, OOD consumes about 69%*4GB=2.8GB of memory, and there should be memory overflow in the op_env.commit operation of CYFS Stack
System information
Linux OOD
4GB memory

Regarding the optimization of this case, I built two features about optimization as follows

[ ] #193
[ ] #194

Welcome to pay attention to relevant progress!

Describe the bug Concurrent commit IsolatePath type env in root_state, system memory leak
To Reproduce Each op_env inserts 1000 key values, and 100 concurrent op_env.commit() operations, the system memory overflows and is not released after the commit success

Expected behavior The overall size of 100,000 key values is only about 40MB, OOD consumes about 69%*4GB=2.8GB of memory, and there should be memory overflow in the op_env.commit operation of CYFS Stack
System information Linux OOD 4GB memory

In addition, during the above test case process, I did not find any memory leak phenomenon. After the commit operation of op-env is completed, the memory usage will decrease to the previous level. However, the performance of the commit operation will be poor under the 100 concurrent situations, which takes a long time.
From the test, memory usage can be divided into three stages:
https://github.com/buckyos/CYFS/blob/1cb0c9657243dcdec3cd9db89f392b0a8bf600ef/src/component/cyfs-base/src/objects/object_map/isolate_path_env.rs#L361-L374

After the completion of the 1000 operations in op-env and before commit, memory usage reaches its maximum.
During the internal garbage collection (GC) of op-env's commit, all temporary objects are reclaimed, and memory usage is significantly reduced.
After the commit operation of op-env is completed, the memory usage returns to the level before running the test case (this process takes a longer time).

So, in your test case, the "memory leak" may be due to op-env not having completed the commit operation, or it could be a side effect caused by other factors introduced in the test case.


chore: update Packager

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] The changes are appropriately documented (if applicable).
[x] The changes have sufficient test coverage (if applicable).
[x] The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:
This PR updates Packager to the first version that includes the Typescript rewrite (https://github.com/electron/packager/pull/1593) to ensure Forge will work with future Packager versions, since a few types have been moved around.

Is this the same question?
fail with command npx create-electron-app my-new-app

@pkjy it is, see https://github.com/electron/forge/issues/3443#issuecomment-1863029616


Implement Python code-coverage in CI

@mlin this is a tentative for you this sprint -- if you can work it, great; if not, also fine -- we can move it to the next one.
This should pair well with #434
See also #414

PR #495


Style Hero Section

Add the Hero section to the community website.

[ ] Align the text and icons in the hero section according to the referenced image

[ ] Font size (Heading): 20px

[ ] Font size (Paragraph): 1rem

image.

@Evavic44 , pls give some space b/w text and the social media icons.
Thanks.


Reset + boot mode not working (IDFGH-1684)

Hi,
I have a custom board with a ESP-WROVER-B. There is a CP2102N that has the reset and boot circuit implemented as it is in the ESP-DevkitC schematic (RTS, DTR, two transistors, EN and IO0).
The problem is that the board is not getting into "download mode" in order to flash it, read the MAC address or anything else that I can do using esptool.
I had a look with a logic analyzer for EN and IO0 and EN goes low for a bit, then it goes high and in the same time IO0 goes low for a bit and then high. Basically, they go low and high one after another. I think that IO0 should be low in the same time as EN and go high after EN goes high.
What can be wrong?

Do you have a revision A02 CP2102N? The revisions before that have a critical bug which makes them useless on linux. See https://github.com/espressif/esptool/issues/399
I have tested rev A02 and it seems to work fine.

Hi @tatulea ,
A better place to post this kind of question would be the https://esp32.com forums, as it isn't related to an issue in the ESP-IDF software framework.
Without seeing a schematic of your board and an image of the logic analyzer capture then it's not really possible to know what the issue is. If taking a logic analyzer capture then suggest also capturing the UART TXD0 pin, as this way you can see when the chip has started up.
The automatic reset circuit (with the two transistors) does mean that there can be a window when both EN & IO0 are released together, while DTR & RTS are asserted. This window should be short as RTS is then released and IO0 goes low, to start into bootloader mode.
On Windows sometimes this window is still too long, so recent Espressif development boards include a capacitor between EN & GND to slow the EN rising edge and work around this issue. Without the capacitor the board may fail to start up into bootloader mode reliably. See this issue for a lot of the details: https://github.com/espressif/esptool/issues/136 - or see any recent Espressif development board schematic for an example of the fix using a capacitor.
As mentioned above, if you post a thread on the esp32.com forums with some images then we'll be happy to help you there.
Angus


Is there any relevant documentation that would make it easier to understand your work?

Your work is excellent, but when I look at the code, I think your AsymmetricAttention is very similar to THUDM's Cogvideox operation method.Is there any relevant documentation that would make it easier to understand your work?

The blog post is rather uninformative about the mechanisms and the method used by this model, I'm interested in more theoreticla details too.

Same issue. I'm very interested in a more detailed technical document.


There was a typo in a function call.

Also, there is a typo in the branch name. :D

Already included in #40


[OnlineMeeting&4.26]SeaTunnel community meeting Topic collect

We will hold an online community meeting on 2022/04/26 20:00-21:00 (GMT+08:00)
Welcome everyone to leave a message in the issue to discuss the content
CalvinKirs invites you to a meeting on Tencent Meeting
Meeting Topic: CalvinKirs's Scheduled Meeting
Meeting Time: 2022/04/26 20:00-21:00 (GMT+08:00) China Standard Time - Beijing
Click the link to join the meeting or to add it to your meeting list:
https://meeting.tencent.com/dm/aC6XkDHJQjhJ
#TencentMeeting：870-153-517
Copy this invitation and open in Tencent Meeting app (V2.13 or later) to join the meeting
Discussion Issue :

Review of the content of the previous issue : https://github.com/apache/incubator-seatunnel/issues/1661

https://github.com/apache/incubator-seatunnel/issues/1701

Add a topic: How to improve our project? SeaTunnel project is more and more like apache beam.


Revert "fix: disable value check"

Reverts graphprotocol/indexer-rs#429

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.01%) to 74.352%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/src/tap.rs
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

common/src/tap/checks/deny_list_check.rs
1
98.21%

Totals

Change from base Build<PHONE_NUMBER>6:
0.01%

Covered Lines:
5195

Relevant Lines:
6987

💛  - Coveralls


Add support for Bolt Plans

When running validate against a Bolt plan the following error occurs:
Error: puppet-syntax: plans/test.pp:5:1: Could not parse for environment production: Syntax error at '}'

Here's the plan code:
# Test plan
plan encore_rp::test (
) {
  notice('test')
}

I believe the plan keyword just needs to be added and treated like a class?

Maybe more like function? apply might also mess with syntax checking.

@MikaelSmith just tried this again tonight and am still seeing this error
Example travis build: https://travis-ci.org/EncoreTechnologies/puppet-patching/jobs/593319826
From this module: https://github.com/EncoreTechnologies/puppet-patching

https://github.com/EncoreTechnologies/puppet-patching/commit/aac5bfee574f436280f610b92fc7befeddc013af#r35357383


FA webspace location issue

Problem:
When provisioning a function app in one resource group, with a dedicated App Service Plan located in a another resource group, the function app will get the webspace assigned corresponding to the ASP. For some reason this action cannot find FA's with seperate webspaces.
How reproduce:

Create a ASP in resource group A
Create a FA in resource group B, but with the ASP in resource group A
Deploy to FA with Azure/functions-action@v1

Expected behavior:
One should be able to deploy to a function app with a different webspace.

@jnus The function app and the app service plan have to be under the same resource group. Please refer this article: https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage#move-an-app-to-another-app-service-plan

@patelchandni  - so this is a limitation for the action right? We've been running shared ASP's in central ressource groups and decentralized function apps ( and web apps for that matter) for years and deploying to them. The article mentioned describes the boundaries for keeping resources, in this case app service plans, in the same webspace in order to access e.g. uploaded tls certificates etc - not that function apps and the app service plan should be in the same resource group for them to 'work'.


ARROW-3022: [Go] add support for Struct arrays

@stuartcarnie PTAL.

Codecov Report

Merging #2411 into master will decrease coverage by 39.68%.
The diff coverage is 76.69%.

@@             Coverage Diff             @@
##           master    #2411       +/-   ##
===========================================
- Coverage    84.8%   45.12%   -39.69%
===========================================
  Files         296       48      -248
  Lines       45646     2163    -43483
===========================================
- Hits        38711      976    -37735
+ Misses       6890     1135     -5755
- Partials       45       52        +7

Impacted Files
Coverage Δ

go/arrow/array/builder.go
61.98% <0%> (+3.15%)
:arrow_up:

go/arrow/array/array.go
91.66% <100%> (+0.17%)
:arrow_up:

go/arrow/datatype_nested.go
66.66% <65.78%> (-4.77%)
:arrow_down:

go/arrow/array/struct.go
82.6% <82.6%> (ø)

cpp/src/arrow/status-test.cc

cpp/src/arrow/util/hash-util.h

cpp/src/arrow/io/interfaces.cc

cpp/src/arrow/ipc/dictionary.h

python/pyarrow/tests/test_plasma.py

cpp/src/arrow/python/io.cc

... and 250 more

Continue to review full report at Codecov.

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

Restarted

rebased on top of latest master.
(nice side-effect: travis is having a better day, and the CI tests are green :P)

@pitrou or @cpcloud can you help merge the Go PRs that have been approved? I am away from internet until tomorrow

@wesm Will do.

Thanks @sbinet for doing this :-)


[MINOR] refactor: Reduce the usage of memory in the ShuffleWriter

What changes were proposed in this pull request?
We should immediately remove the WriteBuffer after  we use the method createShuffleBlock to create ShuffeBlock. Otherwise we will have the compressed data and uncompressed data at the same time in the memory. JVM's GC can't collect the memory of uncompressed data, because the data have the reference in the map buffers.
Why are the changes needed?
Reduce the usage of memory.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
CI passed.

Codecov Report

Merging #877 (ffb1429) into master (9c26c1b) will increase coverage by 1.43%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #877      +/-   ##
============================================
+ Coverage     56.58%   58.02%   +1.43%
+ Complexity     2176     2041     -135
============================================
  Files           327      290      -37
  Lines         15981    12661    -3320
  Branches       1263     1185      -78
============================================
- Hits           9043     7346    -1697
+ Misses         6430     4909    -1521
+ Partials        508      406     -102

see 41 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

LGTM.
Is it possible that WriteBuffer support ByteBuffer directly?

This pr is doing similar thing https://github.com/apache/incubator-uniffle/pull/861

Merged to master. thanks @zuston


SwIPC generator: the awakening

Implement an IPC client code generator based on SwIPC definitions.
The goal is to eventually remove all manually defined IPC client code
from libuser in favor of being all automatically generated.
This first draft defines vi.id using SwIPC, and swaps the libuser manual
client code with this version. The generator is implemented as a proc
macro. The parser is implemented using a pest grammar and a quick-n-dirty
AST layered on top.

(BTW this is totally untested, so please don't merge unless you make sure it actually runs - not that I expect this to get merged without objections anyways :P. I'll test it tomorrow)

forcing travis build after repo transfer : closing and reopening PR

@roblabla being an higher-kinded programmer, the legend has it that he hasn't written a single line of code since the beginning of the year, and he is stuck at the meta level.