How can i manually set the alignment?

The auto alignment is very nice however it doesn't make sense, if the text is on the left the tooltip pops up in the middle, if you add a view left to the text to force the tooltip to be on the left, the edge of the screen covers the tooltip.

we need a possible way to force the tooltip to be on the left, i.e only 2 positions are allowed to change, up and down with the arrow pointing exactly to the start of the view.
is this possible somehow, manual alignment?

@n-for-all can you post your code? I think what you need is to change the inView. Something like
[tooltip presentFromView:self.emailForm
                           inView:self.emailFormContainer];

See the second gif in the project readme and notice how the tooltip always stays visible within the boundaries.

yes, it works if you have a width on the element you are displaying the tooltip for, however to force the tooltip to display on the left, i created an empty label of width 1px before the input exactly, instead of adjusting and the arrow moving to the left or the right like the gif, the whole tooltip moved outside the screen.
the code is basically simple, an input, a 1px label before the input.
[tooltip presentFromView:self.dummyLabel inView:self.view withMargin:10 animated:YES];
i tried all the codes in the readme, all works the same.

Why don't you have a width available to you? Not sure I understand the usefulness of the 1px experiment.
I sample project with a minimal reproducing bug would be helpful. We've used tooltips extensively in our app with millions of users in production at Calm but never seen an issue like this, so Im confident there's a way to avoid it with a simple change

You can also put breakpoints inside SexyTooltip.m's code that determines the positioning of the tooltip and see what cas it's getting into.
I know if the size of the inView is too small to fit the tooltip the behavior is undetermined. What is the frame of self.view when you present the tooltip?

Let you know what? I suggest the breakpoints method. I cannot repro. If that doesnt illuminate the issue, please submit a zip file of an Xcode project that reproduces the issue

Oh Ok I missed the first pic. It looks like the height of bounds is too small to fit the tooltip vertically. If the bounds arent >= the size of the tooltip, the behavior is undeterministic (it cannot find a place to fit the tooltip when it doesnt fit)
Try an inView that is the size of the UIWindow (you could even use the UIWindow itself)

Note that NSLog indicating that it couldnt fit.
Im gonna close this out.

I am not sure i am following you here, whether the height or the width is smaller or bigger, the fit should be based on the screen and there is always a place to fit, unless the view is full screen.
plus why are you following the height and width of the view, why not only the position of the view and display the tooltip based on that position and the max amount of space relative to the screen.

When you present the tooltip you're specifying the fromView and inView. The fromView is the one the tooltip will always be pointing at, regardless of how thatview moves (like in the README gif). The inView though is the container view that the tooltip stays inside of and never moves outside of. So it by definition must be bigger than the tooltip itself.
Just try passing the UIWindow as inView and see what happens


Optimize transaction space

Please describe the problem that your request should resolve.
the view feels dense
state-channels/ch_2VfzXmCRZepB3ichPf3WTt2uf8zMqsyY3cZWg8k1vt3xcu8L8V

Describe the solution you'd like
make it less dense probably round the pruce
Is it already possible to achieve the same outcome in any other way? If so, how?

Additional context

solved directly in the PR


I tried running a large job using the Cloudknot example notebook, but each individual Cloudknot ec2 instance kept getting a memory error.
It seems that despite the AMI having more than enough space (512GB), the ec2 instances run out of space. I don't know why the behavior suddenly changed. It seems to have worked when I used the UW eScience AWS account, but no longer works when we switched to our own lab account. I think this is an error with Cloudknot and not with diff_classifier.
I made a temporary fix by only submitting small jobs-- individual tracking jobs of small videos. It works for now, but the only functionality would be nice if it can work again.

I haven't found a solid solution yet, but the smaller jobs seems to work better for parallelized processes anyway. I have successfully written a workflow that breaks my one large job into 3 separate jobs that I can run in series, with each step run on or off Cloudknot depending on the need.
I will link to a Cloudknot issue that talks about this same problem here

Thanks for the update on this!


Fail to use "create a global index to the clipboard" and "write breadcrumbs to current file"

Hello,
I try to use "create a global index to the clipboard" and "write breadcrumbs to current file" but fail. Below are the detailed error logs.
I have no idea why these errors happen...
Thank you.
create a global index to the clipboard

write breadcrumbs to current file

Here is my Hierarchy setting.

@vizance thanks for the issue report!

For the Create Index function, where are you running it from? I think that error happens when you aren't focused on a markdown note (you can't be focused on the graph view, for example).
You have to have the MetaEdit plugin enabled for that feature to work. I should add a notice for that. Thanks for checking :)

@SkepticMystic thanks for your response.
Below are my error logs.

For the Create Index function, where are you running it from? I think that error happens when you aren't focused on a markdown note (you can't be focused on the graph view, for example).

I focus on a markdown note and run the command agin but still fail. Below is the error log.

You have to have the MetaEdit plugin enabled for that feature to work.

I install the MetaEdit plugin and run write breadcrumbs to current file again but fail. Below is the error log.

Both of those errors come from currGraphs being undefined. Which usually means you just need to Refresh Index and try again.
Can you let me know if that works?

Hi @SkepticMystic
I've refreshed index and try again, but found there is no reaction or error log when I use write breadcrumbs to current file  and Copy a Global Index to the clipboard now.
I just recorded a gif.

Should I open Super Debug Mode ?
note : I've updated to v.0.10.61

@vizance can you message me on Discord. It'll be easier to work from there. My handle is @SkepticMystic there too :)

hi @SkepticMystic
Just send a DM to you on Discord : )

Gonna close this out, fixed it over Discord.
Thank you for the bug report :)


Feature/cdf transfering

Soil Moisture Bias Correction in Land Data Assimilation Using a Geolocation Independent Cumulative Distribution Function
SM Data assimilation needs unbiased observations.
Standard method: CDF matching for each grid cell
Issue: long historical soil moisture data, domain specific, forcing specific, resolution specific
New possible strategy: take advantage of other ancillary data such as precipitation data which is directly related to soil moisture.
Method: stratified CDFs (both observation and LSM) based on precipitation climatology, and then performed the bias removal using CDF matching technique.
Advantages:
-Scale the soil moisture based on precipitation regimes using a look-up table, and possibly transfer the CDFs between different domains.
-Initiate a regional SM DA simulation using an operational global restart file independent of the map projection and resolution of the global restart file.
Resolves #1331
Testcase
LDT
/discover/nobackup/projects/usaf_lis/mnavari/nrl/conus_europe/nlads_conus/DA_proc_LSM/
config file:
ldt.config.p.climo.15bins
Output
LDTOUT.strat.p.climo.15bins
/discover/nobackup/projects/usaf_lis/mnavari/nrl/conus_europe/nlads_conus/DA_proc_SMAP
config file :
ldt.config.p.climo.15bins
Output:
LDTOUT.strat.p.climo.15bins
LIS
Test case 1:
/discover/nobackup/projects/usaf_lis/mnavari/nrl/conus_europe/nlads_conus/sim
config file:
lis.config.da.strat.p.climo.15bins
Output:
output.da.p.climo.15bins
Test case 2:
/discover/nobackup/projects/usaf_lis/mnavari/nrl/conus_europe/merra2_eu/sim
config file:
lis.config.da.cdf.transferd.different.forcing
Output:
output.da.cdf.transfer.diff.forcing

Hi @LIS-navari.  Thank you for this PR and testcases.
Here are my updates:

I was able replicate the output of your LDT tests.
I have queued your LIS tests. I will update when they complete.
I was able to compile your updates with the intel compiler (both LDT and LIS).
I was not able to compile your updates with the gnu compiler (neither LDT nor LIS).

Therefore, the next step to merge this PR is to resolve the issues raised by the gnu compiler.  I have attached screenshots of my errors below:
LDT

It appears you used some pre-compiler macros that are not supported by gnu compiler.  Since these are not located anywhere else in LISF, these should probably be removed (I am noticing this "#IF" and "#ENDIF" syntax in many of the files you have edited.  Try switching this to a lowercase "#if" and "#endif" and see if that helps.)
A closer look needs to be taken at the array LDT_rc%stratification_data. I am not exactly sure what the error is here but there appears to be a mistake in how the array is either declared or indexed.

LIS

Again, I am noticing an issue with the pre-compiler macro "#IF" and #ENDIF". Try lowercase.
I think xrange_file is declared as 4 dimensional but is referenced on line 1921 as 3 dimensional.
There is some issue with the way some variables are declared (eg. kk, nbins).

Hi @cmclaug2
I think solving the issue with the pre-compiler macro "#IF" and #ENDIF" will solve the other issues.
Because the gun compiler ignores the upper case #IF and #ENDIF which is a way to comment out part of the code.

@LIS-navari. After your latest commit, I was able to recompile your code without error.  I am still waiting for the LIS runs to begin.  I will update when they are finished.

@LIS-navari
I ran your LIS testcases using debug just to get a look at the output.
The results show that I started to replicate your output for the merra2_eu test.   However, I am noticing differences in output for the nldas test.  I am looking into this and noticing that for the merra2_eu test you run with a different executable than the nldas test.  (LIS_lite_cdfTrans for merra2_eu vs. LIS_lite for nldas).
Is there a reason for this?  It might explain the differences I am noticing.

@LIS-navari
Thank you for this clarification.  It sounds like the LIS nldas testcase is not needed for our purposes since it is exercising that your updates work with (what will soon be) old code.
One question about your merra2_eu testcase:
This is very computationally expensive and the full 18-month testcase will take a while in the queue each time we run the testcase suite.  Can the full functionality of the new CDF format be expressed in a shorter time frame than you have in the current merra2_eu test? i.e could we change this 18-month test to a 2-month test and still prove the new CDF format is being read properly?
Thanks, Mahdi.

Hi @cmclaug2
Yes, you can run the DA test case for a couple of months and compare your results with mine.
Test case 2:
/discover/nobackup/projects/usaf_lis/mnavari/nrl/conus_europe/merra2_eu/sim
config file:
lis.config.da.cdf.transferd.different.forcing
Output:
output.da.cdf.transfer.diff.forcing

@LIS-navari
Thank you.   I have been able to replicate 2 months of your output for the merra2_eu testcase.  I now confirm your code compiles and testcases run without error.
Before accepting, I have two notes:

I notice that in your testcase you have commented out your new lis.config entry Number of bins in the soil moisture cdf: Have you tested this new functionality yourself and confirmed that it works?
I have performed a code review and have not noticed any red flags.  However, I would like to ask @emkemp or @jvgeiger to take a second look and confirm this is ready to be merged.

Hi @cmclaug2
We do not need this config entry.
Number of bins in the soil moisture cdf:

Hi @LIS-navari
I dusted off this pull request, and I found a serious bug in read_Precip_climo.F90.  If the path to the precip climo file is wrong, the subroutine will still try to copy data from the precip_climo array, which in this case will be unallocated.  The error handling needs to improve, otherwise LDT will just crash.

Hi @emkemp
I have updated the code. Please let me know if I need to further modify the code.

Hi @emkemp
I have updated the code. Please let me know if I need to further modify the code.

@emkemp @LIS-navari,
After Eric's comments and Mahdi's code updates I confirm:

This PR compiles with intel and gnu compilers with strict checks
I can replicate both LDT tests
I can replicate the LIS merra2 test
I cannot replicate the nldas test using code compiled from the Main branch as of 8/30/2023.  (Though I think this is okay. I have not tracked down why, but it makes sense that there may have been code updates since Madhi ran his test in 2022 that change the output.)  Sanity check - I was able to replicate Mahdi's output using his 2022 compiled version of LIS from the Main branch.
I confirm that Mahdi's bug fix in read_Precip_climo.F90 allows LIS to fail informatively if the file path is wrong.

I tested this code with the Intel compilers (w/ and w/o debugging), and exactly reproduced results.
I then tested with the GNU compilers.  I consider the LIS results to be successful (output from both compilers is very, very similar, with only a handful of grid points with differences > 0.1% in Evap_tavg, Qs_tavg, SoilMoist_tavg, SoilMoist_inst, and these were with very small values of the respective variables).
I cannot run LDT with GNU Fortran -- but, this is due to a dimension error in reading monthly albedo data, in code untouched by these CDF changes.  (There are also compile time problems found with the GLASSlai and NASA_AMSRE_sm readers when I compile with debugging.  Again, unrelated to the CDF code changes.)  I don't think it is fair to penalize this pull request for these problems, but instead we should open separate issue tickets to resolve.
@jvgeiger Any objections to me accepting this pull request?

Hold on, this LDT runtime problem with gfortran may be due to a bad ldt.config setting.  Let me investigate further.

Okay, I tracked the LDT runtime error to setting the Albedo spatial transform to "none".  When I change it to a more appropriate "bilinear" the tests run.  And I get identical results compared to the Intel runs.
I'm satisfied with this code.  I will meet with @jvgeiger on Thursday to discuss handing over the test cases before merging into master.

I (finally) migrated the test cases to the appropriate directory.  So, I will now approve the pull request. Huzzah!


Add bastion and secretsmanager modules with CI and Terragrunt support

This will introduce the bastion module with its dependency secretsmanager module along with the required Terragrunt configs. Also included the CI file update for validation.

LGTM


400 Client Error: Invalid value for provides

Describe the bug
Attempting to upload an updated version of an existing python package results in a HTTPError 400 "Invalid value for provides" response.
A condensed example below.
# Fail
setup(
    name='example',
    provides=['test.plugins']
)

# Success
setup(
    name='example',
    provides=['test_plugins']
)

Expected behavior
The ability to upload a revision to an existing package after bumping the version number in the setup.py file.
To Reproduce
# Bump version in setup.py file.
$ python setup.py build sdist
$ twine upload -r testpypi dist/*

My Platform
python 2.7.15
twine  1.13.0

Additional context

The last release of my package was in 2016 and requirements for the provides kwarg could have changed. If that's the case, this can be closed & I'll update my setup.py.
Pypi release history of the package I noticed the issue on.

Thanks for the report! I think this is probably a bug. The biggest change between the last release of your package and today is that we completely rewrote the codebase behind PyPI.
Based on my reading of PEP 314, a Provides field such as xml.utils should be valid, but we're definitely preventing such a field from being uploaded:
https://github.com/pypa/warehouse/blob/774e9021171c6ec6572ae6bc0430026721a18039/warehouse/forklift/legacy.py#L227-L228
I went ahead and created #5626 to fix this.
Also, it's probably worth mentioning that this field is deprecated (but not invalid) as of PEP 345.

Thanks for the quick fix & heads up on PEP 345!


feat: add CGGMP21 Protocol to the gadgets built on top of dnfs-cggmp21

Closes #50

@tbraun96 I've noticed that after adding the on-chain verification of DKG, the mp-ecdsa gadget fails in both Keygen and Signing.
The Keygen was failing due to we did not sign the public key before we submit our result on-chain; I've fixed that part, and it is working.
However, the signing does not work, it errors on chain with a SigningKeyMismatch Error; which means the recovered key from the signature does not match the one we submitted in phase one.
Please note that these issues are currently in the mp-ecdsa gadget, the new gadget implemented in this PR works fine for both Keygen and signing.


implement origin for effects

1. Tell us something about your changes.

implement "origin" for effects
fix/add origin for network services
fix log buffer QT signaling
add experimental adalight  firmware for arduino mega (with upto 5 rgb pwm channles + 1 addressable led stripe)
more conversion of STL types to QT types (mainly std::string to QString)

2. If this changes affect the .conf file. Please provide the changed section
no
3. Reference an issue (optional)
Note: For further discussions use our forum: forum.hyperion-project.org

protocomp - yeah!
socket->peerAddress()
Do we get always the current information of the peer who requested it?
--> Pass IP to prio register too :+1:
Very nice

yes we always get the client ip - otherwise we can't communicate. If you have a client socket, then you always have ip, mac and via dns the hostname of your connection client. (you get the client port to, but this is in most cases not interesting)

Amazing!
/prio improve done

BTW there is a chance that we automaticly support IPv6. I already get ipv6 as address for localhost (that's why I add dns lookup - ipv6 is not nice to display, read and remember ;-) )


colgroup cause wrong UI

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
the following class is not correct cause by add the colgroup node into Table. so there is a border on the head top
.table>:not(:first-child) {
    border-top: 2px solid currentColor;
}

Expected
the border under thead node
Reduced test cases

    <colgroup>
        <col width="180">
        <col>
        <col>
    </colgroup>

日期

姓名

地址

2022/3/30 13:59:35

张三 0001

上海市普陀区金沙江路 1322 弄

What operating system(s) are you seeing the problem on?
Windows, macOS, Android, iOS, Linux
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
v5.1.3

This already evolved the main branch, where we now use > :not(caption) > * > * { but we need to handle colgroup too.


Missing items from Stashes/Boxes/Lootable bags

General information:
Project issue is for:
3.8
Expected result:
Full container before it was searched
Actual result:
3x3 missing from new container
New profile, new raid, stash near my spawn, 2 secs into raid
Screenshots:

Attachments

server-2024-02-08.log (84 KiB)
image.png (419 KiB)
LogOutput.log (56 KiB)
launcher.log (516 KiB)

Originally written by Gleneth

It was the stash behind Old gas on Customs.

Originally written by Gleneth

in the back corner

Originally written by Gleneth

I cant see anything wrong with the code.
Is it possible a bot looted a piece equipment from the box?
It makes sense as the holes in the loot are equipment sized.

Originally written by chomp

It was a brand new raid i spawned there turned around and opened it

Originally written by Gleneth

It may be because we're not rotating items before placing them: https://dev.sp-tarkov.com/SPT-AKI/Server/commit/5a8317b8a13bf21841ceefeac549c132a34ba95b
its a total guess, however

Originally written by chomp

Understandable!
Thanks for the work y'all do, as a 5k live player this is amazing.

Originally written by Gleneth

Customs, Dead Scav on a couch near zb-1011, 10 seconds into a raid, nobody's around, 2x2 missing. Looks like the issue is still here

Attachments

2024-02-10[02-46]_573.7, 2.7, -112.4_0.4, -0.3, 0.2, 0.8_13.64 (0).png (1901 KiB)
server-2024-02-10.log (752 KiB)
2024.02.09_22-40-10_<IP_ADDRESS>.28476 traces.log (331 KiB)
LogOutput.log (105 KiB)

Originally written by 5o2

https://dev.sp-tarkov.com/SPT-AKI/Server/commit/a4f1cb23d9f672115e121f43eec5c0dfcbea2fdf
Should be fixed in this commit but needs to be improved

Originally written by Kaeno

https://dev.sp-tarkov.com/SPT-AKI/Server/commit/71f308c288a1c5cb1d88adabd4ac61f6e0a4453c Improved parent is retained

Originally written by Kaeno

just looted the whole Ground Zero dead bodies , dont see any items missing. ran a 10min custom only loot Burried Caches and Dead Bodies, no "missing slots"

Originally written by holynevil

confirmed fixed

Originally written by holynevil


C/CPP should deindent preprocessor directives

Testing #31831
I think it's fairly standard for preprocessor directives to be deindented
int foo() {
    int x = 1;
#ifdef BAR
    return x;
#else
    return x+1;
#endif
}

But autoindent will put them at the same indentation level as the other code in the function body.

For C/C++ indentation rules, let's track it in #36148, where we have comments/feedback from ms-cpp tools team. As at this moment, our indentation rules for c/cpp are not covering most user case and blocking ppl from productive c/cpp authoring, we removed indentation rules from internal c/cpp support. Please leave messages  #36148 if you have idea about how to improve it, thanks in advance!


Change Shadowed Fields on Existing Core Filter Sets

Review:
https://gist.github.com/jathanism/7c585954da4cb1a54997be31991cdaac#coreutilities
https://gist.github.com/jathanism/7c585954da4cb1a54997be31991cdaac#extras
for fields to be changed under "Incorrect Fields"
NOTE: Let's do this after #2721 ~and #2722~

Blocked by #2721 and #2722

Since we decided not to collapse extras into core for the time being, should this be split into two issues?

Done because bullet points were either already done or opened as separate issue, many of which are enhancements and not breaking changes.
💪


'float' object is not subscriptable

I got this error while training a model, error look like this, please help to fix this issue
TypeError                                 Traceback (most recent call last)
 in ()
1 trained_sac = agent.train_model(model=model_sac,
2                              tb_log_name='sac',
----> 3                              total_timesteps=60000)
8 frames
/usr/local/lib/python3.7/dist-packages/finrl/finrl_meta/env_stock_trading/env_stocktrading.py in _do_buy()
156             # if self.state[index + 1] >0:
157                 # Buy only if the price is > 0 (no missing data in this particular date)
--> 158                 available_amount = self.state[0] / (self.state[index + 1]*(1 + self.buy_cost_pct[index])) # when buying stocks, we should consider the cost of trading when calculating available_amount, or we may be have cash<0
159                 # print('available_amount:{}'.format(available_amount))
160
TypeError: 'float' object is not subscriptable

My God! It haven't been resolved yet.

Well, would you like to help out?   Be a God to this particular bug, :)    Thx!

Did you initialize "initial_amount" a float number?
Please see the issue: https://github.com/AI4Finance-Foundation/FinRL/issues/518. It can help you. Recently we revised the code.
The following code may help you:
buy_cost_list = sell_cost_list = [0.001] * stock_dimension
num_stock_shares = [0] * stock_dimension
env_kwargs = {
"hmax": 100,
"initial_amount": 1000000,
"num_stock_shares": num_stock_shares,
"buy_cost_pct": buy_cost_list,
"sell_cost_pct": sell_cost_list,
"state_space": state_space,
"stock_dim": stock_dimension,
"tech_indicator_list": config.INDICATORS,
"action_space": stock_dimension,
"reward_scaling": 1e-4
}
e_train_gym = StockTradingEnv(df = train, **env_kwargs)

Fixed.


Problem importing CHVIEW data

Describe the bug
When importing CHVIEW data, some of the datasets contain star names with a double quote (") in them.
The import dataset process for CHVIEW datasets sees that quote as an end-of-field marker when it's really just embedded in the name.  As a result, on those stars all the other fields get shifted to the right by one column. For example:
false,0.0,0.0,,,test1,0.0,0.0,BD+54  1861B",1862,68.15,false,,0.0,,0.0,0.0,0.0,0.0,0.0,,,,initial load of object,UNDEFINED,false,0.0,,0.0,0.0,,,,,0.0,0.0,0.83,0,true,0.0,,UNDEFINED,,K8V,,,0.0,,-8.53,-38.65,55.47
Note how the quote after BD+54  1861" pushes 1862 into the distance column which should have been 68.15.
As it turns out, this is the same error that resulted in some datasets appearing to have stars with the radius set to 25. They weren't, they were just column offset.
Since these names are embedded in basically all the CHVIEW datasets we have, you're going to have to parse those quotes out of the system before bringing stuff into the sql database. I would reccomend replacing them with space.
To Reproduce

Import FAREXILE.CHV into TRIPS.
Export that data set to a CSV.
Open the CSV in Excel and sort on Polity descending  or  Search for quotemark (") in the starname.

You'll find a bunch of stars at the top which have had a column offset to the right by 1 after the star name.
TRIPS version

[ ] 0.52
[X] 0.53  but I expect it's the same in 54.
[ ] 0.54
[ ] 0.55

Desktop (please complete the following information):
<!- Move the X to the right line ->

[ ] IOS
[X] Windows 10
[ ] Windows Vista, 7 or 8
[ ] Windows XP
[ ] Linux (add distribution and version to this line)

When this happens in 053, the program complains that the data to import is corrupt rather than importing the good records.  I don't think that's right.

ok, I searched through the raw hexfile of CHV and that string >>BD+54 1861B"<< doesn't appear.
You say you exported vis the csv export function?
I've tested the csv export so I believe that it probably have bugs in it.
I'll fix the csv export

this is fixed. The csv exporter had a bug


Add advanced setting to line charts to turn it into a scatter plot

Since a scatter plot is a sub-class of a line chart (without lines), we can extend the line chart to become a scatter plot if displaying lines is disabled.

Could I talke this one?

@nielsdejong,  after make a look to the code, I found that if you set lineWidth to 0, you have a scatter plot.

So, it is possible to create a new component just for scatter plot or simply, when an user selects Scatter instead of Linear on the table, the dashboard creates a Linear component with 0 line width.

What do you prefer??

Hi @JonanOribe - Thanks for picking this up!
I like your second suggestion:

when an user selects Scatter instead of Linear on the table, force the dashboard to create a Linear Component with 0 line width.

that would save us a lot of extra code and keep the UI simpler by having one less element in the list of charts.

Hi, I'm trying to update the Charts interface to be able to get "label" property, but I think that I'm missing something, because the interface still get the other values, but not "label". Any idea??

Hi @JonanOribe ,
Perhaps it's better to use the advanced settings for this one?
You could add a new entry here:
https://github.com/neo4j-labs/neodash/blob/master/src/config/ReportConfig.tsx#L655
  type: {
        label: 'Plot Type',
        type: SELECTION_TYPES.LIST,
        values: ['line', 'scatter'],
        default: 'line',
      },

And then use settings.line inside LineChart.tsx to override the line width to zero. What do you think?

Finally, I found your approach as the simpler one, thanks!. The PR is ready


feat: consolidate salesforce conenctor to a single module and container image

@rinaldodev @abkieling I've done a spike about margin all the salesforce connectors into a single module and container image since they all rely on the same set of dependencies.
Let me know if it make sense.


[Polyfill needed] Array.from is unsupported in Safari 8 and Internet Explorer

Its an awesome library, however, it doesn't work with Safari (I've tested Chrome and Firefox successfully).
This is the error that I get when I try to sort the items:
[Error] TypeError: undefined is not a function (evaluating 'Array.from(arr)')
and this is the line that is apparently causing the problems:
function _toConsumableArray(arr) {         if (Array.isArray(arr)) {                for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {                        arr2[i] = arr[i]; } return arr2; }         else {                  return Array.from(arr);         }  }
Any suggestions on how to solve this?

It seems that this function Array.from("some array") is not supported for my Safari version (8).
According to this page Safari 8 is lacking many functionalities, Safari 9 is a bit better and Safari 10 (newest) has everything supported.

Hey @stenbln, thanks for reporting this. This isn't something in the code explicitly, so I'll take a look and and try to make sure webpack doesn't fall back on Array.from behind the scenes, because I'd rather not have to include a polyfill for this since there are other cross-browser ways to achieve the same thing.
In the meantime, if you're itching to try out react-sortable-hoc, you can add a polyfill for Array.from in your code before react-sortable-hoc is initialized.

Great. I've added the code that you linked and now it works even in Safari 8.
Maybe you find this information helpful. I've found out that this [].slice.call("some array") does the same thing as Array.from("some array") and it is supported also in Safari.
Thanks for the library. I really like it :1st_place_medal:

FYI
The demo at http://clauderic.github.io/react-sortable-hoc
doesn't work in IE 11
I've added to this issue as I think it's related?

I ran into a similar issue that adding a Polyfill for Array.from fixed. Isn't there a way to just not use Array.from?

@mccambridge can you please help me in adding Array.from Plyfill. I tried this (https://www.npmjs.com/package/array-from), this is not working in IE. Still getting the same error in console.

object doesn't support property or method 'from'

Please let me know how you used Polyfill

@Shardendu-kantha I am not sure if you were able to get it working. If not, try using https://www.npmjs.com/package/array.from package. And in your code you would have to do the following:
require('array.from').shim();
Your code can then use Array.from.
@clauderic any chance, you were able to rewrite the library without using Array.from?

@arvind1234 hey, sorry for being little late. I got it resolved by the same suggested by you.
https://github.com/clauderic/react-sortable-hoc/issues/263#issuecomment-321741371

In response to comment from @DeeLindesay, I found the demo working when I tested it today in IE11:


Upgrade flowkit to v0.17.0

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.62%. Comparing base (8b1d3ce) to head (39e2a95).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1441   +/-   ##
=======================================
  Coverage   40.62%   40.62%
=======================================
  Files          47       47
  Lines        2597     2597
=======================================
  Hits         1055     1055
  Misses       1417     1417
  Partials      125      125

Flag
Coverage Δ

unittests
40.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Improving dev server behavior

Aims:
Comparable products often do two things Evidence does not, for ease of use:

Default to another port, if the targeted port is in use (rather than fail)
Automatically launch a browser tab when the dev server is started

Implementation options:
(See Svelte Kit docs)

Default to another port: Seems like editing config.kit.vite.server.strictPort option to false will do the trick
Automatically launch a browser tab: It seems like you need to pass the -o flag to svelte-kit dev. If so there are a few places we could do this. In order of distance from user (and therefore how easy it is for the user to disable if desired)

In the docs, we could recommend people run: npm run dev -o
In the template project, we could change package.json to run: "dev": "evidence dev -o",
In the evidence repo, we could change the package.json to (I think the package.json in example project) to "dev": "svelte-kit package && svelte-kit dev",

Questions:

Are there any reasons either 1 or 2 would be undesirable behaviour?
If we are to do Automatically launch a browser tab, which is the best place to add the behaviour?

I quite like ii. as it doesn't pollute the command line UX too much with stuff we need to explain, and it also can be disabled by an intermediate user from within their Evidence project. I could imagine getting frustrated with too many tabs open if i end up restarting the server frequently

@mcrascal would love to get your take on this

Re: substance of the proposal
I like the spirit, and I think we should definitely do item 2.
My concern with item 1 is that our docs provide links to 3000 in a few places, which I think is pretty nice.
I worry that for the novice user we're apt to just confuse them a few minutes later, especially when they find our docs linking out to whatever other program they are already running on 3000
Re: implementation
You'd need to make these changes in packages/evidence (CLI and Build.js) in order to affect the behaviour of a user's dev server.

Decided:

Default to another port: Not going to do, as may be confusing with docs
Automatically launch a browser tab: Going with option ii, which means changing the template repo - see this PR


graphite-api not returning data with multiple retentions

Here is a link to the original question (not mine) mistakenly asked in a wrong place:
https://answers.launchpad.net/graphite/+question/285178
I can confirm the issue. No data returned when querying data earlier than the first retention defines.

Duplicate of https://github.com/brutasse/graphite-api/issues/165


chore: release 0.5.1

:robot: I have created a release *beep* *boop*
0.5.1 (2022-03-23)
Bug Fixes

stamp purchase metric and add failed to purchase metric (#163) (88f42a1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ethersphere/gateway-proxy/releases/tag/v0.5.1 :sunflower:


hideTab and tabVisibility function has no effect, How it works

This is  a bug | feature request.

Prerequisites

[x ] Are you running the latest version?
[x] Are you reporting to the correct repository?
[x] Did you check the documentation?
[x] Did you perform a cursory search?

Description
hideTab and tabVisibility function has no effect, How it works
Steps to Reproduce
class SomeForm
public function create()
{
return $this->form
->hideTab('SomeTab')
->tabVisibility('SomeTab',true)
->create();
}
create.vue
....
methods:{
showSomeTab: function(event){
this.$ref.form.tab('SomeTab').tabVisibility = true;
}
Expected behavior
hideTab and tabVisibility function has no effect
Actual behavior

Fixed


After 1.3.0 release NxpRdLib-Release is missing in repository

Package installation via PIP fails since 1.3.0, i thinks it's beause pip script not downloading nxprdlib from network.
There is pip log:
In file included from Mifare.c:1:0:
Mifare.h:31:25: fatal error: ph_NxpBuild.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Hi @michbil, do you have a full pip log?  I'm interested to see what happened prior to the compilation step.  It should include logging information about the package download and building of nxprdlib separately.

this might help.
installed a raspberry Pi 2 (wheezy feb 2015) from scratch - here is the log file of commands entered:
same problem - help ????

lxsession-edit
sudo reboot
sudo dpkg -i libneardal0_0.14-1_armhf.deb libwiringpi2-2.25-1_armhf.deb neard-explorenfc_0.1-1_armhf.deb
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install nxppy
Python.h not found
sudo apt-get update
sudo python get-pip.py
sudo pip install nxppy
wget https://bootstrap.pypa.io/get-pip.py
sudo apt-get install python-setuptools
cd ~/Downloads/nxppy-*
sudo python setup.py build install
sudo apt-get install cmake
sudo reboot
sudo pip install nxppy

In file included from Mifare.c:1:0:
Mifare.h:31:25: fatal error: ph_NxpBuild.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-VcnAht/nxppy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-S4Z5gK-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-VcnAht/nxppy

Forgot to post this earlier, hope this can help as well.
Collecting nxppy
Using cached nxppy-1.3.0.tar.gz
/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'nose (dev)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
Installed /tmp/pip-build-e0IgGI/nxppy/.eggs/nose-1.3.4-py2.7.egg
Installing collected packages: nxppy
Running setup.py install for nxppy
compiling NxpRdLib
/bin/sh: 1: ./get_nxpRdLib.sh: not found
building 'nxppy' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ineard-explorenfc-0.1/nxprdlib/types -Ineard-explorenfc-0.1/nxprdlib/intfs -I/usr/include/python2.7 -c Mifare.c -o build/temp.linux-armv7l-2.7/Mifare.o -O1
In file included from Mifare.c:1:0:
Mifare.h:31:25: fatal error: ph_NxpBuild.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-e0IgGI/nxppy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-sZsz_a-record/install-record.txt --single-version-externally-managed --compile:
running install
running build

compiling NxpRdLib

/bin/sh: 1: ./get_nxpRdLib.sh: not found

running build_ext

building 'nxppy' extension

creating build

creating build/temp.linux-armv7l-2.7

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ineard-explorenfc-0.1/nxprdlib/types -Ineard-explorenfc-0.1/nxprdlib/intfs -I/usr/include/python2.7 -c Mifare.c -o build/temp.linux-armv7l-2.7/Mifare.o -O1

In file included from Mifare.c:1:0:

Mifare.h:31:25: fatal error: ph_NxpBuild.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

Fixed.  Unfortunately I had to bump the revision to 1.3.1 because pypi.  Let me know if pip doesn't work now.  Thanks!

fixed thank you


Feature Request: dynamic requiredMinimumOSVersion

We implemented Nudge with Jamf Pro and are really happy with this setup.
Since we always want to use the latest macOS stable release it would be great to have a dynamic requiredMinimumOSVersion which provides the latest version.
In addition a dynamic requiredInstallationDate would be awesome. Something like "X days after release".
This would help to avoid changing the version string and install date all the time.

I think a lot of people would love this feature. I'm not sure it's that straightforward, though. Would probably need some source-of-truth database to determine when the update came out. Is that stored locally? If the update came out on the 1st of the month, but your Mac was offline until the 12th of the month, would macOS still know that update came out on the 1st? There may also be cases in which (because of specific CVEs the update patches) an override would be necessary.

This is a dupe of many requests. I have no plans still to do this but if that changes, I will update the info on the original request.


ZEPPELIN-3099 Livy Interpreter doesn't support German Special Character - Encoding Issue

What is this PR for?
ZEPPELIN-3099 Livy Interpreter doesn't support German Special Character - Encoding Issue
What type of PR is it?
BUG FIX for : ZEPPELIN-3099
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3099
How should this be tested?
test with German Special Characters like ß, ü, Ü, ä, Ä, ö, Ö .

@prabhjyotsingh  @zjffdu
Can you pleaes help me review this change

@Akhilsnaik  Could you add test for it ? You can add it in this method, https://github.com/apache/zeppelin/blob/master/livy/src/test/java/org/apache/zeppelin/livy/LivyInterpreterIT.java#L128


Backport reactive LoadBalancer support to Greenwich

Backport https://github.com/spring-cloud/spring-cloud-gateway/pull/1295 to Greenwich.

Also backport https://github.com/spring-cloud/spring-cloud-commons/issues/619.

Can't backport  spring-cloud/spring-cloud-commons#619 as it depends on this change in framework: https://github.com/spring-projects/spring-framework/commit/50c257794f7845829ac9ce78a102ef94e7e28a2e#diff-94a3159735d9f8189b4b02707d4d4d73 that is not available in sc-commons 2.1.x.


Exception occurs on AAlsCharacter::RefreshRagdolling(float) AlsCharacter_Actions.cpp:826 when AI get's destroyed during ragdol

Can't reproduce this. Possibly has been fixed here: https://github.com/Sixze/ALS-Refactored/issues/413.


fix for forceMerged output

Some changes in StdBase and workflow assignment broke the forceMerged output functionality.

Tested in Tier0 replay. Without this patch Express AlcaSkim output is written unmerged, even though the task was created with the forceMerged=True flag. With this patch things work as expected.

@amaltaro please review

Secondary issue, I thought we always use minMergeSize=0 to trigger forcing straight to merge. Do we really use -1 in other places for this. Longterm we should maybe unify this (if there is a discrepancy).

Just to make sure I understood it.
When you create the alcaSkim task, you force it to merged which then calls it
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WMSpec/StdSpecs/StdBase.py#L394
but since we have default values during assignment (which are there regardless whether you pass them or not) it tries to set again those merge parameters. As -1 != 0, it sets those again.
Patch looks ok!

Yes, exactly. With the default merge parameters back, alcaSkim output is again unmerged (since it's small) and since there is no merge task after alcaSkim, that output never makes it to merged and it never shows up in DBS and PhEDEx.


Prisma Multiple Schema Migrations

I splitted my existing scheme with already applied migrations, I decided to check what would happen if I called the command
npx prisma migrate dev --create-only --skip-generate --schema prisma

There are no changes to the models.

As a result, it throws an error stating that the migrations in the files are not synchronized with the history that is stored in the database and offers to reset/delete the entire database.

Console Output
➜  mega-index-server git:(feat/new-day-disceteness-range) ✗ npx prisma migrate deploy --schema prisma
Environment variables loaded from .env
Prisma schema loaded from prisma
Datasource "db": PostgreSQL database "omega", schema "public" at "localhost:5435"

No migration found in prisma/migrations

No pending migrations to apply.
➜  mega-index-server git:(feat/new-day-disceteness-range) ✗ npx prisma migrate dev --create-only --schema prisma
Environment variables loaded from .env
Prisma schema loaded from prisma
Datasource "db": PostgreSQL database "omega", schema "public" at "localhost:5435"

- Drift detected: Your database schema is not in sync with your migration history.

The following is a summary of the differences between the expected database schema given your migrations files, and the actual schema of the database.

It should be understood as the set of changes to get from the expected schema to the actual schema.

[+] Added enums
  - cloudness_enum
  - condition_enum
  - discreteness_enum
  - fill_type_enum
  - geo_object_type_enum
  - line_chart_type_enum
  - prec_strength_enum
  - prec_type_enum
  - widget_statistics_comparison_methods_enum
  - widget_statistics_predefined_intervals_enum
  - widget_type_enum

[+] Added tables
  - chart_metrics_line_dash_offsets
  - cities
  - cities_coordinates
  - city_coordinate_weather_forecasts
  - city_counting_1_day
  - city_counting_1_month
  - city_counting_1_week
  - city_counting_1_year
  - companies
  - countries
  - district_coordinate_weather_forecasts
  - district_counting_1_day
  - district_counting_1_month
  - district_counting_1_week
  - district_counting_1_year
  - districts
  - districts_coordinates
  - levels
  - levels_geography
  - levels_metrics_bridge
  - levels_tags_bridge
  - markers
  - metric_categories
  - metrics
  - people_counting_1_day
  - people_counting_1_month
  - people_counting_1_week
  - people_counting_1_year
  - regions
  - servers
  - tags
  - widget_chart_settings
  - widget_settings
  - widget_statistics_geo_object_bridges
  - widget_statistics_levels_bridges
  - widget_statistics_metrics_bridges
  - widget_statistics_settings
  - widget_statistics_tags_bridges
  - widget_table_settings

[*] Changed the `chart_metrics_line_dash_offsets` table
  [+] Added unique index on columns (metric_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `cities` table
  [+] Added unique index on columns (code)
  [+] Added unique index on columns (region_id, name, code)
  [+] Added foreign key on columns (region_id)

[*] Changed the `cities_coordinates` table
  [+] Added unique index on columns (city_id)
  [+] Added foreign key on columns (city_id)

[*] Changed the `city_coordinate_weather_forecasts` table
  [+] Added unique index on columns (city_coordinate_id, date)
  [+] Added foreign key on columns (city_coordinate_id)

[*] Changed the `city_counting_1_day` table
  [+] Added unique index on columns (city_id, metric_id, date_time)
  [+] Added foreign key on columns (city_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `city_counting_1_month` table
  [+] Added unique index on columns (city_id, metric_id, year_num, month_num)
  [+] Added foreign key on columns (city_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `city_counting_1_week` table
  [+] Added unique index on columns (city_id, metric_id, year_num, week_num)
  [+] Added foreign key on columns (city_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `city_counting_1_year` table
  [+] Added unique index on columns (city_id, metric_id, year_num)
  [+] Added foreign key on columns (city_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `companies` table
  [+] Added unique index on columns (code)
  [+] Added unique index on columns (level_api_server_id, server_uid)
  [+] Added foreign key on columns (level_api_server_id, server_uid)
  [+] Added foreign key on columns (server_uid)

[*] Changed the `countries` table
  [+] Added unique index on columns (name)

[*] Changed the `district_coordinate_weather_forecasts` table
  [+] Added unique index on columns (district_coordinate_id, date)
  [+] Added foreign key on columns (district_coordinate_id)

[*] Changed the `district_counting_1_day` table
  [+] Added unique index on columns (city_id, metric_id, date_time)
  [+] Added foreign key on columns (city_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `district_counting_1_month` table
  [+] Added unique index on columns (district_id, metric_id, year_num, month_num)
  [+] Added foreign key on columns (district_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `district_counting_1_week` table
  [+] Added unique index on columns (district_id, metric_id, year_num, week_num)
  [+] Added foreign key on columns (district_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `district_counting_1_year` table
  [+] Added unique index on columns (district_id, metric_id, year_num)
  [+] Added foreign key on columns (district_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `districts` table
  [+] Added unique index on columns (name, city_id)
  [+] Added foreign key on columns (city_id)

[*] Changed the `districts_coordinates` table
  [+] Added unique index on columns (district_id)
  [+] Added foreign key on columns (district_id)

[*] Changed the `levels` table
  [+] Added unique index on columns (api_server_id, server_uid)
  [+] Added foreign key on columns (server_uid)

[*] Changed the `levels_geography` table
  [+] Added unique index on columns (level_id)
  [+] Added foreign key on columns (city_id)
  [+] Added foreign key on columns (district_id)
  [+] Added foreign key on columns (level_id)

[*] Changed the `levels_metrics_bridge` table
  [+] Added unique index on columns (level_id, metric_id)
  [+] Added foreign key on columns (level_id)
  [+] Added foreign key on columns (metric_id)

[*] Changed the `levels_tags_bridge` table
  [+] Added unique index on columns (level_id, tag_id)
  [+] Added foreign key on columns (level_id)
  [+] Added foreign key on columns (tag_id)

[*] Changed the `markers` table
  [+] Added unique index on columns (name)

[*] Changed the `metric_categories` table
  [+] Added unique index on columns (name)

[*] Changed the `metrics` table
  [+] Added unique index on columns (name)
  [+] Added foreign key on columns (category_id)

[*] Changed the `people_counting_1_day` table
  [+] Added unique index on columns (level_id, date_time)
  [+] Added foreign key on columns (level_id)

[*] Changed the `people_counting_1_month` table
  [+] Added unique index on columns (level_id, month_num, year_num)
  [+] Added foreign key on columns (level_id)

[*] Changed the `people_counting_1_week` table
  [+] Added unique index on columns (levelId, week_num, year_num)
  [+] Added foreign key on columns (levelId)

[*] Changed the `people_counting_1_year` table
  [+] Added unique index on columns (level_id, year_num)
  [+] Added foreign key on columns (level_id)

[*] Changed the `regions` table
  [+] Added unique index on columns (country_id, name, code)
  [+] Added foreign key on columns (country_id)

[*] Changed the `servers` table
  [+] Added unique index on columns (host, port)
  [+] Added unique index on columns (uid)

[*] Changed the `tags` table
  [+] Added unique index on columns (name)
  [+] Added foreign key on columns (marker_id)

[*] Changed the `widget_chart_settings` table
  [+] Added unique index on columns (statistics_settings_id)
  [+] Added unique index on columns (widget_id)
  [+] Added foreign key on columns (statistics_settings_id)
  [+] Added foreign key on columns (widget_id)

[*] Changed the `widget_settings` table
  [+] Added unique index on columns (api_server_id, server_uid)
  [+] Added foreign key on columns (server_uid)

[*] Changed the `widget_statistics_geo_object_bridges` table
  [+] Added unique index on columns (widget_statistics_settings_id, type, link_id)
  [+] Added foreign key on columns (widget_statistics_settings_id)

[*] Changed the `widget_statistics_levels_bridges` table
  [+] Added unique index on columns (widget_statistics_settings_id, level_id)
  [+] Added foreign key on columns (level_id)
  [+] Added foreign key on columns (widget_statistics_settings_id)

[*] Changed the `widget_statistics_metrics_bridges` table
  [+] Added unique index on columns (widget_statistics_settings_id, metric_id)
  [+] Added foreign key on columns (metric_id)
  [+] Added foreign key on columns (widget_statistics_settings_id)

[*] Changed the `widget_statistics_tags_bridges` table
  [+] Added unique index on columns (widget_statistics_settings_id, tag_id)
  [+] Added foreign key on columns (tag_id)
  [+] Added foreign key on columns (widget_statistics_settings_id)

[*] Changed the `widget_table_settings` table
  [+] Added unique index on columns (statistics_settings_id)
  [+] Added unique index on columns (widget_id)
  [+] Added foreign key on columns (statistics_settings_id)
  [+] Added foreign key on columns (widget_id)

- The following migration(s) are applied to the database but missing from the local migrations directory:<PHONE_NUMBER>1552_init_mega_index_scheme,<PHONE_NUMBER>2126_added_people_counting_partitioned_tables,<PHONE_NUMBER>5820_added_geography_coordinates_tabels,<PHONE_NUMBER>5255_city_and_district_weather,<PHONE_NUMBER>1645_added_region_and_geography_codes,<PHONE_NUMBER>0651_servers_add_name_field,<PHONE_NUMBER>4115_create_widget_settings_tables,<PHONE_NUMBER>3701_add_widgets_auto_fetch_enabled_options,<PHONE_NUMBER>3938_create_geo_object_color_column,<PHONE_NUMBER>3215_create_chart_metric_line_dash_offsets,<PHONE_NUMBER>2214_widget_statistics_unique_keys_by_widget_type,<PHONE_NUMBER>1012_drop_widget_type_from_widget_settings,<PHONE_NUMBER>2959_add_graph_chart_new_options,<PHONE_NUMBER>0330_add_company_table,<PHONE_NUMBER>2727_add_metric_common_flag,<PHONE_NUMBER>0819_save_calculated_dynamic_in_database_by_geo_objects

✔ We need to reset the "public" schema at "localhost:5435"
Do you want to continue? All data will be lost. … no

Reset cancelled.

Hm, let's figure out what really is unexpected here.
You first show that you have no migrations in prisma/migrations, and then you run prisma migrate dev on a database that already has tables in there (which conflicts with the fact that there are not existing migrations) and also has recordings that there should be migrations that were applied to the database in the past (The following migration(s) are applied to the database but missing from the local migrations directory ...), so Prisma tells you that your database is in a drift state and suggests a reset to get your database into a clean state. That is normal, and could potentially be worked around with https://www.prisma.io/docs/orm/prisma-migrate/workflows/baselining if you really wanted.
All of this of course only makes sense if you indeed do not have local migrations in a migration directory. Is that really the case? You mentioned that you split  your Prisma schema. Where did you put these files? The default folder to put them would be prisma/schema while the migrations stay in prisma/migrations.
Did you put the files directly in prisma instead, and that is the reason for --schema prisma in your commands?

The files in prisma/migrations exist.
I decided to move the models to the prisma/schema folder, the problem disappeared.
Before this, the models were in the prisma root folder, and there was also a migrations folder.
Thanks a lot.

So just to confirm, you tried to use ./prisma as the folder for prismaSchemaFolder and that led to problems?

So just to confirm, you tried to use ./prisma as the folder for prismaSchemaFolder and that led to problems?

Yes, there were  *.prisma files and the folder with migrations in  ./prisma folder.

Ok, I understand. Seems that using --schema prisma leads to the CLI not picking up the migrations folder any more, even though it tells you it is looking in the correct path. That is super unexpected.

I ran command without ---schema options after moving *.prisma files to prisma/schema folder.

I ran command without --schema options after I moved *.prisma files to prisma/schema folder.

Interesting, to me it is unclear how that should treat multiple .prisma files in that folder and what should happen.
How did that work when you used the commands without --schema completely?

This is mostly due to my lack of misunderstanding of how it should work, that is why I got such errors.

No, there is definitely a problem when using --schema prisma that we need to reproduce and fix.
But thanks for the information, we will take it from here.

I confirm,
When use
npx prisma migrate dev --create-only --skip-generate --schema prisma
Prisma prefer to reset database.
It doesn't matter how the files are located, the problem still occurs.

My project structure
![image](https://github.com/prisma/prisma/assets/37801096/79da306e-ded8-48ae-8971-49a0c72e2506)

My main.prisma file
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
  previewFeatures = ["prismaSchemaFolder"]
}

datasource db {
  provider = "postgresql"
  url      = env("DB_URL")
}

geo.prisma as example
model Country {
  id      Int      @id @default(autoincrement()) @db.Integer
  name    String   @unique @db.VarChar(255)
  color   String   @db.Char(7)
  code    String?  @db.VarChar(255)
  regions Region[]

  @@map("countries")
}

enum GeoObjectTypeEnum {
  COUNTRY  @map("country")
  REGION   @map("region")
  CITY     @map("city")
  DISTRICT @map("district")

  @@map("geo_object_type_enum")
}

model Region {
  id        Int     @id @default(autoincrement()) @db.Integer
  name      String  @db.VarChar(255)
  country   Country @relation(fields: [countryId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  countryId Int     @map("country_id") @db.Integer
  color     String  @db.Char(7)
  code      Int?    @db.Integer
  cities    City[]

  @@unique(fields: [countryId, name, code], map: "regions_country_id_name", name: "regionUniqueName")
  @@map("regions")
}

model City {
  id                 Int                  @id @default(autoincrement()) @db.Integer
  name               String               @db.VarChar(255)
  region             Region               @relation(fields: [regionId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  regionId           Int                  @map("region_id") @db.Integer
  color              String               @db.Char(7)
  code               Int?                 @unique @db.Integer
  districts          District[]
  levelGeography     LevelGeography[]
  cityCoordinates    CityCoordinates?
  cityCounting1Day   CityCounting1Day[]
  cityCounting1Week  CityCounting1Week[]
  cityCounting1Month CityCounting1Month[]
  cityCounting1Year  CityCounting1Year[]

  @@unique(fields: [regionId, name, code], map: "cities_unique_fields", name: "cityUniqueFields")
  @@map("cities")
}

model District {
  id                     Int                      @id @default(autoincrement()) @db.Integer
  name                   String                   @db.VarChar(255)
  city                   City                     @relation(fields: [cityId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  cityId                 Int                      @map("city_id") @db.Integer
  color                  String                   @db.Char(7)
  levelGeography         LevelGeography[]
  districtCoordinates    DistrictCoordinates?
  districtCounting1Day   DistrictCounting1Day[]
  districtCounting1Week  DistrictCounting1Week[]
  districtCounting1Month DistrictCounting1Month[]
  districtCounting1Year  DistrictCounting1Year[]

  @@unique(fields: [name, cityId], name: "districtUniqueFields", map: "districts_unique")
  @@map("districts")
}

model CityCoordinates {
  id      Int                             @id @default(autoincrement()) @db.Integer
  lat     Float                           @db.DoublePrecision
  lon     Float                           @db.DoublePrecision
  city    City                            @relation(fields: [cityId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  cityId  Int                             @unique @map("city_id") @db.Integer
  weather CityCoordinateWeatherForecast[]

  @@map("cities_coordinates")
}

model DistrictCoordinates {
  id         Int                                 @id @default(autoincrement()) @db.Integer
  lat        Float                               @db.DoublePrecision
  lon        Float                               @db.DoublePrecision
  district   District                            @relation(fields: [districtId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  districtId Int                                 @unique @map("district_id") @db.Integer
  weather    DistrictCoordinateWeatherForecast[]

  @@map("districts_coordinates")
}

Was just fighting this issue for over an hour. It's not really clear that the prisma folder itself cannot be your schema folder.


jQuery build - switch context via callback?

Hi,
I am currently using the jQuery build for waypoints.
What I would like to do, is switch the context selector for my waypoints via a callback. Is it possible? Or will I need to use the regular build?
Thanks,
Craig

@CBarbs Interesting. Would you be willing to share exactly the use case or what you're trying to get done?

If you have more info let me know here and I can reopen this.


Way for VSCode Webview to override browser keyboard shortcuts in Chrome

When developing in VSCode Web using gitpod, I am struggling with keyboard shortucts. Many of the ones that I am accustomed to are mapped to the browser by default.

This isn't possible with current browser apis


BUG-FIX: Property-Changeset package causing a bug while applying changeset

Description
We encountered an issue in the fluid-experimental/property-changeset package within the IndexedCollection class. The Lodash without method is being used with an Object as input, resulting in the following error when applying a changeset:
Error: PR-008: Trying to remove a non-existing entry:
This issue occurs because without always returns undefined when used with an Object, causing comparisons between the resulting values to consistently evaluate as true. By replacing without with Lodash's omit, which is designed for handling Object inputs, the issue is resolved.

@neerajcharokar please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Autodesk"

@microsoft-github-policy-service agree company="Autodesk"

@CraigMacomber @tylerbutler
I see you guys have some commits on property-changeset package.
My PR is stuck with a workflow requires approval from a maintainer.
Any idea how to proceed on this

@neerajcharokar I reviewed the change and they look OK to me. Can you confirm which version of the package you're currently using? Also, with your permission I'll push additional commits to this PR with notes for the per-package changelog. That way this fix is properly tracked in the package history. I'm happy to do that on your behalf since it involves some repo-specific processes.

@tylerbutler , Thank you for reviewing.
Currently, we are using version >=2.0.0-internal.7.0.0 <2.0.0-internal.8.0.0.
Additionally, please proceed with the additional commits.

@tylerbutler , Just a reminder to get it move forward as it could potentially corrupt more documents in our Production environment.


Can you provide the source code for Kali

Both Kali and prophet in readme will be redirected to Prophet-rep's website, i.e
http://www.cs.toronto.edu/~fanl/program_repair/prophet-rep/index.html,
I can't seem to find the code for the Kali tool you are using, I would appreciate it if you could tell me where to find the source code for the Kali tool.
@SecureThemAll

Kali is embedded in Prophet. You run Kali by providing the '—naive' flag to Prophet.


[improve][client] Add log for reader acknowledge.

Motivation
The current reader asynchronously acknowledges that there is no error log, making it difficult for users to find the problem.
Modifications

Add log for reader readNext() method.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[x] no-need-doc

/pulsarbot rerun-failure-checks


Initial implementation

Creates a new public repository for hosting a new GitHub action. This action will allow the currently running job to determine the job name and job ID allowing improved usage of the GitHub API.
A quick overview of the implementation: in order to determine the job ID we need to use the GitHub API to list jobs for a workflow run attempt. In order to determine which job from the API results is the currently running job we need some kind of alternate way of uniquely selecting the job. I looked at the GitHub Actions context information and the only overlap I found was the runner.name context which according to the docs may not be unique. Alternatively, I chose to use the job name for the selection criteria which also isn't guaranteed to be unique but typically is and it is reasonable to require users to define unique job name within a user provided workflow. Unfortunately, the job name also isn't available via contexts so to get the job name we need to perform three steps:

Access the YAML workflow file which defined this currently running job
Use the ${{ github.job }} which is the job YAML key in the workflow to determine the job name template (the job name as defined in YAML can contain GitHub expressions).
Render any GHA expressions in the job name template

With these steps we know the name of the job and can use that information to determine the job ID. If a job name happens to not be unique we can detect that and cause the action to fail and request that the user makes the job name unique.
In the future we may choose to use runner.name as a first pass in selecting the job from the GitHub API job list. I would consider this an optimization though as we would still need to the job name as either a fallback or as part of the selection criteria.
Various issues asking for the job name or ID feature:

https://stackoverflow.com/questions/61611978/get-current-job-name-in-github-actions-workflow
https://github.com/orgs/community/discussions/8945
https://github.com/actions/runner/issues/324
https://github.com/orgs/community/discussions/129314

What's the motivation for this?

What's the motivation for this?

Knowing the job_id as used by the GitHub API is important for the new matrix-output GHA which requires this information to ensure that the last executed job in the matrix has a complete set of outputs. For more details see this design document: https://github.com/beacon-biosignals/matrix-output/pull/1/files#diff-be587c6fc5d417e1f9d10be50292738384b9df23b4699c8852c990612d3374a6

Thanks Dave. I'll merge this and make the first release on Monday!


Add SplitOnChunkSize() to FileInfo

This issue is a proposal to add SplitOnChunkSize() to FileInfo that would split a file into multiple files and return an array of the newly created files. The challenge with this one will be handling line breaks if the breakOnNewlines is true and also taking into account large files means buffering a chunk of data at a time so as not to overload system resources.
/// <summary>
/// Splits a file into multiple files based on the specified chunk size of each file.
/// </summary>
/// <param name="file">The file.</param>
/// <param name="chunkSize">The maximum number of bytes to store in each file.
/// If a chunk size is not provided, files will be split into 1 MB chunks by default.
/// The breakOnNewlines parameter can slightly affect the size of each file.</param>
/// <param name="targetPath">The destination where the split files will be saved.</param>
/// <param name="deleteAfterSplit">if set to <c>true</c>, the original file is deleted after creating the newly split files.</param>
/// <param name="breakOnNewlines">if set to <c>true</c> break the file on the next newline once the chunk size limit is reached.</param>
/// <returns>
/// An array of references to the split files.
/// </returns>
/// <exception cref="ArgumentNullException">file</exception>
/// <exception cref="ArgumentOutOfRangeException">chunkSize - The chunk size must be larger than 0 bytes.</exception>
public static FileInfo[] SplitOnChunkSize(
	this FileInfo file,
	int chunkSize = 1000000,
	DirectoryInfo targetPath = null,
	bool deleteAfterSplit = false,
	bool breakOnNewlines = true
	)
{
	if (file == null)
		throw new ArgumentNullException(nameof(file));

	if (chunkSize < 1)
		throw new ArgumentOutOfRangeException(nameof(chunkSize), chunkSize,
			"The chunk size must be larger than 0 bytes.");

	if (file.Length <= chunkSize)
		return new[] {file};

	var buffer = new byte[chunkSize];
	var extraBuffer = new List<byte>();
	targetPath = targetPath ?? file.Directory;
	var chunkedFiles = new List<FileInfo>((int)Math.Abs(file.Length / chunkSize) + 1);

	using (var input = file.OpenRead())
	{
		var index = 1;

		while (input.Position < input.Length)
		{
			var chunkFileName = new FileInfo(Path.Combine(targetPath.FullName, $"{file.Name}.CHUNK_{index++}"));
			chunkedFiles.Add(chunkFileName);
			using (var output = chunkFileName.Create())
			{
				var chunkBytesRead = 0;
				while (chunkBytesRead < chunkSize)
				{
					var bytesRead = input.Read(buffer,
						chunkBytesRead,
						chunkSize - chunkBytesRead);

					if (bytesRead == 0)
					{
						break;
					}

					chunkBytesRead += bytesRead;
				}

				if (breakOnNewlines)
				{
					var extraByte = buffer[chunkSize - 1];
					while (extraByte != '\n')
					{
						var flag = input.ReadByte();
						if (flag == -1)
							break;
						extraByte = (byte)flag;
						extraBuffer.Add(extraByte);
					}

					output.Write(buffer, 0, chunkBytesRead);
					if (extraBuffer.Count > 0)
						output.Write(extraBuffer.ToArray(), 0, extraBuffer.Count);

					extraBuffer.Clear();
				}
			}
		}
	}

	if (deleteAfterSplit)
		file.Delete();

	return chunkedFiles.ToArray();
}

Maybe just calling it Split() instead of SplitOnChunkSize() would be ok too if we want to have overloaded methods in the future that would handle other scenarios like splitting on number of lines per file.

Thank @adamfisher for all your next extensions,
My employee will review all them when he will be back from his vacancy in one week.
Best Regards,
Jonathan

No worries Jonathan. Very cool library you guys have. I would rather contribute to it instead of creating yet another one-off NuGet package 😃

@JonathanMagnan Any movement on this?

@JonathanMagnan Any movement on this?


Removed datamodule from an input parameter of MoCo model

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Removed datamodule as an input parameter of MoCo model. There are two reasons:

Datamodule is normally passed into Train function.
In the original code, datamodule with be saved as a hyperparameter, which makes the yaml difficult to read.

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @deng-cy! Thanks for opening this PR.

In the file pl_bolts/models/self_supervised/moco/moco2_module.py:

Line 374:1: W293 blank line contains whitespace
Line 377:26: W291 trailing whitespace

Do see the Hitchhiker's guide to code style

@deng-cy great! can we do the same also for iGPT :]


How to use this library in google appscript and convert 2d array to xlsx?

Hi,
I am trying to generate xlsx sheet using google appscript using sheetjs. could you please teel me a proper way to use this?
as whenever i am using xlsx.full.min throwing JSZIPSYNC error

and when i am using xlsx.min it is showing error like:

spreadsheet is not an option to me as it has cell limitation. Only xlsx is what i need

The outer structure of the library was changed such that the xlsx.full.min.js script should "just work".  https://tanaikech.github.io/2020/10/12/retrieving-all-values-from-all-sheets-from-url-of-2pacx-of-web-published-google-spreadsheet-using-google-apps-script-and-javascript/ is an example which appears to use the standalone script directly


Logging

Codecov Report

Merging #33 (4e8d655) into 0.0.11 (5e0f663) will increase coverage by 0.05%.
The diff coverage is 73.00%.

@@            Coverage Diff             @@
##           0.0.11      #33      +/-   ##
==========================================
+ Coverage   80.33%   80.39%   +0.05%
==========================================
  Files          33       33
  Lines        1368     1433      +65
  Branches      212      230      +18
==========================================
+ Hits         1099     1152      +53
- Misses        269      281      +12

Impacted Files
Coverage Δ

src/utils/clusterTools/mpi.ts
25.00% <7.14%> (-1.67%)
:arrow_down:

src/utils/np.ts
80.00% <37.50%> (-1.82%)
:arrow_down:

src/utils/clusterTools/index.ts
46.22% <81.08%> (+20.51%)
:arrow_up:

src/Algos/dqn/index.ts
93.02% <87.50%> (+1.75%)
:arrow_up:

src/Algos/vpg/index.ts
94.69% <96.77%> (+0.48%)
:arrow_up:

src/utils/clusterTools/ops.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Installation README

Here is what I did once you have conda installed using this guide
conda create --name access_data_analysis python=3
conda activate access_data_analysis
conda install r-essentials r-base
conda install r-argparse
pip install genotype-variants

#9


Start from zero doesn't run if message_count > 1

I tested the solution and if there's multiple events coming in simultaneously into the queue the start from zero Lambda returns False due to this equality check int(message_count) == 1
What is the reasoning behind the check? Can it just be changed to > 0 instead, or is it covering some weird edge case?

This was covering an edge case of starting the process when there are no instances online. But changing it to >0 will still cover the edge case and cover the case of having multiple messages coming in simultaneously. I'll work on making the update.


chore: release 1.3.0

:robot: I have created a release *beep* *boop*
1.3.0 (2021-11-07)
Features

add Dockerfile (1686dd8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/shivjm/dockerfile-image-tags/releases/tag/v1.3.0 :sunflower:


Document Aabb vs Aabb2d/3d

Aabb is a render primitive used most often for frustum culling.
Aabb2d (and 3d) are math primitives intended for use in collision detection, ray/shape casts, and other bounding volume use cases.
They have similar names, which can lead users toward thinking they are similar/interchangeable or generalizations of each other, but the usage is different and this currently isn't called out in the docs. For example Aabb implements Component while Aabb2d does not, which compounds when users' Sprites get Aabb "for free" but Aabb2d must be manually constructed as seen in the breakout example.
The docs should ideally answer the question: "Which Aabb should I use?".
The answer to me seems like "Use Aabb2d/3d moving forward, since Aabb is optimized for the frustum culling use case", but I haven't been able to find a definitive answer.

The actual answer is that this issue should be replaced with  "deprecate then remove Aabb": the math crew wants to swap us over completely, following the general design in the Primitive Shapes RFC. Doing so should be simple enough, but will require benchmarking to ensure there aren't performance regressions.

Alice beat me to it :)
I believe the general plan here is to hopefully deprecate Aabb in favor of Aabb2d/3d, or to make it a wrapper over Aabb2d/3d specifically for sprite/mesh purposes, probably with a more rendering specific name to avoid confusion.
The main reason this hasn't already been done is that Aabb3d currently uses Vec3 instead of the SIMD-aligned Vec3A, unlike Aabb, and the representation is also different. We need to change it to Vec3A and make sure there are no performance regressions compared to Aabb to satisfy rendering people.

Thanks for the details! I'm cool with closing this issue in that case. Finding this issue would have been enough for me to figure out what to expect/how to move forward.


Adding the .all-contributers bot

@all-contributors please add @deepesh611  for code

@all-contributors please add @deepesh611 for code


vectorize: Update limits.md

This PR:

Updates the Limits docs: you can now have 100 indexes per account
Adds a changelog entry for the same

It might be worth moving the changelog to the 'new' style (under /data/changelogs), i.e d1.yaml - it will add the changes to https://developers.cloudflare.com/changelog/ as well as posting them in the releases channel on the Discord.


F-Droid inclusion

Hi,
Since this app is MIT licensed, are you considering the fact to add it to F-Droid? There is a strong community behind.
You can find some documentation here.
Otherwise, if you don't want to work on the inclusion of this app by yourself, would it be ok for you if someone else do it for you?

The short answer is: I haven't really looked into it. But I don't think it's a bad idea.
I'm guessing it will take a bit of effort to make the f-droid build process happy. If anyone wants to take a crack at getting the app built in that environment, let me know if it works... and maybe submit a PR here with any necessary changes to the build. :)

I opened a RFP here.

And I contributed Fastlane (the bot complained it was missing – so I bundled what's used in my repo, where your app is already listed. My library scanner (which is also used at F-Droid) found nothing to complain, so consider that check passed already :smiley:

PR is merged!
Thanks for the help. Maybe I'll make a contributors file ... :smile:

Gladly done! RFP updated as well. Next bot scan results due within an our (hopefully).

@sz3 now that your app made it to F-Droid.org, so you still want to keep it in my repo? I usually remove apps at this point given an overlap of about 10 days (which was reached today) unless explicitly requested to keep them. You can find some background, pros & cons in my wiki should you need help for your decision.

I think it's fine to remove it. Thanks for all the help. :)


UI: Can't add labels to nodes from GKE

UI for https://github.com/rancher/rancher/issues/10922

Version: Master 2.2 (2/13/19)
Confirmed enhancement. We can now set Node labels for our pool upon GKE cluster creation.
In UI this is in the Node section:

API/http snippet of googleKubernetesEngineConfig:
labels: ["foo=bar", "tacos=awesome", "tacquitos=awesome2"]
0: "foo=bar"
1: "tacos=awesome"
2: "tacquitos=awesome2"

Confirmed that these labels show up under Nodes page. Confirmed they are also in the GKE web console.
Confirmed I can edit labels (Nodes > node function menu > Edit > Update Labels. You cannot edit labels for the whole pool via the Edit Cluster page. This is expected.
Validated http/api/ui.


Gradle compiling errros after updating to {N} 3.4.0

From @victorevox on December 28, 2017 16:35
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes
Tell us about the problem
Nativescript 3.4.0 Errror
After upgrading my application to tns 3.4.0, I'm not able to compile my android application, I have the following error:
Could not compile build file '/home/victor/Documentos/project-folder/platforms/android/build.gradle'.
> startup failed:
  build file '/home/victor/Documentos/project-folder/platforms/android/build.gradle': 11: expecting anything but ''\n''; got it anyway @ line 11, column 51.
     roid.tools.build:gradle:2.3.3'
                                   ^

  1 error

The error seeems to be a corrupt gradle file, where for some reason the nativescritp cli its building the .gradle with a bad characther ( " ' " ) instead of ( " " "), so I've fixed manually this by modifying the build.gradle file:
	classpath "com.android.tools.build:gradle:2.3.3' => classpath "com.android.tools.build:gradle:2.3.3"

After trying to re-run tns run android a new error appears:
A problem occurred configuring root project 'app'.
Configuration with name 'compile' not found.

Unfortunately I'm not able to get rid of that error manually, so I'm attaching a logcat, hopefully someone can help me with this.
Here is a logcat with more detailed information https://drive.google.com/file/d/1to7q7vPf9fWqWqPPv9t4MeGh03GayK3q/view?usp=sharing
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:

CLI: 3.4.0
Cross-platform modules: ^3.4.0
Runtime(s): "tns-android": 3.4.0
Plugin(s): (look for the version number in the package.json file of your
project)

Please tell us how to recreate the issue in as much detail as possible.
Update project to 3.4.0
Just by running tns run android it will fail on gradle compile
Also I've tried by deleting hooks, platforms and node_modules folder, but still have the same issue
Is there code involved?
 I can confirm that this is a bug that can be reproduced when adding nativescript-push-notifications plugin. Keep an eye on this issue for possible solutions and updates about an ap[plicable fix.
Steps to reproduce:

create new project tns create testApp --tsc (or use this test app)
add nativescript-push-notifications plugin
build the application (the first error occurs)

Could not compile build file '/home/victor/Documentos/project-folder/platforms/android/build.gradle'.
> startup failed:
  build file '/home/victor/Documentos/project-folder/platforms/android/build.gradle': 11: expecting anything but ''\n''; got it anyway @ line 11, column 51.
     roid.tools.build:gradle:2.3.3'
                                   ^

  1 error

manually fixing the quotes is causing the build to fail with the second described error

A problem occurred configuring root project 'app'.
Configuration with name 'compile' not found.

Hi @victorevox  this is a problem with the nativescript-push-notifications plugin which adds an erronious classpath to the platforms/android/build.gradle file. There's an issue in the push notifications repo and we'll be working on the problem as soon as possible.


Cache example doesn't cache when deployed to Cloudflare

If I repeatedly curl the cache example (_examples/cache) I get a different response each time, no caching happens.
This only happens when deployed to cloudflare. When run in wrangler local dev it caches fine.

@TheMightyGit
Are you using the *.workers.dev subdomain?
It is not attached to your domain and therefore does not affect the cache.
If you are using your own domain, I would look into this issue further.

@TheMightyGit Are you using the *.workers.dev subdomain? It is not attached to your domain and therefore does not affect the cache. If you are using your own domain, I would look into this issue further.

Ah! Yes, I am using the *.workers.dev. Thank you for the answer :)


fixing typo

Hi @4c74356b41, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@4c74356b41 : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@rothja Hi Jason. Please review this proposed change. Thanks.

Looks good.

#sign-off

Only the author of the article can use the sign off comment to add the ready-to-merge label.

@KatieCumming Hi, I tried to sign off, but it won't let me. Can you help me merge this. I approve.

@KatieCumming Katie, could you help me get this pushed through? Thanks!

@rothja - thanks for the note Jason. Merged!
@tysonn - thanks for adding the ready-to-merge label.


Document how to create from tarball

From https://github.com/apache/cordova/issues/32#issuecomment-436284518 I found out that it is possible to run ./bin/create from a platform tarball, if I am not mistaken.
I think this should be documented explicitly, which I did not see.
Also how to use bin\create.bat on Windows cmd.

It is documented, see the "Platform Centered Workflow" section in each platform's documentation:

Android
iOS
Windows


Add impermanence and agenix

^ Interesting, that is an edge case I didn't consider and I don't think we can fix


PA improvements

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hey @ktkrg, I'm not convinced the steps as-documented actually work. Do you have any thoughts on what I'm missing? I've tested RHEL 8 and CentOS 7.


Javascript Date() constructor does not accept TiddlyWiki date format as input, nor empty strings.

Using BobWin.exe 1.6.2r2, Windows 10, latest Firefox 81.0.2.
There are several places in the code where there is a call to (for example) new Date(SomeObject.fields.created)
I'm mostly interested in these 2:
https://github.com/OokTech/TW5-Bob/blob/61bfcd84b3f9bca3e6d5a14c093f534f04789335/ServerRoutes/ServerRoutes/post-push.js#L48
https://github.com/OokTech/TW5-Bob/blob/61bfcd84b3f9bca3e6d5a14c093f534f04789335/ServerRoutes/ServerRoutes/post-push.js#L49
These lines return "NaN"
// empty string
$tw.utils.stringifyDate(new Date(""));
==> "NaNNaNNaNNaNNaNNaNNaN"

// TiddlyWiki date
$tw.utils.stringifyDate(new Date("20201016232045362"));
==> "NaNNaNNaNNaNNaNNaNNaN"

This works as intended. All of the tools that I use to work with the api send the dates as stringifyed javascript dates.
Please read and follow the guidelines for making a bug report or feature request https://ooktech-public.gitlab.io/guidelines/

Gotcha, thanks.


Make consume() return a Result instead of a bool

The primary use case for this is so that we can return a custom error, which would tell the caller for how long they need to wait for the next attempt to succeed (think Retry-After in HTTP's Too Many Requests status).
We might come up with additional error conditions later (e.g. treat a rate-limit of 0 as completely blocking a giving key, in which case retrying does not make sense).
This is much easier now that we removed all the floating point arithmetic and use a fixed clock in tests.

@malor can you please rebase on main and push it please? it seems CI is not started for pull requests to another branches.


services/regulated-assets-approval-server: bump the Go version in Dockerfile that it was missed in #5249

PR Checklist
### PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[x] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[x] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Bump the Go version in Dockerfile that it was missed in #5249
Why
The toolchain command in go.mod was requiring a Go version newer than the one in the Dockerfile, which was causing docker-build to fail.
Toolchain command:
https://github.com/stellar/go/blob/ee9bbbf03be79bbac4000ea97b874ed010757b1b/go.mod#L3-L5
Container version incompatible with that toolchain version:
https://github.com/stellar/go/blob/ee9bbbf03be79bbac4000ea97b874ed010757b1b/services/regulated-assets-approval-server/docker/Dockerfile#L1

It was fixed: https://stellarfoundation.slack.com/archives/C018BLTP2AU/p1714405010326809 🎉


Fix right-click to select word on macOS

The current implementation of right-click selecting a word on macOS is implemented "outside" the rest of the selection-managing code. For example, the modifier to select a word on double-click is attached to the BasicText element, but the code to select a word on right-click is attached to the entire SelectionContainer.
This causes several problems:

When right-clicking a SelectionContainer with no text, the app will crash.
When right-clicking on the padding of a Text in a SelectionContainer, the app will crash or select the wrong text.
The position of the word to select is determined from the position of the context menu, which is not guaranteed to be opened exactly at the clicked position.
The logic doesn't check whether the clicked position is already selected; it only checks whether a selection already exists. Therefore when there is already some selection, it will not select a clicked word that is not already selected.

Fixes https://github.com/JetBrains/compose-multiplatform/issues/4985
Note that I don't plan to merge this immediately. I want to first get feedback, then upstream the common changes to Google, and only then, after cherry-picking from AOSP, merge this PR.
Testing

Tested manually, with the Selection page in mpp demo.
Added unit tests

This should be tested by QA
Release Notes
Fixes - Desktop

[macOS] Fix crash when right-clicking an empty SelectionContainer or on the padding of a Text inside a SelectionContainer.

I looked and the code more, it is used as a detector to select a word. This isn't fully correct, as LocalTextContextMenu can use own detector by design (override it to middle-click), and there will be strange behaviour - on right we select, on middle - we open the context menu.

I understand that this is a bit fragile, as there are two sources-of-truth here in a sense, but given the limitations of the existing code, I felt this was the lesser of two evils.
Also consider that we are implementing existing, established OS behavior, not some behavior of our choosing which we can change as we want. So on macOS, both places must use right-click as the trigger anyway. And both end-up using the same trigger modifier, so it flows back to a single source-of-truth.
We can discuss this further in a week.

And both end-up using the same trigger modifier, so it flows back to a single source-of-truth.

Having this approach is okay if doesn't effect API and behaviour. In our case:

It affects API of contextMenuOpenDetector. If we ourselves use it correctly, it might tell that is also needed for users, and extending is justified. If we use just do it to avoid big changes, it might be not needed for users.

It prohibits overriding opening menu on the user side:

@OptIn(ExperimentalFoundationApi::class, ExperimentalComposeUiApi::class)
@Composable
fun CustomTextMenuProvider(content: @Composable () -> Unit) {
    CompositionLocalProvider(
        LocalTextContextMenu provides object : TextContextMenu {
            @Composable
            override fun Area(
                textManager: TextContextMenu.TextManager,
                state: ContextMenuState,
                content: @Composable () -> Unit
            ) {
                Box(Modifier.onPointerEvent(PointerEventType.Press) {
                    if (it.button == PointerButton.Tertiary) {
                        val pos = it.changes.first().position
                        state.status = ContextMenuState.Status.Open(Rect(pos, 0f))
                    }
                }, propagateMinConstraints = true) {
                    content()
                    LocalContextMenuRepresentation.current.Representation(state) { listOf(ContextMenuItem("Copy") { textManager.copy?.invoke() }) }
                }
            }
        },
        content = content
    )
}

Considering this, instead of extending contextMenuOpenDetector, we might need to extend TextManager to provide API for selecting a word at the coordinates and change TextContextMenu.Default to select it on macOs.

Will this issue be fixed in Compose 1.7?

Will this issue be fixed in Compose 1.7?

Most likely, yes.

Will be fixed by https://github.com/JetBrains/compose-multiplatform-core/pull/1439 instead


Update README.md

Fixed links, updated the authentication section to be clearer, and added a step to update the Environment

Also, could I ask you to change the title of "Tableau authentication credential and permissions" to "Tableau authentication credentials and permissions"? That would also mean correcting links to it to be "tableau-authentication-credentials-and-permissions".
Changes needed are currently at line 105, 134, and 149.
I can do this in a separate PR if you like.

I have made the word credential plural


compatibility issue?

Firstly, thank you for making a simple self-contained sample.  It really helps!
I tried to run it, and got following error.

PS C:\Program Files> docker run microsoft/dotnet-samples:dotnetapp-nanoserver
The specified framework 'Microsoft.NETCore.App', version '1.0.4' was not found.

Check application dependencies and target a framework version installed at:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
The following versions are installed:
1.0.3
Alternatively, install the framework version '1.0.4'.

Maybe, we should update this to use "1.0.4-runtime"?

FROM microsoft/dotnet:1.0-runtime-nanoserver

My server is on "17.03.0-ee-1".
Thank you in advance.

@ekitagawa, Can you try re-pulling the image (e.g. docker pull microsoft/dotnet-samples:dotnetapp-nanoserver) and try running a newer version?  We discovered the issue you encountered earlier today and rebuilt the images.

ah... sorry... I pulled the image, and it worked as expected.  "docker inspect" is showing newer build number indeed.  thank you for such a quick response!

@ekitagawa - Glad to help out.  I apologize for mistake on our side which caused the bad image to be pushed.


File picker

Some variations of a file picker would be nice e.g.

Button
Drag-and-drop
Multi-file buttons / select

looks like Niko dis some work in https://github.com/dabapps/roe/pull/243 on this.


fix: Disable failing expired token test in CloudAdapter

#minor
Description
This PR disables the throws exception on expired token test due to invalid SigningKey value in the token. This will be skipped for now until a fix is provided, so it doesn't block new PR merges.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
101 unchanged lines in 10 files lost coverage.
Overall coverage decreased (-0.5%) to 84.275%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-core/src/cloudAdapterBase.ts
1
77.44%

libraries/botbuilder-core/src/configurationBotFrameworkAuthentication.ts
1
64.58%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

libraries/botframework-streaming/src/utilities/createNodeServer.ts
1
78.57%

libraries/botbuilder/src/cloudAdapter.ts
3
34.11%

libraries/botframework-connector/src/auth/allowedCallersClaimsValidator.ts
4
22.22%

libraries/botframework-connector/src/auth/parameterizedBotFrameworkAuthentication.ts
10
16.95%

libraries/botframework-streaming/src/namedPipe/namedPipeServer.ts
12
50.68%

libraries/botframework-streaming/src/namedPipe/namedPipeClient.ts
17
34.09%

libraries/botframework-streaming/src/namedPipe/namedPipeTransport.ts
51
3.92%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
20243

Relevant Lines:
22746

💛  - Coveralls

Hi @tracyboehrer
There is a unit test failing in main, preventing other PRs to pass. We created this PR to disable it temporarily until we provide a fix.


Update velph-el_bands-plot

Codecov Report
Attention: Patch coverage is 34.69388% with 32 lines in your changes missing coverage. Please review.

Project coverage is 73.42%. Comparing base (449036b) to head (16fee1e).
Report is 31 commits behind head on develop.

Files
Patch %
Lines

src/phelel/velph/cli/el_bands/plot.py
7.14%
26 Missing :warning:

src/phelel/velph/cli/el_bands/__init__.py
0.00%
6 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #13      +/-   ##
===========================================
+ Coverage    73.36%   73.42%   +0.05%
===========================================
  Files           71       74       +3
  Lines         5069     5211     +142
===========================================
+ Hits          3719     3826     +107
- Misses        1350     1385      +35

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.