Auto-convert string to Number for marker input

I stumbled upon this PR, which seems to be put on hold by the original author.
I thought I'd give it a try so I incorporated your change request. Let me know if this is different from what you had in mind.
Fixes #771

Is this still relevant? If so I'd appreciate a new review


Hit detect with pixelRatio of 1

Fixes #11333. This is a regression introduced by #11277

Should the hit detection image be always created with pixel ratio of 1 then, or did I misunderstand the title of this pull request?
https://github.com/openlayers/openlayers/blob/cad5057a969fb3de0f3b5acd64a6d2c34064d57d/src/ol/style/IconImage.js#L168-L186

@M393 For hit detection, the instruction group is replayed with a pixel ratio of 1. So we need to use that in the hit detection instructions. The image itself should be scaled properly anyway. Do you have indication that this might not be the case?

Update: I think you are right, @M393. For hit detection, we either need to take the image's pixel ratio into account (or create another image with pixel ratio 1, which would add unnecessary overhead).

Why not always create the hit detection image with an pixel ratio of 1?

Why not always create the hit detection image with an pixel ratio of 1?

Wouldn't that mean you have to create two images on Retina devices? One for the device pixel ratio, and one for the pixel ratio 1.

Oh, you are right There is only one image created for hit detection and for display.

I force-pushed a revised version of this change, which makes hit detection work for icon images, scaled icon images and regular shapes. The key to achieving this was a significant simplification: we always use a canvas with a pixel ratio of 1 for hit detection, so we also can hit detection images with a pixel ratio of 1.


Generate integer numerical outputs, not float

Hi,
I'm trying to predict a sequence of next 5 integers using 5 other integers as output. I'm using type: numerical for all the inputs and outputs. However as I understand 'numerical' type encompasses floating values, hence on prediction I get float values as output. Is there any encoder/decoder that I can use to map those float output values to the nearest integer output values? My sincerest thanks in advance! I've used ludwig for last 3 weeks now, I'm really enjoying it. Thanks.

@SachitNayak thank you for your comments!
It really depends on what those numbers actually mean. are those integers representing different entities / classes? Does the order and value matter? (meaning is 1 closer to 2 than it is to 20, for instance)
If the different integers represent different classes, you should use sequence as datatype. If the values and ordering do matter, then I'm curious to know about your usecase, but what I would do is to obtain the floats and then I would just ceil the obtained values after receiving them from Ludwig.
If there is a strong reason for, i could potentially add a 'ceil' parameter to the numerical output, but I would need to understand the usecase well first.

@SachitNayak thank you for your comments!
It really depends on what those numbers actually mean. are those integers representing different entities / classes? Does the order and value matter? (meaning is 1 closer to 2 than it is to 20, for instance)
If the different integers represent different classes, you should use sequence as datatype. If the values and ordering do matter, then I'm curious to know about your usecase, but what I would do is to obtain the floats and then I would just ceil the obtained values after receiving them from Ludwig.
If there is a strong reason for, i could potentially add a 'ceil' parameter to the numerical output, but I would need to understand the usecase well first.

Hi @w4nderlust , my use case is derby prediction of top 5 horses based on previous race results. There are 40 horses in all; I'm representing each by a unique integer between 1 and 40. So far I've tried various combinations of inputs and input types and also output types to predict the most probable 5 winners of the next race. I tried 10 'timeseries' inputs (representing past 10 races), each timeseries input containing 5 winners of the pertinent races. I have 5 output variables y1, y2, y3, y4, y5 each of numerical type and representing 5 highly probable winners of the upcoming race.
For the numerical output types I get floating values. I bound the value to [1,40] using the clip property of output features. However they are still floating numbers.
In another attempt I used 'sequence' type as output with just one output variable y, which has 5 winners in it separated by commas. However interestingly in this case it produces the same set of 5 horses as winners for every possible race (I tested against 1000 races; all 1000 races had the same 5 horses predicted to be the winners by the model). Another interesting thing I noticed with sequences is that during training phase, ludwig automatically uses 'edit distance' metric, which is normally used for text sequences and not for numerical types.
I also attempted using category type for the outputs, the predictions generated are only  token for all test inputs.
I believe ceil parameter to the output feature would be a wonderful enhancement, because it is really cumbersome for me to go into the results/ directory and take all y_predictions.csv files and then run ceil on each of those 1000 odd numbers from each of the 5 output files.
Really appreciate your consideration. Thank you. Any thoughts or suggestions will be much appreciated.

@SachitNayak this sounds like a each horse is it's own category, you could replace those integers with the unique name of the horse and it would be the same, meaning integers in this case are just IDs of entities. For this reason, sequence is the right choice. In order to use it, you need one column containing the names of the horses separated by space. If the names are integer ids, or strings or any other thing, it doesn't matter, they will be treated like strings. So for instance, one possible values is horse2 horse7 horse1 horse3 horse4. The edit distance is a generic measure of distance between discrete sequences, in this case it would be useful for you to understand how far the prediction of the model is from the true sequence, 5 would mean it's completely off, 0 means it's perfect.

Anyway, closing this as it's not an issue, but feel free either to keep commenting or to move this to the Gitq forum.

@w4nderlust Alright perfect! I was wondering how do I embed the timeseries info along with the sequence type in the inputs? ( for instance 10 sequence columns for 10 past races)?

I'm wondering what the correct type is when the output features represent positions on a chess board.
eg: [1, 3] is the first row, third column position.
Would you still use numerical and ceil the results?

I would use two categories.


[Bug]: C# - AI.CompletePromptAsync does not resolve {{$history}} in prompt

Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response
Describe the bug
When calling AI.CompletePromptAsync to get a plain text response, the variable {{$history}} in prompt is not resolved.
To be compared, calling AI.ChainAsync resolves {{$history}} correctly.
To Reproduce

Steps to reproduce the behavior:

Go to Chef Bot Sample
Change AI.ChainAsync to AI.CompletePromptAsync in TeamsChefBotApplication.cs.
Follow readme to run it on Teams

Expected behavior
Each AI call should include correct history data.

@singhk97 - this is due to _SetTempStateValues is only called by ChainAsync.
Is that as designed or a missing calling bug?

This is a bug, please feel free to add _SetTempStateValues to CompletePromptAsync method.

Sure, will do.


Support custom external editors for Mono

The external editor option for mono currently only supports MonoDevelop and VS Code. I suggest an additional option, where it will let you enter a command to execute to open an editor. This probably would require a "Custom Editor" option in the dropdown, and an additional field to enter the path to the editor.
The custom editor option would probably also need to support some form of formatting string in order to feed the file path (and line number?) to the command.
As an example, if I want to use Visual Studio:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" /Edit %s

Where %s would be replaced by the filepath.

I use Rider too but I tried VS Code and I like the synchronization between Godot and the external editor. So I think a config field for custom editor settings would be a nice option only when it means that Godot will sync/talk to the custom external editor like it does with VS Code.

I would like to have a separate external editor option for mono because currently I have to deactivate the external editor whenever I want to do something in gdscript.

Maybe we may consider changing the labels to prevent users from thinking it was impossible to use other editors.

I definitely agree with this. It took me a second to figure out that the "Disabled" option for Editor Settings > Mono > Editor > External Editor actually means "Use language-agnostic editor specified in Text Editor setttings." I'm not sure what would be the better text for this entry...  "Default"? "Language-Agnostic"? "Same as GDScript"?

I'm not sure if we should add a Mono-only custom external editor option, since you can use the language-agnostic one.

Conversely, it seems inconsistent that the user can specify a custom external editor path and flags for GDScript/language-agnostic editing but they only have a drop-down list of preset options for Mono.

Please! Add VS2019 !!!

@AldieNightStar Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.

Custom external editor support was added in 4.1.

https://github.com/godotengine/godot/pull/74517.

Visual Studio 2019 support was added in 4.0 and 3.2.

https://github.com/godotengine/godot/pull/39578.
https://github.com/godotengine/godot/pull/39784.

Visual Studio 2022 support was added in 4.0 and 3.5 and 3.4.3.

https://github.com/godotengine/godot/pull/57609.


Universes, stage 0.

Only when #319 is also done the universes can be considered done.

@jonsterling Ah your comment is squashed out...

@jonsterling What is your favorite concrete notation for "a Kan universe at level (max i j)" in our S#-expression style?

Maybe (U kan (lmax i j))?  But I don't care too much, do it as you like :)

On Aug 12, 2017, at 1:49 PM, favonia (Sai-hong サイホン<EMAIL_ADDRESS>wrote:
@jonsterling What is your favorite concrete notation for "a Kan universe at level (max i j)" in our S#-expression style?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Actually I do not know what to do with (lmax i j) in S#-expressions. They are not expressions.
The outer parentheses must be {}.

There's not a hard rule; sometimes the param vs term distinction is an implementation detail. no need to get the notation perfect, since we can easily change it.

On Aug 12, 2017, at 1:51 PM, favonia (Sai-hong サイホン<EMAIL_ADDRESS>wrote:
Actually I do not know what to do with (lmax i j) in S#-expressions. They are not expressions.
The outer parentheses must be {}.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Before reverting the mode of the universe level argument and figuring out the right way to have multiple outputs, we can still type-check everything by explicitly providing the universe levels. And that's what I'll do now.

ok, agreed!

On Aug 13, 2017, at 11:55 AM, favonia (Sai-hong サイホン<EMAIL_ADDRESS>wrote:
Before reverting the mode of the universe level argument and figuring out the right way to have multiple outputs, we can still type-check everything by explicitly providing the universe levels. And that's what I'll do now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Because there are no elim rules for universe levels, I am switching to inf-nary representations. Examples:
{lmax {labove a 3} {labove b} c {labove {lmax c d} 1} 2}
{lvl 100}

@favonia This looks very interesting! Your ideas for universe levels are a lot more advanced than anything I have considered, and it seems like we will be able to do a lot of cool stuff with it! Nice.

I would like to merge this PR first because it also refactors other parts such as the RedPrlError module.

Oh, wait, I would like to remove STRATIFIED as well.

@jonsterling Now it's really done (for this PR).


Fix issue #5633: [Bug]: Decimal points in maximum iteration messages not needed

This pull request fixes #5633.
The issue has been successfully resolved. The AI agent made targeted changes to remove unnecessary decimal points from iteration messages by:

Identifying the source of the problem in the agent_controller.py file
Modifying the string formatting to use int() instead of .2f format specifiers
Applying this fix to both headless and regular mode output messages
Verifying the changes through successful test runs

The original issue showed messages like "Current iteration: 201.00, max iteration: 200.00" with unnecessary decimal points. The changes ensure these numbers are now displayed as clean integers, which is more appropriate for iteration counts.
This PR can be reviewed with confidence as it:

Makes a focused, specific change to address the reported issue
Maintains functionality while improving output formatting
Passes all existing tests
Affects only the message formatting and not the core logic
Implements the fix consistently across different output modes

The changes align exactly with the original bug report's requirements and provide a cleaner user experience.
Automatic fix generated by OpenHands 🙌

@openhands-agent

more carefully look at the various possible limit_type arguments and see if it should be an integer for all of them (maybe it should be decimal in some cases)
write unit tests to make sure that formatting works properly

OpenHands started fixing the pr! You can monitor the progress here.

Overview of Changes:

Modified _handle_traffic_control to format numbers appropriately:

Integers for iteration counts
2 decimal places for budget values

Added comprehensive unit tests covering all formatting scenarios

Status: ✅ FULLY RESOLVED

All identified issues have been addressed
Testing coverage is complete
No remaining issues apparent

The implementation appears to be complete and properly tested, ready for final review.

The workflow to fix this issue encountered an error. Please check the workflow logs for more information.

LGTM


Fix "pre-commit hook removes audited secrets" and verbosity overflow

Fixes https://github.com/Yelp/detect-secrets/issues/60 and https://github.com/Yelp/detect-secrets/issues/61
Aspiring to be more like @bcaller, I've made my git commit history squeaky clean 😁

Sorry I was a little tucked away in my commit message, but
TestPreCommitHook.test_writes_new_baseline_if_modified covers the change, since line 136 modifies the line to be 0, the pre-commit code is given a baseline with an out-of-date lineno and is_secret=True, and it outputs the correct lineno with is_secret=True.

Note to self: what seems like the cleanest way of doing the above is to add a secret to _create_baseline w/out the is_secret attribute, however I'm a little lazy to do that at the moment, as it may (or may not) require changing a lot of tests.


Fix InvokeRequest

Use POST instead of GET to prevent hitting the 2048-character length limit on query params.

Hello @zry98 ! Seems like we missed on something with the last commit. Thank you for fixing those stuff!


IMAT taxation customization in transaction doctype

#25

Added Custom field via install.py
setting tax defaults for transaction doctype (Sales Invoice, Sales Order, Quotation), Income Account just in Sales Invoice

Demo: Item Tax from Item Group's Custom Tax Applied

Go to Item Group and populate table "Custom Tax" with all fields

Create a Quotation and see if values from table "Custom Tax" are applied.


small definition tweak? GO:0090503    RNA phosphodiester bond hydrolysis, exonucleolytic

GO:0090503    RNA phosphodiester bond hydrolysis, exonucleolytic
is defined
The chemical reactions and pathways involving the hydrolysis of terminal 3',5'-phosphodiester bonds in one or two strands of ribonucleotides.
I think this should say
The chemical reactions and pathways involving the hydrolysis of terminal 3' or 5'-phosphodiester bonds in one or two strands of ribonucleotides.
?

I think not, because the phosphodiester bonds that form in RNA normally link the 3' carbon of one sugar to the 5' carbon of another, and that's what the current definition represents.
That said, I've just learned from skimming this paper that 2'-5' bonds can also form, so maybe the RNA phosphodiester bond hydrolysis terms (including the grouping term, GO:0090501) should explicitly say "hydrolysis of 2',5'- or  3',5'-phosphodiester bonds ...", assuming that the activities can, in fact, cleave both kinds of bond. If they can only cleave 3',5' bonds the defs are correct.

I was basing my assumption on this descendant:
GO:0004532    JSON
exoribonuclease activity
Molecular Function
Definition
Catalysis of the sequential cleavage of mononucleotides from a free 5' or 3' terminus of an RNA molecule.
So these are referring to different things? One is referring  explicitly to the phosphodiester bond which is always 3'-5' and the other is referring to the direction of nuclease activity which can act on the 5' or 3'. That's a bit confusing (for me)

One is referring explicitly to the phosphodiester bond which is always 3'-5' and the other is referring to the direction of nuclease activity which can act on the 5' or 3'

It's this. The bond is 3'-5'. The "free terminus" is the 5' or 3' end of the molecule (and as opposed to a circular DNA or RNA). The enzyme goes to the 5' or 3' end of a linear molecule, and cleaves a 3'-5' bond to release the end-most nucleotide residue.
An endoribonuclease goes to the middle of a DNA or RNA molecule (linear or circular) and ... wait for it ... cleaves a 3'-5' bond.

I know that is what I said. However, now this is  unequivocally established, there is no difference between the terms
GO:0090503 RNA phosphodiester bond hydrolysis, exonucleolytic
and
GO:0004532 exoribonuclease activity
They are both describing   5' or 3' exoribonucleases which cleave  3'-5' phosphodiester bonds?
How do they differ?

That's a bit confusing (for me)
referred to the fact that the design patterns were different. I understand biochemistry even if I sometimes pretend not to.

GO:0090503 RNA phosphodiester bond hydrolysis, exonucleolytic
and
GO:0004532 exoribonuclease activity
How do they differ?

Stating the obvious: one is a BP, the other is a MF. But really we should merge the 1-step BPs. I am not sure

Oh I totally missed that. I might have even .suggested it for a new MF parent!

closing


ROX-26151: Pin related images in operator bundle

Description
Pin all the related images.
This is purely a CI change.
User-facing documentation

[x] CHANGELOG update is not needed
[x] documentation PR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[x] CI results are inspected

Automated testing
Just a CI change.
How I validated my change

FYI, looking at the Konflux UI for the operator-bundle-build PipelineRun one can conveniently obtain an overview of the structure of the task graph.

My only worry is: how do we remember to mention an image here once we add a new component in the future? 🤔

Hoping that we could catch that using some installation e2e tests.

My only worry is: how do we remember to mention an image here once we add a new component in the future? 🤔

@mclasmeier @porridge I quickly added a new section to our docs explaining how to add a new component, including adding the things ™ to the operator bundle pipeline:
https://spaces.redhat.com/pages/viewpage.action?pageId=407312060#HowtoeverythingKonflux/RHTAPforRHACS-Howtoaddanewcomponent


Update Poetry Version

Older version of poetry we were using (1.1.2) was causing some build errors.
Updated to the latest version (1.2.0) but it had different behaviors when determining that the currently used python virutalenv was active.
From the Poetry Environment Management Docs it should recognize that it is inside of a venv and not create a new one.  It did this properly for the 1.1.2 version but not for 1.2.0.
To force it to recognize the the virtualenv I had to set the Environment variable manually.
Additionally, on the worker container, I needed to make sure it did a full copy of the files and didn't use symbolic links for the venv.  The final container for the worker is based off a VIAME GPU algorithms container so it isn't guaranteed to have the same symlink python pointers.  This works for the girder/web container because the builder and the final container both use the same base python3.8.
Also modified the pyproject.toml to support a more updated structure.

I haven't spent significant time searching within the Poetry Github to see if it was a regression, intended change from jumping from 1.1.2 past 1.1.15 and all the way to 1.2.0 or if there is duplicate issue already (poetry has 991 backlogged issues).  I imagine we were taking advantage of some quirk which allowed it to identify virtualenvs indirectly.  Explicitly stating them allowed us to update to the latest version.  I ran the integration tests and they all worked (except one related to updating the addons).


Assertion failed: prev_ref + prev_size <= ref with (prev_ref, prev_size, ref, i, limit, m_alloc.get_file_path_for_assertions())

Goals
Just open the realm file
Expected Results
Just open it
Actual Results
../src/realm/group_writer.cpp:633: [realm-core-10.3.3] Assertion failed: prev_ref + prev_size <= ref with (prev_ref, prev_size, ref, i, limit, m_alloc.get_file_path_for_assertions()) =  [21896, 3144, 22976, 11, 7855, "Users/Shared/fr.adde.eyeCab/Ticketing/ticketing.realm"]
0   Supervision                         0x000000010fff94dc _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
1   Supervision                         0x000000010fff9a37 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 471
2   Supervision                         0x000000010fed388c ZN5realm4util19terminate_with_infoIJRmS2_S2_S2_S2_NSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvPKciSB_SB_DpOT + 156
3   Supervision                         0x000000010fed30a7 _ZN5realm11GroupWriter17recreate_freelistEm + 2647
4   Supervision                         0x000000010fed16fc _ZN5realm11GroupWriter11write_groupEv + 764
5   Supervision                         0x000000010fecc0a5 _ZN5realm2DB16low_level_commitEyRNS_11TransactionE + 437
6   Supervision                         0x000000010fecbe8b _ZN5realm2DB9do_commitERNS_11TransactionE + 107
7   Supervision                         0x000000010fecb147 _ZN5realm11Transaction6commitEv + 87
8   Supervision                         0x0000000110194bd3 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1651
9   Supervision                         0x000000011019358a _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 58
10  Supervision                         0x000000011019337f _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 495
11  Supervision                         0x0000000110176747 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 135
12  Supervision                         0x000000010fc8a7f0 +[RLMRealm realmWithConfiguration:queue:error:] + 2352
13  Supervision                         0x000000010fc89e5e +[RLMRealm realmWithConfiguration:error:] + 94
14  Supervision                         0x000000010f92e115 +[RLMRealm(ticketing) ticketingRealm] + 517
15  Supervision                         0x000000010f6654af +[WebFilesManager createCalendarWebJSONWithTicketingDictionary:] + 8239
16  Supervision                         0x000000010f68afe1 -[AppDelegate ticketingCollect] + 24113
17  Supervision                         0x000000010f6851a7 __29-[AppDelegate ticketingTimer]_block_invoke + 39
18  libdispatch.dylib                   0x00000001118b7032 _dispatch_call_block_and_release + 12
19  libdispatch.dylib                   0x00000001118b8264 _dispatch_client_callout + 8
20  libdispatch.dylib                   0x00000001118cc4ac _dispatch_root_queue_drain + 828
21  libdispatch.dylib                   0x00000001118ccd3f _dispatch_worker_thread2 + 127
22  libsystem_pthread.dylib             0x0000000111961ac7 _pthread_wqthread + 244
23  libsystem_pthread.dylib             0x0000000111960ae3 start_wqthread + 15!!! IMPORTANT: Please send this log and info about Realm SDK version and other relevant reproduction info to<EMAIL_ADDRESS>21:33:33.293671+0200 Supervision[46306:539948] ../src/realm/group_writer.cpp:633: [realm-core-10.3.3] Assertion failed: prev_ref + prev_size <= ref with (prev_ref, prev_size, ref, i, limit, m_alloc.get_file_path_for_assertions()) =  [21896, 3144, 22976, 11, 7855, "Users/Shared/fr.adde.eyeCab/Ticketing/ticketing.realm"]
Steps for others to Reproduce
Try to change a value in the realm file
Code Sample

Version of Realm and Tooling
Realm framework version: Realm (10.5.1)
Xcode version: 12.5.1 Build version 12E507
iOS/OSX version: 10.13 to 11.
Dependency manager + version: pod 1.10.0
I can send an example realm file.

Hi @loysphilibert Where you using Realm in your application before v10 was released? Is this issue steadily reproducible? Could you try update to the latest version of Realm Cocoa and see if that helps?

Hi,
We used Realm since 2016, so yes. We had this issue from the beginning.
I can send you a corrupted realm file.

Hi @loysphilibert Please send the Realm file to<EMAIL_ADDRESS>

@loysphilibert Just to be clear did you see this issue straight after an upgrade? Was there any migration involved too?


unexpected keys

Dear author, when I run the demo.py, I encounter the problem in the image and would like to ask you if this is normal? How can I fix it?

same here

This should not affect performance for the demo (this is a warning for the hand detection part, not for the hamer model), so you can safely ignore this warning.


feature Change DatabaseIf APIs' return type to TableIf.

Proposed changes
Issue Number: close #xxx
Problem Summary:
Change the DatabaseIf APIs' return type to TableIf.
Use generics in DatabaseIf, to avoid changing the return type in Database.
Currently Database class use type Table, I'm try to avoid changing it to TableIf. Because in this case, we need to change a lot of code.
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Will this pr change the function public Table getTable() in TableRef?

Will this pr change the function public Table getTable() in TableRef?
No, it doesn't change.


Add speech recognition

Is your feature request related to a problem? Please describe.
Hello, I am Jay Gohel. a GSSOC'21 participant.
Describe the solution you'd like
Can I add the speech recognition feature to this website? I have already made this feature. if you watch this feature then click here So can you assign me this issue so I can contribute?
Additional context
this feature made in HTML, CSS, JavaScript. not use any external API, and external library.
So can you Assign me this issue?

@Vishal-raj-1 assign me this issue... Please....

@Goheljay Idea sounds awesome! Go Ahead

@991rajat thanks buddy

I will pr this feature in 1 to 2 days. Okey buddy.

@991rajat Hello Buddy, I submitted pull request. So Review it.


Reorder things to make sure custom layers don't persist on errors

Closes #10
This is only an issue with BrokenRecord bugs, not errors thrown from user-supplied code. So this ought to be a fine fix.

Oops, forgot about this. I'll sneak it into 0.1.5.


iSolarCloud crashing HomeBridge

Since yesterday, the iSolarCloud plugin is crashing my HomeBridge installation with this error log:
[11/30/2023, 11:19:44 PM] TypeError: Cannot read properties of null (reading 'pageList')
at ISolarCloudAPI. (/usr/lib/node_modules/homebridge-platform-isolarcloud/src/isolarcloudapi.ts:77:37)
at step (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:33:23)
at Object.next (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:14:53)
at fulfilled (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Any idea what's going on? Did iSolarCloud change anything on their end to break the plugin?

Since yesterday, the iSolarCloud plugin is crashing my HomeBridge installation with this error log:
[11/30/2023, 11:19:44 PM] TypeError: Cannot read properties of null (reading 'pageList') at ISolarCloudAPI. (/usr/lib/node_modules/homebridge-platform-isolarcloud/src/isolarcloudapi.ts:77:37) at step (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:33:23) at Object.next (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:14:53) at fulfilled (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:95:5)
Any idea what's going on? Did iSolarCloud change anything on their end to break the plugin?

I just updated my Unraid server and noticed that the isolar plugin was removed from homebridge, when i re-added it i noted it read the accessory info for my plant, but had since just kept bombing out.
suspecting homebridge has updated something that the plugin doesnt like?
Love the plugin, hope its something that can be resolved! Cheers
This is my error log:
Seems a lot of it is identical
[12/3/2023, 4:00:55 AM] [ISolarCloud] TypeError: Cannot read properties of null (reading 'token')     at ISolarCloudAPI.<anonymous> (/usr/lib/node_modules/homebridge-platform-isolarcloud/src/isolarcloudapi.ts:50:46)     at step (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:33:23)     at Object.next (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:14:53)     at fulfilled (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:5:58)     at processTicksAndRejections (node:internal/process/task_queues:95:5) [12/3/2023, 4:00:55 AM] [ISolarCloud] TypeError: Cannot read properties of null (reading 'pageList')     at ISolarCloudAPI.<anonymous> (/usr/lib/node_modules/homebridge-platform-isolarcloud/src/isolarcloudapi.ts:77:37)     at step (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:33:23)     at Object.next (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:14:53)     at fulfilled (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:5:58)     at processTicksAndRejections (node:internal/process/task_queues:95:5) [12/3/2023, 4:00:55 AM] TypeError: Cannot read properties of null (reading 'pageList')     at ISolarCloudAPI.<anonymous> (/usr/lib/node_modules/homebridge-platform-isolarcloud/src/isolarcloudapi.ts:77:37)     at step (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:33:23)     at Object.next (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:14:53)     at fulfilled (/usr/lib/node_modules/homebridge-platform-isolarcloud/dist/isolarcloudapi.js:5:58)     at processTicksAndRejections (node:internal/process/task_queues:95:5) [12/3/2023, 4:00:55 AM] Got SIGTERM, shutting down Homebridge...

Thank you for looking into it, appreciate your efforts!

Thanks for looking into it.
Love the plugin. It's used in a few automations

Yeah, thanks in advance... same here, used in automations!

Same issue here. Many thanks @MortJC for the plugin and for looking into it!

Hello @MortJC
I was looking around for updates and someone posted this about sungrow:
link
Not sure if this is related or helps you at all but thought I'd mention it, happy new year!

Is it working now?

Are you thinking you will update this @MortJC ? thanks!

New v1.3.0 release which handles the new encryption

Thank you very much.

No problem.
I'm interested to know if you are using it for any automation?
On Tue, Mar 5, 2024 at 5:34 PM Churro-blaze @.***>
wrote:

Thank you very much.
—
Reply to this email directly, view it on GitHub
https://github.com/MortJC/homebridge-platform-isolarcloud/issues/8#issuecomment-1978056189,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5E4TSUJO6CRBZC36JER3TYWVRQDAVCNFSM6AAAAABAB5JUECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYGA2TMMJYHE
.
You are receiving this because you modified the open/close state.Message
ID: @.***
com>

Yeah I do.  For two things. Using Homebridge.
When the solar gets above 3000w it turns on the spa and sets a rule to stay on until midnight so on a cloudy day the spa doesn’t get heated but that’s ok, saves a lot of power.
And secondly 2 hours before sunset if the lux drops below a level it turns on the garden lights, early for overcast evenings.
would love to know who else using it and for why.

I will let you know… yet to install it…. But I like the idea of turning on my pool heater based upon power generated etc


GSoC progress update

Fixed buggy view appearance
Started refactoring the tests

I have moved the lists from the tab widget to parallel layout. Please take a look. @joernu76

I have integrated the plugin extensions to the save functionality for local flighttracks, including continuous subsequent saves. Please take a look. @joernu76


V-for remove the first line

Dear author, remember to remove the first line of that file.
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/d1c8ee1f91f86ea16047885822451d77ab02f3fa/Chapter01/v-for/index.html#L1
Thanks!

Hey @danielgara
Thanks for highlighting this. I've removed that line from the file.


Ellipsify the version number on the about screen

Issues, reports or feature requests related to the GUI should be opened directly on the GUI repo

[X] I still think this issue should be opened here

Report
The version number overlaps with the label. On tablet, the row item expands beyond its container boundaries on the right. See screenshots.

We could ellipse this number. If it is important to show the whole thing, maybe consider using a vertical layout (value text below the label text).
Since this links to a website, the icon should also be the link icon used for the website and source code links further up on the screen.
I am also curious as to what version this refers to. Aren't version usually just regular numbers, like Bitcoin Core 26?

@GBKS is this still an issue? (on mobile/ tablet)
I see it correctly in the desktop version at the moment:

Is it resolved by just having shorter strings or by automatically eliding ("...") text (which is the more robust solution)? Seems like QML supports this.


Event has no event_id

How do you use Sentry?
Self-hosted / on-premises
SDK version
4.8.0
Laravel version
10.48.22
Steps to reproduce
Look here at a generated event (as per the getting-started)
This even contains no event_id. However, as per the docs

The following attributes are required for all events.
event_id

Expected result
I expect the official SDK to follow the spec 😄
Actual result
It doesn't

Please share a bit more how you obtained this JSON exactly.
I can assure you we do set a proper event ID 😉

I just followed this guide which ends with

php artisan sentry:test

set a proper event ID, otherwise we would have larger issues [..] It is set on the envelope header though

Indeed, I noticed that; should have mentioned it.

it is not needed to repeat it in the event item.

Not needed by the Sentry implementation, but needed according to the spec.
Now, whether this is an actual issue depends on whether "sticking to the spec" is a requirement for you 😄
(Alternatively, we could complain with "team spec")

The SDK exclusively emits events as envelopes, whereas the event_id is part of the envelope header. The spec you mentioned is for the store endpoint, something the SDK does no longer use.
As the events are being ingested fine into Sentry, I do not believe there is an issue in the SDK, hence closing.

Quoting from the spec (first lines)

Home -> SDK Development -> Event Payloads
Event Payloads
Events are the fundamental data that clients, often through the use of an SDK, send to the Sentry server.
Events are packed into envelopes and are sent to the /api/{PROJECT_ID}/envelope/ API endpoint.

I see no indication this is limited to the store endpoint
Anyways, I'll stop fighting windmills I guess


heartrate setting

Implement heartrate characteristic for setting the refresh rate.

Will this fix this?
[4/15/2020, 1:09:40 PM] [RPi] warning: heartbeat 4, drift 644

No, that’s a warning the the heartbeat tick was fired 0.644 seconds late.  If you see a lot of these, with larger numbers, something might be blocking NodeJS.

Thanks I think I have it working now.

In v1.0.3.


[Bug] Unknown model class "xlm-roberta", attempting to construct from base class.

Describe the bug
A clear and concise description of what the bug is.
Unknown model class "xlm-roberta", attempting to construct from base class.
Malformed class definition. [class PreTrainedModel extends Callable]
Error: Unable to load model: Xenova/multilingual-e5-base. Please report this bug at https://github.com/xenova/transformers.js/issues/new/choose.
at Function.from_pretrained (file:///home/vasile/dev/experiments/transformers/node_modules/@xenova/transformers/src/models.js:657:19)
at Function.from_pretrained (file:///home/vasile/dev/experiments/transformers/node_modules/@xenova/transformers/src/models.js:2451:42)

 const extractor = await pipeline(
    "feature-extraction",
    "Xenova/multilingual-e5-base",
    { revision: "main" }
  );
  const result = await extractor("This is a simple test.", {
    pooling: "mean",
    normalize: true,
  });
  console.log(result);

Thanks for the report! Will get this fixed :)

This functionality has now been added 👍 (https://github.com/xenova/transformers.js/commit/9a51c998f083888e17c326217808b4ea4f1f7b6a)
const extractor = await pipeline(
    "feature-extraction",
    "Xenova/multilingual-e5-base",
    { revision: "main" }
);
const result = await extractor("This is a simple test.", {
    pooling: "mean",
    normalize: true,
});
console.log(result);
// Tensor {
//     data: Float32Array(768) [0.016873687505722046, 0.029895609244704247, ...],
//     dims: [1, 768],
//     size: 768,
//     type: "float32",
// }

Now available in v2.3.1 (https://www.npmjs.com/package/@xenova/transformers) 👍

any chance to get the large one quantized?
it is only recently uploaded, see https://huggingface.co/intfloat/multilingual-e5-large

Done 👍 (I also added the small one)

https://huggingface.co/Xenova/multilingual-e5-large
https://huggingface.co/Xenova/multilingual-e5-small

Note that since the large model is >2GB, you'll have to use the quantized version for now (which may result in poorer performance). There's also a "medium" version: https://huggingface.co/Xenova/multilingual-e5-base you can test out.

There's also a "medium" version: https://huggingface.co/Xenova/multilingual-e5-base you can test out.
with this one I got the bug :)

tested the large one - works fine,
for Xenova/multilingual-e5-small I got
Error: An error occurred during model execution: "Missing the following inputs: token_type_ids.

tested the large one - works fine, for Xenova/multilingual-e5-small I got
Error: An error occurred during model execution: "Missing the following inputs: token_type_ids.

Hmm, looks like - for some reason - the author is mixing tokenizers and models. As seen in the config file:
{
  "architectures": [
    "BertModel"
  ],
  "tokenizer_class": "XLMRobertaTokenizer",
}

So, just as a workaround for now, you can override the call function of the tokenizer to add token type ids like this:
const extractor = await pipeline(
    "feature-extraction",
    "Xenova/multilingual-e5-small",
    { revision: "main" }
);

extractor.tokenizer.prepare_model_inputs = (model_inputs) => {
    const token_type_ids = model_inputs.attention_mask.clone();
    token_type_ids.data.fill(0n);
    return {...model_inputs, token_type_ids};
};
const result = await extractor("This is a simple test.", {
    pooling: "mean",
    normalize: true,
});
console.log(result);
// Tensor {
//   data: Float32Array(384) [0.019251275807619095, 0.008903810754418373, -0.05832963064312935, ...]
//   dims: [1, 384],
//   size: 384,
//   type: "float32"
// }

the workaround doesn't work, I am getting NaNs for embeddings
but also the quality as described in the card is much lower than the base one compared to base to large
e.g. first line on their evaluation "accuracy on MTEB AmazonCounterfactualClassification (en)"
73.791(small) - 78.970(base) - 79.060(large)
the diff between base and large is really small, but small one is loosing constantly ~5points on every test
so I would expect the avg in the leaderboard to decrease by about 5 points for the small one compared to base
https://huggingface.co/spaces/mteb/leaderboard

The reduction in accuracy is most likely because you're using the quantized versions of the models. Do the following to construct the unquantized versions:
let pipe = await pipeline("task", "model", { quantized: false });

As for the NaNs, can you 1) make sure you're on the latest version (2.3.1) and 2) send the sample code which causes the error.


avx512bw, avx512f: test cases for _mm512_add_epi*,_mm512_castpd*_pd512

avx512bw, avx512f:  adding test cases for _mm512_add_epi*,_mm512_castpd*_pd512

You're assuming that the upper bits (384 for castpd128_pd512, 256 for castpd256_pd512) are zero, but in reality they are undefined; they could be anything.
I'd suggest using _mm512_maskz_mov_pd to zero out the undefined bits in the test case before checking for equality.

Thanks, Hopefully, it should be correct after using _mm512_maskz_mov_pd.


Please improve the search capabilities for public facing Dynamics365 documents.

We (Microsoft CSS support) received a request from a customer to improve the search capabilities for public facing Dynamics365 documents. Specifically our customer has asked for the following.

A centralized location from which all official Dynamics365 pages/documents/blogs can be searched
Ability to see the modification history including creation dates for all official  pages/documents/blogs.

@sudeepku Can you take a look and sync with @kunihih to scope their customer requests?


Return value itself that holds the data on POST requests

The issue is when there is a form error, QuillFormJSONField shows empty value even if the field has data. If the users does not realize that, they erase data without even knowing it.

wrong PR target.


Failing to generate SAS token on ESP32 direct MQTT connection

Query/Question
I am following these instructions and using asymmetric keys:
"How to Setup and Run Azure SDK for Embedded C IoT Hub Client on Espressif ESP32"
and getting the following error in Serial Monitor:
17:59:51.267 -> ..
17:59:51.788 -> 2022/6/14 15:59:51 [INFO] Time initialized!
17:59:51.788 -> 2022/6/14 15:59:51 [INFO] Try to initialize IoTHubClient
17:59:51.788 -> 2022/6/14 15:59:51 [INFO] Client ID: ESP32boardName
17:59:51.788 -> 2022/6/14 15:59:51 [INFO] Username: IoTHubName.azure-devices.net/ESP32DevBoard/?api-version=2020-09-30&DeviceClientType=c/1.3.1(ard;esp32)
17:59:51.788 -> 2022/6/14 15:59:51 [INFO] Try to initialize MQTT Client
17:59:51.788 -> 2022/6/14 15:59:51 [ERROR] mbedtls_base64_decode fail
17:59:51.788 -> 2022/6/14 15:59:51 [ERROR] Failed generating encoded signed signature
17:59:51.788 -> 2022/6/14 15:59:51 [ERROR] Failed generating SAS token signed signature
17:59:51.835 -> 2022/6/14 15:59:51 [ERROR] Failed generating SAS token
17:59:51.835 -> 2022/6/14 15:59:51 [ERROR] Failed generating SAS token
17:59:51.835 -> 2022/6/14 15:59:51 [INFO] SAS token expired; reconnecting with a new one.

Why can the SAS token not be generated?

Why is this not a Bug or a feature Request?
There is a difference between the api-version used in the sample code: api-version=2020-09-30
And the latest IoT Hub MQTT documentation: api-version=2021-04-12
1>> Is the difference in the api-version causing the SAS token generation error?
2>> If so: how can the api-version be changed in the sample code to be 2021-04-12?
3>> If not: what else could be causing this error?
Setup:

OS: ESP32 board programmed from Arduino IDE
IDE: latest Arduino IDE
Version of the Library used: azure-sdk-for-c is 1.0.0.-beta4

Thanks!

It seems like mbedtls is having a difficult timing decoding your key. Can you please give us details on where you are getting it? Note: it should not be the connection string, but just the key.

Hi, thanks!  By using the Device Key (instead of the full connection string) it works.  The sample sketch can send telemetry to IoT Hub.

Awesome glad to hear! I'll go ahead close this for now. Please let us know if you need any other help.


API tests

Hi!
This repo is great! Thank you for your work! :)
The only thing I think is missing is: unit tests for the API.
Any plans for this?

Added framework for unit tests but don't have time to add unit tests for existing functionality. Happy for someone to take this challenge and merge PR when ready.


[turborepo] No tasks ran

What version of Turborepo are you using?
1.10.6
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Windows
Describe the Bug
When trying to run any tasks in any turborepo on my system except for those which were created a long time ago, no tasks run whatsoever. Even with a newly generated repo
Expected Behavior
When running yarn turbo run dev for example, I would expect turborepo to run the tasks in each of the apps/packages
To Reproduce

Generate a new Turborepo with yarn create turbo
Run yarn turbo run dev
See the issue

I'm aware that this is very likely an issue just on my end, but I would like some pointers as to what causes this.
Reproduction Repo
No response

Bump. Really really need this resolved. Big fork in my workflow.

"turbo": "1.10.1" -> this version works well, but the latest version is not working, and not task detected.

same

Hey, this is likely an issue specific to Windows, I'm not able to reproduce on macOS.
Here's my attempt to verify in case anything jumps out that you're doing differently:
$ npx create-turbo@latest basic-turborepo yarn

>>> TURBOREPO

>>> Welcome to Turborepo! Let's get you set up with a new codebase.

Downloading files. This might take a moment.

>>> Created a new Turborepo with the following:

apps
 - apps/docs
 - apps/web
packages
 - packages/eslint-config-custom
 - packages/tsconfig
 - packages/ui

Installing packages. This might take a couple of minutes.

>>> Success! Created a new Turborepo at "basic-turborepo".
Inside that directory, you can run several commands:

  yarn run build
     Build all apps and packages

  yarn run dev
     Develop all apps and packages

  yarn run lint
     Lint all apps and packages

Turborepo will cache locally by default. For an additional
speed boost, enable Remote Caching with Vercel by
entering the following command:

  npx turbo login

We suggest that you begin by typing:

  cd basic-turborepo
  npx turbo login

$ cd basic-turborepo/
$ yarn --version
1.22.19
$ turbo --version
1.10.12
$ yarn turbo run dev
yarn run v1.22.19
$ /Users/knickman/Developer/vercel/tmp/turbo-5384/basic-turborepo/node_modules/.bin/turbo run dev
• Packages in scope: docs, eslint-config-custom, tsconfig, ui, web
• Running dev in 5 packages
• Remote caching disabled
web:dev: cache bypass, force executing 4c92f5cb8e8eef61
docs:dev: cache bypass, force executing 8c22dbf5f148788b
web:dev: $ next dev
docs:dev: $ next dev --port 3001
docs:dev: - ready started server on [::]:3001, url: http://localhost:3001
web:dev: - ready started server on [::]:3000, url: http://localhost:3000
docs:dev: - event compiled client and server successfully in 103 ms (20 modules)
web:dev: - event compiled client and server successfully in 107 ms (20 modules)
docs:dev: - wait compiling...
web:dev: - wait compiling...
web:dev: - event compiled client and server successfully in 101 ms (20 modules)
docs:dev: - event compiled client and server successfully in 118 ms (20 modules)

Are you able to provide a reproduction that can perhaps show the issue in Github Actions windows runner? We have e2e tests that run on Windows that show that basic functionality is working.

Closing due to inactivity.
If anyone here has a reproduction on the most recent canary regarding this issue, please open a new issue and include it. Thank you!


Solver Momentumizer quickly becomes { NaN, NaN, NaN }

Overview
It looks like some calculation in CalculateMomentum quickly becomes too large and the calculated velocity becomes { NaN, NaN, NaN }. 🦇
Expected Behavior
This component works (I guess the cube in the scene should look like it's accelerating/decelerating?).
Actual Behavior

Steps to reproduce

Open SolverExamples and run.
Observe the above message in the console.

Unity Editor Version
2017.2.1p2
Mixed Reality Toolkit Release Version
2<IP_ADDRESS>

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


block stats / last block

Added api/getblocksstats (from UNOMP)
added lastblock to both it.stats.pools[pool].pending and it.stats.pools[pool].confirmed

included in https://github.com/z-classic/z-nomp/pull/195/
Closing


Fix returning supported color modes

Return a set including ColorMode.ONOFF instead of a list

Thanks for the effort of submitting a fix.
I've installed a slightly simpler version of the change which only changes the lists to sets without altering the logic.
ONOFF is actually handled already for the devices that support on/off and nothing else.  The fallback empty set should not actually be used by any real devices, as it represents a light with no controls.


Events?

Are there any way to listen to user selection?
Something like onSelect receiving the selected data/series/etc.

Please see https://github.com/react-tools/react-charts/blob/master/www/src/containers/InteractionModes.js


December 9, 2021 Release Notes

Codecov Report

Merging #821 (26d2204) into next (641092c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             next     #821   +/-   ##
=======================================
  Coverage   50.19%   50.19%
=======================================
  Files          30       30
  Lines        1329     1329
  Branches      192      197    +5
=======================================
  Hits          667      667
  Misses        661      661
  Partials        1        1

Impacted Files
Coverage Δ

...torage-resize-images/functions/src/resize-image.ts
39.44% <100.00%> (ø)

Hi @huangjeff5
Validation checks issue are resolved in this PR https://github.com/firebase/extensions/pull/818 if we could include this in the release?


allow interval to be set in wait methods

A feature Selenium has had that's been missing in Watir. 0.1 second pings for 30 seconds is a lot of pings. Would also be up for changing these defaults, or allowing the defaults to be configurable.
@p0deje what do you think?

Why not.


fix: add Binary search tree in tasks

sometimes it's easier to navigate though the list of tasks, especially if there are a lot of them. So the list ought to be accurate

sorry mate, I don't know how it happened, I just wanted to add a new item to the list of tasks. I will be more careful next time and check all my commits before the request. Cheers


Compatibility with Eloquent's getDirty() or convenience method

getDirty() does not take into account changes to translations. Perhaps there's a good reason for this, but it would be helpful if there would be a convenience method to get all 'dirty' attributes including translated ones (per locale).

Good point. Can you send a PR with some tests?

I tried this but I stuck with the parameter of the function isDirty($attributes). I'm not sure how the code should work when this is set.
Things get weird because $attributes usually refers to real attributes of the main model. Hacking this to also lookout for attributes of translations is something that causes confusion IMO.


Change Plan / View Plan Details Left Align

In the user's billing section, when you click the show / upgrade buttons, the dialog appears on the left. Should be centred.

Seems to be resolved on iOS


Update Inventory changes user information in User & Location

https://github.com/dan-snelson/dialog-scripts/blob/20124791b432727d4e5028663714b07cc354cf93/Inventory Update Progress/swiftDialog-Inventory-Update-Progress.bash#L294
When updating inventory using this script, the jamf recon -endUsername command changes the value in the username field in the computer's inventory. In my case, our usernames are the user's UPN, but when this command is ran, it changes the record to a value that is not their UPN so all other user data is removed from User & Location.

Thanks, @robjschroeder.
If you’re able to, please share what you’re using and I can add it as a comment.

Greetings, @robjschroeder!
When you have cycles, please reply with your Line No. 294.
Thanks.

/usr/local/bin/jamf recon --verbose >> "$inventoryLog" &
This is my line 294 and 100

Thanks, @robjschroeder.
Unless you have any objections, I'll go ahead an close this as resolved with the following 0.0.5 updates:

Lines 103 & 104
Lines 298 & 299

I'm good with that, thank you!

Resolved in 0.0.5


(dropbox) Beta builds still being picked up

Seems like the beta builds for dropbox is still being picked up.
I'm thinking the update script should be changed to parse https://www.dropboxforum.com/t5/Desktop-client-builds/bd-p/101003016
instead of parsing the version from executable returned by https://www.dropbox.com/download?full=1&plat=win
Until this issue have been resolved, I'm stopping the update of the dropbox package.

I might have something that will help. I just need to finish up a few things.

@RedBaron2 I've added the Up for grabs label, so if you have the time I/we would very much appreciate a PR.

I've been testing the version of the update that does use the requested html page. The only con to it is that it takes about 3 minutes for the function to complete via Appveyor. The time via any other windows is only a 0.04 seconds at most.
If the time is not a major constraint?
I will put in a PR .

Well, it would be preferred to keep to a lowest as possible, but if that is what it takes to keep the update script to pick up beta packages, the so be it.
Feel free to open a PR, I won't have a look at it tonight, but I'll take a look at it tomorrow.

I think this issue has to be reopened:
https://github.com/chocolatey-community/chocolatey-coreteampackages/blob/master/automatic/dropbox/dropbox.json
I'm surprised that the Beta build of Dropbox will be treated as stable. Luckily I recently learnt to identify beta build from the version number when I was hit by the following issue.
Re: Dropbox icon stuck on starting - Dropbox Community - 331778
Beta: xx.3.xx
Stable: xx.4.xx


Give visual indication for the currently playing song

We should change the background color for the row that's currently playing. This means we'll have to store the currently playing song somewhere in order to compare with song IDs in the list.

Addressed by #45


Generated package file with duplicate entry

Bug Report
What did you do?
$ ls -l deploy/olm-catalog/
total 232
-rw-r--r--. 1 jpkroehling wheel    558  7. Mär 17:29 _generated.concat_crd.yaml
-rw-r--r--. 1 jpkroehling wheel 227721 13. Aug 11:39 jaeger.clusterserviceversion.yaml
-rw-r--r--. 1 jpkroehling wheel     83 20. Aug 17:32 jaeger.package.yaml
$ GO111MODULE=on operator-sdk olm-catalog gen-csv --csv-channel=stable --default-channel --csv-version=1.13.1
INFO[0000] Generating CSV manifest version 1.13.1
INFO[0000] Fill in the following required fields in file deploy/olm-catalog/jaeger-operator/1.13.1/jaeger-operator.v1.13.1.clusterserviceversion.yaml:
	spec.keywords
	spec.maintainers
	spec.provider
INFO[0000] Created deploy/olm-catalog/jaeger-operator/1.13.1/jaeger-operator.v1.13.1.clusterserviceversion.yaml
INFO[0000] Created deploy/olm-catalog/jaeger-operator/jaeger-operator.package.yaml
$ cat deploy/olm-catalog/jaeger-operator/jaeger-operator.package.yaml
channels:
- currentCSV: jaeger-operator.v1.13.1
  name: stable
- currentCSV: jaeger-operator.v1.13.1
  name: stable
defaultChannel: stable
packageName: jaeger-operator

Note the duplicate entry for currentCSV.
What did you expect to see?
$ cat deploy/olm-catalog/jaeger-operator/jaeger-operator.package.yaml
channels:
- currentCSV: jaeger-operator.v1.13.1
  name: stable
defaultChannel: stable
packageName: jaeger-operator

Environment

operator-sdk version: operator-sdk version: v0.10.0, commit: ff80b17737a6a0aade663e4827e8af3ab5a21170
go version: go version go1.12.5 linux/amd64
Kubernetes version information:  not relevant, as those are "offline" operations
Are you writing your operator in ~ansible, helm~, or go?

Additional context
Found while working on https://github.com/jaegertracing/jaeger-operator/issues/604

Something similar happens when a new CSV is generated using --from-version, following the steps from #1847:
channels:
- currentCSV: jaeger-operator.v1.13.1
  name: stable
- currentCSV: jaeger-operator.v1.13.2
  name: stable
defaultChannel: stable
packageName: jaeger

HI @jpkrohling,
It shows occurs because of the operator project   jaegertracing/jaeger-operator#604 is not respecting the layout of the files and dirs as expected by the framework. In order to ensure that the generated commands will work as expected is required keep the directories and files as defined in the standard.
Could you try to remove from  jaegertracing/jaeger-operator#604 the currently olm-catalog dir and use the command to check if the same behaviour will still be faced?
See that it should be as the following example:
│   ├── deploy
│   │   ├── olm-catalog
│   │   │   └── memcached-operator
│   │   │       ├── 0.5.0
│   │   │       │   └── memcached-operator.v0.5.0.clusterserviceversion.yaml
│   │   │       └── 0.6.0
│   │   │           └── memcached-operator.v0.6.0.clusterserviceversion.yaml
│   │   ├── operator.yaml
│   │   ├── role.yaml
│   │   ├── role_binding.yaml
│   │   └── service_account.yaml

When it is :
├── deploy
│   ├── olm-catalog
│   │   ├── _generated.concat_crd.yaml
│   │   ├── jaeger.clusterserviceversion.yaml
│   │   └── jaeger.package.yaml
│   ├── operator.yaml
│   ├── role.yaml
│   ├── role_binding.yaml
│   └── service_account.yaml

Are you sure that's the cause? I'm pretty sure I ran the commands from the first issue on a newly created operator.

Hi @jpkrohling,
Following the suggested steps performed with your project. See that the currentCSV will NOT be duplicated.

Remove the current olm-catalogue dir that is not following the standard
Run the command to generate the OLM files as follows.

$ operator-sdk olm-catalog gen-csv --csv-channel=stable --default-channel --csv-version=1.13.1
INFO[0000] Generating CSV manifest version 1.13.1
INFO[0000] Fill in the following required fields in file deploy/olm-catalog/jaeger-operator/1.13.1/jaeger-operator.v1.13.1.clusterserviceversion.yaml:
	spec.keywords
	spec.maintainers
	spec.provider
INFO[0000] Created deploy/olm-catalog/jaeger-operator/1.13.1/jaeger-operator.v1.13.1.clusterserviceversion.yaml
INFO[0000] Created deploy/olm-catalog/jaeger-operator/jaeger-operator.package.yaml

Check that it was not duplicated and that the struture of files and dir created is no longer the same.

Run the command again with another version to check it.

$ operator-sdk olm-catalog gen-csv --csv-channel=stable --default-channel --csv-version=1.13.2
INFO[0000] Generating CSV manifest version 1.13.2
INFO[0000] Fill in the following required fields in file deploy/olm-catalog/jaeger-operator/1.13.2/jaeger-operator.v1.13.2.clusterserviceversion.yaml:
	spec.keywords
	spec.maintainers
	spec.provider
INFO[0000] Created deploy/olm-catalog/jaeger-operator/1.13.2/jaeger-operator.v1.13.2.clusterserviceversion.yaml
INFO[0000] Created deploy/olm-catalog/jaeger-operator/jaeger-operator.package.yaml

So, we can confirm that the issue here is because this project is not respecting the expected structure of files and directories which is used to generate the files.
Please, let us know if are you ok with or if has anything else that you would expect be done/checked here.

I see the same behavior in another operator I'm working on, created using the operator-sdk v0.10.0:
$ git log -1
commit 4d1e2fc02a317e4ef8ca2d78fe80b51436b42abc (HEAD -> master, origin/master)
Author: Juraci Paixão Kröhling<EMAIL_ADDRESS>Date:   Thu Aug 29 17:53:11 2019 +0200

    badges for codecov and codeclimate

    Signed-off-by: Juraci Paixão Kröhling<EMAIL_ADDRESS>$ cat deploy/olm-catalog/opentelemetry-operator/opentelemetry-operator.package.yaml
channels:
- currentCSV: opentelemetry-operator.v0.0.1
  name: alpha
defaultChannel: alpha
packageName: opentelemetry-operator
$ operator-sdk olm-catalog gen-csv --csv-version 0.0.2 --update-crds --from-version 0.0.1 --csv-channel=alpha --default-channel
INFO[0000] Generating CSV manifest version 0.0.2
INFO[0000] Created deploy/olm-catalog/opentelemetry-operator/0.0.2/opentelemetry-operator.v0.0.2.clusterserviceversion.yaml
INFO[0000] Created deploy/olm-catalog/opentelemetry-operator/opentelemetry-operator.package.yaml
$ cat deploy/olm-catalog/opentelemetry-operator/opentelemetry-operator.package.yaml
channels:
- currentCSV: opentelemetry-operator.v0.0.1
  name: alpha
- currentCSV: opentelemetry-operator.v0.0.2
  name: alpha
defaultChannel: alpha
packageName: opentelemetry-operator

Hi @jpkrohling,
I am unable to reproduce the same behaviour with the current master branch.
 $ operator-sdk version
operator-sdk version: "v0.10.0-27-gc0947baa", commit: "c0947baa1fed27e9746964e449fe57ebd9b2383d", go version: "go1.12.7 darwin/amd64"

Note that I am using your project to test it. Could you please try to use the master branch and check if you will be able to get it sorted?
$  operator-sdk olm-catalog gen-csv --csv-version 0.0.2 --update-crds --from-version 0.0.1 --csv-channel=alpha --default-channel
INFO[0000] Generating CSV manifest version 0.0.2
INFO[0000] Created deploy/olm-catalog/opentelemetry-operator/0.0.2/opentelemetry-operator.v0.0.2.clusterserviceversion.yaml
INFO[0000] Created deploy/olm-catalog/opentelemetry-operator/opentelemetry-operator.package.yaml

Indeed, this seems to be fixed in the latest version from master! Thanks for your patience and support, @camilamacedo86!

Hi @jpkrohling,
Really tks for check that it fixed in the master as well and to raise it.
I am very glad that I could help you with.


Sentry tracing plugin no longer obeys ignoreError option

The Sentry tracing plugin offers an ignoreError option to avoid capturing the exception in Sentry while still allowing tracing. However, it seems the latest version of Sentry removed the functionality of that option. Is this intentional or accidental? (just checking - I could file a PR to add it back but not sure what the intended behavior is).
I'm hoping to use it since I have a custom capture exception that adds additional functionality.
https://github.com/hayes/pothos/commit/cea5c66e6ceb1e837043cc91155a38eff3069bdd#diff-38f3e1881f8a4d5faf4709b839fcb0821c015dfbf76a1719f2f2e53046c59e41L64

Definitely unintentional, a pr would be more than welcome!

Just pushed a fix, will have a release out shortly.  Thanks for reporting this

Ah great thanks!  That was fast - didn't get a chance to write a PR :)


Question about coordinate driven test case

The WAD UI Recorder, picks up the following:
`
// LeftClick on Pane "Desktop 1" at (64899,224)
Console.WriteLine("LeftClick on Pane "Desktop 1" at (64899,224)");
string xpath_LeftClickPaneDesktop1_64899_224 = "/Pane[@ClassName="#32769"][@Name="Desktop 1"]";
var winElem_LeftClickPaneDesktop1_64899_224 = desktopSession.FindElementByAbsoluteXPath(xpath_LeftClickPaneDesktop1_64899_224);
if (winElem_LeftClickPaneDesktop1_64899_224 != null)
{
winElem_LeftClickPaneDesktop1_64899_224.Click();
}
else
{
Console.WriteLine($"Failed to find element using xpath: {xpath_LeftClickPaneDesktop1_64899_224}");
return;
}
`
How would the desktopSession know to click at [64899, 225], or does it?  If not, how can you use XPath or other means to click at a particular location?

For those interested:
`
public static void ClickAt(this WindowsElement element, int x, int y)
{
var driver = (WindowsDriver) element.WrappedDriver;
        driver.Mouse.MouseMove(element.Coordinates, x, y);

        element.Click();
    }

`


What is "context"?

Got this while trying to release interface-ipfs-core
   ✖ Generating documentation
     → Cannot read property 'context' of undefined
     Publish to GitHub Pages
   Publish to npm
Cannot read property 'context' of undefined
TypeError: Cannot read property 'context' of undefined
    at getProject (/Users/imp/code/interface-ipfs-core/node_modules/clean-documentation-theme/lib/index.js:39:20)
    at /Users/imp/code/interface-ipfs-core/node_modules/clean-documentation-theme/lib/index.js:48:23
    at Promise (<anonymous>)
    at module.exports (/Users/imp/code/interface-ipfs-core/node_modules/clean-documentation-theme/lib/index.js:47:10)
    at /Users/imp/code/interface-ipfs-core/node_modules/documentation/lib/output/html.js:35:30
    at <anonymous>

Seems that there is an assumption that interface-ipfs-core didn't match and so it failed this way.

what version is this?

v12.0.0, fresh install made today


Remove broken tool

Seems to no longer work, years of commits of just keeping it up to date.

@yashykt

CC @gnossen  as he's working on migrating .py scripts to python3 (and deleted code is python3 compatible by definition :-) )


Javascript (new) course bug the solution isn't correct

Describe the Issue
At the lesson Learn Intermediate OOP by Building a Platformer Game - Lesson 103
It requires that the solution will be:
setTimeout(() => (
      checkpointScreen.style.display = 'none'
    ), 2000)

Notice: the ( ) after the arrow (=>). it should be {} instead
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-intermediate-oop-by-building-a-platformer-game/step-103
Your code

setTimeout(() => {
      checkpointScreen.style.display = 'none'
 }, 2000)

Expected behavior
The lesson should be passed.
Screenshots
No response
System

Device: [Computer]
OS: [Windows 10]
Browser: [Chrome]
Version: [120.0.6099.131]

Additional context
No response

Hi @AutoAFK !
We currently have an open issue that address this
https://github.com/freeCodeCamp/freeCodeCamp/issues/52892
We also have a PR under review, that should resolve this issue so I am going to close this as a duplicate


How to dynamically create a line ?

Hi,
Is it possible to create the line dynamically ?
Please check this example: https://gojs.net/latest/intro/ports.html#DrawingNewLinks
Creating the new lines between the nodes in the UI. if it is possible kindly provide any example.
Regards,
Sundeep Gullapudi.
P.S : Your work is cool 👍 Both Leader Line and Plain Draggable libraries are awesome.

Hi @gsundeep-tech, thank you for the comment. :smile:
So, LeaderLine is a library to create a line dynamically because it is standard library that provides a ES class.
Therefore, I think that it can do that you want. It can't create a line statically rather than that it can create a line dynamically.
I might have misunderstood your question. Do you want to create a line when an user did something?

Yes, I have a requirement in which when the user can draw the lines between the draggable nodes (elements), User can click on a node and draw a line to second node and some action handles when the two nodes are connected.
Thanks,
Sundeep Gullapudi.

Also, there is a example that add a LeaderLine dynamically:
https://anseki.github.io/plain-overlay/
Click "SHOW" button.

It seems that you want a very simple UI that has no difficult point.
I suggest reading the documents.
https://anseki.github.io/leader-line/#startsocket-endsocket
https://anseki.github.io/plain-draggable/
There are examples that the user drags the elements that are connected by LeaderLine.
Also, the examples I indicated add a LeaderLine dynamically.
That is, for example, you can design an UI that the user drags a "connector" by PlainDraggable to join two elements by LeaderLine.
Tell me a difficult point that you can't solve. Or point it if I misunderstood your question.

If you want to know how to synchronize the line and the handle, this simple example might help you:
https://jsfiddle.net/8pn7fqmg/
Drag a red handle and drop that on a blue box.

No reply came, and you closed this issue.
Therefore, I think that this issue was already solved.


KAFKA-14448 Let ZK brokers register with KRaft controller

Prior to starting a KIP-866 migration, the ZK brokers must register themselves with the active KRaft controller. The controller waits for all brokers to register in order to verify that all the brokers can
A) Communicate with the quorum
B) Have the migration config enabled
C) Have the proper IBP set
This patch uses the new isMigratingZkBroker field in BrokerRegistrationRequest and RegisterBrokerRecord. The type was changed from int8 to bool for BrokerRegistrationRequest (a mistake from #12860). The ZK brokers use the existing BrokerLifecycleManager class to register and heartbeat with the controllers.

Thanks for the PR!

This patch uses the new isMigratingZkBroker field in BrokerRegistrationRequest and RegisterBrokerRecord. The type was changed from int8 to bool for BrokerRegistrationRequest (a mistake from https://github.com/apache/kafka/pull/12860).

I think there is one other major mistake we made there: this should not be a tagged field, but should be a new version of the RPC. The reason is because this is not safe to ignore. If an old controller treats this broker like an ordinary KRaft broker, that would be a big mistake.
While a new verison of BrokerRegistrationRequest may seem difficult to implement, I think it's actually simpler than it seems. The NetworkClient itself should have the ApiVersions of the controller available. It gets this when it first connects to the controller. So we can simply take the max of the registration version our broker supports, and the registration version the controller supports.
There is already code to do all this in BrokerRegistrationRequest#Builder. The only complication is if you need to set isZkBroker you need to set BrokerRegistrationRequest#Builder.oldestAllowedVersion to 1 rather than 0.


Add zstd files to Archives.gitignore

Reasons for making this change:

Zstandard usage is becoming more widespread, necessitating its inclusion in Archives.gitignore.
Links to documentation supporting these rule changes:
https://en.wikipedia.org/wiki/Tar_(computing)#Suffixes_for_compressed_files
If this is a new template:

Link to application or project’s homepage: TODO

zengxs:patch-1


Back forward action processing

Implement undo/redo functionality

UndoRedoAdapter.ts - handles undo/redo. Use in composition with CanvasStore.
-` ``Action```: interface for all actions
classes that implement Action: DragItem, DeleteItem, AddItem
add onClick events on undo/redo icons

Should change ItemType to Item
Closes: #25

Okay, good.


Allow dim_ordering as a parameter to all Initialization

Some layers use a fucctool.partial object for the weight initialization like so: initializer=functools.partial(self.init,  dim_ordering=self.dim_ordering). These layers currently break when initialized with certain inits that do not accept the dim_ordering keyword arguments.
This PR just modifies all inits to accept dim_ordering as a keyword argument, even when not necessary.
Note: very possibly not the best solution. Let me know if a better one comes to mind.
Example code that currently breaks:
from keras.models import Sequential
from keras.layers import Deconvolution2D

# This gives an unexpected output shape
model = Sequential()
model.add(Deconvolution2D(3, 3, 3, output_shape=(None, 14, 14, 3), init='uniform', input_shape=(12, 12, 3)))

Ok as a temporary solution. It's kinda ugly, but the alternative currently would be inspecting function signatures, which may be even uglier. We'll refactor this stuff in Keras 2 anyway.


refactor: 💡 create /types folder

Build version: 3.0.1-pr-192.76 :crossed_fingers: feat-typescript on CircleCI :tada:

Build version: 3.0.1-pr-192.77 :crossed_fingers: feat-typescript on CircleCI :tada:

Build version: 3.0.1-pr-192.78 :crossed_fingers: feat-typescript on CircleCI :tada:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Missing data and configuration files when installing with pip

When running
pip install git+https://github.com/USEPA/ElectricityLCI.git@setup_troubleshooting#egg=electricitylci, the model configuration folder and the petroleum life cycle inventory data folders do not get cloned.

Changes in setup_troubleshooting appear to have fixed this. I change .gitignore and setup.py - I think the changes in setup.py are what did it.

Works for me


List of tools for 'testing' to assess

CTest
pfunit
test-drive

There is a Fortran wiki listing a lot of testing tools here: https://fortranwiki.org/fortran/show/Unit+testing+frameworks


sbt update hangs when depending on git project

Terminal
$ sbt -debug
[addSbt] arg = '-debug'
[process_args] java_version = '8'
# Executing command line:
java
-Xms1024m
-XX:ReservedCodeCacheSize=128m
-XX:MaxMetaspaceSize=256m
-Xmx4G
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-Xss2M
-jar
/usr/local/Cellar/sbt/1.2.8/libexec/bin/sbt-launch.jar
-debug

[debug] Full compilation, no sources in previous analysis.
[debug] Copy resource mappings:
[debug]
[debug] Other repositories:
[debug] Default repositories:
[debug] Using inline dependencies specified in Scala.
[debug] Full compilation, no sources in previous analysis.
[debug] Copy resource mappings:
[debug]
[debug] No changes
[debug] Copy resource mappings:
[debug]
sbt:bashturtle> update

^ and there it hangs forever
project/plugins.sbt
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.1.0-M11")

build.sbt (excerpt)
name := "bashturtle"
organization := "io.doerfler"
version := "1-SNAPSHOT"
scalaVersion := "2.12.8"

lazy val root = Project("root", file(".")).dependsOn(edc)
lazy val edc = RootProject(uri("https://github.com/phdoerfler/edc-scala.git"))

Not sure what's going on, but using sbt-lm-coursier 1.1.0-M14-4 seems to address this. Use it by adding
addSbtPlugin("io.get-coursier" % "sbt-lm-coursier" % "1.1.0-M14-4")

in project/plugins.sbt (instead of adding sbt-coursier).

Works for me, thanks!


Publish to jcenter as well.

Right now, if a library project uses ReLinker, it needs to tell its users to add the jitpack repository, which is inconvenient.
Publishing to jcenter would solve the issue as it's the standard repository for Android projects.

jcenter is now the default, 53248a2da84670e764648f6f701c78c58a235f16
jitpack can still be used if desired.
Please confirm your jcenter dependency is resolving successfully. If not, please open another issue.


Revert "ipsec: set interface ID different from 0"

This reverts pull request https://github.com/cilium/cilium/pull/18789.
Linux commit 68ac0f3810e7 ("xfrm: state and policy should fail if XFRMA_IF_ID 0") broke userspace applications by refusing xfrm states and policies with a zero XFRMA_IF_ID. Commit 735ac6a7 ("ipsec: set interface ID different from 0") attempted to work around this by defining a non-zero XFRMA_IF_ID.
Unfortunately, this workaround breaks IPsec connectivity between nodes. Once the XFRMA_IF_ID is set to the placeholder value (1), traffic that should be encrypted leave the node without any encryption. On GKE and self-managed clusters, that's the only noticeable impact. However, on AKS and EKS, we also have BPF logic to rewrite the outer IP address to the proper IP. This still happens despite the failure to encrypt traffic, leading to packet drops.
The traffic leaves the node unencrypted because packets don't match the xfrm policies anymore, due to the non-zero XFRMA_IF_ID.
Thus, we didn't notice this regression in the pull request introducing the workaround because 1) GKE and Jenkins tests didn't fail and 2) the EKS and AKS IPsec tests are currently disabled. This was noticed while attempting to reenable the AKS IPsec test.
This revert was tested in CI by running the whole AKS+IPsec workflow three times successfully (at https://github.com/cilium/cilium/runs/5407467510, the two failures are because I restarted too soon and the previous cluster was not deleted yet) and locally by running the connectivity tests 10 times on the same AKS cluster.
/cc @tormath1

/test

/ci-aks

Oh right, a fix was already in 1.11.2 - good to know. Sorry for the noise then !

k8s-1.23-kernel-net-next failed with known flake https://github.com/cilium/cilium/issues/18895. This pull request doesn't affect the datapath code so it's fine to ignore that test anyway.
checkpatch is complaining because I referenced a Linux kernel commit and it can't find it in the Cilium git tree. No comment.

Other than that, the revert was extensively tested in another PR and locally as said above. The cilium/bpf review is covered by Tobias. Marking ready to merge.


merge from arlac77/template-github,arlac77/template-kronos-module

package.json

chore(package): add ^17.0.6 remove ^17.0.4 (devDependencies.semantic-release)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #990   +/-   ##
=======================================
  Coverage   88.65%   88.65%
=======================================
  Files           7        7
  Lines         661      661
  Branches       72       72
=======================================
  Hits          586      586
  Misses         75       75

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 410fa2a...94febe2. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Does not work with seamless-immutable / redux-crud

Passing in a seamless-immutable data array (in my case from redux-form) generates a Maximum call stack size exceeded error.
Right now my fix is to make the data mutable using .asMutable()

Good that there's a temporary workaround at least, but from what I can read about that library it seems like it's probably a bug with it

Yeah, that might be the case.. And actually I was wrong, the library using it is (redux-crud)[https://github.com/Versent/redux-crud] which is much less popular than redux-form, so it might not be that big of an issue.

Seems like this issue is being addressed already in seamless-immutable

Sweet! Gonna close this then, feel free to reopen if it does in fact turn out that Reactable is doing something wrong


JIT compilation SIMD warning

When DEVITO_ARCH is not explicitly set and Devito uses CustomCompiler, SIMD directives are being ignored.
@FabioLuporini -fopenmp  should be added regardless of DEVITO_OPENMP, for SIMD vectorization. With gcc we automatically add it if we find out the compiler version is >=4.9 (which are then guaranteed to implement openmp3).

yes I think we should add a special patch that checks whether the detected compiler is gcc>=4.9 and, at least in that case (the very most common case!), add the -fopenmp.
Do you think you can write a quick patch? just check self.cc and self.version and if all good, add -fopenmp. Do you have a compiler to test it?

I have a better idea.
How about we add __new__ to CustomCompiler and if we see it's gcc or clang, we return the class object of appropriate type? @mloubout

closing as fixed by #1263


Update free-programming-books-pt_BR.md

Adding new reference for Brazillian list.
Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s)
For resources
Description
Add new content in React session
Why is this valuable (or not)?
The author is a good reference in Brazillian community and the content is great.
How do we know it's really free?
Is public.
For book lists, is it a book? For course lists, is it a course? etc.
Is a post/guide.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

It's not a book.


Getting a 301 Moved Permanently from Web API

Issue Summary
I'm using a really old version of this library (unfortunately I can't find any version info; but I assume it's v1.1.5). For some time now, emails are not being sent. I've debugged the issue, and I'm getting a 301 Moved Permanently from the Web API.
From what I can see, the $domain property in SendGrid/Web.php is http://sendgrid.com/, while I'm getting a redirect to the same endpoint, but HTTPS: https://sendgrid.com/[...]
Did the API change recently? Do we need to update the URL to point to https? I've temporarily changed it to https://sendgrid.com/ and it started working. I'm just looking for a confirmation that this is the right change.
I know it's a really old version, but you know... old project. Updating would mean breakage in 100 places :)
Steps to Reproduce
This is my code:
    $sendgrid = new SendGrid("username", "password");
    $mail = new SendGrid\Mail();

    $mail->setSubject($subject);
    $mail->setHtml($htmlContent);
    $mail->setFrom($from);
    if ($to) {
        $mail->addTo($to);
    }
    if($addCC){
        $mail->addCc($addCC);
    }
    if ($data['tos']) {
        $mail->setTos($data['tos']);
    }
    if($data['addCategory']) {
        $mail->addCategory($data['addCategory']);
    }

    return $sendgrid->web->send($mail);

Technical details:

sendgrid-php Version: not sure, no versioning info found; copyright says 2011; might be 1.1.5
PHP Version: 5.6

Hello @edu2004eu,
Yes, we have updated the API to require https.
Also, I highly recommend you update to the latest version of the library, if for no other reason than to use API keys instead of your SendGrid username and password.
Please let me know if have any additional questions or concerns.
Thanks!
With Best Regards,
Elmer


Just one unclear sentence in the document.

[Enter feedback here]
Just a very simple issue with the below sentence.
When you enable the cluster autoscaler on node pools in the cluster, those clusters will also use the cluster autoscaler profile.
I think you mean the autoscaler profile works for all node pools with CA enabled in the same cluster. You may say;
When you enable the cluster autoscaler on node pools in the cluster, these node pools with CA enabled will also use the cluster autoscaler profile.

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

ID: 077f1bb5-2ba9-490c-2c6e-0de292266539
Version Independent ID: 0fd87b4f-88a4-c2eb-3ebc-f2b113ac203c
Content: Use the cluster autoscaler in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/cluster-autoscaler.md
Service: container-service
GitHub Login: @zr-msft
Microsoft Alias: zarhoads

@RolandlinAKS Thanks for pointing that out. Let me verify this and update the document.

I have merged the changes into the document. The changes will start reflecting within next 12-24 hours.


Fix CPU limit to be active on site instead of machine_type

This pull request fixes a bug, where the CPU limit was active per machine_type and not as intended per site.
@mschnepf Could you check if the problem with ForHLR2 is now fixed, please?

Codecov Report

Merging #54 into master will decrease coverage by 0.15%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   93.98%   93.82%   -0.16%
==========================================
  Files          34       34
  Lines        1197     1199       +2
==========================================
  Hits         1125     1125
- Misses         72       74       +2

Impacted Files
Coverage Δ

tardis/resources/poolfactory.py
63.46% <0%> (-2.54%)
:arrow_down:

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 5aa581f...96ae0f4. Read the comment docs.

works very well :+1:


The darkMode and lightMode Toggle breaks

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

As of now, I have creates a Switch in my App, this Switch is used to switch the theme. The theme seems to change when the button is clicked once but stops working after that.
Expected Behavior 🤔

Keep switching every time the theme is toggled.
Steps to Reproduce 🕹

Steps:

Create 2 themes (darkTheme, lightTheme) using createMuiTheme
create a darkMode state which stores boolean value depicting the current theme mode
create a toggle theme to switch darkMode
Create a Switch using MUI and then using that switch to toggleTheme
Add a ThemeProvider in the App.js file that contains all the other components like this <ThemeProvider theme={darkMode ? darkTheme : lightTheme}>

Context 🔦

I am trying to make a dark mode feature to my website to make it more attractive and fun to use.
Your Environment 🌎

`npx @material-ui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @material-ui/envinfo` goes here.

System:
OS: macOS 11.1
Binaries:
Node: 12.16.2 - ~/.nvm/versions/node/v12.16.2/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v12.16.2/bin/npm
Browsers:
Chrome: 89.0.4389.82
Edge: Not Found
Firefox: Not Found
Safari: 14.0.2
npmPackages:
@material-ui/core: ^4.11.3 => 4.11.3
@material-ui/lab: ^4.0.0-alpha.57 => 4.0.0-alpha.57
@material-ui/styles:  4.11.3
@material-ui/system:  4.11.3
@material-ui/types:  5.1.0
@material-ui/utils:  4.11.2
@types/react:  17.0.2
react: ^17.0.1 => 17.0.1
react-dom: ^17.0.1 => 17.0.1

Please provide a minimal reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

@oliviertassinari
codesandbox_link

Duplicate of #18018

It's a well-known bug. global styles aren't cleaned up strict mode in v4. Remove the strict mode wrapper or upgrade to v5.


only call np.delete with actual removal

Fixes #429
ix and iu can be empty lists or numpy arrays, which trips the new np.delete.

Coverage increased (+0.01%) to 84.209% when pulling fa31cd4ef19c51328412390dbb4e03385c5a8efa on bnavigator:fix-429 into a9d869e0215b3dfc630ebf67ca1cce8b988a2a53 on python-control:master.


image comparison slider widget

Description
I want to be able to compare two images one to the other via a widget. A common way to do this is side by side (demoing
[img-comparison-slider.sneas.iohttps://img-comparison-slider.sneas.io/)
Screencast from 2024-05-30 12-14-30.webm
Suggested solution
Augment augment mo.image or add mo.image_compare with similar functionality.
Alternative
Don't, it can be done with custom HTML already (but most users wouldn't know how).
Additional context
No response

I think mo.image_compare sounds like a nice feature - is this something you'd be interested in contributing?
They have a react-component: https://github.com/sneas/img-comparison-slider/blob/master/packages/react/README.md
Could be something like:
mo.image_compare(mo.image(), mo.image())


Date display format is inconsistent in Dual Pane mode at times

Explain the bug
See attached screenshot. Left pane uses a different date format than the right.
Looks like Date format setting isn't applied correctly in Dual Pane mode. This happens when opening a new Dual Mode tab when the current setting is set to "Application" and opening a dir in both panes. When the current setting is "System", date formats in both panes of a new Dual Mode tab are the same.
Switching the date format setting doesn't seem to have (full) effect on dual mode tabs that are already open. I tried switching back and forth while dual mode tabs were already open, but the setting didn't seem to be applied. Only new tabs use the setting.
I checked BTW that the problem wasn't caused by one of the panes showing a OneDrive folder. That didn't make any difference though.
To reproduce

In settings, set Date format to "Application" and make sure Dual Pane mode is enabled
Open a new Dual Pane tab
Open a directory in both panes
See the error

Expected behavior
Both panes use the configured date format.
Logfile
Maybe later if required
Screenshots

System Information

OS Version: Windows 10 20H2 19042.964
App version: <IP_ADDRESS>

Additional comment

@bartvanandel is this still an issue in the preview version? https://files.community/download/preview


github actions limit bloaty comparisons to new Ubuntu 20.04 containers

This seems to be working fine in the new world, let's save some build capacity.


Fix strip_certificates to work with Python 3.11

As per PR #109:

Python 3.11 only allows global flags at the beginning of regular expressions. Which is different from previous Python versions.

I'll be creating testing for strip_certificates function on this ticket.
Python 3.11 will be added by #110

The PR #109 fixed the build, it seems like tests are touching strip_certificates.
I still need some time to understand what is going on right here, and see if more tests must be added to the project.


Add warning for xcm transfer feature

Description
Add warnings for xcm transfer feature:

[x] Warning for Destination Chain fee: A Destination Chain fee is applied on this transaction.
[x] Warning for the risk of losing funds: User error in transferring tokens may result in a loss of funds.

Resolved it in https://github.com/Koniverse/SubWallet-Extension/issues/1479


Student chaffin.md

Hey, @chaffin !
Can you create your profile in that way?
It's much more easy now! :smile:
Thanks!


Feature Request: Build in command for installing choco models

It would be great if there was build in command for installing choco models that handles checking for errors and logging correctly.

@ravensorb can you expand on exactly what you are looking for here?

Sorry for the delay -- the idea would be a build in way to verify chocolatey is installed and gracefully handle if it wasn't and possible a way to indicate packages that the build script depends on.

@ravensorb I could see this being added into the psake-contrib project as a helper function in there, but I don't think psake core would be the right place to do this.  You can see an example of where I have done this in the past:
https://github.com/chocolatey/ChocolateyGUI/blob/develop/BuildScripts/default.ps1#L76
Hope that helps!


Problem during configuring nginx

If I configure Wekan then I receive:
Generating self-signed certificate for wekan.domain.site [failed]
Restarting nginx container [failed]
2018/09/10 06:40:11 [warn] 84#84: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/wekan.domain.site.conf:25
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/wekan.domain.site.conf:25
2018/09/10 06:40:11 [emerg] 84#84: BIO_new_file("/etc/nginx/ssl/wekan.domain.site/cert.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/wekan.domain.site/cert.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] BIO_new_file("/etc/nginx/ssl/wekan.domain.site/cert.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/wekan.domain.site/cert.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
→ nginx -t failed. Trying to add missing containers to dockerbunker-network.
Restarting nginx container [failed]
2018/09/10 06:40:12 [warn] 94#94: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/wekan.domain.site.conf:25
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/wekan.domain.site.conf:25
2018/09/10 06:40:12 [emerg] 94#94: BIO_new_file("/etc/nginx/ssl/wekan.domain.site/cert.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/wekan.domain.site/cert.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] BIO_new_file("/etc/nginx/ssl/wekan.domain.site/cert.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/nginx/ssl/wekan.domain.site/cert.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
nginx -t failed again. Please resolve issue and try again.
What do I make wrong?

I cannot reproduce your issue. What it says is that nginx cannot find the certificates where they should be. Make sure that you have permissions to write in the dockerbunker directories.
can you post the output of
ls -la data/conf/nginx/ssl/wekan.domain.site
This directory is created during setup and the certificates are generated right after that. Are you running ./dockerbunker as root?
I would run ./dockerbunker and then choose 'Wekan' > 'Destroy Wekan' and start over.
If you get stuck again try and manually create the certs and post the output.
First source dockerbunker.env
source data/env/dockerbunker.env
(next, make sure to replace wekan.domain.site with your domain)
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout \
"${CONF_DIR}"/nginx/ssl/wekan.domain.site/key.pem -out \
"${CONF_DIR}"/nginx/ssl/wekan.domain.site/cert.pem -subj \
"/C=XY/ST=hidden/L=nowhere/O=Wekan/OU=IT \
Department/CN=wekan.domain.site"

Thanks for reporting this, I figured out why this happened and fixed it..
I recommend doing the following from within the dockerbunker dir, so you won't run into this issue again:
sudo chown -R $USER:$USER data/conf/nginx/ssl


Next button is not showing up if number of props.steps increased during multistep lifecycle

My case:
I have 3 steps, if the third step is valid, I'll send the fourth step to props.steps of multistep component and if the fourth is valid, I'll send the fifth step to multistep and so forth until I finish my scenario journey.
The issue:
Steps:

If we just have three steps and I am already in the third one.
After some user inputs, the third step got valid.
My code automatically sends the fourth step to the multistep component.
The nav styles get updated, but the buttons still as is, with NO next button visible.

Why:
Because updating the buttons only happens on three events
When the user hits
1- The navigation list items
2- Next button
3- Previous button
The fix:

Buttons should be updated on props.steps changes

I have created a pull-request with the fix
https://github.com/srdjan/react-multistep/pull/57
Thank you

merged!
thank you


Can this be ran on the same nextjs app as my website?

Hello, i dont want to run 2 diffrent nextjs apps for docs and main web, is it possible to run it as one?

Yes.