add ViewFrom, fixup nit

not sure I should run 'tox -e reformat' on this and commit it?
this is the changes it would cause: https://github.com/mhaberler/czml3/commit/2bb86cf3fd2f470ff5b01e717e1c8abc3f67fd8a

Codecov Report

Merging #74 (81ea096) into master (260deee) will decrease coverage by 0.26%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   99.17%   98.91%   -0.27%
==========================================
  Files          12       12
  Lines         728      735       +7
==========================================
+ Hits          722      727       +5
- Misses          6        8       +2

Impacted Files
Coverage Δ

src/czml3/properties.py
99.47% <71.42%> (-0.53%)
:arrow_down:

Continue to review full report at Codecov.

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

halleluja. long live the learning curve!

Glad to see you got tox running @mhaberler , and thanks for this PR! Reviewing it right now :eyes:

Merged! :rocket:

had to move to Python 3.8 from 3.9 on OSX to get everything in sync. Thanks!


Add PR template + update doc

I added a PR template to avoid asking again and again the same things...
I also fixed a small bug in the documentation.

Ah yes, very handy feature! Also helps if ever there is a derp person going around and forgetting people to do certain things ^^'


Should have cool name

😉

Hello, do you have any ideas for a kewl n4me ?
I've thought about it 5 minutes,
i've come with
myhandinthescreen,
or maybe,
as a kind of gimmick,
touchingbeforedying.
There is also the french pun: mathetdessin.

Found it,
one day,
it's gonna be called
A User Interface.


chore(master): release 1.10.1

:robot: I have created a release beep boop
1.10.1 (2023-01-24)
Bug Fixes

remove identifier_value from message_to_value.py (9747d84)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/indykite/indykite-sdk-python/releases/tag/v1.10.1 :sunflower:


Add i18n language support

Add multi language support to app. This should include some UI control as well as some sensible defaults. Although the defaults may include also setting a currency (#4), the UI should probably remain separate.

The app now includes a UI control that allows the user to select among the 62 supported machine-translated languages:

The default language remains English. There is some auto locale detection enabled presently so that if a user's browser prioritized a locale that's supported by the app it will automatically redirect. I'm a bit suspicious of this because I think it may annoy some users, but for now I will leave that auto-detection enabled.
The language translations are all machine generated. As such, there are plenty of optimizations that could be handled by native-speaking humans. To facilitate these optimizations, I've added the translation-volunteers channel to the discord. Anyone interested in helping with translations can be set up with a translation.io account.


Reorganize Repository folders

Reorganize the folders in the repository so that we have all documents in a 'Documentation' folder.

maybe, as the product owner @jdieguvi15 should review this task?


The camera jumps hundred of meters up after the terrain has finished loading

With recent versions of Cesium, the camera can jump all of a sudden once the terrain has finished loading.
This new behaviour may have been caused by https://github.com/AnalyticalGraphicsInc/cesium/commit/f401d277b#diff-6298b280e4e0977bedd881b65b769863R352 (see the suspendTerrainAdjustment) from https://github.com/AnalyticalGraphicsInc/cesium/pull/4105.
(edit: I commented the suspendTerrainAdjustment property and the issues are fixed (going under terrain and camera jump).)
Contrary to what the commit title suggest, suspending terrain adjustment occurs not only during flights, but also on any action calling Camera.setView (notably screen controls).
Previously, the camera was adjust continuously while the terrain was loading.
Current behaviour is disturbing because it can take a lot of time before all the terrain has finished loading, so the user as already started working on the globe when the globe unexpectingly moves.
Here is a Sandcastle example with an exagerated 3000m minimum zoom distance. Moving close enough to the terrain and waiting exhibits the issue:
var viewer = new Cesium.Viewer('cesiumContainer');
var scene = viewer.scene;
var globe = scene.globe;

var controller = scene.screenSpaceCameraController;
controller.minimumZoomDistance = 3000;

var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
    url : 'https://assets.agi.com/stk-terrain/v1/tilesets/world/tiles'
});
viewer.terrainProvider = cesiumTerrainProviderMeshes;

setInterval(function() {
    var carto = Cesium.Cartographic.fromCartesian(scene.camera.position);
    console.log(carto.height - globe.getHeight(carto));
}, 10)

For example, here the user was at 860m while the terrain loaded and was jumped to 3000m afterwards:
860.13518398939
3017.5562165755505

I also noticed it is now much easier to go under the terrain (with the default minimumZoomDistance of 1m of Cesium and even with a fair margin of 300m). I think it is also related to the change above:

Are this new behaviours: jumping camera and go under terrain expected?

I believe the current/desired behavior is that:

If terrain is loading, we allow the camera to go under the terrain.  As you stated, setView or other camera functions/flights might place the camera under lower-resolution terrain but the camera ends up above the terrain once the higher resolution tiles are loaded.
Once all terrain is loaded, the camera can no longer go under the terrain.
Once all terrain is loaded, if the camera is under terrain, it is moved to be above the terrain.

I could be wrong about 3, but we definitely need 1 and 2.  If you're seeing camera height being adjusted even when the camera is already above terrain then that might be an bug.  We should only adjust the height if the camera would end up under terrain.


Don't support UWP project

I have tried your unity dll library, and it works perfect on PC. But it failed when I try build my unity project to UWP project. The errors look like this:

Oh, thanks for reporting! Because I have never tried UWP, I didn't know this issue before 😄. For hotfix, please read Workaround for UWP and try to do what it says.


Fix the naming hell: skydoc, skylar, stardoc, skylark_doc ...

The problem
The names of the rules and various .bzl files involved in the skylib repository and the skydoc repository are way too confusing.
The relatively recent renaming from skylark to starlark exacerbated the situation.
For example, skydoc and stardoc sound virtually the same to me. I was wondering why they both existed. Shouldn't stardoc replace skydoc? Why both?
Desirable situation
As a Bazel rule developer and user, I would like to have a very thin and consistently named API, and the use of star over sky whenever possible to be eventually consistent with the renaming.
The old sky-based names can still be exported as deprecated to maintain backward compatibility.

stardoc will replace skydoc. We're in a brief migration period (~1 release) where we have both, and have documentation available for both. Stardoc isn't a drop-in replacement for Skydoc, so this is meant as a convenience to users.

Thanks for the explanation.
I am happy with knowing these. Closing.


failing on dataframe column name being an ndarray

Under certain versions of netCDF4, this error occurs indicating that the units parameter is being set to an ndarray instead of a string or dict:
Traceback (most recent call last):
  File "classsummary2netcdf.py", line 40, in <module>
    process_dir(in_dir, out_dir)
  File "classsummary2netcdf.py", line 34, in process_dir
    csdir2netcdf(in_dir, out_dir, frequency=freq, threshold=thresh, metadata=md)
  File "/ifcb_code/ott-utils/ott/netcdf.py", line 77, in csdir2netcdf
    cs2netcdf(cs_path, nc_path, frequency=frequency, threshold=threshold, metadata=metadata)
  File "/ifcb_code/ott-utils/ott/netcdf.py", line 65, in cs2netcdf
    instrument_attributes=i_attrs)
  File "netcdf-cf-utils/nccf/timeseries.py", line 66, in from_dataframe
    self.create_obs_vars(df, ('timeseries','time'), units)
  File "netcdf-cf-utils/nccf/cf.py", line 122, in create_obs_vars
    u = units if type(units) is str else units.get(varname)
TypeError: unhashable type: 'numpy.ndarray'

Software package versions:
numpy v1.12.0
munch v2.1.0
scipy v0.18.1
pandas v0.19.2
netCDF4 v 1.0
yaml v3.10

Not sure if this is a bug in ott-utils or netcdf-cf-utils

The column names for the dataframe being passed in to create_obs_vars are read from the data structure returned by scipy.io.loadmat in ClassSummary, and if in some version of scipy those are ndarrays of chars instead of strings, could be the cause of this error.

Still baffled as to what causes this, but coercing the column names to be strings should work.

Cannot reproduce, even with these package versions.


Parallelize parameter weight computation using PyTorch Distributed

Description
This PR introduces parallelization to the create_parameter_weights.py script using PyTorch Distributed. The main changes include:

Added functions get_rank(), get_world_size(), setup(), and cleanup() to initialize and manage the distributed process group.

get_rank() retrieves the rank of the current process in the distributed group.
get_world_size() retrieves the total number of processes in the distributed group.
setup() initializes the distributed process group using NCCL (for GPU) or gloo (for CPU) backend.
cleanup() destroys the distributed process group.

Modified the main() function to take rank and world_size as arguments and set up the distributed environment.

The device is set based on the rank and available GPUs.
The dataset is adjusted to ensure its size is divisible by (world_size * batch_size) using the adjust_dataset_size() function.
A DistributedSampler is used to partition the dataset among the processes.

Parallelized the computation of means and squared values across the dataset.

Each process computes the means and squared values for its assigned portion of the dataset.
The results are gathered from all processes using dist.all_gather_object().
The root process (rank 0) computes the final mean, standard deviation, and flux statistics using the gathered results.

Parallelized the computation of one-step difference means and squared values.

Similar to step 3, each process computes the difference means and squared values for its assigned portion of the dataset.
The results are gathered from all processes using dist.all_gather_object().
The final difference mean and standard deviation are computed using the gathered results.

These changes enable the script to leverage multiple processes/GPUs to speed up the computation of parameter weights, means, and standard deviations. The dataset is partitioned among the processes, and the results are gathered and aggregated by the root process.
To run the script in a distributed manner, it can be launched using Slurm.
Please review the changes and provide any feedback or suggestions.

Have you done any testing about how long time this takes on CPU vs GPU? I am curious if the gains from GPU acceleration makes up for the time needed to shuffle the data over to it for these computations.

I have done tests with my 7TB (436524 samples) cosmo training data (zarr-based). As this solution scaled rather well I could reduce the runtime for the create_parameter_weights.py script from roughly 50h to 1h. So, while I did not do any detailed analysis, the difference for me was very much significant. Mostly because I rather use lots of nodes at once instead of one node and wait multiple days

I was thinking that once the data is in a zarr, will this script not be replaced by just a few xarray .mean calls, that are already parallelized? So it seems good to know if we should put in the effort to do this ourselves on GPU, or just rely on xarray for that later.

TLDR I suggest to merge this with main for now for the 10x-speedup on CPU with GLOO and the newly introduced --distributed flag. GPU has no real benefit, so we can remove that if preferred. Suggestions from reviewer were implemented, feel free to double check. Should be replaced with xarray-based solution in the future.
So the smart thing would have been to wait for xarray, but instead I decided to make a little pseudo-scientific study :face_exhaling:
The script is now working on CPU/GPU with slurm or locally. No data is lost any longer thanks to an improved Dataset Class that introcudes padding (I had the same idea as you @joeloskarsson). In the following I want to talk about the performance (1. Benchmarks) and the Robustness (2.).
1 Benchmarks
The script was evaluated in three different modes. Note that multi-node is currently not supported (yes, I had to stop myself at some point)

Locally, similar to how the script is currently run in main
With slurm using 1 GPU-node with 4 A100 GPUS and 128 CPU cores, with NCCL
With slurm using 1 CPU-node with 256 CPU cores, with GLOO

For the benchmarks I arbitrarily iterated 500-times over the meps_example resulting in a 2000 samples dataset.
I tracked the exact time required to execute the full script either in slurmvia  sacct or in the local terminal.
THE RESULTS: |Local: 55:23min| |Slurm-GPU: 5:56min| |Surm-CPU:5:38|
So as Joel already suspected, it was not worth it to port these simple calculations to GPU. We can also remove the nccl option from the script if preferred.
2 Robustness
The script must produce the same statistics as the old script from main, in distributed mode and in single-task mode. To assert this, all stats were produced with the current script from main (called old), the new script in single-task mode (no prefix), and the new script in distributed mode called distributed. In the following stdout from the terminal we can see that all stats match with a tolerance of 1e-5 for new and new_distributed on CPU. That being said, the GPU-NCCL runs sometimes only have atol=1e-2 accuracy. Something that could probably be adjusted in the floating point operation settings, but not really worth it for now.
print("diff_std == diff_distributed_std:", torch.allclose(diff_std, diff_distributed_std, atol=1e-5))
...
------------------------------------------------------------------------------
diff_std == diff_distributed_std: True
diff_mean == diff_distributed_mean: True
flux_stats == flux_distributed_stats: True
parameter_mean == parameter_distributed_mean: True
parameter_std == parameter_distributed_std: True
------------------------------------------------------------------------------
diff_std == diff_old_std: True
diff_mean == diff_old_mean: True
flux_stats == flux_old_stats: True
parameter_mean == parameter_old_mean: True
parameter_std == parameter_old_std: True

Notes
My colleagues (generation TikTok) did actually complain that they cannot start training the model for 50h waiting for the stats, so having a faster script is certainly nice. If you actually want to use the --distributed feature, you will need a scheduler. I am personally using SLURM as follows (I will add a note about this to the README.md if we merge:
#!/bin/bash -l
#SBATCH --job-name=NeurWP
#SBATCH --account=s83
#SBATCH --time=02:00:00
#SBATCH --nodes=1
#SBATCH --ntasks=16
#SBATCH --partition=postproc
#SBATCH --mem=444G
#SBATCH --no-requeue
#SBATCH --exclusive
#SBATCH --output=lightning_logs/neurwp_param_out.log
#SBATCH --error=lightning_logs/neurwp_param_err.log

# Load necessary modules
conda activate neural-lam

srun -ul python create_parameter_weights.py --batch_size 16 --distributed

Okay I hope I will find pieces of this useful in other PRs, now please someone stop me from wasting more time here :rofl:


Sentiment analyser ML project

A sentiment analyzer learns about various sentiments behind a content through machine learning and predicts the same using AI. By creating an ML system that would analyze the sentiment behind texts, or a post, it might become so a lot easier for organizations to know and understand their consumer behavior better. Twitter data is taken into account as an ultimate entry point for beginners to practice sentiment analysis machine learning problems. Using Twitter datasets, one can get a charismatic combination of tweet contents and other related metadata such as hashtags, location, retweets, users, and many more which pave way for insightful analysis. The foremost problem that you can start working on as a beginner is to build a model to classify users’ profile photos as sad happy or neutral.

I am going to start my work, please assign to me

Can you also assign this issue to me as I am reading about it , so it would be great


Scaffolding does not contain page titles

After generating the scaffold code, text such as "manage your account" does not exist anywhere. Where is that coming from and how do we change it?

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

ID: 804e24dd-7e30-8cf5-2c99-1ffacb4582f6
Version Independent ID: 3e25547b-e2c9-6634-2c38-2a77207f17d4
Content: Scaffold Identity in ASP.NET Core projects
Content Source: aspnetcore/security/authentication/scaffold-identity.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

You need to scaffold everything.


create an events plan landing page

Trello card
https://trello.com/c/ll0PPlfM
Context
We need to create a page which builds anticipation for events and gives people who have registered for an event, a reason to attend.
Changes proposed in this pull request

new page created

Guidance to review

@philspray New images look good!
There's something slightly odd going on on mobile - too close to left-hand edge
Here's a screenshot from my phone (iPhone 11):

We've had this issue before I think - one to ask @plisovin to have a look at


Guagua Job Failed Improvement

In bagging, if 5 jobs are running in parallel, if one is failed, it will be resubmit again. Combine continuous model training and failed job together to make the second job trains model starting from checking point.

So far models in LR/NN/GBT/RF are all saved every fixed iteration. If continuous model training is enabled, such feature will also be enabled.
Close this issue.


[DEPLOY] MightyText

Create recipe for MightyText
Service
MightyText
Link to your repository
https://github.com/atsao72/franz-recipe-mightytext

Support added for message badge count: https://github.com/brianjohnhanna/mightytext-franz-recipe


implement twinsafe

finish implementation for twinsafe module which stores twin info in local sqlite db

implementation is almost done, except for the part for send/receive and verify data, will be done after secp256k1 implementation is fixed https://github.com/freeflowuniverse/crystallib/issues/205

Verify data part is done, send/receive will be worked on when mbus implementation is done


[Dialog] suggestion: fullWidth dialog property

Basically most times I want to make a dialog that instead of having a defined size takes all the available size (up to maxSize=xs/md...) instead of adapting to the content size. To do this I had to make my own style around it:
import { default as Dialog, DialogProps } from 'material-ui/Dialog';
import withStyles from 'material-ui/styles/withStyles';
import * as React from 'react';

export const FullWidthDialog = withStyles<DialogProps>(
  {
    paper: {
      width: '100%'
    }
  }
)(
  (props: DialogProps) => {
    const { children, ...others } = props;
    return (
      <Dialog
        {...others}
      >
        {children}
      </Dialog>
    );
  }
);

Would it be sensible to add a "fullWidth" to the dialog property that does that for you?

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

N/A
Current Behavior

N/A
Context

See the description above
Your Environment

Tech
Version

Material-UI
latest beta

React
15

browser
Chrome 61

TS
2.5.2

We already have the Tabs and the Input components accepting a fullWidth property. Why not.

Side question, how is this different from the fullScreen property?

Oh, ok, It's completely different.

I remember @rosskevin posting a really good wrapper for dialog in gitter that accomplished something similar.

Thanks @kgregory for mentioning that.
I have something that responsively grows with the screen if you turn it on, and it maintains margin one breakpoint under the current.  It has worked quite well.
It would need cleaned up and turned into a HOC, and we should debate the API (the property is a little long):
// @flow

import React from 'react'
import classNames from 'classnames'
import {default as MuiDialog} from 'material-ui/Dialog'
import {withStyles} from 'material-ui/styles'
import {keys} from 'material-ui/styles/createBreakpoints'
import type {Breakpoint} from 'material-ui/styles/createBreakpoints'
import type {Props as DialogProps} from 'material-ui/Dialog/Dialog'

export const styles = (theme: Object) => {
  const { breakpoints } = theme
  const sheet = {}

  for (let i = 0; i < keys.length; i++) {
    const breakpoint = keys[ i ]
    sheet[ breakpoints.up(breakpoint) ] = {
      [`${breakpoint}Up`]: {
        minWidth: breakpoints.getWidth(breakpoint)
      }
    }
  }

  return sheet
}

export type Props = {
  ...$Exact<DialogProps>,
  /**
   * Given one or more breakpoints, the minWidth will grow to consume more space as the page width grows, up to
   * the largest given size.
   */
  responsiveMinWidth?: Breakpoint | Array<Breakpoint>
}

type AllProps = {
  ...$Exact<Props>,
  classes: Object
}

const Dialog = (props: AllProps) => {
  const { responsiveMinWidth: responsiveMinWidthProp, classes: classesProp, ...rest } = props
  const responsiveMinWidth = responsiveMinWidthProp
    ? (Array.isArray(responsiveMinWidthProp)
      ? responsiveMinWidthProp
      : [ responsiveMinWidthProp ])
    : []
  const breakpointsUp = responsiveMinWidth.map(breakpoint => classesProp[ `${breakpoint}Up` ])
  const paperClassNames = classNames(classesProp.paper, ...breakpointsUp)
  const { xsUp, smUp, mdUp, lgUp, xlUp, ...classesRest } = classesProp // eslint-disable-line no-unused-vars
  const classes = { ...classesRest, paper: paperClassNames }

  return <MuiDialog {...rest} classes={classes} />
}

export default withStyles(styles, { name: 'ui-Dialog' })(Dialog)


Update audit.md

This adds an example configuration for EFCore and RabbitMQ. I found it very difficult to track down exactly how the audit was  was supposed to be set up, so I wanted to share an example.

Appreciate it, but the entire audit capability needs to be revisited. It's highly outdated.


Urobiome package term suggestion suppl_hormone

New term details
Term name - supplemental hormone
Structured comment name - suppl_hormone
Definition - Any supplemental hormone delivered in any routes.
If possible, specify the route e.g. oral, transdermal, vaginal, etc.
Expected value - supplemental hormonal status
Value syntax - {text};{text}
Example - estrogen; vaginal
Preferred unit -
Package - Urobiome

Additional context
Suggested as part of the Urobiome package.

We have confirmed that this is distinct from other mixs terms.

This term should replace existing term for HRT, because hormones are not being replaced, they are being supplemented. @lakarstens will add a more detailed comment.

We recommend that the hrt term be updated to suppl_hormone as the term 'hormone replacement therapy' is an unfavored and outdated term since hormone therapy supplements hormones and does not replace them.


JavaScript Source map generated by Closure compiler can have multiple links to the source files

 Issue by i045053
Friday Apr 17, 2015 at 07:45 GMT
Originally opened as https://github.com/samaxes/minify-maven-plugin/pull/97

JavaScript Source map generated by Closure compiler now can have links to each source file instead of only one link to the merged sources file. This may be
useful when debugging many JavaScript source files.
This is configured with the option closureMapToOriginalSourceFiles = true

i045053 included the following code: https://github.com/samaxes/minify-maven-plugin/pull/97/commits

 Comment by dwatling
Sunday May 17, 2015 at 11:56 GMT

+1

 Comment by ychumak
Thursday Apr 30, 2015 at 20:40 GMT

Please, merge with 1.6.2 release too - a lot of people use java 6.

 Comment by nedjs
Tuesday Sep 08, 2015 at 17:57 GMT

+1, any status on merging this?

 Comment by derfsubterfuge
Monday Feb 01, 2016 at 17:21 GMT

+1. Any updates on this?  This would be great to have!

 Comment by progmacattack
Wednesday Aug 10, 2016 at 13:41 GMT

+1

Merged. This is now the default when minifying+merging.


Size of npm module

Hi!
The node-sass npm module is about 37 MB when installed. Most of this comes from a 10 MB large scss file in the test folder. Could you consider adding the test folder to the .npmignore and thereby reduce the size of the install?

Dup of https://github.com/sass/node-sass/issues/683.
Fixed in v3-alpha onwards.


Mw/compute dp

This is a small change that will prevent us from having to add logic to airflow around data type. The entry DP field is a redundant field so it makes sense it was dropped in the new VCF from DSP. We can compute DP using AD so thats what this change does.

I also noticed when testing this that the type for DP was a float because the missing field was given hl.tfloat but it should be an int.


Add pending phase

I'll implement the logic for this later, just need it for a kne PR

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.316%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3538

Relevant Lines:
5501

💛  - Coveralls


Remove SourceSansPro from static/third

This PR is a nicer way to deal with SourceSansPro through NPM's module registry.
Testing Plan:
GIFs or Screenshots:

Merged, thanks @Agheb!


Update external softwares in container

Update FSL to 5.0.10

Update FreeSurfer to v6

If using v6, use parallelisation in recon-all call. Should use the same value as -nthreads / --n_cpus if provided.

Edit: Get the requisite MRtrix3 changes for this into the MRtrix3 dev branch, so that the latest fixes can be utilised.

Closed by #25.


Add performance counter samples

Just adds a basic Performance Counter API sample for both windows and windows-sys.

@riverar the win32 metadata really should provide native type defs for these.

@kennykerr Agreed, was thinking that too. Feel free to ignore the suggestions (as they'll be rendered moot when we fix that up)!


add semantic-release

doing releases is still a lot of manual work, because you have to keep track of changes, in particular breaking changes.
adopting semantic release would make that much more easy. Would also be a good oportunity to switch to version 1.0.0

@PeterKottas I will add that soon (just did it in another monorepo with multiple packages). I would use the default commit message convention (the angular convention) from semantic-release https://github.com/semantic-release/semantic-release
i think we will also bump to 1.0.0 then. We can still move fast then, we just have to annotate commits with BREAKING CHANGE then, this will bump the major version

Sounds great, I am all for this. Could you write up some quick info on how it's done and possibly put it into the new docs? Just some simple instructions on how to release.

@PeterKottas with semantic release, releases would happen automatically and a new version would be calculated based on feat: or fix: or similar commits

So I assume feat would be minor, fix would be a patch, right? How would you do major just out of curiosity? Also what if multiple PRs depend on each other, would we have to combine in a separate branch and then PR against master in one big PR? What about committing straight to master? Would that trigger a release on each commit?

@PeterKottas

So I assume feat would be minor, fix would be a patch, right?

yes!

How would you do major just out of curiosity?

a major bump is done when there is a BREAKING CHANGE.

Also what if multiple PRs depend on each other, would we have to combine in a separate branch and then PR against master in one big PR?

never had this problem, but probably combining them would be better.

What about committing straight to master? Would that trigger a release on each commit?

would be the same as if you merge a PR with a commit. you usually want to have 1 commit per PR anyway (rebase or squash multiple commits into one before merge). Having said that i want to disable push to master anyway

we have now semantic release! i am testing it, that's why there might be some unesseary releases on npm ;-)


Unable to use artifacts.taskrun.storage: oci for all TaskRuns

Expected Behavior
artifacts.taskrun.storage: oci can be used for all TaskRuns, including ones that do not produce an image.
Actual Behavior
When using a Task that does not produce an image, e.g. git-clone, the Tekton Chains controller fails with the following error:
2022-03-24T16:12:02.318Z info Storing payload on TaskRun lui/git-clone-run-4qckv
2022-03-24T16:12:02.318Z error Did not find anything to attest
2022-03-24T16:12:02.642Z info Uploaded entry to https://rekor.sigstore.dev with index 1784594
2022-03-24T16:12:02.683Z error Returned an error
2022-03-24T16:12:02.683Z info Event(v1.ObjectReference{Kind:"TaskRun", Namespace:"lui", Name:"git-clone-run-4qckv", UID:"bc2abbed-90c5-4a2e-aa4f-94e99e5ea76c", APIVersion:"tekton.dev/v1beta1", ResourceVersion:"13813547", FieldPath:""}): type: 'Warning' reason: 'InternalError' 1 error occurred:
	* Did not find anything to attest

The error above happens 7 times.
Steps to Reproduce the Problem

Set artifacts.taskrun.storage: oci in the chains-config ConfigMap.
Start a task that does not produce an container image.
Inspect Tekton Chains controller logs for errors.

Note that because I also have transparency.enabled: "true" in the chains-config ConfigMap, each retry generates a new entry in the transparency log:
2022-03-24T16:11:55.758Z info Uploaded entry to https://rekor.sigstore.dev with index 1784588
2022-03-24T16:11:56.276Z info Uploaded entry to https://rekor.sigstore.dev with index 1784589
2022-03-24T16:11:57.032Z info Uploaded entry to https://rekor.sigstore.dev with index 1784590
2022-03-24T16:11:58.405Z info Uploaded entry to https://rekor.sigstore.dev with index 1784591
2022-03-24T16:11:59.832Z info Uploaded entry to https://rekor.sigstore.dev with index 1784592
2022-03-24T16:12:01.066Z info Uploaded entry to https://rekor.sigstore.dev with index 1784593
2022-03-24T16:12:02.642Z info Uploaded entry to https://rekor.sigstore.dev with index 1784594

Additional Info

Kubernetes version:

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"archive", BuildDate:"2021-07-22T00:00:00Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.3+b93fd35", GitCommit:"3a0f2c90b43e6cffd07f57b5b78dd9f083e47ee2", GitTreeState:"clean", BuildDate:"2022-02-11T05:26:59Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}

OpenShift version:

Client Version: 4.8.0-202201210133.p0.g88e7eba.assembly.stream-88e7eba
Server Version: 4.9.23
Kubernetes Version: v1.22.3+b93fd35

Tekton Pipeline version:

Client version: 0.21.0
Pipeline version: v0.28.3
Triggers version: v0.16.1

Obviously, a TaskRun that does not produce an image makes it difficult for Tekton Chains to determine which repository the attestation should be stored in. Maybe storage.oci.repository is the answer to that. (I have not been successful in getting storage.oci.repository to work at all - it's always completely ignored by the Tekton Chains controller.)

Perhaps instead of an error with retries, it could be a warning or even just an info, e.g.:
2022-03-24T16:12:02.318Z info Task didn't produce an image or didn't expose an image url. Skipping oci stored attestation.


Add action parameter for enterprise api

Added action additional parameter according reCAPTCHA Enterprise example
Please notice JavaScript API reference for reCAPTCHA Enterprise has a mistake in the documentation.
There action is the third parameter, but in examples and empirically, I have found out it must be provided in the second parameter as a property

Done!
https://github.com/douglasjunior/react-native-recaptcha-that-works/releases/tag/1.3.2

@douglasjunior thank you very much


[Gssoc'21] Contact page not accessible for all

Describe the bug:
The Contact page is not accessible for all .
It can be access only after login which is not good.
I want to make it accessible for all no matter they login or not.
To Reproduce:
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See an error

Expected behavior:
A clear and concise description of what you expected to happen.
Screenshots:
If applicable, add screenshots to help explain your problem.
Additional context:
Add any other context about the problem here.

Note:

If you want to work on an issue, you should check if it has already been assigned to anyone.

@Akshay6890 and @vikasdo sir this issue is very crucial , complicated and time taking.
Actually  in this project the template inheritance  is used in a very very wrong way .
I don't know I am able to explain it or.
But I will try it at my best and make a video for that .

https://youtu.be/pXfeo2jRico
the video size was very large for uploading it here so upload it on you tube kindly watch it.

https://youtu.be/pXfeo2jRico
the video size was very large for uploading it here so upload it on you tube kindly watch it.

in the header.html, include the contact link under the unauthenticated and non-authenticated section.  Hope this is clear.

@Akshay6890 I understand what you want I already done that.

but try to understand the problem in contact page.
Let me try again to explain
As you know contact page extends the header.html

so this profile section is also inherited
now when user is not logged in **current_user.is_authenticated ** is false so it does't create any problem
but when the user login this condition is true and it want the extra parameters
but those extra parameters can only be given when user is looged in.
I hope you understand .
My solution -  To make a separate and independent page for contact no inheritance

@vikasdo @Akshay6890  kindly review my PR


Allow newer versions of simsimd (<7.x)

Fixes #212
Increase allowed version range for simsimd to allow for the current 6.x version. This should allow installing this package with Python 3.13.

Arguably, the python version constraint should also be changed to python = ">=3.9,<3.14" to make it more explicit that any newer Python version is not automatically usable.

Can this be merged?

In my opinion yes, once the pipeline has succeeded after having been approved to  run.

@graipher thank you for your contribution! This has been taken care in PR #214 so I'll go ahead and close this one.
Sorry I missed your PR earlier. I was cleaning up the codebase and missed this.
Appreciate your effort though!


daemon, maps/ipcache: Replace usage of net.IP* for ingress IPs

Revert "ip: Add IPNetToPrefix() helper"
daemon, maps/ipcache: Replace usage of net.IP* for ingress IPs

daemon, maps/ipcache: Replace usage of net.IP* for ingress IPs
Following the previously reverted commit, replace the ingress IP
restoration to use netip types.
Towards https://github.com/cilium/cilium/issues/24246.
Reported-by: Tobias Klauser<EMAIL_ADDRESS>Signed-off-by: Chris Tarazi<EMAIL_ADDRESS>

/test

cc @tklauser

/test

/test-1.26-net-next

/test

/test

$ git grep IPNet pkg/ | wc -l
890

We still have a lot of *net.IPNet usage in the tree, I think that 2db75775e66e69e105294059bc3d1c5771bea2b9 was premature to remove the helper.

EDIT: Ah it looks like there's a netipx.FromStdIPNet() equivalent we can use instead from netipx package: https://pkg.go.dev/go4.org/netipx?utm_source=godoc#FromStdIPNet

Yep, see https://github.com/cilium/cilium/pull/25749#discussion_r1222873858 which I think triggered this PR.


Gather analytics from command-line SDK

Proposal: Gather Analytics
May we gather analytics with the Reunion SDK?
Summary
Analytics can tell us:

What type of new apps are being created?
How is Reunion being added into existing apps?
What are app targets: Win32 / UWP; Desktop / Xbox / HoloLens / ...

This can also be used to provide developers information about their own apps, where people can transparently see information that is being collected.
Rationale

This helps Microsoft to better understand developers
This can help developers better understand their own code

We've done similar things with the SDK in the past with help from VS team. The analytics are not always representative due to some developers not opting in or working behind firewalls (so in particular, LoB enterprise developers are undercounted). Worth investigating again for Reunion.


Update scalafmt-core to 3.1.0 in series/0.22

Updates org.scalameta:scalafmt-core from 3.0.8 to 3.1.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor

Probably need to tweak the scalafix output to match the new formatting?

I think the issue isn't with a change of formatting but that the scalafix modules are excluded from scalafmt in the build but not in the scala-steward job. I'll look into it.

Superseded by #5570.


why we need 'pre-shutdown-ha.sh'

Hi, I'm not sure why we need 'pre-shutdown-ha.sh' as a preStop hook, since orchestrator can perform auto-failover.
i set '--failover-before-shutdown=false' and kill master pod, the slave pod is promoted as new master, and everything looks fine. Did I miss something important？

When shrinking the size, the node that shrinks is the master role, and the preStop hook can perform failover operations.


No Option Button in 0.0.10

Hi,
And thanks for the amazing tool!
Update 0.1.10 has no option field in obsidian.

I don't know if the issue is just on my side, but I cannot insert an API-Key or change the settings for the plugin.

If you're unable to find the option field for Update 0.1.10 in Obsidian, try just to click on another plugin and then click on Text Generator plugin. Or you can access the options from Obsidian Settings.

Hi,
The plugin has been updated to version 0.1.12 and should be working now. If you have any further issues, please let me know.
Thank you,


Error with BotFramework

BotMan Version: 1.5.2
PHP Version: 7.0.17
Messaging Service(s): BotFrameworkDriver
Cache Driver: ArrayCache

Description:
I created a bot and fill it's config to your bot, test connection successful, but bot cann't reply.
Steps To Reproduce:

I make a bot on https://dev.botframework.com/
I fill bot's config to bot.php

<?php

use Mpociot\BotMan\BotManFactory;
use Mpociot\BotMan\BotMan;

require "vendor/autoload.php";

$config = [
    'microsoft_bot_handle' => 'MyBotHandle',
    'microsoft_app_id' => 'MyAppID',
    'microsoft_app_key' => 'MyAppKey',
];

// create an instance
$botman = BotManFactory::create($config);

// give the bot something to listen for.
$botman->hears('hello', function (BotMan $bot) {
    $bot->reply('Hello yourself.');
});

$botman->fallback(function($bot) {
    $bot->reply('Sorry, I did not understand these commands. Here is a list of commands I understand: ...');
});

// start listening
$botman->listen();

Test connection to bot and result:

Endpoint authorization succeeded

Use chat form in bot detail page https://dev.botframework.com/bots?id=MyBotHandle to test bot

Expect
Send hello message and receive Hello yourself. message.
Actual
Send hello message and no receive any message.
Debug by ngrok inspect:
PING Request:
POST / HTTP/1.1
Authorization: Bearer <access_token>
Content-Type: application/json; charset=utf-8
Host: xxxxxxxx.ngrok.io
Content-Length: 284
Expect: 100-continue
X-Forwarded-Proto: https
X-Forwarded-For: xxx.xxx.xxx.xxx

{
  "type": "ping",
  "id": "xxxxxxxxxxx",
  "timestamp": "0001-01-01T00:00:00",
  "serviceUrl": "https://dev.botframework.com/",
  "channelId": "test",
  "from": {
    "id": "portal"
  },
  "conversation": {
    "id": "ping"
  },
  "recipient": {
    "id": "bot"
  }
}

PONG Response
HTTP/1.1 200 OK
Host: xxxxxxxx.ngrok.io
Connection: close
X-Powered-By: PHP/7.0.17
Content-type: text/html; charset=UTF-8

Hello message request
POST / HTTP/1.1
Authorization: Bearer <access_token>
User-Agent: BF-DirectLine (Microsoft-BotFramework/3.1 +https://botframework.com/ua)
X-Correlating-OperationId: <operation_id>
Content-Type: application/json; charset=utf-8
Host: xxxxxxxx.ngrok.io
Content-Length: 464
X-Forwarded-Proto: https
X-Forwarded-For: xxx.xxx.xxx.xxx

{
  "type":"message",
  "id":"f4bce5e3e30040e6ad8c317bad49cxxx|0000002",
  "timestamp":"2017-04-14T04:31:23.7650079Z",
  "serviceUrl":"https://webchat.botframework.com/",
  "channelId":"webchat",
  "from":{
    "id":"1zldJMgL0xx",
    "name":"You"
  },
  "conversation":{
    "id":"f4bce5e3e30040e6ad8c317bad49cxxx"
  },
  "recipient":{
    "id":"MyBotHandle@xxxxxxxxxxx",
    "name":"MyBotHandle"
  },
  "textFormat":"plain",
  "locale":"en-US",
  "text":"hello",
  "channelData":{
    "clientActivityId":"1492143637066.27699881082850111.2"
  }
}

Response:
HTTP/1.1 200 OK
Host: xxxxxxxxxx.ngrok.io
Connection: close
X-Powered-By: PHP/7.0.17
Content-type: text/html; charset=UTF-8

I was debugged and found a solution: change config  microsoft_bot_handle by MyBotHandle@xxxxxxxxxxx (get from hello message's recipient ID).
Result, bot working.
Is it change from Microsoft BotFramework API ?

Hm looks like this was changed. The Bot handle is only needed when using the web form to talk to the bot.
So it works with the different value? Maybe I just need to modify the documentation then

How can I reproduce this?
I just setup a new MS Bot Framework bot and used the configured handle and was able to reply:

Closing due to inactivity. Please reopen if you still experience this issue and know how I can reproduce it.

I'm using the version 2.0 now but i still encounter this issue.


What would be the best way to log logins and logouts?

Hello,
I just installed your package but I am wondering, what would be the best way to log logins and logouts?
Thank you.
Kind regards,
Gino

Depending on your application, I'd suggest the options:

If users can log in or out from multiple places, fire an event when the y log in or out, and register an event listener that logs activity.
If it's a more simple app, loggin the activity in the auth controllers should suffice (if you're using Laravel's default auth scaffolding, you might need to override some methods)


Support for scrollview direction

Hi @diegostamigni,
Thank you very much for your contribution. Much appreciated. I left a review with a few minor comments. Please let me know if you have a different view on some of them and we can discuss them in the comments.
I would also be open to apply the changes myself if you are fine with it 🙂

Hey! Thanks for the review and for this lib! You can apply the changes yourself no problem! I agree with everything said aside for the OptionSet discussion.

@diegostamigni thanks for the tvOS support 💪 Can you extract this into a separate PR though?
I'll try to merge both tomorrow on Friday.


startingDirectory path format

Hey folks!
When you add the path for the WSL starting directory the path needs to escape all the \ characters. Ex: \\\\wsl$\\Ubuntu-20.04\\home\\user-name
VScode and the terminal complained about it without the escapes but works fine if you add them.

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

ID: d972021a-b3db-574c-f5fc-4315b2d7a280
Version Independent ID: e76f9f11-cb0d-95be-7e04-8a9137252e2d
Content: Windows Terminal Troubleshooting
Content Source: TerminalDocs/troubleshooting.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

Use forward slashes instead: //wsl$/Ubuntu-20.04/home/user-name

Sounds good, for whatever reason I thought that didn't work when I tried it.

But, in the documentation is still bad with backslashes without escaping. And in some examples it shows forward ones. It should not be closed yet I think.


[refactor] Migrate from warp to axum/actix

Feature request
Replace warp crate to a more batteries included kind of web framework, main candidates being axum or actix. Do some researching/benchmark to determine what's better, if possible.
Motivation
Currently the warp crate is used throughout the cli and version parts of the codebase, but it's been known as a pain point for a while with unwieldy filter type signatures occupying the whole screen and awkward proc macro metaprogramming to reach our goals.
Who can help?
@appetrosyan

I guess it will automatically close #2430

In https://github.com/hyperledger/iroha/pull/3983#discussion_r1365171284 it was suggested to postpone more proper content type negotiation until we move to actix/axum. Don't forget to handle it


Group names given in the MODS-file according to given roles to reduce number of columns

Aim: Reduce number of columns for better manageability of data frame
Proposal: Group names given in the MODS-file according to given roles
Explanation: Each "name" entry in the mods-file consists of at least four parts:
"nameXX_namePart.family"
"nameXX_namePart.given"
"nameXX_displayForm"
"nameXX_role_roleTerm"
The number of columns could significantly be reduced if the names would first be grouped according to the roles and then concatenated into a fewer number of columns.
Examples:
PPN735425078 contains 76 names with the role "asn" (= associated name); this amounts up to 304 columns, but could be reduced to three columns ("nameASN_namePart.family", "nameASN_namePart.given", "nameASN_displayForm"), each containing 76 names in nested form (Mauschwitz; Baudis; Hoberg; ...)
PPN858144891 contains 50 names with the role "oth" (= other); this amounts up to 200 columns, but could be reduced to three columns ("nameOTH_namePart.family", "nameOTH_namePart.given", "nameOTH_displayForm")
PPN1774254956 contains 42 names with the role "ctb" (= contributor); this amounts up to 168 columns, but could be reduced to three columns ("nameCTB_namePart.family", "nameCTB_namePart.given", "nameCTB_displayForm")
The most frequently used roles are asn (associated name), oth (other), ctb (contributor), dte (dedicatee), fnd (funder), auth (author), isb (issuing body), egr (engraver), hnr (honoree), ill (illustrator), prt (printer).

Duplicate of #20.


Re-run jshint with each file modification in dev

Currently, 'grunt dev' will line files and run tests. It re-runs the tests on each file modification but it doesn't re-lint.

Pull Request #29 addressed this


Add Scrivener theme

New Theme?
We would love to support all code editors out there, but we need your help to accomplish that. Feel free to create a new theme based on our color palette.
Existing Theme?
Find the appropriate repository on the Dracula organization. This is just the umbrella place where we store all themes.
And remember - consider fixing the issue yourself. That's the best way to contribute ;)

Great @ayushpokh! I just sent you an invite to join the organization.
Once you accept it, you'll be able to transfer the repo and I'll take care of adding it to the site.
Thanks for building this! 🎉

Thank you! I saw that. I'll transfer the repo.

@ayushpokh looks like you forgot to add the installation instructions on the [INSTALL.md[(https://github.com/dracula/scrivener/blob/master/INSTALL.md) file.
Can you update? We need that before adding to the website.

I checked here that the changes have already been made, and I will proceed with including them. 🧑🏻🚀

It's 🧟♂ a-live: https://draculatheme.com/scrivener


Add a dark & light/material theme

We should have a dark and a light theme ready for the beta1 launch as not everyone likes looking at a dark screen

@alcarney all we really need is one decent theme (a version of the Cardiff red theme) before we release beta1

@alcarney I think it would be best if we start with a dark(no change) and light version of Cardif Red for beta2 testing and when we do it I will stress the style of the page as I have the mobile site design/layout

This is not currently going well

At least jekyll runs though (now)

see https://github.com/Huaraz2/Moduleplanner.github.io/tree/Themes for where I am at the moment

Now done via #30


how to run

I am using spark on a MacBook installed via brew.
what is the problem? spark home seems to be set
sudo ./bin/mist start master
SPARK_HOME is not set
t201-034:mist geoHeil$ echo $SPARK_HOME
/usr/local/Cellar/apache-spark/2.0.2
t201-034:mist geoHeil$ sudo echo $SPARK_HOME
/usr/local/Cellar/apache-spark/2.0.2

You do not have SPARK_HOME for sudo.
In fact, you do not need to run Mist from sudo.

I know that - but spark-shell seems to require that (for a brew installation) it did not for an older version of spark. Perhaps something is wrong with my Permissions. I will close this issue.

http://stackoverflow.com/questions/34624821/apache-spark-upgrade-from-1-5-2-to-1-6-0-using-homebrew-leading-to-permission-de describes the solution


Add alignment conversions

Add alignment to native conversion method for qgis
Mentioned in: https://speckle.community/t/qgis-connector-wip/1619/48?u=clrkng

Took a quick look at this and an AlignmentToNative method depends on 2 things to be implemented first:

ArcToNative in QGIS: @KatKatKateryna @AlanRynne are arcs supported natively?
BuiltElements classes in specklepy: @izzylys what's the status on adding builtelements in py? Could we create a temporary class for alignments specifically in QGIS until a proper builtelements implementation is done?

Hmm... not sure if arcs really exist in QGIS, it may allow you to create them but end up being a polyline. I've done some googling but haven't found anything meaningful.
Good news is that we could just default to the displayValue of the arc and call it a day.
As for the Alignment class, i'm sure we could make a quick patch if the class implementation takes more than we want. 👍🏻

Good news is that we could just default to the displayValue of the arc and call it a day.

Unfortunately arcs aren't inheriting from IDisplayValue, and most of the converters in sharp aren't sending them with display values afaik

Arcs will be substituted with QgsCircularString in a new release👌


Losing sound calue after reboot

I'm setting it up at around 80% but each time I reboot the pi, I'm back on default settings.

It's possible yes. The sound is handled by the OS.
Actually, I've thought of this problem because the Clock radio should be always on.
Maybe you can try a system command to store the value you want.


chore(node): fix tests when running on apple silicon

This also fixes a problem where<EMAIL_ADDRESS>would complain if run under Node.js v16.x.
Fixes a problem where the system corepack was used instead of the one required by the workspace root.  I think we can drop corepack from our dev deps once we ditch Node.js v16.
Removes some dead Node.js-v14-specific code.

keccak does not ship binaries for Apple Silicon.  We have to build them ourselves.  However, it seems that the root ignore-scripts = true means (maybe?) that npm rebuild does not necessarily invoke node-gyp-build--at least in keccak.  To make it build, we have to execute node-gyp-build directly.  If we don't have this problem with other native modules, I'm going to guess this is a misconfiguration on the part of keccak--but if we do have this problem, it might be an npm bug or misfeature.

We could also modify these fixtures by adding ignore-scripts = false--at least to the project which uses keccak.  This would, hopefully, rebuild upon npm install, and I could delete some code.

Note that I cannot reproduce the "npm rebuild does nothing" problem in the shell; it's only when running npm run test:prepare from the lavamoat workspace.  I think this is how the ignore-scripts = true gets into npm's execution environment, because it then inherits/pollutes the execution environment of npm when run in test/projects/*.  Each of those project folders has a .npmrc, but ignore-scripts = true is not in any of them.

(just noting here test:yarn1 and lint:deps passing)
➜  node git:(boneskull/core-test-fix-apple-silicon) ✗ npm run test:yarn1

><EMAIL_ADDRESS>test:yarn1
> cross-env LAVAMOAT_PM=yarn@1 npm run test:prepare && ava

><EMAIL_ADDRESS>test:prepare
> node ./test/prepare.js

Initialized "test/projects/1" using yarn@1
Rebuilding keccak for darwin/arm64...
yarn exec v1.22.19
warning ../../package.json: No license field
✨  Done in 0.36s.
Initialized "test/projects/2" using yarn@1
Initialized "test/projects/3" using yarn@1
Initialized "test/projects/4" using yarn@1
Initialized "test/projects/5" using yarn@1
Initialized "test/projects/6" using yarn@1
Test fixtures prepared successfully

  - [skip] arguments › arguments - lavamoat command aliases work - autoconfig
  - [skip] arguments › arguments - lavamoat command aliases work - advanced
  - [skip] arguments › arguments - invalid lavamoat commands fail
Lavamoat looking for policy at'/Users/leo/Documents/GitHub/LavaMoat/packages/node/test/projects/2/lavamoat/node/policy.json'
Running Node Scenario: autogen - react-devtools-core hasOwnProperty
  ✔ index › parseForPolicy - find node:-prefixed builtins
  ✔ index › parseForPolicy - indirectly used packages are included in parent's allowlist
  ✔ index › parseForPolicy - require a userspace package with a builtin name (120ms)
  ✔ index › parseForPolicy - resolutions (138ms)
keccak256: 5cad7cf49f610ec53189e06d3c8668789441235613408f8fabcb4ad8dad94db5
Merging policy-override.json into policy.json
Lavamoat looking for policy at'/Users/leo/Documents/GitHub/LavaMoat/packages/node/test/projects/2/lavamoat/node/policy-override.json'
  ✔ waysToRun › use lavamoat programmatically (145ms)
  ✔ envConfig › envConfig - intrinsic prototype mutating package running in unfrozen realm does not pollute other package intrinsics (333ms)
  ✔ globals › globalRef - globalRef - check default containment (348ms)
  ✔ globals › globals - basic override mistake taming is on (348ms)
  ✔ globals › globals - has only the expected global circular refs (357ms)
  ✔ index › execute - core modules and buffers (358ms)
  ✔ index › execute - resolutions (367ms)
  ✔ waysToRun › use lavamoat cli (372ms)
  ✔ envConfig › envConfig - module.exports from the same Realm as its Compartment (364ms)
  ✔ index › execute - keccak with native modules (372ms)
Running Node Scenario: security - prevent intrinsic modification
  ✔ waysToRun › use lavamoat-run-command (382ms)
Running Node Scenario: security - limit platform API
Running Node Scenario: basic - bundle works
Running Node Scenario: basic - npm buffer toLocaleString support
Running Node Scenario: basic - Function constructor for constructing constructor functions
Running Node Scenario: config - dunder proto not allowed in globals path
Running Node Scenario: config - disable access to package
Running Node Scenario: config - config validation fails: invalid "resources" key
Running Node Scenario: config - config validation fails: invalid "packages" key
Running Node Scenario: config - config validation fails: invalid "globals" key
Running Node Scenario: config - config validation fails: invalid "globals" value
Running Node Scenario: config - config validation passes - everything valid
Running Node Scenario: endowments - Date.now works in root and non-root
Running Node Scenario: exportsDefense - readOnly restrictions have override workaround fix - updates the property correctly
Running Node Scenario: exportsDefense - readOnly restrictions have override workaround fix - should not update the prototype
Running Node Scenario: exportsDefense - doesnt explode on null/undefined exports
Running Node Scenario: globalWrites - deep endow
Running Node Scenario: moduleExports - decorate an import - object
Running Node Scenario: moduleExports - decorate an import - function
Running Node Scenario: moduleExports - decorate an import - class syntax
Running Node Scenario: moduleExports - decorate an import - class syntax subclass
Running Node Scenario: moduleExports - bridged array passes Array.isArray
Running Node Scenario: moduleExports - object returned from exported function should be mutable
Running Node Scenario: transforms - Ses transforms work
Running Node Scenario: transforms - common pattern "_inheritsLoose" works with TypeError
Running Node Scenario: transforms - common pattern "_inheritsLoose" works across package boundaries
Running Node Scenario: globalRef - check default containment
Running Node Scenario: globalRef - Webpack code in the wild works
Running Node Scenario: globalRef - globalRef workaround doesnt break instanceof Function
Running Node Scenario: scuttle - host env global object is scuttled to work
Running Node Scenario: scuttle - host env global object is too scuttled to work
  ✔ runScenarios › Run scenarios (5.1s)
  ─

  16 tests passed
  3 tests skipped
➜  node git:(boneskull/core-test-fix-apple-silicon) ✗ npm run lint:deps

><EMAIL_ADDRESS>lint:deps
> depcheck

No depcheck issue

@leotm Can you unblock please?
I can't reproduce that warning about corepack.  Something must be funky in your env.  If you experience weirdness again, I can help diagnose, if you want.


Adjust mineral mining rate to account for 3 workers per patch

updated function AccResources to account for saturation and mining differences between games and BW races


Fix issue #61, remove react warning

Seems like author of another pull request will not fix your comment, so i just create another pull request with only one fix

Cheers! [closes #59]


ci: added a new job

(cherry picked from commit 392a25ee6da28ba087d6234fd11f77d2f48477ea)

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

Comparison is base (35a75be) 72.22% compared to head (f2972e1) 72.22%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   72.22%   72.22%
=======================================
  Files           6        6
  Lines          36       36
=======================================
  Hits           26       26
  Misses         10       10

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


https://groq.gptnext.chat/openai/v1/ is  down

Cannot access

Thanks for the feedback, I'll restore the service.

The proxy service was inaccessible due to server expiration. The current proxy service has now been restored.

Thank you!!!


ngtpy.Index' object has no attribute 'get_num_of_distance_computations'

I install ngt using pip3 install ngt and on running  the sample code - https://github.com/yahoojapan/NGT/blob/master/python/sample/sample.py -- I get the following error
  File "sample.py", line 38, in <module>
    print('# of distance computations=' + str(index.get_num_of_distance_computations()))
AttributeError: 'ngtpy.Index' object has no attribute 'get_num_of_distance_computations'

How is number of distance defined?
Is there any other way to calculate the number of distances?

When you would like to get the number of distance computations, you have to build and install from the source with the define NGT_DISTANCE_COMPUTATION_COUNT below.
cd (NGT_ROOT)
mkdir build
cd build
cmake -DNGT_DISTANCE_COMPUTATION_COUNT=ON ..
make
make install
ldconfig /usr/local/lib

Then, you have to build and install ngtpy from the source according to ngtpy README.
If you have already installed ngtpy with pip, please uninstall it.


[Popover] arrow color is not customizable

Description
https://github.com/traefik/faency/blob/master/components/Popover/Popover.tsx#L49

:tada: This issue has been resolved in version 1.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add createContextByGpuIdx to support for multi GPUs

Currently it is not possible to explicitly select a GPU.
This PR adds createContextByGpuIdx to select a specific GPU.
However, the DAWN header is required.

Have been thinking we need to request device by index, thanks!
Is there a way we can implement this without the DawnNative.h? (and avoiding as much as possible using dawn-specific features).
Want to avoid too much preprocessor branching on webgpu implementations and avoid depending on dawn's internals if we can because it makes testing more complicated and also means that code will break when using alternative webgpu implementations (emscripten/wasm today, maybe wgpu in the future).
For some things it's required (as you can see from emscripten) but want to avoid it as much as possible unless there's no other way.

For now, there is no webgpu implementation. https://github.com/gpuweb/gpuweb/issues/995
The dawn implementation simply checks whether the adapter has the features the user desires.
https://github.com/google/dawn/blob/014d6f768e0a37ec76fe9bec3f27a249e9e427bd/src/dawn/fuzzers/DawnWireServerFuzzer.cpp#L119-L129
We cannot select a specific GPU when there are GPUs with similar capabilities.


Can't find module "sass"

Error displayed only on OSX.

npm i sass

Upgrade npm to version 7 or later


Speed up years query using a materialised view

Some speed improvements here, mostly to do with the "years" query, which now runs on top of a normalised representation of the historical emissions records table.
bundle exec rake db:migrate

@santostiago can you have a look and see if these performance improvements help with the download timeout problem and whether you see further options for improving the speed of this query? Thanks!


Using RML for Knowledge Graph generation from IoT platform

Hello everyone,
I’m currently working on a research project where I plan to use RML to export knowledge graphs from different IoT platforms. My goal is not to write all the available data into a knowledge graph but rather only to convey the semantic information of the IoT system.
Thanks the RMLMapper, I've already conducted a proof of concept (PoC) using this approach and it seems to be feasible. However, I still have one question before scaling this up for further usage: What are the fundamental advantages of using RML to generate knowledge graphs? Or more specifically, how can the use of RML reduce manual effort while integrating heterogeneous data sources?
In my current workflow, I need to create a separate RML mapping file for each IoT platform, as the data models differ between platforms. To be honest, RML's syntax is somewhat unintuitive, and the mappings files are relatively verbose. As a result, creating each RML mapping file still requires significant manual effort and time, and the resulting mapping files can become quite large.
My concern is that, with the same time and effort, I can (actually I really did) write an ad-hoc mapping program that performs the same function for each IoT platform. Moreover, such a program might even be more compact and "readable" than the equivalent RML mapping file. Although I still believe RML offers a more elegant solution, I’m struggling to answer this question. I would greatly appreciate any insights or discussions on this matter!

Here is an example of my PoC.

source (8 KB): https://gist.github.com/djs0109/edffa7e19dc833f76247a67e816386a2
mapping file (14 KB): https://gist.github.com/djs0109/bea004feb28498bef8ec859186387a60
output (5 KB): https://gist.github.com/djs0109/92bc62b8b9f8f3cb20a4d430edf89735

Closes because I move the question to here https://github.com/kg-construct/rml-questions/discussions/55


Create command to clear Doctrine cache only

When we have an application running in production mode, we cache a lot through Redis including sessions. When we clear the cache because of a entity update (adding a field or renaming a field). We have the problem that if we don't clear Redis the new field isn't found by doctrine, and if we do clear the cache all sessions are gone.

:+1:

bin/console doctrine:cache:clear-metadata

Question answered. Please close this issue. :) #263

@Seldaek You have reopened this issue. What do you think is missing here? :)

Nothing, must have pressed twice by accident


enhance: Edit the Get Involved/Contribute Documentation doc

https://athensresearch.gitbook.io/handbook/community/get-involved/learning-at-athens-academy-education/contributing-documentation

https://github.com/athensresearch/handbook/blob/main/community/get-involved/learning-at-athens-academy-education/contributing-documentation.md

Self-assigning this TODO, as I wrote the document in the first place.
Enhancements include:

Update the list of folders and what they do
Update the GitBook section with new information
Add some quickstart items
Update link from Documentation project -> Handbook project

Fixed by 1b8ed26


Release 2021-01-19

@marcinbodnar there seems to be an issue with enabling 2FA after the alert changes. This happens when verifying the 2FA code:

@marcinbodnar there seems to be an issue with enabling 2FA after the alert changes.


Build dependencies return 500

Description

Hi, I am trying to build pinpoint, but Im receiving a 500 return code.
maven return this:
Failed to transfer file: https://repository.jboss.org/nexus/content/repositories/thirdparty.releases/sun-jaxb/jaxb-api/2.1.4/jaxb-api-2.1.4.pom Return code is:500, ReasonPhrase: Server Error
Environment

Pinpoint version: Latest
OS, WAS, affected library, etc:
Additional details (e.g. how your collector/web is set up):

Additional Info

hi cpresario
We also feel that the repository is often unstable. (I can't find alternative repository yet.)
I ask you to try it again. It seems to be working well now.
If you fail again. then please check if you can connect to repository in your environment.

Hi koo-taejin,
yes, I got it. Cheers!.


about org-mode org-src

@abougouffa hi
In the past few days, when I use org-mode to insert code blocks, there will be smart prompts
But after the latest update, after I press <, it won't help me to complete the code type, I don't know what happened
not the package yasnippet
just press <   then can choose src code type

maybe this package
in org-mode  then evil-insert  <           nothing happy
It was hinted before

https://github.com/abougouffa/minemacs/commit/9360b69ca944b5b044d7032ca2953388bb7fc55c
this commit  (corfu-exclude-modes '(org-mode markdown-mode))  will cause this problem

Hello @donneyluck ,
Thank you for bringing this to my attention.
It is the change you mentioned which triggers this behavior. I disabled corfu in org-mode because I was getting annoying word completion based on dabbrev (or something like it).
It is indeed useful to enable corfu for better completion of snippets.
I will patch this soon, thanks again!

Fixed in be458ac11783280643bcf75c0332231bb7fb63dc.


[Aura-Safe][Multisig Tx]Error display Scan QR icon

Description
Error display Scan QR icon
Environment

Browser: Chrome
Wallet: Keplr
Safe: Aura
Environment: Serenity

testnet

Steps to reproduce

Connected Keplr wallet
Selected safe wallet
Click Send button on Assets/Coins screen
See error

Expected result
Display Scan QR icon withou error
Obtained result
Error display Scan QR icon
Screenshots

Verify PASS on serenity (02-Aug-2022)


Live edit the results of a search

As a user, while searching for keywords using the New Search Editor  I want to be able to have the ability to quick/live edit the results of the search, without navigating to the file.
Editing the search results should indicate the file as dirty and prompt the user with indication.

Have a look at https://marketplace.visualstudio.com/items?itemName=jakearl.search-editor-apply-changes You can apply changes you make in the search editor across files.  It marks the files changes as dirty and all the work is done in the search editor.

I created the extension @ArturoDent suggested, it is the best way to do this.


docs: quick order example

Description
This PR adds a content for B2B Features: Quick orders within a "commercial integrations" area in the docs.
The source of the content comes from the example's readme.
Type of change

ToDo's

[x] Documentation added/updated

Screenshots (if applicable)

Additional context

Just one small note:
In Nav, I click on "B2B Quick Order," and the Headline then tells me "B2B Features: Quick orders". Would be cool if this would be the same :)


The problem when I launch the project

When I launch the project via "python main.py", I got the error message as fellowing:
Traceback (most recent call last):
  File "main.py", line 29, in <module>
    model = train(train_loader, test_loader)
  File "/home/temporary/simu/object-detection/FastFlow/train.py", line 116, in train
    if test_labels[i] == 0: # label value of good TODO eliminate magic numbers
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

The error occured in this code
        # evaluate

                test_loss.append(t2np(loss))
                test_labels.append(t2np(labels))

        test_loss_good = list()
        test_loss_defective = list()
        '''
                 Error occured Here
        '''
        for i in range(len(test_labels)):
            if test_labels[i] == 0: # label value of good TODO eliminate magic numbers
                test_loss_good.append(test_loss[i])
            else:
                test_loss_defective.append(-test_loss[i])

As I print the test_labels[i], I got an array like [0, 2]
So, what should I do to launch this project? Thanks!

I directly blocked these codes without affecting the training


Match all Exception types in KillIntegrationTest to fix flakiness

Summary of the changes / Why this improves CrateDB
Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

java.lang.AssertionError:
Expected: (an instance of io.crate.exceptions.JobKilledException or an instance of java.lang.InterruptedException)
but: was <NotSerializableExceptionWrapper[task_missing: RootTask for job 5285d3e0-e527-4294-aec1-0b4471fdd75c not found]>
at __randomizedtesting.SeedInfo.seed([1DC0C8B41A0A0827:A16CCA633984AB21]:0)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)

There are still exceptions thrown across nodes which are not serializable ending up in a NotSerializableExceptionWrapper. This didn't come up in the past since everything was wrapped with a SqlActionException. Would it make sense to extends these exceptions also from ElasticsearchException ? @mfussenegger @seut

Oh, this was unintentionally merged. I wanted to have another review on this.


Removing items after disabling package

When package which added buttons is disabled, buttons are still shown.
This may be achieved by adding onDidEnablePackage and onDidDisablePackage in Event Subscription section.

This is not implemented out of the box, but requires a small addition in your main coffee file of the following API:
  deactivate: ->
    @toolBar?.removeItems()


Assign metadataCollectionId as key in kafka messages

Currently no key is assigned to the messages sent on open metadata kafka topic, assigning the key as metadata collection id of the originator will allow the event originator in cohort to ignore the message before de-serializing  it. Also it can be used to ignore the messages from a particular member in  cohort, if required.

See. Git Issue https://github.com/odpi/egeria/issues/279 (Item 2) and Pull Request https://github.com/odpi/egeria/pull/295


Move __toBinary() to build rather than src, replace rollup/ts with esbuild

How much faster is esbuild for you?

I'd like to move to esbuild all together because it's noticeably faster, and the custom base64 plugin emulates the behavior/is copied from esbuild's binary loader already.
The main issue is that chunks aren't desirable in the esbuild-only build (https://github.com/evanw/esbuild/issues/492) currently. I think if/when manualChunks in esbuild,  I'll be able to remove rollup and all rollup plugins.


The declaration file can be pruned further

The following endpoint fields can be stripped without affecting type inference:

transformer
_input_out (result of transforming the raw input via the zod schema .transform() method)
_output_in (what is returned by the procedure before being transformed by the zod output schema)
middleware
_ctx_out
_meta
_config (not sure if it affects type inferency in any way)

Some fields are leaking implementation data if present in the declaration file on top of not being required for inference

Yeah makes sense! Tho we're already removing middleware so there's currently no implementation data present I believe?


Can't create list using popup menu

created functions for ordered and unordered list. pull request pending

merged into master


Add some popular Apache software

List some popular Apache Software

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[] My pull request targets the master branch of freeCodeCamp.
[xx] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.


Cannot run ipython from spyderlib running with Mac OS X 10.6

From<EMAIL_ADDRESS>on 2011-02-12T14:06:52Z
I've tried googling a solution to this problem, but I found none. I'm very new to python so I don't know how to fix this. I just installed spyderlib on my mac, it runs well, but on the console window, the ipython produces error:
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/spyderlib/widgets/externalshell/startup.py", line 173, in <module>
import IPython.Shell
ImportError: No module named Shell
If I call ipython from Terminal, it works fine. Anybody knows how to fix this? Thanks, Avan.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=559

From pierre.raybaut on 2011-02-13T08:15:58Z
What version of IPython is installed on your machine? Spyder only supports v0.10.

From<EMAIL_ADDRESS>on 2011-02-13T12:08:45Z
v0.11
I downgraded it to v0.10. Now it runs the iPython shell on spyder but
there are some warnings.

From ccordoba12 on 2011-05-04T13:37:02Z
Most probably these warnings are similar to the ones reported in issue #648 , but they are not a major problem to run spyder.
Status: Invalid

From ccordoba12 on 2011-02-16T11:49:41Z
What are these warnings about? Could you put them here please?


Failed to find C compiler. Please specify via CC environment variable

show "Failed to find C compiler. Please specify via CC environment variable . ", use sageatten

Sageattention requires installing Triton, for Windows this is the only working option currently: https://github.com/woct0rdho/triton-windows
Which requires installing visual studio and cuda-toolkit for compilation, your error comes from missing that.

感谢大神


Add product tests for file password authenticator plugin

This is all of #1912 plus product tests.
Only the product tests commit should be reviewed in this PR.

Which product test suite runs these tests?

test suite runs these tests?

presto-product-tests/bin/run_on_docker.sh fileauth -t io.prestosql.tests.cli.PrestoCliFileAuthTests
2019-10-11 06:14:14 INFO: Completed 6 tests
2019-10-11 06:14:14 INFO: 6 SUCCEEDED / 0 FAILED / 0 SKIPPED
2019-10-11 06:14:14 INFO: Tests execution took 1 minutes and 3 seconds

test suite runs these tests?

presto-product-tests/bin/run_on_docker.sh fileauth -t io.prestosql.tests.cli.PrestoCliFileAuthTests

Is fileauth env registered in any suite files? I mean the *suite-* files here: https://github.com/prestosql/presto/tree/0a031808c33c5fa0a371890410c5bad47989bce3/presto-product-tests/bin


Flutter driver should have helpful log around setContext

The problem
I do a driver.context("FLUTTER) and get a strange log output which shows that the context is not switched.
But the flutter driver can work afterwards in flutter context and a getContext delivers correctly set context "Flutter"
So it seems only a wrong log output.
Posted this in the appium server repository, there i got the answer :
'Unfortunately flutter driver does not belong to the list of drivers officially supported by Appium team'
Environment

Appium version (or git revision) that exhibits the issue: 2@beta27
Last Appium version that did not exhibit the issue (if applicable): n/a
Desktop OS/version used to run Appium: Mac
Node.js version (unless using Appium.app|exe): 14
Npm or Yarn package manager:
Mobile platform/version under test: iOS
Real device or emulator/simulator: emulator
Appium CLI or Appium.app|exe: CLI

Details
In the Log snippet below you can see that i do a getContexts and printing the current contexts into the log.
Afterwards i change the context to FLUTTER, but the log says "switching from NATIVE to NATIVE"
If i do a getContext, i get correctly "FLUTTER"
Link to Appium logs
2022-03-30 07:16:20:690 - [debug] [FlutterDriver@3c0f (27dab2e3)] Responding to client with driver.getContexts() result: ["NATIVE_APP","FLUTTER"]
2022-03-30 07:16:20:691 - [HTTP] <-- GET /session/27dab2e3-6a7c-4870-958a-774a1330ec12/contexts 200 93 ms - 34
2022-03-30 07:16:20:692 - [HTTP]

2022-03-30 07:16:20:693 - NATIVE_APP

2022-03-30 07:16:20:693 - FLUTTER
2022-03-30 07:16:20:696 - [HTTP] --> POST /session/27dab2e3-6a7c-4870-958a-774a1330ec12/context
2022-03-30 07:16:20:697 - [HTTP] {"name":"FLUTTER"}
2022-03-30 07:16:20:698 - [debug] [FlutterDriver@3c0f (27dab2e3)] Calling AppiumDriver.setContext() with args: ["FLUTTER","27dab2e3-6a7c-4870-958a-774a1330ec12"]
2022-03-30 07:16:20:698 - [AppiumDriver@731e] Plugins which can handle cmd 'setContext': images
2022-03-30 07:16:20:698 - [AppiumDriver@731e] Plugin images is now handling cmd 'setContext'
2022-03-30 07:16:20:699 - [AppiumDriver@731e] Executing default handling behavior for command 'setContext'
2022-03-30 07:16:20:699 - [debug] [FlutterDriver] Executing Flutter driver command 'setContext'
2022-03-30 07:16:20:699 - [debug] [XCUITest] Attempting to set context to 'NATIVE_APP' from 'NATIVE_APP'
2022-03-30 07:16:20:699 - [debug] [XCUITest] Already in 'NATIVE_APP' context. Doing nothing.
2022-03-30 07:16:20:700 - [debug] [FlutterDriver@3c0f (27dab2e3)] Responding to client with driver.setContext() result: null

Current implementation behaves so. It may need a bit log around it, but XCUITest's log is correct if you haven't switched WebView context since in Flutter context works with NATIVE_APP in XCUITest driver. (Flutter driver's some commands depend on XCUITest's one.)
https://github.com/appium-userland/appium-flutter-driver/blob/main/driver/lib/commands/context.ts#L15
Did you get other errors after the switching context?

e.g. a command for flutter context worked as XCUITest's native app/webbview context

No everything else behaves corretly as far as i can see.

Thank you. Then, this is logging improvement.

The XCUITest's log itself cannot modify, so probably around the line should have another log.

@KazuCocoa how to change context from FLUTTER to NATIVE_APP in appium java client 8 or 9?

I think https://github.com/appium/appium-flutter-driver/blob/main/example/java/src/test/java/example/appium/FlutterTest.java#L59-L62 would help

@KazuCocoa in appium java client 8 or 9 is not support driver.context()

it looks like Java client has the switching context feature in Android/iOS drivers https://github.com/search?q=repo%3Aappium%2Fjava-client SupportsContextSwitching&type=code
I don't use Java client, but probably would you run with uia2/xcuitest options and overriding automationName?


traefik hot reload not working because weave SDN isnt configured

Because the traefik container cannot be communicated with from the marathon container because it isn't yet on the weave bridge.
its curretly resolving to a docker bridge IP which isn't available across hosts.
Related https://github.com/Capgemini/Apollo/issues/581

This should be fine now
https://github.com/Capgemini/Apollo/pull/610
https://github.com/Capgemini/Apollo/pull/608
https://github.com/Capgemini/Apollo/pull/607


[FLINK-13143] Remove CheckpointExceptionHandler relevant classes

What is the purpose of the change
This pull request removed CheckpointExceptionHandler relevant classes
Brief change log

Removed tryHandleCheckpointException by sending decline checkpoint directly
Removed relevant classes: CheckpointExceptionHandler and  CheckpointExceptionHandlerFactory

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@pnowojski Thanks. It seems the run travis command did not take effects. Try again now.

@flinkbot run travis

Thanks for the contribution @yanghua. Merged :)


Fix arguments in "topcfg setpos"

"topcfg setpos" needs 5 arguments to work without exception and not 4
Fix for Issue #33

Thanks. Already noticed and fixed this myself


etcd as the backend, prefix option will overwrite prefix item in template file in version 0.12

this is an issue I reported to Kelsey Hightower' CONFD, but it seems not active any more, and report here,
https://github.com/kelseyhightower/confd/issues/516
highlight of the issue:
it's a change on the new version, the prefix is not a joint one, instead, the prefix in template file will be overwritten by confd profile, which cause the configuration file failed with this new version.
code as below:
resource.go:
NewTemplateResource, new version:
if config.Prefix != "" {
        // tr.Prefix = config.Prefix
        if tr.Prefix == "" {
                tr.Prefix = config.Prefix

but in previews version, it's a joint prefix as below:
tr.prefix = filepath.Join("/", config.Prefix, tr.Prefix)

I'm no longer maintaining this fork. Please make the change upstream. There are new maintainers taking over development of confd so this fork is no longer needed.

whcould you let us know which one should i follow up?

upstream is at https://github.com/kelseyhightower/confd.


Mismatching in labels of clusters and transition matrix

Describe the bug
In SOAPify/Examples/LENS.ipynb, tmat labels are given incorrectly when the clusters assigned by KMeans are not in order (e.g.: [C0=0, C2=2, C1=1]).
The output of calculateTransitionMatrix is a matrix with columns and rows corresponding to ordered clusters (e.g. for columns: C0=0 in col 0, C1=1 in col 1, C2=2 in col 2 ...) while the label assignment is given depending on the cluster order (C0 for col 0, C2 for col 1, C1 for col 2).
The problem is fixed by sorting the labels, from:

classifications = SOAPclassification(
    [], prepareData(classifiedFilteredLENS), [f"C{m[0]}" for m in minmax]
)

to:

classifications = SOAPclassification(
    [], prepareData(classifiedFilteredLENS), [f"C{m[0]}" for m in np.sort(minmax, axis=0)]
)

To reproduce the bug, changing the random_state parameter in KMeans (and thus the cluster assignment order) changes the exchanging probabilities.

Implementing this for me leads to an RGB conversion error ("Invalid RGBA argument: 'C0.0'") due to the creation of floats as strings instead of integers, thus a rounding should be applied inside the string creation. Here are some examples of what i mean, with the last one containing my proposed correction.
# Currently
print([f"C{m[0]}" for m in minmax])
['C1', 'C2', 'C3', 'C0']

# Correction proposed by martanit
print([f"C{m[0]}" for m in np.sort(minmax, axis=0)])
['C0.0', 'C1.0', 'C2.0', 'C3.0']

# My change to proposed correction
print([f"C{round(m[0])}" for m in np.sort(minmax, axis=0)])
['C0', 'C1', 'C2', 'C3']

Thus the change should be to:
classifications = SOAPclassification(
    [], prepareData(classifiedFilteredLENS), [f"C{round(m[0])}" for m in np.sort(minmax, axis=0)]
)

Yes, @MikkelDA you are right, I also had that issue and forgot to add the round. Thanks!


New rule proposal: Non-private elements must be documented

This is a follow-up to discussion on #832.
The proposal is for a rule that is the equivalent of SA1600, SA1602 and SA1602 for non-private, non-public elements only.
This is the equivalent of CS1591 but for non-private, non-public elements.
The existing SA160x rules will continue to report violations for elements with any visibility, unless the same violation is reported by this new rule or CS1591. This will require modifying the SA160x rules to check whether CS1591 and this new rule is enabled.

I don't think all the details of this rue have been finalized (in particular the relation between this rule and CS1591 when one or the other is disabled), but overall this is a big :+1: from me. I believe it provides a meaningful "stepping stone" for people working to increase the overall documentation in their product.

Addressed by a configuration approach in #1278.


iio: Support wildcard in IIO path input

It allows using wildcard characters to select an IIO path. It's
important to know that only the first result is used.
It internally uses glob().
Signed-off-by: Flavio Ceolin<EMAIL_ADDRESS>

@fulong82 is it that you have in mind on https://github.com/solettaproject/soletta/issues/2154 ?
I've scratched it but I was not able to test yet. I'm creating this pullreq to see whether I understood correctly or not .

@ceolin,
Yes. So base on your pull request implementation, you are taking the 1st matching entry to proceed.
Thanks.

@ceolin
Okay, tested your patch. It is working. Thx. 👍

@fulong82 thanks for testing. Is it address the issue https://github.com/solettaproject/soletta/issues/2154 ?

@ceolin
Yes and Thanks.


mac m1: trainer.train: ImportError: incompatible architecture (have 'x86_64', need 'arm64')

System Info
Apple M1 Pro 32 GB
version: 13.6 (22G120)
Reproduction
The code that reported the error.
examples/02-basic_training.ipynb
trainer.train(batch_size=32,
              nbits=4, # How many bits will the trained model use when compressing indexes
              maxsteps=500000, # Maximum steps hard stop
              use_ib_negatives=True, # Use in-batch negative to calculate loss
              dim=128, # How many dimensions per embedding. 128 is the default and works well.
              learning_rate=5e-6, # Learning rate, small values ([3e-6,3e-5] work best if the base model is BERT-like, 5e-6 is often the sweet spot)
              doc_maxlen=256, # Maximum document length. Because of how ColBERT works, smaller chunks (128-256) work very well.
              use_relu=False, # Disable ReLU -- doesn't improve performance
              warmup_steps="auto", # Defaults to 10%
             )

After executing the cell code above, the following error is reported
[Feb 19, 13:28:20] Loading segmented_maxsim_cpp extension (set COLBERT_LOAD_TORCH_EXTENSION_VERBOSE=True for more info)...
Process Process-1:
Traceback (most recent call last):
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/site-packages/colbert/infra/launcher.py", line 134, in setup_new_process
    return_val = callee(config, *args)
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/site-packages/colbert/training/training.py", line 48, in train
    colbert = ColBERT(name=config.checkpoint, colbert_config=config)
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/site-packages/colbert/modeling/colbert.py", line 24, in __init__
    ColBERT.try_load_torch_extensions(self.use_gpu)
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/site-packages/colbert/modeling/colbert.py", line 39, in try_load_torch_extensions
    segmented_maxsim_cpp = load(
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1306, in load
    return _jit_compile(
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1736, in _jit_compile
    return _import_module_from_library(name, build_directory, is_python_module)
  File "/Users/hao/miniforge3/envs/colbert/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 2132, in _import_module_from_library
    module = importlib.util.module_from_spec(spec)
  File "<frozen importlib._bootstrap>", line 565, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1173, in create_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
ImportError: dlopen(/Users/hao/Library/Caches/torch_extensions/py39_cpu/segmented_maxsim_cpp/segmented_maxsim_cpp.so, 0x0002): tried: '/Users/hao/Library/Caches/torch_extensions/py39_cpu/segmented_maxsim_cpp/segmented_maxsim_cpp.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/hao/Library/Caches/torch_extensions/py39_cpu/segmented_maxsim_cpp/segmented_maxsim_cpp.so' (no such file), '/Users/hao/Library/Caches/torch_extensions/py39_cpu/segmented_maxsim_cpp/segmented_maxsim_cpp.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Solutions Tried But Not Working
Referenced solution: https://github.com/bclavie/RAGatouille/issues/102
I moved /Users/hao/Library/Caches/torch_extensions/py39_cpu/segmented_maxsim_cpp to other name(eg. segmented_maxsim_cpp_20240219) or removed directory ~/Library/Caches/torch_extensions, and then rerun trainer.train(), but the problem still remains.
# solution1
cd ~/Library/Caches/torch_extensions/py39_cpu/
mv segmented_maxsim_cpp segmented_maxsim_cpp_20240218

# solution2
rm -r ~/Library/Caches/torch_extensions

python env
$ python --version
Python 3.9.18

$ pip list
Package               Version
--------------------- -----------
aiohttp               3.9.1
aiosignal             1.3.1
annotated-types       0.6.0
anyio                 4.2.0
appnope               0.1.4
asttokens             2.4.1
async-timeout         4.0.3
attrs                 23.2.0
bitarray              2.9.2
blinker               1.7.0
catalogue             2.0.10
certifi               2024.2.2
charset-normalizer    3.3.2
click                 8.1.7
colbert-ai            0.2.19
comm                  0.2.1
dataclasses-json      0.6.4
datasets              2.17.0
debugpy               1.8.1
decorator             5.1.1
Deprecated            1.2.14
dill                  0.3.8
dirtyjson             1.0.8
distro                1.9.0
exceptiongroup        1.2.0
executing             2.0.1
faiss-cpu             1.7.4
filelock              3.13.1
Flask                 3.0.2
frozenlist            1.4.1
fsspec                2023.10.0
git-python            1.0.3
gitdb                 4.0.11
GitPython             3.1.42
greenlet              3.0.3
h11                   0.14.0
httpcore              1.0.3
httpx                 0.26.0
huggingface-hub       0.20.3
idna                  3.6
importlib-metadata    7.0.1
ipykernel             6.29.2
ipython               8.18.1
itsdangerous          2.1.2
jedi                  0.19.1
Jinja2                3.1.3
joblib                1.3.2
jsonpatch             1.33
jsonpointer           2.4
jupyter_client        8.6.0
jupyter_core          5.7.1
langchain             0.1.7
langchain-community   0.0.20
langchain-core        0.1.23
langsmith             0.0.87
llama-index           0.9.48
MarkupSafe            2.1.5
marshmallow           3.20.2
matplotlib-inline     0.1.6
mpmath                1.3.0
multidict             6.0.5
multiprocess          0.70.16
mypy-extensions       1.0.0
nest-asyncio          1.6.0
networkx              3.2.1
ninja                 <IP_ADDRESS>
nltk                  3.8.1
numpy                 1.26.4
onnx                  1.15.0
openai                1.12.0
packaging             23.2
pandas                2.2.0
parso                 0.8.3
pexpect               4.9.0
pillow                10.2.0
pip                   24.0
platformdirs          4.2.0
prompt-toolkit        3.0.43
protobuf              4.25.3
psutil                5.9.8
ptyprocess            0.7.0
pure-eval             0.2.2
pyarrow               15.0.0
pyarrow-hotfix        0.6
pydantic              2.6.1
pydantic_core         2.16.2
Pygments              2.17.2
pyspark               2.4.7
python-dateutil       2.8.2
python-dotenv         1.0.1
pytz                  2024.1
PyYAML                6.0.1
pyzmq                 25.1.2
RAGatouille           0.0.7.post3
regex                 2023.12.25
requests              2.31.0
ruff                  0.1.15
safetensors           0.4.2
scikit-learn          1.4.1.post1
scipy                 1.12.0
sentence-transformers 2.3.1
sentencepiece         0.1.99
setuptools            69.1.0
six                   1.16.0
smmap                 5.0.1
sniffio               1.3.0
SQLAlchemy            2.0.27
srsly                 2.4.8
stack-data            0.6.3
sympy                 1.12
tenacity              8.2.3
threadpoolctl         3.3.0
tiktoken              0.6.0
tokenizers            0.15.2
torch                 2.2.0
tornado               6.4
tqdm                  4.66.2
traitlets             5.14.1
transformers          4.37.2
typing_extensions     4.9.0
typing-inspect        0.9.0
tzdata                2024.1
ujson                 5.9.0
urllib3               2.2.1
voyager               2.0.2
wcwidth               0.2.13
Werkzeug              3.0.1
wheel                 0.42.0
wrapt                 1.16.0
xxhash                3.4.1
yarl                  1.9.4
zipp                  3.17.0

Hi there!
Thank you for reporting this. Training is currently GPU/CUDA-only (this should be documented better) (cc @Anmol6 again), but this isn't quite the issue that I'd expect to pop up!
Do you have any issues loading the custom cpp code when running indexing?

Hi there!
Thank you for reporting this. Training is currently GPU/CUDA-only (this should be documented better) (cc @Anmol6 again), but this isn't quite the issue that I'd expect to pop up!
Do you have any issues loading the custom cpp code when running indexing?

Thanks for the reply.  Now I have no issues loading the custom cpp code when running indexing


CupertinoSlidingSegmentedControl doesn't fling

On both iOS 18 and older versions, if I fling from the selected to any direction, it keeps going, proportionally to the force I applied. Too much force, goes to the last. Not a lot, goes to the next. This is a nice detail from Apple that makes it super joyful.
https://github.com/user-attachments/assets/0207a487-638d-4167-a33e-667ff11afe01

Hi @bernaferrari, I just tested the CupertinoSlidingSegmentedControl example on the latest stable version and it appears that this feature has already been implemented. Kindly see the recording below. What version of flutter are you seeing this issue on?
https://github.com/user-attachments/assets/bec89448-a017-44a1-832e-dacbfb0f3171

Oh, really?? My bad. Thanks!!

Unsubscribe
On Fri, Sep 20, 2024, 10:00 AM Bernardo Ferrari @.***>
wrote:

Oh, really?? My bad. Thanks!!
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/155410#issuecomment-2363803656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7EZHT4YHNO3E7TVS675TDZXQS7XAVCNFSM6AAAAABOQFNJ6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRTHAYDGNRVGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


make the default content-type for the docusign return url route to be html

addresses #1430 raw html issue

addresses #1430 raw html issue


feature/deseng674: Implemented authoring tab to admin engagement view

…. Fixed a couple of issues with Footer and Admin SideNav as well.
Issue #: https://citz-gdx.atlassian.net/browse/DESENG-674
Description of changes:

Implemented authoring tab in admin engagement view
Co-ordinated with Nat to build admin view index.tsx

Used original data fetch config since I don't have Nat's loader
Modified tab values to match hi-fi prototype

Fixed an invalid prop in the footer
Fixed a React key error in admin side nav

User Guide update ticket (if applicable):
N/A

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

Project coverage is 76.04%. Comparing base (76fbfd4) to head (5b2d98c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2576   +/-   ##
=======================================
  Coverage   76.04%   76.04%
=======================================
  Files         609      609
  Lines       22080    22087    +7
  Branches     1785     1785
=======================================
+ Hits        16790    16797    +7
  Misses       5026     5026
  Partials      264      264

Flag
Coverage Δ

metweb
65.04% <100.00%> (+0.02%)
:arrow_up:

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

Files
Coverage Δ

met-web/src/components/layout/SideNav/SideNav.tsx
94.44% <100.00%> (+0.10%)
:arrow_up:

met-web/src/utils/index.ts
51.85% <100.00%> (+6.01%)
:arrow_up: