Add simple model to BoltzmannMFX

Take simple model documented in docs/models/model1/model1.tex and add it to BoltzmannMFX.

The transfer of material between the continuum fields and the particles is described in the bmx_calc_txfr_fluid (transfer from particles to continuum fields) and bmx_calc_txfr_particles (transfer from continuum fields to particles). Both these routines are located in bmx_calc_txfr.cpp located in src/des.

The number of chemical species in the fluid is defined in bmx_fluid_parms.H and the number of chemical species inside a particle is probably defined in bmx_chem_species_parms.H (not 100% sure of this). No chemical species inside the particles seemed to be defined in the inputs file for the 1-particle test case in exec. Species are defined in the fluid.

The real (as opposed to integer) data carried by each particle is defined
in des/bmx_pc.H  -- currently this is
struct realData
{
enum { // Real particle data stored in p.m_data
velx,
vely,
velz,
radius,
volume,
fluid_A,
fluid_B,
consume_A,
consume_B,
count
};
};
The way these components are used in the current code, the fluid_A and
fluid_B components are used to hold the values of X_A and X_B as
interpolated from the fluid.    If one wants to add chemical species
actually carried by the particles, then one can add them to the enum list
here.  They shoudl then be initialized in des/bmx_pc_init.cpp
Currently bmx_chem_species_parms.H is largely irrelevant, but could be
revived as needed.
On Thu, Mar 11, 2021 at 11:48 AM bjpalmer @.***> wrote:

The number of chemical species in the fluid is defined in
bmx_fluid_parms.H and the number of chemical species inside a particle is
probably defined in bmx_chem_species_parms.H (not 100% sure of this). No
chemical species inside the particles seemed to be defined in the inputs
file for the 1-particle test case in exec. Species are defined in the fluid.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PNNL-CompBio/BoltzmannMFX/issues/3#issuecomment-797003360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRE6YSAHM7HYZIA3QGMWS3TDEF75ANCNFSM4Y4CATZA
.

--
Ann Almgren
Senior Scientist; CCSE Group Lead

I'm trying to generalize these data structures to handle a more generic set of cells. I've defined two new enumerations:
/**

Generic set of indices for variables characterizing a cell. Specific real
properties of a cell are enumerated first, followed by the first index of an
uncharacterized block of real variables that can be fed to other routines.
The indices below assume that the most generic cell is an ellipsoid with axes
a, b, c oriented in space by three Euler angles and acted upon by a linear
force on the center of mass and a torque. The cell is also characterized by a
volume V. The cell has linear velocity and angular velocity and the cell
volume is also growing or shrinking with some rate. For spherical cells,
a=b=c=radius and the Euler angles, rotation velocity and torques are all
zero.
*/
struct realIdx
{
enum { // Locations of real particle data stored in particle type
a_size,      // first ellipsoid dimension
b_size,      // second ellipsoid dimension
c_size,      // third ellipsoid dimension
psi,         // first Euler angle
theta,       // second Euler angle
phi,         // third Euler angle
vol,         // cell volume
velx,        // x-component of linear velocity
vely,        // y-component of linear velocity
velz,        // z-component of linear velocity
wx,          // x-component of angular velocity
wy,          // y-component of angular velocity
wz,          // z-component of angular velocity
fx,          // x-component of linear force
fy,          // y-component of linear force
fz,          // z-component of linear force
taux,        // x-component of torque
tauy,        // y-component of torque
tauz,        // z-component of torque
dvdt,        // rate of change of the volume
first_data   // index of first value in uncharacterized block
};
};

/**

Generic set of indices for integer variables characterizing a cell. Specific
integers are listed first followed by an uncharacterized block of integers
that can be fed to other routines. The total number of real and integer
variables in this block and the readIdx block are stored in this struct.
*/
struct intIdx
{
enum { // Locations of integer data stored in particle type
size_real,    // Size of uncharacterized block of real data
size_int,     // Size of uncharacterized block of intger data
first_data,   // index of first value of uncharacterized block
};
};

The idea is that the mechanics are hardwired to describe a general ellipsoid interacting with other ellipsoids. Simpler geometric models (e.g. spheres) are subsets of this ellipsoidal model. The chemistry model is arbitrary and consists of a collections of real fields (chemical species) that are unpacked by a chemistry module. The readIdx::first_data index points to the start of the block of real data for each particle and the size of the block is stored in intIdx::size_real. The integer variables are similar. Again, additional integer variables describing the cell state are stored in a block of data that can be accessed using the intIdx::first_data variable.

The simple ABC model has been added to BoltzmannMFX and is running for short time periods. It exhibits cell growth and division and also contains mechanical interactions between cells. The behaviors included in the simulation so far are

Modification of chemical species due to reactions
Cell division when cells reach a size threshold
Motion of cells due to mechanical interactions


Issue: Unclear timeline and process for PR

Issue you'd like to raise.
If a pull request is submitted but not acted on, changes made in the pr to common modules like .toml and init.py can quickly become dated and require hand-reconciliation. Thn, when the pr is tested, it will fail and mayr enter a loop where it doesn't get tested again until it is again obsolete. My PR #12602 in response to https://github.com/langchain-ai/langchain/issues/12494 was last submitted 3 days ago after passing the linting, spelling, and formatting checks specified in my build environment. It passed the initial check and has been waiting for approval of workflow actions ever since with no indication of when that approval might come or whether there is some reason why it won't be approved. Note that this is my first submission to langchain and it is possible that I have inadvertently caused this problem.
Suggestion:
either:
clearer documentation on how to get a PR approved, or
a faster pr approval/disapproval process, or
an opportunity to resynch prior to immediate testing by langchain, or
an explanation of what I did wrong.
Thank you

The documentation for contributing says to use "fork and pull request" as I have done. It does not mention using the utility. The PR does seem to have been submitted.

@dosu-bot The documentation for contributing says to use "fork and pull request" as I have done. It does not mention using the utility. The PR does seem to have been submitted.


Export history can break CSV pattern and format

Describe the bug
Export history with "," default delimiter is breaking pattern due to "," in some item names.
Example: https://www.wowhead.com/classic/item=19364/ashkandi-greatsword-of-the-brotherhood
Version:

WoW Version: v1.15.4 (b56857) [ERA:SOD]
Addon Version: 2024-10-03

Possible workaround
Change delimiter from "," to ";" seems to be a good way.

Thanks for the report. I chose to put double quotes around item names with commas.


leftoutejoin issue

left outer join doesnt seem to work in flutter channel stable

Thank you for the report. We have some tests that use a leftOuterJoin and they all pass. Can you give me some additional information on what queries you run, what they return, and what you would expect them to return? That would help to diagnose this issue, thanks!

@aidooyaw1992

Hi please, I think the error has been resolved. I was an error on my side


Permissions Error when attempting to read from mounted bucket

Hello!
I created a 4 node spark cluster via dataproc and used the jupyter notebook initialization script (awesome, thanks for that!).
I also installed gcsfuse on the cluster and I mount the buckets that I'm reading to and writing from to the master node in the cluster and that whole process works fine, however, when I attempt to get a listing of the files via python and jupyter notebook [os.listdir(DATAPATH)] i receive the following traceback in the notebook:
PermissionError                           Traceback (most recent call last)
<ipython-input-16-495c2f68a718> in <module>()
      9
     10 # list of the apps
---> 11 TOP_LEVEL_FOLDERS=os.listdir(DATA_PATH)
     12 # TOP_LEVEL_FOLDERS="Action"
     13

PermissionError: [Errno 13] Permission denied: '../../home/jason/buckets/input/InactiveAppsBackup/'

How do I start a notebook as my username instead of as root so I can read the files in the directory? Thanks!

FYI we're switching to storing notebooks in GCS in #156 , so take a look at that issue.
In the mean time here are a couple options:

You can copy the init action into your own GCS bucket and modify it so that the notebook starts as root (something like sudo su -l jmwoloso ...)
You can be root on the VM by putting sudo in front of any command, so you can just change the permissions of the relevant directories (something like sudo chmod 777 -R PATH)

@karth295 Thank you for the reply. Option #2 from your suggestions does not work, I get Permission denied when I attempt to change the permissions of the mounted folders. Where exactly would I use Option #1 or which of the scripts would I edit?

I didn't actually test option 2, so fair enough.
Init actions are just arbitrary scripts hosted on GCS. By default, you might use --initialization-actions=gs://dataproc-initialization-actions/jupyter.sh, but you can also just copy that file into your own GCS bucket (e.g. git clone <this-repo>, modify jupyter.sh, gsutil cp jupyter.sh gs://<YOUR_BUCKET/path) and then create a cluster with --initialization-actions=gs://YOUR_BUCKET/path.

@karth295 thank you for the clarification. so I actually was able to solve this in the following manner on our cluster:
1. ssh into the cluster with port-forwarding (-D 10000):
gcloud compute ssh "<your-cluster-here>"\
  --project "<your_project_here>" \
  --zone="us-west1-a" \
  -- -D 10000 -N -n &

2. connect my browser to the cluster
/usr/bin/google-chrome \
"http://<your_cluster_here>" \
--proxy-server="socks5://localhost:10000" \
--host-resolver-rules="MAP * <IP_ADDRESS> , EXCLUDE localhost" \
--user-data-dir=/tmp/

3. ssh into the cluster from another terminal tab (with a remote shell):
gcloud compute ssh "<your_cluster_here>"

4. navigate to the desired directory and run:
jupyter notebook
5. at this point, the cluster won't be able to open a browser (because one doesn't exist) and it will give you a link to paste into a browser. paste the link into browser you connected to the cluster from step 2 above.
6. Alternative: after step 3, just install nano on the cluster and proceed to copy the script that you want to run from your local file system to the remote ssh terminal and save it on the cluster, then just use (from the remote ssh terminal command line):
spark-submit <your_python_file>.py


Unity 3D Android

I would like to compile it for Unity 3D. How can I do so? I have tried the one from EnoxSoftware but its too slow to the point that its not possible to even see the landmark. I would like to compile it myself from the scratch.

+1 active

+1 active

+1 active

+1 active

fixed


Fix documentation for linting

One note: There is a usage of the direct call to the jscs command in the travis configuration file. As this issue is only about the documentation I didn't change that.
Fixes #695.

Thanks!


DBZ-2217 Fix test failure - TransactionMetadataIT#restartInTheMiddleOfTxAfterSnapshot

https://issues.redhat.com/browse/DBZ-2217
This was yet another example of where we did a pre-snapshot insert that may not be propagated to the capture tables before the snapshot process is started causing the later expectations of the test to fail.

LGTM, thx!


Revert change that made SqlDataReader.ReadAsync() non-blocking

This PR reverts https://github.com/dotnet/corefx/pull/26595 and #490 (attempted to fix MARS TDS header issues introduced with https://github.com/dotnet/corefx/pull/26595) with additional tests.
This is an alternate solution to fix #542 but due to #544 and #545 failing intermittently on Unix w. Managed SNI, it doesn't seem an appropriate fix either.
This revert is likely to hit performance by re-introducing old behavior of SqlDataReader.ReadAsync() method to run synchronously, and will block the calling thread until data is fed from SQL Server. But given the side-effects of the original change, reverting seems most appropriate at this point and a proper investigation would be needed to be done for original performance issue.

@cheenamalhotra still planning a 2.0 preview3 release soon?

After changing the target framework to .NET Framework 4.8, we started to encounter random MARS errors even though we are not using MARS: The incoming tabular data stream (TDS) protocol stream is incorrect. The MARS TDS header contained errors.
Unfortunately there is extremely limited amount of information available, and took us several days to figure out what is happening. The comment of @David-Engel on issue #85 was most helpful to us.
Although most official documentation is not listing the change, I remembered that .NET Framework 4.8 Release Notes mentions that SqlDataReader.ReadAsync() now runs asynchronously that was the next useful pointer.
Unfortunately the "Switch.Microsoft.Data.SqlClient.MakeReadAsyncBlocking" AppContext switch did not work on .NET Framework 4.8, and I could not find any relevant documentation about it either. While the searchable .NET Framework Reference Source and the referencesource repository do not include the relevant LocalAppContextSwitches class, luckily the downloadable version contains the missing LocalAppContextSwitches.cs file that helped figuring out the correct workaround:
AppContext.SetSwitch("Switch.System.Data.SqlClient.MakeReadAsyncBlocking", true);
Note that AppContextDefaultValues.Defaults.cs from the downloadable Reference Source shows that targeting .NET Framework 4.8 changes the default value from true to false.
Since enabling the AppContext switch, we have not seen any more MARS errors, but apparently we are using an undocumented switch. Although we haven't tried those, other possible workarounds are targeting a version earlier than .NET Framework 4.8 or not using SqlDataReader.ReadAsync().
@cheenamalhotra and @David-Engel, I believe that .NET Framework 4.8 is also affected by this issue (#547). Could you please share whether you have any plans of backporting this fix/revert to .NET Framework 4.8?

@kornelpal
Do you have a repro code available that we can try to reproduce what you observed?
Our test case (AsyncCancelledConnectionsTest) that was added specifically for this issue in .NET Core does not reproduce the error in .NET Framework 4.8.

I could easily reproduce the issue with your test code. I run it in a standalone console application, but I made trivial changes only to remove dependency on the unit testing framework.
Your AppDomain has to target .NET Framework 4.8, not just run on .NET Framework 4.8 (or the .dll target it) to have the switch disabled by default. AppContext.TargetFrameworkName returns ".NETFramework,Version=v4.8" in this case. Your unit test framework might not target .NET Framework 4.8.
Alternatively, you can disable the switch when running on .NET Framework 4.8, but not targeting it:
AppContext.SetSwitch("Switch.System.Data.SqlClient.MakeReadAsyncBlocking", false);

Hi @kornelpal
Yes I can reproduce issue with System.Data.SqlClient (default behavior, no custom switches).
I was testing initially with Microsoft.Data.SqlClient that does not reproduce this issue by default, but only when setting below switch:
AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.MakeReadAsyncBlocking", false);

In regards to System.Data.SqlClient, since the product is no longer actively maintained but only receives high security issue updates, I'm afraid the default behavior of S.D.S is likely not going to change. I'd recommend you to transition to Microsoft.Data.SqlClient as we actively maintain and deliver new releases and bug fixes here now.


Truncation of long player names leads to unnecessary confusion

https://github.com/Civcraft/JukeAlert/blob/master/src/com/untamedears/JukeAlert/chat/SendSnitchInfo.java#L55
This line has caused me no end of problems, heh. The rationale for artificially limiting the displayed length of some of the most important information from the Juke logs has never sat well with me. I'm happy to address this one myself but figured I'd toss up an issue in case there was an actual legitimate reason.

I lied; this is the offending line: https://github.com/Civcraft/JukeAlert/blob/master/src/com/untamedears/JukeAlert/storage/JukeAlertLogger.java#L1192

It seems to make space for 20 chars. How is that truncating 16 char names?
On May 12, 2015 1:20 PM, "Daniel Boston"<EMAIL_ADDRESS>wrote:

I lied; this is the offending line:
https://github.com/Civcraft/JukeAlert/blob/master/src/com/untamedears/JukeAlert/storage/JukeAlertLogger.java#L1192
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101409020.

?? Player names are not limited to 16 characters. I routinely see people on snitches who names exceed the displayed value, and as a consequence their name is truncated. I am unable to appropriately pursue them in a bounty as I can't identify that it is indeed them.

Or, are you suggesting that the database itself is hardcoded to only store 16 characters for each actor's name? That's ... well, that's terrible, if it's the case. I had assumed the 16 char DB field was for UNID, not translated actor name.

A players name cannot exceed 16 characters is what he is saying.
On May 12, 2015 6:13 PM, "Daniel Boston"<EMAIL_ADDRESS>wrote:

Or, are you suggesting that the database itself is hardcoded to only store
16 characters for each actor's name? That's ... well, that's terrible, if
it's the case. I had assumed the 16 char DB field was for UNID, not
translated actor name.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101438400.

And I am saying that that is incorrect. I'll dig up some evidence in a bit.
On Tue, May 12, 2015 at 6:39 PM, rourke750<EMAIL_ADDRESS>wrote:

A players name cannot exceed 16 characters is what he is saying.
On May 12, 2015 6:13 PM, "Daniel Boston"<EMAIL_ADDRESS>wrote:

Or, are you suggesting that the database itself is hardcoded to only
store
16 characters for each actor's name? That's ... well, that's terrible, if
it's the case. I had assumed the 16 char DB field was for UNID, not
translated actor name.
—
Reply to this email directly or view it on GitHub
<https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101438400
.

—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101445812.

Alright, the name length may not be incorrect, but here's an example of the clipping in the client:
http://imgur.com/Oysx6hA
The full name is EnderPearlHarbor, but the /jainfo command only displays EnderPearlHar.
This occurs regularly.

That's the group name.
On Tue, May 12, 2015 at 4:40 PM, Daniel Boston<EMAIL_ADDRESS>wrote:

Alright, the name length may not be incorrect, but here's an example of
the clipping in the client:
http://imgur.com/Oysx6hA
The full name is EnderPearlHarbor, but the /jainfo command only displays
EnderPearlHar.
This occurs regularly.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101460756.

No, no that's player name. It's something about whatever magic ChatFiller
is failing to do properly. Just remove ChatFiller.fillString from that line
you pointed out and I would think things would work.
On Tue, May 12, 2015 at 5:09 PM, Nick<EMAIL_ADDRESS>wrote:

That's the group name.
On Tue, May 12, 2015 at 4:40 PM, Daniel Boston<EMAIL_ADDRESS>wrote:

Alright, the name length may not be incorrect, but here's an example of
the clipping in the client:
http://imgur.com/Oysx6hA
The full name is EnderPearlHarbor, but the /jainfo command only displays
EnderPearlHar.
This occurs regularly.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101460756.

@erocs I think the fill line is so that each thing is for sure on one line.

But its truncating the name when it shouldn't.
On Tue, May 12, 2015 at 5:56 PM, rourke750<EMAIL_ADDRESS>wrote:

@erocs https://github.com/erocs I think the fill line is so that each
thing is for sure on one line.
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/JukeAlert/issues/25#issuecomment-101472155.


[Event Request] Codeunit 5807 "Item Charge Assgnt. (Sales)" - Add new parameter in OnBeforeAssignItemCharges()

Hello,
We would need a new parameters in the event OnBeforeAssignItemCharges().
Resulting event:
    [IntegrationEvent(false, false)]
    local procedure OnBeforeAssignItemCharges(var SalesLine: Record "Sales Line"; TotalQtyToAssign: Decimal; TotalAmtToAssign: Decimal; var IsHandled: Boolean; SelectionTxt: Text)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[Question]: Could not respond to message.

How are you running AnythingLLM?
Docker (local)
What happened?

Are there known steps to reproduce?
我如果不在工作区上传文档 ，只聊天就正常。如果上传本地文档，再聊天 就这样了   重启电脑 重新安装 都试过 ，就是不行

Since failure only occurs when chatting with embedded documents are you able to get the logs for the error?
https://docs.anythingllm.com/installation-desktop/debug

How are you running AnythingLLM?
Docker (local)
What happened?

Are there known steps to reproduce?
我如果不在工作区上传文档 ，只聊天就正常。如果上传本地文档，再聊天 就这样了 重启电脑 重新安装 都试过 ，就是不行

你好，我也遇到了相同的问题，请问是如何解决的？

It could be a bug. I always get this issue after creating a workspace and/or upload documents and embedding. I find that the LLM selection in settings is gone and I have to reselect it and save it, and then this issue is gone.


[OpenAI] Update samples

And adds a sample to use the rest-level client.

API change check
API changes are not detected in this pull request.


Backport PR #1889 on branch 0.20.x (Add 0.20.x backporting branch to CI)

Backport PR #1889: Add 0.20.x backporting branch to CI

@martinkim0 @watiss this is failing because it likely doesn't have access to the secret. I'm wondering how we can get around this.


[0.3.1]Compatibility issues with other mods

Most mods are known to be affected

More Company
MiniMap
SuitSaver
etc.

Whether it's a server or client mods

That's far too vague to be useful and I've not noticed any issues with MoreCompany myself.

Here's the main problem.

MoreCompany will show a mods that does not display hats.
Suit Saver Cannot be used normally
Minimap also doesn't work properly, the GUI interface works fine, but Minimap is not displayed.

But the output console does not flag these errors

None of that is something this mod should even be capable of causing, does this happen with only this mod and those mods (plus dependencies)?

Hello Hexi,
I am a friend of XoF. At first, we thought it would be some "big" mods or dependencies that mess up other mods. After checking our recently updated mod one by one, we can confirm that 0.3.1 does affect some mods such as MoreCompany(Host can see his own cosmetics, cannot see Client's cosmetics. Client cannot see Host's cosmetics, cannot see his own cosmetics) and SuitSaver(When clients join the lobby, they wear the orange default suit)
When we rolled back to 0.3.0, everything works again. The above "bugs" are gone. I am not sure why this happens as you mod should only affect the shotguns.
Here is our Profile code - 018cb76d-b141-4316-80f0-6729039ee169
You can have a test on your side.
Thank you

0.3.0 does not actually load due to mistakes, you'd have to try with 0.2.2 and 0.2.1.

We tried 0.2.2. We did not encountered the bugs mentioned above.

Your profile code doesn't work for me.
I've tried the minimap mod solo and it appears to work fine, can't test MoreCompany cosmetics or SuitSaver right now.
My profile: 018cbae9-3722-8a20-c1bc-82b44fe82aba

Your profile code doesn't work for me.
I've tried the minimap mod solo and it appears to work fine, can't test MoreCompany cosmetics or SuitSaver right now.
My profile: 018cbae9-3722-8a20-c1bc-82b44fe82aba

0.2.2 doesn't have this problem, but I'm not quite sure what it is.

Was playing with friends last night, we don't have SuitSaver but we didn't have any issues with MoreCompany cosmetics.
I think you have a corrupt install. I'd suggest going here and following the corrupt install steps.


Header_banner updated with blue 600 and primary button

the button colour matched with the header colour so changed it to red

Make the button a white button with white text. And the mic svg with a white background and black with it. Else everything looks fine.

updated @Rajdip019

Looks good. @Tushar98644


sushi farm bot

mainly to make sure the "generalize" issue actually works
AC:

implementation
unit tests
e2e test
1 deployed farm bot
added to compounder
compounding works

one issue to think about for a sushi farm bot is how to support a meta-liquidity farm bot where REVO (the governance token) is the rewards token (or one of the rewards tokens). Particularly if we only have REVO liquidity on Ubeswap, it could be hard to swap the REVO rewards for the tokens in the underlying pool. In this case, I think we could potentially take advantage of the "swap router" being separate from the "liquidity router"-- the swap router could be for Ubeswap, and the liquidity router could be for Sushi.
Something to consider.

@jophish ^


Concurrency policy not running if set to one

SUMMARY
If you were to set the concurrency policy of an action to be 1 then it does not run any actions. I believe the following piece of code is responsible:
https://github.com/StackStorm/st2/blob/d374b92f0dbf6b26c5dfdcffd594ecbd0800d635/st2actions/st2actions/policies/concurrency.py#L53C12-L53C34
        count = scheduled + running

        # Mark the execution as scheduled if threshold is not reached or delayed otherwise.
        if count < self.threshold:
            LOG.debug(
                "There are %s instances of %s in scheduled or running status. "
                "Threshold of %s is not reached. Action execution will be scheduled.",
                count,
                target.action,
                self._policy_ref,
            )
            status = action_constants.LIVEACTION_STATUS_REQUESTED
        else:
            action = "delayed" if self.policy_action == "delay" else "canceled"
            LOG.debug(
                "There are %s instances of %s in scheduled or running status. "
                "Threshold of %s is reached. Action execution will be %s.",
                count,
                target.action,
                self._policy_ref,
                action,
            )
            status = self._get_status_for_policy_action(action=self.policy_action)

I think this should be changed to:
        count = scheduled + running

        # Mark the execution as scheduled if threshold is not reached or delayed otherwise.
        if count <= self.threshold:
            LOG.debug(
                "There are %s instances of %s in scheduled or running status. "
                "Threshold of %s is not reached. Action execution will be scheduled.",
                count,
                target.action,
                self._policy_ref,
            )
            status = action_constants.LIVEACTION_STATUS_REQUESTED
        else:
            action = "delayed" if self.policy_action == "delay" else "canceled"
            LOG.debug(
                "There are %s instances of %s in scheduled or running status. "
                "Threshold of %s is reached. Action execution will be %s.",
                count,
                target.action,
                self._policy_ref,
                action,
            )
            status = self._get_status_for_policy_action(action=self.policy_action)

and a unit test should be added.
Steps to reproduce the problem
Set the policy to be 1 for a specific action in stackstorm, and try to run the action using something like with items.
Expected Results
One action running at a time.
Actual Results
No actions run and they stay in the policy_action state.

If this seems like an actual bug to anyone else, I can make the PR for it.

Following this logic, when you set the concurrency to 2, - it really runs only 1 action at a time?
Can you confirm that? Do those debug logs also indicate that?
@FileMagic if you're sure there's a bug, - definitely submit a PR 👍
I didn't have a chance to use concurrency for a long time.
Did anyone experience this issue too @StackStorm/contributors  @StackStorm/maintainers?

For us, the workflows work when I set concurrency to 1.
The workflow also uses with_items.

to be clear this is in reference to policy not concurrency settings.


Caching Eager Loaded Documents

We have this code:
class Band
  include Mongoid::Document
  has_many :albums
end

class Album
  include Mongoid::Document
  belongs_to :band
end

@bands = Band.includes(:albums).entries

This is great because now I can run @bands.first.albums without hitting the DB.
But now, if we write this includes to the rails cache...
Rails.cache.write('bands', @bands)

...we then read the cache.
bands = Rails.cache.read('bands')

This returns an array of band documents...
[#<Band _id: 536a53c969702d208f240000, created_at: 2014-05-07 15:39:53 UTC, updated_at: 2014-05-08 15:55:29 UTC, name: "Pink Floyd", fan_count: 394857, #<Band _id: 536adf2a69702d1574130000, created_at: 2014-05-08 01:34:34 UTC, updated_at: 2014-05-08 01:35:40 UTC, name: "Tool", fan_count: 2958394, #<Band _id: 536bcad169702d743e1e0000, created_at: 2014-05-08 18:20:01 UTC, updated_at: 2014-05-08 18:27:10 UTC, name: "My Morning Jacket", fan_count: 3945734]
...and then we can't get the albums.
bands.first.albums

NoMethodError: undefined method 'albums' for #<Array:0x00000104df50c0>

Is there a special way to cache these eager loaded documents with Rails or Mongoid?
FYI we're using Mongoid 4.

Closing due to no more information.


Hover fixed of dropdown nav

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state "None”]
Closes #125
Email id used to regsiter for VSoc'24
<EMAIL_ADDRESS>Description
I couldn't do hover for display but did for interior items.
Type of PR

[X] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

check in issue by entering [X] in boxes
Screenshots / Videos (if applicable)
20_6_2024, 6_41_36 pm - Screen - Untitled video.webm
Checklist

[X] I have performed a self-review of my code.
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.
[X] I have followed the code style guidelines of this project.
[X] I have checked for any existing open issues that my pull request may address.
[X] I have ensured that my changes do not break any existing functionality.
[X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[X] I have read the resources for guidance listed below.
[X] I have followed security best practices in my code changes.

check in issue by entering [X] in boxes

okay good @kom-senapati


Implicit type conversions in header files

When changing my compiler flags to include -Wconversion many of the zephyr headers are flawed as having questionable type conversions. This include atomic.h as well a several other headers.
I have not found a good way to work around this problem. If I fix the headers locally they will not propagate to next clean build.  I can try disabling warnings in source code but have to do that for every include from zephyr, which is not clean or easy.
I could do a fix for headers pull request but we are locked into older zephyr version. Additionally there is risk I would create more bugs than I fix in the process or mask bugs.
It is kind of a shame on zephyr not to require no implicit type conversions on the project, as these conversations are often laten bugs.

This duplicates https://github.com/zephyrproject-rtos/zephyr/issues/72488


Upgrade Azure Function runtime in terraform

"Beginning on December 3, 2022, function apps running on versions 2.x and 3.x of the Azure Functions runtime can no longer be supported."


do not send brtt info in GET requests

We are still getting encoding errors for brtt if we are sending GET requests because we don't support encoding dictionaries to query strings.
After a discussion with brian, we decided not to send brtt info in GET requests. Another error comes up because we also send a metadata dictionary in all requests even if it's empty which results in an encoding error as well. This PR changes that to only send metadata if it contains data.
@aaustin @derrickstaten @E-B-Smith

👍


[fix](partial update) only unique table with MOW insert with target columns can consider be a partial update

Proposed changes
Issue Number: close #xxx
when enable_unique_key_partial_update = true,
only unique table with MOW insert with target columns can consider be a partial update,
and unique table without MOW, insert will be like a normal insert.
when enable_unique_key_partial_update = false,
unique table with MOW, insert will be a normal insert, and column that not set will insert default value.
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...

run buildall

@nextdreamblue  We do have plans to support partial column updates on Unique Key MoR, specifically, using replace_if_not_null as an agg function, but it requires additional handling of sequence columns and delete sign columns compared to Aggregate Key. Would you be interested in supporting this function?

run buildall


Where can you buy a robot for $ 1,500?

Where can i buy a cyberdog for $ 1,500?
After the sale of 1000 pieces, will it still be produced? What are your future plans?
I would like to buy but cannot find where.

Hi @amburkoff . Thank you for paying attention to CyberDog. But there is no overseas purchase channel for CyberDog. Perhaps we will open this channel in next generation.


markdown not rendered properly

I followed @di's write-up for getting markdown rendering for one of my projects, orthopy. Unfortunately, on pypi.org it's still rendered as plaintext. This is with
$ twine --version
twine version 1.11.0 (pkginfo: 1.4.2, requests: 2.18.4, setuptools: 39.0.1,
requests-toolbelt: 0.8.0, tqdm: 4.19.8)

One thing I did differently from the blog post is that I created wheels
$ python3 setup.py bdist_wheel --universal

instead of ansdist.
Any idea what might be going wrong?

You're hitting an issue with wheel that has been fixed but hasn't been released yet (https://github.com/pypa/wheel/pull/232), sorry about that!
See my comment here: https://github.com/pypa/warehouse/issues/3438#issuecomment-376501335

Thanks for the clarification!

@di Here's another one, this time with the wheels workaround, but the markdown doesn't render properly: https://pypi.org/project/pygmsh/. Perhaps it's the HTML tags? Let me know if I should open a new bug or if we can discuss this here.

FYI @nschloe, a new release of wheel has been made so the workaround is no longer necessary.

Nice, thanks for letting me know!


Checksum windows backslash breaking linux Igniter

Describe the bug
When zip is created on windows and added to linux versions, Igniter is returning error that openpype\action.py does not exists. It is caused by the fact that checksum is storing backslashes.
this had appended on openpype-3.6.0-nightly.2-centos.zip build
To Reproduce
Steps to reproduce the behavior:

create zip on windows
add it to version repository in linux environment
open openpype_console in linux
see there is an error with missing openpype\action.py

Expected behavior
It should load the version and open it.

[cuID:OP-2020]

Related to #2216


Large memory leak with getPacket buffer

I'm finding that even after a connection and all statements have been explicitly close()'d and a GC cycle run with GC.collect, I'm seeing about 1/2 of the buffers from getPacket stuck in memory.

I'm not certain how to check this. How are you determining getPacket's buffers aren't being collected? Not trying to pass the buck or anything, but have you looked into whether you might have some other data generating false pointers? Is this on 64-bit?
I can definitely reduce the amount of allocations in the first place, but if something in mysql-native is holding onto these old buffers, then I definitely want to fix that regardless.

One thing to be aware of (that I just realized while digging through it): When mysql-native returns a string (and I think binary data too), it returns a slice directly from getPacket's buffer. So if you still have string/binary data live in your program, that originated from mysql, then that would be getPacket data that can't/shouldn't be garbage collected.

The way I can tell it's memory from getPacket is that the memory profiler in DMD indicates that's the only thing that has allocated enough memory to be causing a problem.  It looks like some of the memory from getPacket is being collected, but not all of it.  I tried throwing an idup on all of the strings I was getting out, but that didn't change consumption.
It's possible that ddbc is keeping an extra pointer around, since that's how I'm using mysql-native, but when I looked at their API, it seemed they were just providing an interface down to mysql-native.  This is on 64-bit linux, and I see the memory issue with both dmd and ldc.

Closing, please reopen if you still have this issue, and post an example to show the problem.

Closing, please reopen if you still have this issue, and post an example to show the problem.


[Zeppelin-1611] - Support PAM (System User) Authentication

What is this PR for?
This PR adds PAM authentication support based on the introduced Shiro security implementation. With PAM support system users have immediate access to a secured Zeppelin instance.
What type of PR is it?
Feature
Todos

[x] - Create PAM realm
[x] - Create test for PAM authentication
[x] - Test with running Zeppelin instance

What is the Jira issue?
ZEPPELIN-1611
How should this be tested?
PamRealmTest executes an automated test if the environment variables PAM_USER and PAM_PASS are set. This should be set to system username and password.
The test also includes a main function to manually execute the test. Setting the environment variables for example on MacOS for your IDE use launchctl setenv PAM_USER user and launchctl setenv PAM_PASS xxxxx, the test can then be run from your IDE.
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? Yes

Thank you for contribution!
There are few things need to be taken care here:

make sure the code adhere project styleguide - i.e whildcard imports in Java are discouraged, etc
make sure that licences for all new runtime dependencies are compatible, and were added added to ./zeppelin-distribution/src/bin_license/LICENSE
AFAIK right now new tests will not be run on TravisC infrastructure as they require some env vars to be set, but no modifications to .travis.yml. Do you think it's worth adding them to one CI profile?
In PR description

Does this needs documentation? Yes

Do you plan to provide documentation at ./docs in this PR as well?

Thanks for your feedback @bzz
I applied the changes required for 1. and 2.

Concerning Travis:
It would need to be a username and password local to the machine the test is being executed, further it might need to be user that can potentially ssh to the machine as the /etc/pam.d/sshd is being used. For now I think it would be fine to consider this as a manually test.

I'll be happy to provide the documentation. Does this have to be a new PR or can a PR be of multiple types?

Provided documentation as well.

👍  for docs in same PR.
On CI, I think that's relativly minor and if that's too complicated to configure - we can can opt out for manual test run+instruction in docs.
Double-checking that we have all Licenses for dependencies (and transitive dependencies) logged is important though.
BTW, are you sure that all those commits belong to this branch?
 @anthonycorbacho	[ZEPPELIN-1586] Add security check in NotebookRestApi  …			80c5360
 @astroshim	[ZEPPELIN-1585] Testcase for PySparkInterpreter.  …			3f03aa3
 @cloverhearts	[hotfix] does not showing notebooklist on navbar  …			990cc86

Cool!
Just to be clear the test will simply be ignored with assumeTrue so should be fine without any additional effort. How to use the test itself is documented in the test class with comments.
Concerning the licenses we should be fairly save. libpam4j mainly dependence on JNA and maven. JNA version >4 is available as Apache and actually was already introduced with selenium dependency in this project.
I rebased and pulled in a way that created a little mess here. What I could do is create a new branch with cherry-picked changes and created a new PR based on this, or? Let me know?
I think the Travis build failed because of issue with the other changes, or?

Thank you @bzz and @Leemoonsoo , I rewrote history and added the shiro.ini.template. I think we should be fine here now, or? Please let me know, if you have further remarks.
Just so you are aware, I believe this currently does not support the resolution/listing of users and groups in UI for example for notebook authorization. Usernames and groups will stay empty with this. I created ZEPPELIN-1631 as a followup. I already have an idea on how to solve this and might be able to contribute this within next weeks.

Tested and LGTM.
Merge if there's no further discussion.


How about adding warnings for json schema keywords that do not apply to the type in the current schema?

How about adding warnings for json schema keywords that do not apply to the type in the current schema?
For example if I have this schema
    FooInfo:
      description: Foo information
      type: object
      properties:
        name:
          description: Name of Foo
          type: string
        size:
          description: Size in bytes of the file
          type: string
          maximum: 100
          minimum: 25
        other:
          description: The type of file as determined by location
          type: string
      required:
        - name
        - size

FooInfo['size'] is type string and maximum and minimum are numeric constraints. The user probably meant maxLength and minLength. Warnings for non-applicable keywords in specifically typed cases like this would help.
This came up here: https://github.com/openapi-json-schema-tools/openapi-json-schema-generator/issues/170

Nice idea!

This warning also makes sense when an enum contains a value not allowed by types


Configure Bifrost using Automate config

Signed-off-by: Pappu Kumar<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
As an Automate admin, I want to configure bifrost services of Chef Server in Automate and Automate HA using chef-automate config patch file.toml

:chains: Related Resources
:+1: Definition of Done

The configuration needs to be patchable via chef-automate config patch
The default configuration needs to be set as per the Standalone Chef Server values
In case of Automate HA, if there is a different default, that needs to be set in the config.toml.erb file
The Standalone Automate needs to be deployed and tested to see if all the service configurations are in place
The Automate deployed Chef Server should be running fine
The  Automate HA needs to be deployed and tested to see if all the service configurations for Chef Server are in place
The Automate deployed Chef Server in HA should be running fine
All the changed values need to be documented

:athletic_shoe: How to Build and Test the Change
rebuild components/automate-deployment/
rebuild components/automate-cli/
rebuild components/automate-cs-oc-bifrost/

Adde the following conf to a abc.toml file

[bifrost.v1.sys.log]
    extended_perf_log = false

and patch using the following command
chef-automate config patch abc.toml
The result should look like the following image if you run the following command:
cat /hab/svc/automate-cs-oc-bifrost/config/sys.config

:white_check_mark: Checklist
All PRs must tick these:

[x] I have read the CONTRIBUTING document.
[x] All commits signed-off for the Developer Certification of Origin.

With occasional exceptions, all PRs from Progress employees must tick these:

[x] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
[x] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
[x] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
[x] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
[x] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

[x] Tests added/updated? (all new code needs new tests)
[x] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable

Working fine on automate standalone


added assert and assertFalse to make tests easier to decipher

I thought the tests were a little hard to read. Here is my attempt at a solution.

The tests now use tape, which is very easy to read.


fix: a11y issue fixes

Summary
This PR provides small accessibility fixes for components that had accessibility violations in storybook
Related Issues or PRs
Issue #2736
Issue #2916
Issue #2809
Issue #2880
How To Test
Check each component in storybook, shouldn't have any violations present.

Thanks! Are any of these also in here?


Skip migrating instances that don't have SM counterpart

A bug introduced by https://github.com/kyma-incubator/reconciler/pull/955
{"level":"INFO","time":"2022-04-06T08:13:19.050Z","message":"migrating service instance 'hb-instbind-redis-1' in namespace 'default' (smID: '0edb5280-5fa3-4974-92a3-138e6970a7f2')","correlation-id":"eb2378de-1e55-47fd-aacc-04ed8c69d360--06d03bf7-6505-40d1-a975-1045f6a8
2022/04/06 08:13:19 worker exits from a panic: runtime error: invalid memory address or nil pointer dereference
2022/04/06 08:13:19 worker exits from panic: goroutine 4084 [running]:
github.com/panjf2000/ants/v2.(*goWorker).run.func1.1()
    /go/pkg/mod/github.com/panjf2000/ants/v2@v2.4.6/worker.go:58 +0x10c
panic({0x21a1520, 0x3b643b0})
    /usr/local/go/src/runtime/panic.go:838 +0x207
github.com/kyma-incubator/reconciler/pkg/reconciler/instances/scmigration.(*migrator).migrateInstance(0xc000a586e0, {0xc0002b0300?, 0x0?})
    /go/src/github.com/kyma-incubator/reconciler/pkg/reconciler/instances/scmigration/btp_operator_migration.go:322 +0x220
github.com/kyma-incubator/reconciler/pkg/reconciler/instances/scmigration.(*migrator).migrateBTPOperator(0xc000a586e0)
    /go/src/github.com/kyma-incubator/reconciler/pkg/reconciler/instances/scmigration/btp_operator_migration.go:191 +0xc89
github.com/kyma-incubator/reconciler/pkg/reconciler/instances/scmigration.(*reconcileAction).Run(0xc0005161a0?, 0xc00004cd70)
    /go/src/github.com/kyma-incubator/reconciler/pkg/reconciler/instances/scmigration/action.go:29 +0x1ae
github.com/kyma-incubator/reconciler/pkg/reconciler/service.(*runner).reconcile(0xc0005d5e90, {0x2910e20?, 0xc0005a2b40}, 0xc000160000)

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest


Recommended python docker image? Very slow installation with 3.9-slim

deep_translator version: latest
Python version: 3.9
Operating System: docker container python:3.9-slim and python:3.9

Description
I've been trying to install this package inside a docker container but it is extremely slow as it attempts to download all soupsieve versions to find a compatible package. Example terminal output:
 => => #   Downloading soupsieve-1.7.3-py2.py3-none-any.whl (30 kB)
 => => #   Downloading soupsieve-1.7.2-py2.py3-none-any.whl (30 kB)
 => => #   Downloading soupsieve-1.7.1-py2.py3-none-any.whl (28 kB)
 => => #   Downloading soupsieve-1.7-py2.py3-none-any.whl (28 kB)

What I Did
I have tested different python images but have not found one which installs within a reasonable amount of time (<1hour). This essentially prevents the usage of this package in my containerized environment. Is there a quick fix?

I've just tried installing the module deep_translator instead of deep-translator and all went fine. What's up with the 2 different naming conventions?


Interactive sorting support for the table

Pull Request
🤨 Rationale
See #854 . This PR:

[x] Adds the click and Shift-click support on table headers for sorting
[ ] Does not include the column header menu, which will also have sorting options

👩💻 Implementation
Implementation as described in the updated sorting HLD.
🧪 Testing
Added auto tests.
Currently no table Storybook updates for this feature (let me know if you have suggestions on how/where this should be documented in Storybook)
✅ Checklist

[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.

Open question (we should probably demo to @leslieab and get her feedback): Should we make the column header text unselectable?
Currently when you interactive sort (especially when Shift-clicking) it's easy to end up with header text selected:

Open question (we should probably demo to @leslieab and get her feedback): Should we make the column header text unselectable? Currently when you interactive sort (especially when Shift-clicking) it's easy to end up with header text selected:

I'm fairly certain we should disallow text selection. It's either allow text selection, and not allow someone to click the text to change the sort (keeping the cursor as an I-beam), or the opposite (changing the cursor to be the same as we use for hovering over buttons...at least I think this makes sense over the arrow).


Breakpoint not hit sometimes - Typescript file

Issue Type: Bug
Starting with the Febrary 2018 release, occasionally a breakpoint is not being hit, which should be hit.  Additionally, I observed the following behavior - Let's say I set a single breakpoint on line 1369.  Then when the program is run, I see that this breakpoint is not hit.  Then I set a breakpoint on both lines 1352 and 1353 and again run the program.  Now, the breakpoints at lines 1352 and 1353 are hit as expected, and additionally, the breakpoint at line 1369 is hit.
VS Code version: Code 1.21.0 (9a199d77c82fcb82f39c68bb33c614af01c111ba, 2018-03-07T11:04:09.886Z)
OS version: Windows_NT ia32 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2712)

Memory (System)
15.38GB (8.43GB free)

Process Argv
C:\Program Files (x86)\Microsoft VS Code\Code.exe C:\Git\Issunc\Front End.code-workspace

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

file-templates
brp
1.2.0

vscode-great-icons
emm
2.1.27

json-tools
eri
1.0.2

vscode-angular2-emmet
jak
2.0.3

Angular2
joh
2.14.0

mssql
ms-
1.3.0

debugger-for-chrome
msj
4.1.0

gitflow
vec
1.1.2

(2 theme extensions excluded)

Reproduces only with extensions

I submitted both issues #45311 and this one (#45351).  These are different issues, and both exist.

Do you have sample code (code and launch config) that shows the problem?  We need additional information that helps us tracking this down.

I also have this problem since couple weeks in both stable and insiders. In my case it's 2 different Angular App and they both have the problem. The main issue is that when I start the Chrome debugger, the breakpoints turn grey and never get hit, however if I click on any of the grey breakpoint and add another breakpoint then they all turn red in the same file. This issue is per file, if I get the breakpoint red (by doing the trick, click once and reclick it), then the next file will still have the grey breakpoint issue. Since I have problem with 2 Angular App, I would assume it's any Angular app.

I have the same problem. I know a couple of ways to get the breakpoints hit.

when you run the debugger, just start adding/removing breakpoints until your breakpoints turn red.
Add a debugger in some line, then when the debugger is reached, click on desactivate all breackpoints two times.

@achawla5000 Are you debugging in Node or Chrome? Can you share your project or a sample that demonstrates the issue?
@ghiscoding Please open a new issue with as many details as possible. A sample project where this reproes would be very helpful
@sarvaje Will keep investigating with you in #45243

Sorry for the late response - I was busy with end-of-sprint tasks...
I am using the Debugger for Chrome extension for an Angular Typescript app.  Here is an example - Please note the breakpoint on line 1459 - In my first test I see that when I run the program, this breakpoint never gets hit.

Then I click the "Deactivate Breakpoints" toggle button in the "Breakpoints" section of the Debugger to deactivate all breakpoints (line 1459 is the only breakpoint).  Then I click the "Deactivate Breakpoints" toggle button to re-activate all breakpoints.  Then I run the program again.  Now, the breakpoint on line 1459 gets hit.
I would like to mention, also, that I observed similar issues at least 10 to 20 times with different code in an Angular Typescript app, and in my view this is a serious new problem which significantly hinders productivity.

Is the breakpoint in code that runs immediately when the page loads?

Then I run the program again

Do you mean you reload the page? Or restart debugging entirely?

@roblourens

Is the breakpoint in code that runs immediately when the page loads?

No.

Do you mean you reload the page? Or restart debugging entirely?

I do not reload the page.  I click the stop button on the Debugger tool, resulting in Chrome closing automatically.  Then I click the "Deactivate Breakpoints" toggle button twice.  Then I click the play button on the Debugger tool to restart debugging entirely.

I updated the Chrome debug extension on Friday, have you seen it with the latest version?
Can you share your project/some sample code that demonstrates the issue?
Or could you set "trace": true in the launch config, reproduce it, and upload the log here?
FWIW, deactivating/activating the breakpoints while debugging is not running should not have any effect.

I have the problem too when I use typescript

@roblourens I have version 4.2 of the Debugger for Chrome extension, and I confirmed that the issue is reproducible with this version.  Also, I confirmed that clicking the "Deactivate Breakpoints" button (toggle on/off) does allow me to hit the breakpoint successfully in the manner described in my post above (from Friday 3/9).

Can you share your project/some sample code that demonstrates the issue?

I shared sample code in my post above (from Friday 3/9) as well as the contents of my launch.json.  I'll try to create the trace log.

Seems to be even worst since yesterday, and even the stable version which I just updated doesn't work anymore either. That means I now have 0 debugging working on my side. The trick or toggling the breakpoint doesn't work anymore :'(

This is probably https://github.com/Microsoft/vscode/issues/45657#issuecomment-373556464, please try updating the Chrome extension and tell me whether that helps.

I ran into this also on my Angular/Typescript project. It is really driving me mad... :(

@roblourens  I'm using vscode v1.21.1.  After updating the Debugger for Chrome extension to 4.2.1, I tested this morning on my Angular/Typescript project, and I no longer see the issue.  Thank you!

I'm using VScode 1.21.1 and Debugger for Chrome Extension 4.2.1, but no luck for me :( Very frustrating I have to say...

@rmvanmeeuwen please open a new issue at https://github.com/microsoft/vscode-chrome-debug/issues
And please set "trace": true in the launch config, reproduce it, and upload the log there.

Hey guys, I have exactly the same issue, however in nodejs project.
I've created an extremely simple repro repository here:

clone, npm i
Set debug config to node
F5 - break in index.ts is hit, in parser.ts - never hits.

It looks like it's related to #45657
Please try repro steps from comment as well


Write developer documentation on running linters locally

one option is https://github.com/danmar/cppcheck

ClangFormat
Maybe more from https://github.com/fffaraz/awesome-cpp#static-code-analysis

Following #23, here's a short summary so I don't work on this issue at the same time:
Install

cmake-format (https://cmake-format.readthedocs.io/en/latest/installation.html)
VSCode extension for cmake-format (https://marketplace.visualstudio.com/items?itemName=cheshirekow.cmake-format)
clang-tidy (https://clang.llvm.org/extra/clang-tidy/)
VSCode extension clang-tidy (https://marketplace.visualstudio.com/items?itemName=notskm.clang-tidy)
clang-format (https://clang.llvm.org/docs/ClangFormat.html)
VSCode extension Clang-Format (https://marketplace.visualstudio.com/items?itemName=xaver.clang-format)

#59 has the commands.

PR was merged.


Malaysia Astro EPG last updated 26 August 2022

Describe your issue
No update eversince. 139 number of channels affected
https://iptv-org.github.io/epg/guides/my/astro.com.my.epg.xml.gz

Fixed via https://github.com/iptv-org/epg/pull/1045


There is any way to find the connection pool size of my application?

There is any way to find the connection pool size of my application?
I was testing an integration with confluent cloud and with my tests I was just creating two instances connected on my kafka cluster.
There was a single producer and a single consumer. For my surprise, I've got 7 active connections stablished for a single instance of my app.
I would like to have a better understand about how connection pool works and check how can I reduce this size.

Negative,
I didn't find informations about this issue.
The problem persists.

Thanks for the prompt reply 🙏🏻


docs/userguide/ext_modules.rst: New

Summary of changes

Add documentation on build_ext as requested by @jaraco in https://github.com/python/cpython/issues/90539#issuecomment-1153274032
Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in changelog.d/.
(See documentation for details)

I just added some changes in the spirit of improving the docs:

I tried to provide a very simple example, just to show to the beginners how they can start adding extensions, and a few remarks.
I also did some editorial/cosmetic changes (and tried to make sphinx more satisfied in terms of warnings).

I hope you don't mind the updates...
Please let me know if you would like to change anything, otherwise I plan to merge the PR very soon.

@Mergifyio rebase

I added some changes in the spirit of improving the docs

Thanks very much, looking great.


ValidateScript does not work for class properties

Steps to reproduce
# not working
class TestClass {
    [ValidateScript({ $_ -le 10 })]
    [Int]$ClassVar
}

Output:
ParserError:
Line |
   2 |      [ValidateScript({ $_ -le 10 })]
     |                      ~~~~~~~~~~~~~
     | At line:2 char:21 +     [ValidateScript({ $_ -le 10 })] +                     ~~~~~~~~~~~~~
Attribute argument must be a
     | constant.

# working
class TestClass {
    [ValidateRange(0,10)]
    [Int]$ClassVar
}
$cl = [TestClass]::new()
$cl.ClassVar = 10
$cl.ClassVar

Output:
10

Expected behavior
It should be possible to use ValidateScript in classes the same way as for function parameters.
If there is a technical limitation why the behavior is expected then it should be documented somewhere - I could not find anything in documentation about this.
Actual behavior
All validations except ValidateScript work as expected in classes.
Environment data

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Name                           Value
----                           -----
PSVersion                      5.1.18362.752
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.752
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

perhaps class is by design static scoping  and scriptblock with validateScript  is interpreted dynamically...maybe you can create your own attribute with class [System.Management.Automation.ValidateArgumentsAttribute]

In this specific case you could use [ValidateRange(0, 10)] or [ValidateRange([int]::MinValue, 10)] depending on your needs.
But yeah, classes are handled at parse time, so attributes have some extra restrictions. I'm not sure there's a way around that? Might be, but I would guess there probably isn't much that's really doable there.

@vexx32 The simple example is just that - a simple example. My need for ValidateScript is obviously much more complex.
Could you point me to the documentation where this is listed as expected behavior since you are not surprised about this behavior?
I could not find many relevant matches doing a web search about validatescript and class but several did have other people wondering about ValidateScript and this problem. So it would not seem to be very well documented.
It is disappointing. If class methods are not static like this then I might be able to figure out an ugly workaround if I have to.

I'm mainly not surprised because I've seen it before, both in PS and (more importantly) in C# itself. In compiled code you can't have non-constant/non-primitive values for attributes. It's actually part of the attribute language specification which states:

The types of positional and named parameters for an attribute class are limited to the attribute parameter types, which are:

One of the following types: bool, byte, char, double, float, int, long, sbyte, short, string, uint, ulong, ushort.
The type object.
The type System.Type.
An enum type, provided it has public accessibility and the types in which it is nested (if any) also have public accessibility (Attribute specification).
Single-dimensional arrays of the above types.

A constructor argument or public field which does not have one of these types, cannot be used as a positional or named parameter in an attribute specification.

I think there are similar underlying requirements for dynamically compiled assemblies, and .NET in the more general case as well. I'm pretty sure the only reason [ValidateScript()] is even a thing is because PowerShell script can do more or less whatever it want, as long as it's willing to handle things on its own. [ValidateScript()] is possible in PS probably because PS isn't directly compiling functions, it's doing it piecemeal and can handle attributes however differently it wants, more or less.
Classes in PS are a different story entirely, and have to be compiled as-is at parse time, meaning there's no deferred compilation or special handling of attributes for the most part, they just behave very much like C# / .NET attributes.

/cc @rjmholt

Yeah @vexx32 has hit it on the head. It looks like we should handle this more gracefully.
I anticipate that this is "expected if you think about the implementation and extrapolate", but has not been anticipated by the existing implementation.
Currently classes are compiled into dynamic .NET assemblies, and won't tolerate attributes that do something that .NET doesn't like, namely use values that can't be embedded into .NET static metadata.
I don't see ValidateScript ever working as an attribute for classes, but I also don't see that as a big issue since classes don't need to do parameter binding. Instead the validation can be done in the method body (similar to how it would be done for a C# method).
I think we should:

Emit a parse-time semantic error when this attribute is used on a class method
Update documentation to explicitly document how attributes work with classes

@rjmholt Are there any other Validation attributes that don't work with classes?
I am guessing that ValidateDrive and ValidateUserDrive might be a problem. Can you confirm?

Those should work, I think the main issue with ValidateScript is that it has to take a non-constant value (a scriptblock) to do its job.
At least, "work" in the sense that the attribute can be applied to the class property. Whether the PS engine will recognise them on a class member or not... is another matter entirely. Not sure there, tbh.

Interesting discussion. I would still like to see this limitation documented since my original research turned up several other similar questions.
After the explanation above it is obvious why such a limitation exists but many users out there, like me, do not have as deep understanding of PowerShell as you do.
My original planned use case for this was doing data binding or simple manual storage&validation of data from a GUI. It is my first attempt at doing more advanced GUI things so it may have been a bad/impossible idea in any case even if the ValidateScript would have worked.

@rjmholt Are there any other Validation attributes that don't work with classes?
I am guessing that ValidateDrive and ValidateUserDrive might be a problem. Can you confirm?

Seem to work just fine.

I just ran across this when trying to disallow [TimeSpan] properties. Neither of these work:
class Repro {
	[ValidateRange([TimeSpan]::Zero, [TimeSpan]::MaxValue)]
	[TimeSpan]$SomeDuration
}

class Repro {
	[ValidateScript($_ -gt [TimeSpan]::Zero)]
	[TimeSpan]$SomeDuration
}

which is kind of annoying. Both error with Attribute argument must be a constant.
Would it be possible to extend ValidateRange support to TimeSpan as well?

@jantari The term constant in this context means it can be embedded as a raw value in a binary file. That is only supported by the CLR for primitives and a handful of special cased types (like Type). Structs like TimeSpan cannot be as their raw value is an implementation detail subject to change, even if they happen to be a thin wrapper around a primitive like TimeSpan is.
That said, naturally PowerShell somewhat makes its own rules in this area, and might be able to fake it outside of classes. Inside classes would be a lot harder though since at the end of the day it needs to be encoded into metadata (even if only in memory). I'd recommend opening a different issue for the subject of allowing [TimeSpan]::Zero|MaxValue in ValidateRange


WIP MTV-1315: [DOC] Add link to Operator Lifecycle

JIRA

MTV-1315 - Add link to Operator Lifecycle
I have also brought across the table for MTV releases. I can also include for MTV 2.5 and 2.4, if you think it is worthwhile.

PREVIEW

Operator Lifecycle

@ahadas - I have included the table for the MTV operator life cycle in the documentation. I am happy to push for 2.5 & 2.4 (updated to remove later versions.
Thanks


feat: add mistral model

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


source_dir is str and UTF-8 already, python2, python3

make it work as well with python3 only, @gottesmm

Thanks @soloturn! I am going to kick off a test run.

@swift-ci test

@soloturn ci.swift.org is down. When it is back, I'll redo the test.

@swift-ci  test

@swift-ci please test

Testing installation via building a toolchain at https://github.com/apple/swift/pull/34436


RDK-35333: Enable/Disable Input Events

https://jenkins.code.rdkcentral.com/job/github-triggered/14222/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/47946/ started.

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/9071/ started

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Mateusz Hobgarski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/19681/ started.

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/111877/

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/111878/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/111879/

https://jenkins.code.rdkcentral.com/job/github-triggered/14340/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/48241/ started.

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/9174/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/19892/ started.

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/112491/

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/112492/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/112493/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [FAILURE]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
Video Streaming using rmfApp [SUCCESS]
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
rdkshell_log.txt
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/33484/

https://jenkins.code.rdkcentral.com/job/github-triggered/14658/ started

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/9467/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/49093/ started.

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/20482/ started.

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/114022/

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/114021/

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/114023/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/33846/

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/9517/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/14716/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/49167/ started.

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/20535/ started.

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/114161/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/114162/

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/114163/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/33883/


Diferent Hash on same Texture

I'm redistributing Priconne's translation with texture
and my config is
TextureHashGenerationStrategy=FromImageData
I can't use the name because every time the game updates it will glitch the picture.
it looks like "some" have different hash values like the example in the picture, even though the resolution and size are the same, can anyone explain why this is happening?

because that's a different file and that's how the hash works, you put the modified file in, you get the something totally different out from the algorithm. for pictures, even the width/height looks the same, doesn't mean they are identical, you can try to open any picture via a hex editor and compare the before/after change to see the table change.

is there a video tutorial on how to make translation on texture?


Multi-GPU training vs Distributed training

Hi,
I have a question about Multi-GPU vs Distributed training, probably unrelated to BERT itself.
I have a 4-GPU server, and was trying to run run_classifier.py in two ways:
(a) run single-node distributed training with 4 processes and minibatch of 32 each
(b) run Multi-GPU training with minibatch of 128, and all other hyperparams keep the same
Intuitively I believe a and b should yield the closed accuracy and training times. Below please find my observations:

(a) runs ~20% faster than (b).
(b) yields a better final evaluation accuracy of ~4% than (a)

The first looks like reasonable since I guess the loss.mean() is done by CPU which may be slower than using NCCL directly?  However, I don't quite understand the second observation. Can you please give any hint or reference about the possible cause?
Thanks!

Hi,
Thanks for the feedback, it's always interesting to compare the various possible ways to train the model indeed.
The most likely cause for (2) is that MRPC is a small dataset and the model shows a high variance in the results depending on the initialization of the weights for example (see the original BERT repo on that also). The distributed and multi-gpu setups probably do not use the random generators in the exact same order which lead to different initializations.
You can have an intuition of that by training with different seeds, you will see there is easily a 10% variation in the final accuracy...
If you can do that, a better way to compare the results would thus be to take something like 10 different seeds for each training condition and compare the mean and standard deviation of the results.


[DOC] Indentation fix

Description of changes
Summarize the changes made by this PR.

Indentation fix for https://docs.trychroma.com/guides

Test plan

[X] Guides runnable locally

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
No

@uzyn other changes like trailing commas and removal of inline comments we probably dont want. let me know if you are willing to refactor and ill re-open this! thanks!


Placement of text and icons with reference to one another and OS buttons

The alignment of every element should be checked and reordered as need be.

All the keys screens Alignments has been fixed - Note that if the Key main screen alignment is fixed, The settings screen Header alignment should be fixed Simultaneously otherwise it would look weird
Fig file: (Section is placed next to Manage Keys section - Under section name "Key & Setting Screens")
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=2407-5457&t=VSd47RZBUA8y7PcM-1
Screenshot:

Verified this issue on keeper app v 1.2.17(402)


Crash when moving Basic Filters while editing

#### What happens:
I was editing 9 Basic Filters (the editing window was open), and I moved the Basic Filters from my hotbar to my inventory while the filter editing window was still open. The server immediately crashed. After the server rebooted, the filters had disappeared from my inventory.
#### What you expected to happen:
What I expected to happen was either the hotbar to be locked, preventing item movement, or the editing window to automatically close when moving the filters.
#### Steps to reproduce:

Open the filter editing window for several Basic Filters (I had 9 filters).
While the filter editing window is still open, move the Basic Filters from your hotbar to your inventory.
Observe that the server crashes immediately after moving the filters.

#### Affected Versions (Do not use "latest"):

EnderIO: 7.0.8
Minecraft: 1.21.1
NeoForge: 21.1.61
Optifine? No
Server

Your most recent log file where the issue was present:
[pastebin/gist/etc link here]

Nice catch, could you please open this on the correct repository (this repo is for MC 1.5-1.12.2) so we can track this? Thanks! Team-EnderIO/EnderIO


outpaint   !fix 1.png --out_direction top 64   error

Traceback (most recent call last):
File "/Users/jc/InvokeAI/scripts/invoke.py", line 516, in do_postprocess
gen.apply_postprocessor(
File "/Users/jc/InvokeAI/ldm/generate.py", line 517, in apply_postprocessor
seed   = args.seed
AttributeError: 'NoneType' object has no attribute 'seed'

Sorry you've found a bug. Could you fill out the bug report template so I know what branch you experienced this on, the platform, and so forth?

I'm pretty sure that outcropping will not work as expected if the original prompt and seed cannot be recovered, because there won't be any guidance to fill in the missing parts. I will just end up generating an error message and refusing to proceed.

@lstein I think you may be misunderstanding. The greater issue is that any !fix command tries to get a seed. Maybe it makes sense to bail out with outcropping if no seed is available.
But Gfpgan, codeformer, esrgan all break if there is no seed in metadata or a number in the file name. They should not.

I addressed these issues in #1207 and #1204.


Cross-post "A Rusty Bootstrapper" from IPFS blog

@MarcoPolo and @marten-seemann: as discussed on Slack, here is the cross-post. Looks good to you?
//CC @p-shahi since you have shepherded most of the posts on this blog thus far.

By clicking on the "Details" button, you can see a live preview.

Maybe put the link below the summary: "Click here to go to the full blog post" or something like that.
Other than that, lgtm.

@mxinden My preference would be to follow the model of this PR https://github.com/libp2p/blog/pull/95 for cross posts like these. Are you ok if we close this in favor of #95 ?

In favor of closing here! Thank you @p-shahi.


Weird Interaction with $location.hash() and Chrome/Firefox

When I enter the following into Chrome
http://www.example.com/enter/contest#top

it turns into
http://www.example.com/enter/contest/#top

This also happens when just running $location.hash("top") without any hashes in the URL.
This causes $location.hash() to be "". I need this check because if I do $location.hash("top") in any repeated function I get #top#top. I have a simple "is it already 'top' if check but since chrome messes with the url, it's always blank.
$location.hash("top");
$anchorScroll();

makes the url fwiw
http://www.example.com/enter/contest/#top#top

Any ideas of a work around?

Hi,
what version of angular are you using? And are you using html5Mode?

I'm using 1.3.6
Not using html5 mode.

html5Mode is feature given by Angularjs.Have a look to HTML5Mode link

Do I need to use html5mode() to use anchors?

No, it is disable by default angular append /#/ after domain url

We've also encounterd this issue, with the latest 1.3.6
before when the hash was working was 1.3.4
have you changed the default from "##" to "#/" ?
anyhow the latest update as a small revision update, did something major.

@petebacondarwin this sounds like it is related to the changes we made for the hash-handling,
@bobber205 are you using any kind of routing at all, or are you using the hash simply for scrolling? Also, could you post a reproduction?

Simply for scrolling. We're using anchorScroll() afterwards (made sure that
wasn't the cause and it isn't)
Will post repo in a bit
On Wed, Jan 14, 2015 at 12:43 PM, Narretz<EMAIL_ADDRESS>wrote:

@petebacondarwin https://github.com/petebacondarwin this sounds like it
is related to the changes we made for the hash-handling,
@bobber205 https://github.com/bobber205 are you using any kind of
routing at all, or are you using the hash simply for scrolling? Also, could
you post a reproduction?
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/10659#issuecomment-69987543
.

--
Buoyancy and displacement float my boat.

Not able to produce a example on plunker because it keeps messing with the url/url is not handled in standard way. Without setting up my own hosting, do you guys know of another place I could demo this?

Code so far:

    THIS IS THE TOP

    BOTTOM

app.controller('MainCtrl', function($scope, $location, $anchorScroll, $timeout) {

  $timeout(function () {
    console.log("scrolling!");
      $location.hash("bottom");
      debugger;
     $anchorScroll();
  },1000);
});

So the simple workaround for this is to actually provide a hashPrefix. For some reason at the moment if you don't provide a hashPrefix then it doesn't ignore the functionality - instead it assumes that everything after a hash is a "path" rather than a real hash.
See this example:
<!DOCTYPE html>

  <title></title>

    THIS IS THE TOP

    BOTTOM

We ought not to have to do this and it appears that we didn't previously. So this is a regression that needs fixing. @Narretz do you have any cycles to take a look?

The above workaround does work, just confirmed locally in Chrome latest stable.
However, if I put do hashPrefix("#") and then use .hash("#") the app basically implodes.
I also just noticed that without any use of hasPrefix (basically my current code base with no changes) I'm getting an infinite digest error OCCASIONALLY.
 Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.3.6/$rootScope/infdig?p0=10&p1=%5B%5D
    at http://mywebsite/app/assets/js/vendor/angularjs/angular.js:63:12
    at Scope.$digest (http://mywebsite/app/assets/js/vendor/angularjs/angular.js:14232:19)
    at Scope.$apply (http://mywebsite/app/assets/js/vendor/angularjs/angular.js:14456:24)
    at done (http://mywebsite/app/assets/js/vendor/angularjs/angular.js:9614:47)
    at completeRequest (http://mywebsite/app/assets/js/vendor/angularjs/angular.js:9804:7)
    at XMLHttpRequest.requestLoaded (http://mywebsite/app/assets/js/vendor/angularjs/angular.js:9745:9)
angular.js:63 Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []

Seems related as when I put in hashPrefix("#") I got this error and many others, like
Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [[{"msg":"fn: autoScrollWatch","newVal":"/top","oldVal":""}],[{"msg":"fn: autoScrollWatch","newVal":"","oldVal":"/top"}],[{"msg":"fn: autoScrollWatch","newVal":"/top","oldVal":""}],[{"msg":"fn: autoScrollWatch","newVal":"","oldVal":"/top"}],[{"msg":"fn: autoScrollWatch","newVal":"/top","oldVal":""}]]

It's not recommended to use # as the hashPrefix. It's usually something like !.
@petebacondarwin I can take a look next week

@Narretz good to know, thanks! :dancer: sticking with ! for now.
Is /register#!#top what I can expect even under ideal conditions?

I think this is actually a duplicate of #8675


new iwg-vpn stable version

@gh-god
Any reason to close PR again or some usage error like deleting a fork / forced sync ...?

OK, superseeded by #2335


Header on home page is different then other pages

Describe the bug
The header on the home page appears different from the headers on other pages of the website, leading to a lack of consistency in design.
To Reproduce
Steps to reproduce the behavior:

Go to the home page (/home or the main landing page).
Observe the header section (check for differences in layout, styling, or content).
Navigate to another page .
Compare the headers on the home page and the other pages.

Expected behavior
The header on the home page should match the headers on all other pages in terms of design, layout, and functionality.
Screenshots
Home:

other:

Additional context
The issue may be related to CSS styling or HTML structure differences between the home page and other pages.

@shivam8112005 just find all navbar related issues once and then make a PR , i believe you are working for the 3rd time on navbar ?

find more issues if you want to , tbh , you should hv just fixed this in the last PR , i would hv upgraded the level to justify your work , but go ahead and let me know if there are more issues , will give level to issue accordingly

i have done first time only but i dont know how it gets changed again and again

even my last pr has the normal navbar

cool , lmk if there are more issues with navbar that you wish to work on , will assign level then

i think responsivness and hamburger menu is not working except home page

make sure you fix the hamburger menu across all screen sizes

yeaa ohk

@shivam8112005
I am working on this .

@shivam8112005
You go along this issue , I am dropping this .

hover of navigation bar is not interactive :

and mobile responsive not supported and change with interactive bar:

then, i am gssoc contributor to make change to make more interactive navigation bar.
@shivam8112005 ,Could you please assign this navigation  design enhancement task to me and label it for contribution? I’m excited to start working on it. Thank you!


Added support for en-GB locale

Added support for en-GB as per the other local files.

@rhyso Please help add the test file as well.

@rhyso Please help add the test file as well.

No problem. Test files added

Thank you!


firebase-admin illegal invocation error onSnapshot event

Hi I am Getting an Illegal invocation error onSnapshot event Any help?
error block I am getting the error: Encountered errorTypeError: Illegal invocation. Write operation is working perfectly!
Relevant Code:
const { Console } = require('console');
const admin = require('firebase-admin');
const functions = require('firebase-functions');
const path = require('path');
const serviceAccount = require('./serviceAccountKey.json');
const app=admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: "https://xxxxxx.firebaseio.com"
});
const db = admin.firestore();
db.settings({
timestampsInSnapshots: true
});
db.collection("connected_device").doc("CDEA7846-68CF-4C7E-8FD9-
846AFD258181")
.onSnapshot((doc) => {
console.log("Current data: ", doc.data());
}, err => {
console.log('Encountered error'+err);
//Encountered errorTypeError Illegal invocation
});
// TODO(you): code here to reproduce the problem

We need more information. Do you have a stacktrace or a repro that we can use to consistently reproduce this error?

@sandeepks1 losing context of a function is a common reason for an illegal invocation error to occur. My guess is that the console.log function tries to refer to this, which might not have bound properly in your example. You can find a similar case here.
If you think this is an issue in the SDK, please provide a minimal repro and logs as requested above. Thanks!

Closing this for inactivity. We can reopen later if you still face this issue.


resetForm not handle the success option

when i use success option,then use the resetForm method, success optiion not be handled
eg:
$("#captchaform").validate({
		rules: {
			captcha: {
				required: true,
				remote: "process.php"
			}
		},
		messages: {
			captcha: "Correct captcha is required. Click the captcha to generate a new one"
		},
		submitHandler: function() {
			alert("Correct captcha!");
		},
		success: function(label) {
			label.addClass("valid").text("Valid captcha!")
		},
		onkeyup: false
	});

I am not sure what you mean. do you expect the success-callback beeing invoked on form-reset?

the success method changed the label style,then call resetForm method,the label style not reset

In case you do markup-changes in the success handler, you have to do the inverse also on your own. the plugin itself does not keep track of your markup changes.
I guess highlight/unhighlight is what you are after.
[1] https://jqueryvalidation.org/validate/#highlight
I will close this issue now, as it is a question, not a bug.
feel free to ask furhter questions anyway.


DCAP Attestation Error: SGX_QL_TCBINFO_UNSUPPORTED_FORMAT

Since the recent update of Intel attestation service protocol, DCAP 1.3's QVE is no longer compatible with the new protocol. Specifically, a new TCB status (SWHardeningNeeded) is introduced, which QVE will reject it and give an SGX_QL_TCBINFO_UNSUPPORTED_FORMAT error. DCAP 1.5 has fixed this issue [1]. Currently, DCAP is not usable. We are working to upgrade the Teaclave SGX SDK to support Intel SGX SDK 2.9.  Thanks.

[1] https://github.com/intel/SGXDataCenterAttestationPrimitives/commit/ab8d31d72f842adb4b8a49eb3639f2e9a789d13b#diff-b472c6347c94a4cb91391f5cd79b5015

Fixed by #256 and #258.