Remove !important from CSS

I use the transparent theme and there the !important modifier is used which stops the user from changing the rule in custom.css
At least I haven't found a way that works.
I've used the "easy" way and just removed the one place that matters to me, since there were more things needing changes in the html-file as well in the old structrue. But in css-file it is used 26 times, meaning it might be a problem more users deal with before they find out why their custom.css doesn't works.
I'm afraid that my knowledge in css is very rudimentary, otherwise I would take a look and se how difficult it is to change, but at least as of now, that is outside my competence.

It's a delicate thing and

It's a delicate thing and

I have tried diffrent versions on how to override it, but have yet to find something that actually works. The same selector with just. !important added has so far not worked. But as I said, know just the very very basics of css.

I have tried diffrent versions on how to override it, but have yet to find something that actually works. The same selector with just. !important added has so far not worked. But as I said, know just the very very basics of css.

If you give a specific override example I can try to see why it's not working.

If you give a specific override example I can try to see why it's not working.

If you want to overrride !important, you need to create a css with a higher specificity.
So if you can give an example, we can give you some pointers.
https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

Give me some time and I will, as of now I have got it to partly work...

Okay, giving up now,  Might be me, or not ;)...
Have this in custom.css and works:
.-theme-transparent .item {     color: #fff1cce6;/*text*/     background: rgba(132, 122, 116, 0.1) !important;      box-shadow: 2px 2px 2px 2px rgba(54, 47, 36, 0.1), -2px -2px 0 rgba(200, 200, 200, 0.1);     border-radius: 2px; }
but then I would like to have a different background in some tiles, and that is not working, like:
`.transparent-tile .-theme-transparent .item {
background: rgba(255, 0, 0, 0) !important;
box-shadow: none;
border-radius: 0px;
}
tile:
empty_tile:{
width: 3,
height: 1.5,
state: false,
type: TYPES.CUSTOM,
id: {},
classes: ['transparent-tile']
},//-------------------------------------------------------------

`
and then I have some tiles changing backgound depending on state, and not working, with or wotout !important...
    climate_arbetsrummet: {         height: 1.5,         type: TYPES.CLIMATE,         id: 'climate.arbetsrummet',         unit: '°C',         title: '&sensor.arbetsrummet_temp_mi.state°C',         state: 'Arbetsrummet',         subtitle: '&sensor.arbetsrummet_hum_mi.state% ',         useHvacMode: true,         customStyles: function(item, entity){             if (entity.attributes.hvac_action == 'heating') 	            return {'background': 'rgba(79, 129, 29, 0.15)'}; 			else if (entity.attributes.hvac_action == 'idle')                 return {'background': 'rgba(204, 0, 0, 0.15)'};             else                 return {'background': 'rgba(132, 122, 116, 0.1)'}; 	    },         classes: [  'item-climate-button-state',                     'item-climate-text-temp',                     'item-climate-text-hum',                      'item-climate-button',                     'item-climate-button-center-right',                     'item-climate-button-bottom-right',                 ],     },

.transparent-tile .-theme-transparent .item {
background: rgba(255, 0, 0, 0) !important;
box-shadow: none;
border-radius: 0px;
}

This should be:
.-theme-transparent .item.transparent-tile
No spaces between item and transparent-tile.


FEAT: Made pages responsive and changed the layout from grid to flex

Solved issue #5
Made all pages responsiveness
Changed layout from Grid to Flex

Screenshots

Code looks great. Class names are apt. Also using Semantic HTML at places. Only thing I found odd is using "px" for defining width and spacing at places. Otherwise it's all good to merge.

It is for those elements which need not be responsive and will remain the same width and height irrespective of the screen size.


fix: resolve TypeScript build error in projects using --isolatedModules

Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Fixing issue when using Next.JS  with Typescript with the mandatory --isolatedModule set to true. This requires having all type exports as export type. The change also keeps the type export consistent with the index.ts type exports.
Fixes: Type error: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
Checklist:

[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

🚘

@angeloashmore Noticed in a project of mine with Next.js, which requires --isolatedModule set to true, after updating to @prismicio/client v7. After the Migration Guide changes, Eslint returns errors for @prismicio/react:
Type error: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
The change also keeps it consistent with index.ts for exporting types.
Not a groundbreaking bugs, but surely will help others with the same issue.

Thanks for the fix, @alexandrutasica!
This has been released in v2.7.3.


fix docker sha256 copying

@zerok Before merging I want to move the 'ext -> handler' matching logic out of the main function and into its own function where we can write some tests for it.
if you get to that before i wake up that'd be awesome. if not nbd i'll get it done first thing :)

@kminehart on it regarding moving the handler logic out. Will also refactor the tests to be simpler.


Write test for ParamsFromContext

This function is currently not covered by any test:
https://coveralls.io/builds/25725439/source?filename=params.go#L29

Fixed by 21c8d5201d51ea174dae281222c42f24c61e20e6


Added scoala45.ro in libs/domains

@LouisTheXIV Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Adding CustomDataspecification Feature and UnitTests

Soves #14

@FrankSchnicke I just uploaded the changes about which we talked yesterday. I am still struggling with https://github.com/sap-contributions/aas4j/blob/c33a3aaf8db2e52c0b5593917095d6aa09c60a27/dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/serialization/EmbeddedDataSpecificationSerializer.java#L45 but just don't have a better idea.

@FrankSchnicke I just uploaded the changes about which we talked yesterday. I am still struggling with https://github.com/sap-contributions/aas4j/blob/c33a3aaf8db2e52c0b5593917095d6aa09c60a27/dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/serialization/EmbeddedDataSpecificationSerializer.java#L45 but just don't have a better idea.

By defining it as mandatory to extend/implement the CustomDataSpecification interface I think we have a good starting point for version 1. We can extend this in future to support a more flexible model.

Another way to approach this problem would be to use annotations.


Update DevkitSimpleTutorial.js

Reverted by force push, then reapplied in 84f72c9, as the commit message and content were incorrect and the PR targeted the main branch instead of the develop one.


sst.aws.Router - Support for Cloudfront functions for viewer requests

It would be nice to either directly or via transforms allow people to add viewer request functions and the like to routes in the router. My use case is to strip the prefix before it gets to the underlying function url , and also add additional headers  to the request.
Alternative would be just exposing the Cdn resource so it can be done that way.
The current escape hatch I am doing is using pulumi directly means you also have to mess around with the dns validation etc, which is painful
ION-212

@cmanou Yeah we are going to expose and allow transforming on the Cdn component, just need to clean it up a bit.

In v0.0.257, u can now transform on the Cdn component - https://ion.sst.dev/docs/component/aws/nextjs/#transform-cdn

@fwang thanks for that


Website push

@fkb5105 Well done! I've merged your pull request and deleted your branch. You should switch to your main branch, pull in the freshly merged content, and delete your Ex3FelipeBranch now.

@fkb5105 Wait a second! You didn't code a new XML file for this exercise, so technically it's not quite complete. You're new to XML, so it's important you develop some experience. I'm restoring the branch so you can code up some new content. DON'T delete your branch, but push some new code here and let me know here or over Canvas when you've done that.


Add Avatar Component

Add Avatar Component
- avatar html and css files.

Hey Varun Why are different class for child img  you can give img height and width 100% then they will adjust according to parent


REQUEST: New membership for

GitHub Username
chzhj
Requirements

[X] I have reviewed the community membership guidelines
[X] I have enabled 2FA on my GitHub account
[X] I am actively contributing to 1 or more Koordinator subprojects
[X] I have two sponsors that meet the sponsor requirements listed in the community membership guidelines
[X] I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application
[X] I have verified that my sponsors are a reviewer or an approver in at least one OWNERS file within one of the Koordinator GitHub organizations (excluding the contributor-playground)
[ ] OPTIONAL: I have taken the Inclusive Open Source Community Orientation course

Sponsor 1
@hormes
Sponsor 2
@zwzhang0107
List of contributions to the Koordinator project
PRs Reviewed / authored
https://github.com/koordinator-sh/koordinator/pull/305
https://github.com/koordinator-sh/koordinator/pull/1006
https://github.com/koordinator-sh/koordinator/pull/1020
Subprojects I am involved with
koordinator-sh/koordinator

+1

Welcome to the Koordinator community! We are excited to have you onboard as we work together to make workload
scheduling more efficient and flexible.

+1

@chzhj  Congratulations! We have sent a github message to invite you as member of Koordinator, please check the message.
After joining the member, please keep role: public in https://github.com/orgs/koordinator-sh/people, so correct member statics can be collected by community.

/close


Client lacking TransferSubscriptions for re-establish connections

Section 6.7 Re-establishing Connections of the OPC UA online reference:
https://reference.opcfoundation.org/v105/Core/docs/Part4/6.7/
may require the client to issue TransferSubscriptions and Republish.  Both calls are not currently supported as fuctions in LibUA.
Can these calls be added?

Both server and client discard all session information on disconnect right now. This would need some additional handling for a duration after a session is lost and handling for memory and security restrictions e.g. connect 50 sessions one at a time and make 100 subscriptions rapidly -> 5000 extra subscription info objects left in memory for a while.
I may revisit this in the future but I don't have time to make those changes any time soon.


update to v2 API

Pull in unmerged PRs from upstream, notably updates to use crypto/ecdh
Breaking API changes that reflect the current split between crypto/ecdh and crypto/ecdsa
Upgrade to JWT v5
Some refactoring and optimizations (nothing that made a big difference, ECC operations are over half the total CPU cost in my profiling)

cc @mrwonko ; this is an attempt at a v2 API for webpush-go that reflects the current split between crypto/ecdsa and crypto/ecdh.
Also sorry if you got a GitHub email from me last week claiming that your code was wrong!


shell.js:231 SplitLinesCollection: attempt to access a 'newer' model

shell.js:231 SplitLinesCollection: attempt to access a 'newer' model: Error: SplitLinesCollection: attempt to access a 'newer' model
    at SplitLinesCollection._ensureValidState (file:////Users/bpasero/Development/monaco/out/vs/editor/common/viewModel/splitLinesCollection.js:249:23)
    at SplitLinesCollection.getViewLineMinColumn (file:////Users/bpasero/Development/monaco/out/vs/editor/common/viewModel/splitLinesCollection.js:535:18)
    at ViewModel.getLineMinColumn (file:////Users/bpasero/Development/monaco/out/vs/editor/common/viewModel/viewModelImpl.js:372:31)
    at ViewModel.getCenteredRangeInViewport (file:////Users/bpasero/Development/monaco/out/vs/editor/common/viewModel/viewModelImpl.js:187:83)
    at ViewModel._onEvents (file:////Users/bpasero/Development/monaco/out/vs/editor/common/viewModel/viewModelImpl.js:205:51)
    at ViewModel.onEvents (file:////Users/bpasero/Development/monaco/out/vs/editor/common/viewModel/viewModelImpl.js:157:18)
    at file:////Users/bpasero/Development/monaco/out/vs/editor/common/viewModel/viewModelImpl.js:73:23
    at CallbackList.invoke (file:////Users/bpasero/Development/monaco/out/vs/base/common/callbackList.js:57:43)
    at Emitter.fire (file:////Users/bpasero/Development/monaco/out/vs/base/common/event.js:88:40)
    at Configuration.CommonEditorConfiguration._setOptions (file:////Users/bpasero/Development/monaco/out/vs/editor/common/config/commonEditorConfig.js:435:31)

Steps to Reproduce:

copy the entire contents of a file
press and hold paste to paste a lot

=> eventually you get this stack

Nice find! This happens when the model gets more lines (i.e. from 999 to 1000) and the configuration changes as part of the viewModel handling events.


Test/caching

Just for testing and experiments

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

Can we close it @SebastianSchildt ?


[RBAC] Creator permissions will not work 100% for parent objects

The only model we have that this issue would (hypothetically) apply to is galaxy_ng Namespace.
A user can be giving the "add_namespace" permission via a role, and then create a namespace. The problem is that they will not get all permissions to create collections inside of that namespace. Normally, we assure creator permissions via a list of actions we need to assure they can take on the object they created, however, in this case they need permission to collections inside of the namespace. This isn't supported with the current logic and needs a special case.
The same problem would apply if an app used a global "add_organization" permission.

Longer-term, I believe organizations should have default_creator_permissions field which would be dict-valued, and define the same thing that the proposed setting ANSIBLE_BASE_ROLE_PRECREATE does, but specific to the organization.

Discovered another issue on the validator level - we may not be fully allowing for creating a role definition on a grandparent resource of another resource. This is just in the validators, not a problem in any of the deeper logic.

Pushed a commit, adds test test_creator_permissions_for_parent and test_creator_permissions_for_organization and makes necessary code changes. Closing as fixed.


TGMPA conflict

https://wordpress.org/support/topic/amp-killed-access-to-my-sites-admin-dashboard/

@ahmedkaludi After some testing this has been found that its possibly due to outdated version being used in themes

I have tested this multiple times, this seems to be an issue with the theme that also implements the TGM library, because Skin theme also has the TGM and it didn't threw any error.


Mongo backup does not seem to work

Summary
I tried to do backup now via bash inside the container and it shows this:
bash-5.1# backup-now
** Performing Manual Backup
2021-11-18-08:46:31 [NOTICE] ** [db-backup] Compressing MongoDB backup with gzip
2021-11-18T08:46:31.354+0000    writing admin.system.version to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
2021-11-18T08:46:31.363+0000    done dumping admin.system.version (1 document)
2021-11-18T08:46:31.378+0000    writing homeserver.nrig to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
2021-11-18T08:46:31.380+0000    writing homeserver.authTokens to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
2021-11-18T08:46:31.381+0000    writing homeserver.cameras to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
2021-11-18T08:46:31.386+0000    writing homeserver.nrigStatus to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
2021-11-18T08:46:32.397+0000    done dumping homeserver.nrig (1 document)
2021-11-18T08:46:32.400+0000    done dumping homeserver.nrigStatus (239 documents)
2021-11-18T08:46:32.401+0000    done dumping homeserver.cameras (2 documents)
2021-11-18T08:46:32.405+0000    writing config.image_collection to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
2021-11-18T08:46:32.406+0000    writing homeserver.users to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
2021-11-18T08:46:32.418+0000    writing homeserver.serverLogs to archive '/tmp/backups/mongo__home-server-db_20211118-084631.archivegz'
/etc/services.available/10-db-backup/run: line 160:  1095 Killed                  mongodump --archive=${tmpdir}/${target} ${mongo_compression} --host ${dbhost} --port ${dbport} ${MONGO_USER_STR}${MONGO_PASS_STR}${MONGO_AUTH_STR}${MONGO_DB_STR} ${EXTRA_OPTS}
2021-11-18-08:46:34 [NOTICE] ** [db-backup] Generating MD5 for mongo__home-server-db_20211118-084631.archivegz
2021-11-18-08:46:34 [NOTICE] ** [db-backup] Backup of mongo__home-server-db_20211118-084631.archivegz created with the size of 10 bytes
2021-11-18-08:46:34 [NOTICE] ** [db-backup] Cleaning up old backups
bash-5.1# ls /backup
mongo__home-server-db_20211118-084631.archivegz      mongo__home-server-db_20211118-084631.archivegz.md5
bash-5.1# ls /backup -halt
total 16K
drwxr-xr-x    2 root     root        4.0K Nov 18 08:46 .
-rw-r--r--    1 root     root          82 Nov 18 08:46 mongo__home-server-db_20211118-084631.archivegz.md5
-rw-r--r--    1 root     root          10 Nov 18 08:46 mongo__home-server-db_20211118-084631.archivegz
drwxr-xr-x    1 root     root        4.0K Nov 18 08:09 ..
bash-5.1#

which looks normal until you check the size of the backup that is only 10 bytes.
Environment

Image version / tag:  tiredofit/db-backup:2.9.2
Host OS: Ubuntu 20.04 ARM64

The environment:
            DB_TYPE: "mongo"
            DB_HOST: "home-server-db"
            DB_CLEANUP_TIME: "10080"
            DB_DUMP_BEGIN: "0200"

Hi - Not sure what to say here, Do you have another way to try to backup the database? I am questioning whether there is a problem with the database itself or the image.

It turned out to be that i assigned the memory too low in my docker compose. It requires way more that i thought it needs. Sorry about that.

No problem. I bet you have a large database before compressing. I have some ideas to make that temporary compression directory user selectable, it may solve some OOM issues that I have seen as well with too low resource speccing. Glad you are on track.


Added strict mode to IdentityFromContext

coverage: 78.719% (-0.04%) from 78.76%
when pulling 78c21809ab13c992ad4e171e89170f479f6fe5b0 on dissoupov
into 5244d03fa3c622e0032623a4feb3fd7df5a5de15 on main.


Virtual scrolling support

Hi,
I would like to ask if this plugin has virtualization support? like render items only when they are visible in the DOM?
Thank you.

sorry.
zTree doesn't support virtualization.


bug(material/input): required asterisk when using required validator dont work with Validator.compose

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
The feature introduced by https://github.com/angular/components/pull/23362 seems to don't work with Validators.compose feature
Reproduction
StackBlitz : https://stackblitz.com/edit/angular-mat-input-lpt6la?file=src/app/app.component.html
Steps to reproduce:

Create a mat-form-field input with formControlName that have a Validators.required
Do the same with a Validators.compose that contain a Validators.required

Expected Behavior
The 2 mat-form-field input you sould have the * into the placeholder
Actual Behavior
The mat-form-field input with Validators.compose have correct validation (get red color if no input) but don't have the * into the placeholder

The mat-form-field input with Validators.compose
Environment

Angular: 13.3.9
CDK/Material: 13.3.9
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu

Transferring this issue to the Framework repo since we depend on the Forms module to tell us when a validator is used.


Custom handler in runtimeCaching

I would like to implement my own logic on a custom handler on the runtimeCaching option. Intercept an ajax request  and respond using data on IndexDB or send the request to the network and update my indexDB data. is that posible?

It's probably easiest to implement that logic inside your own standalone script, and then pass the path to that script in to the importScripts option when you build your service worker.
Alternatively, you can explore using the new Workbox project, which uses a model in which it's easier for you to add code to your top-level service worker file, including putting in custom runtime routing logic:  https://workboxjs.org/examples/workbox-sw/


[Ubuntu] Update Maven to 3.9.0

Description
Update Maven to 3.9.0

Related issue:
https://github.com/actions/runner-images/issues/7055
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

The best of this update is that it supports the new cache extension. Thanks for pushing it!
https://maven.apache.org/extensions/maven-build-cache-extension/

/azp run ubuntu1804,ubuntu2004,ubuntu2204

/azp run ubuntu1804,ubuntu2004,ubuntu2204


Add support for LNURL

See: https://github.com/fiatjaf/lnurl-rfc
Phoenix Android already supports LNURL-withdraw and LNURL-auth, with LNURL-pay coming soon. Some of that code can be reused in phoenix-kmm.
This does not require to do any work in lightning-kmp.

Should we break this up into separate issues for LNURL-auth, LNURL-withdraw, etc ?


LinAlgError: Matrix is not positive definite

I tried using ITML with manual constraints and I ended up getting this:
---------------------------------------------------------------------------
LinAlgError                               Traceback (most recent call last)
<ipython-input-23-417130871025> in <module>()
      4 itml.fit(allp_1, constraints=dissim(cobra, length=500))
      5
----> 6 trans = itml.transform()

/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/base_metric.pyc in transform(self, X)
     44     if X is None:
     45       X = self.X
---> 46     L = self.transformer()
     47     return X.dot(L.T)
     48

/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/base_metric.pyc in transformer(self)
     27     L : (d x d) matrix
     28     """
---> 29     return inv(cholesky(self.metric()))
     30
     31   def transform(self, X=None):

/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/numpy/linalg/linalg.pyc in cholesky(a)
    610     t, result_t = _commonType(a)
    611     signature = 'D->D' if isComplexType(t) else 'd->d'
--> 612     r = gufunc(a, signature=signature, extobj=extobj)
    613     return wrap(r.astype(result_t, copy=False))
    614

/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/numpy/linalg/linalg.pyc in _raise_linalgerror_nonposdef(err, flag)
     91
     92 def _raise_linalgerror_nonposdef(err, flag):
---> 93     raise LinAlgError("Matrix is not positive definite")
     94
     95 def _raise_linalgerror_eigenvalues_nonconvergence(err, flag):

LinAlgError: Matrix is not positive definite

The shape of allp_1, (the matrix I want to transform) is (800, 1), and I'm creating my constraints very similarly to the way I did it in the example notebook.
Any idea what the problem might be? I only get this error when transforming, the fit seems to be happening okay.

Okay, I checked what itml.metric() is, and it's array([[ nan]]).
Any clue why this may be the case?

Do you think this might be useful information? I get it as run-time error:
/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/itml.py:98: RuntimeWarning: divide by zero encountered in double_scalars
  alpha = min(_lambda[i], gamma_proj*(1./wtw - 1./pos_bhat[i]))
/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/itml.py:100: RuntimeWarning: invalid value encountered in double_scalars
  beta = alpha/(1 - alpha*wtw)
/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/itml.py:101: RuntimeWarning: divide by zero encountered in double_scalars
  pos_bhat[i] = 1./((1 / pos_bhat[i]) + (alpha / gamma))
/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/itml.py:101: RuntimeWarning: invalid value encountered in double_scalars
  pos_bhat[i] = 1./((1 / pos_bhat[i]) + (alpha / gamma))
/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/itml.py:118: RuntimeWarning: invalid value encountered in double_scalars
  conv = np.abs(lambdaold - _lambda).sum() / normsum
/Users/bhargavvader/Dropbox/Bhargav/Code/venv/lib/python2.7/site-packages/metric_learn/itml.py:99: RuntimeWarning: invalid value encountered in double_scalars
  _lambda[i] -= alpha```

@perimosocordiae my intuition is it is because my data is just one column - but I don't know why this should be a problem.

An update here; when i tried to first cluster, use these labels to create constraints, and used LMNN, it worked. So my feeling is that it didn't work before my constraints were funny or impossible to converge - but I'm not sure.
Would be great if someone can confirm this, either theoretically (about unrealistic constraints causing the algo to fail), or with someone's previous experience with a nan learned metric being the result.

Hi, @bhargavvader , is there some data you could provide, so that I could try to reproduce the error?

I am quite sure it was because of the nature of my constraints; and the data-set was randomly generated data. Closing this issue now, will re-open if I figure something out.


lazyLoad: issue --- Wrong usage of Elvis operator ?:

It seems like even though we set lazyLoad: False  in boolean (settings of your module) we'll be forced to use lazyLoad: True
Could you check it out?
I assume it should be
'lazyload' => (bool) ($this->getData('lazyload') ?: false),
https://github.com/Itonomy/module-flowbox/blob/00b5a707c9e7e4971e7de41b43976c086a20a760/src/Block/Widget/Flow.php#L54

Hi there! Thank you for the bug report. We have created an internal ticket for this and we'll take a look at this ASAP.

Hi there,
Has been fixed in version 1.4.0 (currently awaiting marketplace review).
https://github.com/Itonomy/module-flowbox/commit/b82e28c5a7f5fd64317dd1925c6d0e04fb6d14a9


Update ws dependency to 1.0.1

Note: this drops support for node < 0.12, so travis and package.json adjusted as well
This is a pretty big change, as several versions of node support are dropped, but keeping up with the ws dependency is most likely good in the long run.
This is yet to be tested, but testing will begin today.

Concept ACK.  In general, we should try to move support to at least the LTS version of Node.js.  Dropping support for versions before that is minimal pain.

:+1:
Here are the ws release notes. A couple of things I noticed:

Removed the client code. It was simple wrapper that really doesn't belong in a full ledged node.js library. If you want browser support you could just conditionally import it the WebSocket server. var WS = window.WebSocket || require('ws')

This doesn't affect the dist/ version of SIP.js, nor should it affect Node users that simply require('sip.js') (see https://github.com/onsip/SIP.js/pull/108 for more info on how this works). However, the following (very edge, I'd think) case does not work when browserified:
[josephfrazier@Josephs-MacBook-Pro ~/workspace/sip.js] (james-onsip-master 1U) $
echo; cat test.js; echo

// get default environment
var environment = require('./src/environment');

// override with custom implementations
environment.WebSocket = require('ws');

// use custom environment with SIP.js
var SIP = require('./src/SIP')(environment);
var ua = new SIP.UA({traceSip: true});

[josephfrazier@Josephs-MacBook-Pro ~/workspace/sip.js] (package.json-ws-browser-field 1U) $
browserify test.js | smokestack
Error: Cannot find module 'bufferutil' from '/Users/josephfrazier/workspace/web/web-webrtc-phone/frameworks/sip.js/node_modules/ws/lib'
    at /usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:50:17
    at process (/usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:119:43)
    at /usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:128:21
    at load (/usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:60:43)
    at /usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:66:22
    at /usr/local/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:21:47
    at FSReqWrap.oncomplete (fs.js:82:15)

We could add some more code to keep this working (see https://github.com/websockets/ws/commit/e54d45fbab3b19c2940e9057ce1e7b8f105873e0 for conversation about the breaking change in ws, and here for the general form that a workaround could take), but I'm not sure if it's worth it.

Binary addons have been completely removed. Even as optional dependency, it seems that npm is just unable to properly handle the builds causing installations to fail and lead to massive developer issues. While the dependencies have been removed, you can still optionally install things. See https://github.com/websockets/ws#opt-in-for-performance for additional information.

I don't know that any sip.js users have experienced build issues like this, so we may want to consider adding bufferutil and/or utf-8-validate into package.json. On the other hand, I'm thinking it's better to leave this decision up to the sip.js user.

Testing for this was successful, and we are now able to accomodate this PR, so merging.


Add easyjson:json annotation for generated types

Currect swagger code is support easyjson serialization, but don't mark generated types as easyjson:json.
This issue can partically workarounded by easyjson -all, but unfortunatelly this command ignore array types like:
// swagger:model Posts
type Posts []*Post

As result you can't use easyjson serialization with swagger model like:
swagger: '2.0'
paths:
  /posts/{thread_id}/profile:
    get:
      parameters:
      - name: thread_id
        in: path
        required: true
        type: number
      responses:
        200:
          schema:
            $ref: '#/definitions/Posts'
definitions:
  Post:
    type: object
    ...
  Posts:
    type: array
    items:
      $ref: '#/definitions/Post'

HI thanks for this but the problem is more complicated
Take a look at this PR: https://github.com/go-swagger/go-swagger/pull/557/files
It has the template changes required for easyjson support, unfortunately it has gone stale so rebasing that one is complicated. But it would be great if just the serialization changes (not the patch support and nullable/unset field stuff) could turn into a PR with just changes to serialization. It would fix about a dozen open bugs.

I've brought the changes from PR #557 up to date with current master in the easyjson branch
https://github.com/go-swagger/go-swagger/tree/easyjson
I won't be able to work on this for a while to come still. The AllOf functionality is still missing

stale


OATH Token Identifier Option

In the graphical YubiKey Personalization Tool there is an option in OATH-HOTP advanced to omit the token identifier. I uncheck this box in my use case which is YubiKey as an OTP token in FreeIPA. However, the option to configure the HOTP mode via this project does not seem to allow proceeding without either a 6 or 8 character ID. Am I reading it wrong or is there a workaround?
https://github.com/Yubico/python-yubico/blob/170ea1ef1ce7f823c7da8899f2fc65cdc795f87a/yubico/yubikey_config.py#L309

Never mind, I misunderstood the code. It does not require a Token Identifier to be set and the default operation of the function I linked is to act as if the box in the GUI tool is unchecked.


Usage of GetProjection()

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 14.04): 16.04
Apollo installed from (source or binary): Source
Apollo version (1.0, 1.5, 2.0, 2.5, 3.0): 3.0

Can anybody please explain me how GetProjection() function works and what it is used for.?
BR

@BoChang11 could you be more specific? Which file are you currently looking at?

@natashadsouza hd_map_common_test.cc, could you please explain what is the task of this function GetProjection().
I am trying to find the distance travelled by Autonomous vehicle over time. It would be great if you could help me with the useful function.
BR

@BoChang11 take a look at hdmap_common.h for additional details regarding the function.
Let me know if you have any additional questions. Thanks!

@natashadsouza Thanks for the reply. I will look into the program in hdmap_common.h and update you.
Could you please let me know is there a I can calculate/monitor the distance covered by autonomous vehicle during the course of the journey ?
BR

@natashadsouza Did you get chance to look at the query?

@BoChang11 sorry for the delay in responding. Currently there is no way to monitor the distance travelled by the car. It is a great suggestion though and something we would definitely consider as a feature request. Would you help me understand what you are trying to accomplish by calculating this?

@natashadsouza I want to keep track of the distance for every new route given, which will be used in making some of the decisions.
Thank you,
BR

@natashadsouza
I got the solution. We can get the distance covered by the ego vehicle in current lane segment by using GetProjection() as given below:
double adc_s = 0;
double adc_l = 0;
bool temp_ret = current_lane->GetProjection(car_point, &adc_s, &adc_l);

@BoChang11 that's great news. Do you mind making a pull request for others to also use it.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


[11.x] Fix dockblock AnonymousEvent class

This PR is for fixing the dock block in AnonymousEvent class

Thanks but it's fine.


Cannot assign a byte value to a union typed variable

Description:
byte|float x = 4;

Compilation fails for the above with the following error:
incompatible types: expected 'byte|float', found 'int'

Affected Version
0.982.0

Reopening the issue as the above-referenced PR would only fix the finite type assignability. Also, it only checks for the assignability without changing the actual type of the literal.

Closing this since it will be fixed once we fix https://github.com/ballerina-platform/ballerina-lang/issues/14376.


Add preliminary MistralAI support

This small patch provides the ability to use another API endpoint declared in an environment variable, and adds Mistral models.
Here is the python example from MistralAI: https://github.com/mistralai/client-python/blob/0d55818364fd2a7ca67401dd550632f8ca70e5af/examples/chatbot_with_streaming.py#L15
Successfully tested with MistralAI.

I think this PR signals a mature direction to start thinking about moving this project.

I think this PR signals a mature direction to start thinking about moving this project.

Actually, I think the model declaration needs to be revamped. go-openai would certainly work with ollama just like Mistral, but adding models in the completion.go file is not sustainable. The const list should be extendable via an environment variable or a config file.
I can work on this it you agree with this idea.

@iMilnb Thank you for the PR! We're definitely not merging that, as implicit dependency on the environment variable is not what we want. (And I'm getting strong xz vibes from this PR tbh).
Regarding the list of consts: there is no need to rely on it, the Model parameter is just a string, and you can pass any model name you want.

Regarding the list of consts: there is no need to rely on it.

Just trying to understand the design philosophy here.  Is the goal to prevent the constants list from being polluted with non openai models?


what about 'generateFiles' function making use of Promise.all ?

Currently the generateFiles functions inside utils, make use of 'map' and 'if' to call a corresponding generator.
Since you always know, what to generate from your 'folders', how about using Promise.all to trigger everything in parallel such that you can convert each generator function to a promise ?

generateFiles: function(json_config){
  const folders = Object.keys(json_config);

  const tasks = [];

  if ( folders.includes('models') ) {
      tasks.push(fileGenerators.makeModels(json_config.models));
  } else if ( folders.includes('views') ) {
      tasks.push(fileGenerators.makeViews(json_config.views));
  } else if ( folders.includes('controllers') ) {
      tasks.push(fileGenerators.makeControllers(json_config.controllers));
  } else if ( folders.includes('routes') ) {
      tasks.push(fileGenerators.makeRoutes(json_config.routes));
  }

  return Promise.all(tasks).then( _ => ({success: true, message: "*******GENERATED ALL FILES*******"}) );
}

This seems like a great idea! Looking forward to your PR. :)


Go

https://news.ycombinator.com/item?id=9751121

https://github.com/dariubs/GoBooks

https://github.com/avelino/awesome-go


Fix package for windows

Codecov Report
Base: 67.23% // Head: 64.86% // Decreases project coverage by -2.37% :warning:

Coverage data is based on head (243b37a) compared to base (69f0de1).
Patch coverage: 11.76% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   67.23%   64.86%   -2.37%
==========================================
  Files           4        4
  Lines         177      185       +8
==========================================
+ Hits          119      120       +1
- Misses         58       65       +7

Impacted Files
Coverage Δ

shelved_cache/persistent_cache.py
74.52% <11.76%> (-5.07%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Sort by date icons

Icon name
arrow-down-clock, arrow-up-clock
Use cases
It can be used to sort by date added.
Design ideas

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

I think these could work:
Open lucide studio
Open lucide studio
Open lucide studio
Open lucide studio

Looks great! I've used clock plus an arrow so far, instead.


pythonPackages.poetry: Apply patch to fix failing tests

Motivation for this change
The poetry package does not build currently since it is incompatible with our current version of pytest-mock. This incompatibility is addressed upstream in https://github.com/python-poetry/poetry/pull/3457
To fix the issue temporarily in nixpkgs I applied the patch from this PR to the current version in nixpkgs an left a comment with regards to the purpose of the patch.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 106292 run on x86_64-linux 1

6 packages failed to build:

archivy
lexicon
python37Packages.hypothesis-auto
python37Packages.labelbox
python38Packages.hypothesis-auto
python38Packages.labelbox

28 packages built:

ansible-lint (python38Packages.ansible-lint)
cmake-language-server
pinnwand
python37Packages.ansible-lint
python37Packages.aria2p
python37Packages.backoff
python37Packages.goobook
python37Packages.myfitnesspal
python37Packages.perfplot
python37Packages.poetry
python37Packages.pyairvisual
python37Packages.pysnow
python37Packages.rich
python37Packages.tinydb
python37Packages.wled
python37Packages.xdg
python38Packages.aria2p
python38Packages.backoff
python38Packages.goobook
python38Packages.myfitnesspal
python38Packages.perfplot
python38Packages.poetry
python38Packages.pyairvisual
python38Packages.pysnow
python38Packages.rich
python38Packages.tinydb
python38Packages.wled
python38Packages.xdg

@GrahamcOfBorg build python3.pkgs.poetry


DRM 6008 - Failed to execute 'update' on 'MediaKeySession': Rejected with system code (22)

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Please ask your question
I'm currently seeking information regarding an error that has been occurring on Chrome version <IP_ADDRESS> for Windows 10, and I was wondering if you could provide some insight.
Specifically, we have been encountering a DRM 6008 error. From my understanding, this error message indicates that the license response from the Content Decryption Module (CDM) was rejected. It suggests that the server's response may be invalid or malformed for this particular CDM.
code: https://github.com/shaka-project/shaka-player/blob/6d75d89fbb13a32de135a6c1ab6a7a3e55fcb3f4/lib/util/error.js#L841
Now, the aspect I'm particularly interested in is this error that come along with it.
"Failed to execute 'update' on 'MediaKeySession': Rejected with system code (22)" error.

I'm trying to gain more insights into this specific error and understand what the system code (22) signifies. Additionally, if there are any relevant documentation or resources available that could assist in debugging why we are experiencing this error, it would be greatly appreciated. I have already explored the possibility of this issue being related to Chrome settings, such as hardware acceleration, but I haven't had any success in resolving it.
It's worth noting that this error occurs sporadically, only happening occasionally. Could it be related to the Content Decryption Module (CDM) on certain users' machines?
Any help would be great,
Thanks

Duplicate of https://github.com/shaka-project/shaka-player/issues/2702

Just wanted to add some context to this to help anyone else.
This seemed to be an issue on Googles end from our analytics the issue is no longer present on Windows 10 / Chrome <IP_ADDRESS> something has changed from Windows 10 / Chrome <IP_ADDRESS> which we are investigating to try and get some more information on what might have changed.


Only using tag when explicity asked

Jenkins was saving artifacts to a location using SHA or tag if tag was available. In https://github.com/istio/istio-testing/commit/cd138c4c8e915880eecb95d68950be171c477c0a, we are only using tag when specified. Using this version of library.
Tweaking get_workspace_status for branches.

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed


OVDB-64: Add SOP Pairing Logic

This adds the ability to hide an open-source SOP from the tab menu using OpFactory::setInvisible(). It also adds the ability to "pair" an open-source SOP with a native SOP shipped by SideFX. This is achieved through a getParentName() rule in the OpPolicy classes and by using OpenVDBOpFactory::setParentName("...") for cases where it deviates from this logic (currently Advect and Filter SOP).
I have included setParentName("") with an empty string for cases where the open-source SOP isn't shipped with Houdini (OpenVDB Densify SOP for example). If the sole use-case is for ophiding, this isn't strictly necessary because it shouldn't matter if the native SOP doesn't exist, but I included it anyway so the pairing is accurate.
No SOPs are being marked invisible with this PR, so this is just a stepping stone to figuring out the best way to proceed with #404.

@pcucka - I just pushed up a change to address all your feedback, thanks. Also added native names for the convert SOPs which were missing.

Any further comments? I think I've addressed all feedback or responded to all comments now.

This was merged prematurely.  The "nativeInvisible" logic is needed only if we opt to implement support for the environment variable at the C++ level, and that has not yet been decided.

This was merged prematurely. The "nativeInvisible" logic is needed only if we opt to implement support for the environment variable at the C++ level, and that has not yet been decided.

Ah I see, well we can opt to pull that bit out depending on what we decide - nothing is calling that method yet. I'll send round some agenda suggestions and include this as one of the items.


WIP: Bringing bundle up to new Homebrew Rubocop standard

[X] Rubocop violations that can be automatically fixed
[ ] 72  RSpec/MessageSpies
[ ] 60  RSpec/ContextWording
[ ] 55  RSpec/MultipleExpectations
[ ] 54  RSpec/AnyInstance
[ ] 33  RSpec/NamedSubject
[ ] 23  RSpec/ExampleLength
[ ] 13  RSpec/ExpectInHook
[ ] 17  RSpec/FilePath
[ ]  7  RSpec/NestedGroups
[ ]  1  RSpec/SubjectStub
[ ]  1  RSpec/VerifiedDoubles

@MikeMcQuaid

Is this even worth pursuing?

Should we make a TODO config and chip away at this debt?
Should we identify the recently added cops in the upstream config and disable them?

Is this even worth pursuing?

Yes.

Should we make a TODO config and chip away at this debt?

Seems like a good idea for those that can't be fixed automatically with brew style --fix (which could be fixed immediately).

Should we identify the recently added cops in the upstream config and disable them?

No, let's stick to the TODO.

[x]  Rubocop violations that can be automatically fixed

Note that this does not seem to have been bulletproof unfortunately so there are failing tests in the Travis output. My suggestion: fix those up so tests are green and add a .rubocop_todo.yml for now and merge it.

What's included in this PR's commits so far was just the automatic fixes. The other listed cops are ones that couldn't be automatically fixed and need to be added to the todo.
I'll invest a little time fixing the cops with few violations and TODO the remainder.
ETA 10/24 evening EDT unless something else comes up

@colindean I've temporarily disabled brew style and moved us to Azure Pipelines for CI. Can you uncomment these lines when you next rebase this PR: https://github.com/Homebrew/homebrew-bundle/blob/master/azure-pipelines.yml#L10-L12

I'm struggling to come up with the best way to create .rubocop_todo.yml as well as how to use it if it was created.
Creating the todo
Rubocop itself has --auto-gen-config. However, this seems to error when cops aren't available:
$ rubocop --auto-gen-config -c .rubocop_todo.yml
uninitialized constant RuboCop::Cop::RangeHelp
Did you mean?  Range
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/rubocop-rspec-1.30.0/lib/rubocop/rspec/blank_line_separation.rb:7:in `<module:BlankLineSeparation>'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/rubocop-rspec-1.30.0/lib/rubocop/rspec/blank_line_separation.rb:5:in `<module:RSpec>'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/rubocop-rspec-1.30.0/lib/rubocop/rspec/blank_line_separation.rb:2:in `<module:RuboCop>'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/rubocop-rspec-1.30.0/lib/rubocop/rspec/blank_line_separation.rb:1:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/rubocop-rspec-1.30.0/lib/rubocop-rspec.rb:22:in `require_relative'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/ruby/2.3.0/gems/rubocop-rspec-1.30.0/lib/rubocop-rspec.rb:22:in `<top (required)>'
/Users/colin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:120:in `require'
/Users/colin/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:120:in `require'
/usr/local/Homebrew/Library/Homebrew/rubocops.rb:3:in `<top (required)>'
<snip>

when I've manually created the todo and pointed it at the project-level config:
$ cat .rubocop_todo.yml
inherit_from:
- /usr/local/Homebrew/Library/.rubocop.yml

I tried hacking around inside brew's Library/Homebrew/style.rb to add an --auto-gen-config in there but it seemed to be very unhappy when I did that and basically easily-revertably hosed my installation of brew and bundle.
Using the todo
I also don't see how a todo in the bundle project directory would be picked up.
https://github.com/Homebrew/brew/blob/a4c62d37b1a143109f631a062c3dba21f462d9d4/Library/Homebrew/style.rb#L65
indicates that really only /usr/local/Homebrew/Library/.rubocop_audit.yml is going to be set.
Is this something that needs to be added to brew before proceeding?

Another pass at the rubocop todo. I'm not sure I've executed this the way you want, @MikeMcQuaid. The path to Homebrew's rubocops seemed to need to be hardcoded…

Blah, looks like one of the autofixes messed up

I started on some of the easier cops in refactor-spec-for-rubocop on my fork.

This is pretty time-consuming. We're going to be chipping away at this for a while 😞

Putting this here for safekeeping: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NamedSubject

@colindean Thanks for your work here ❤. Could consider merging what you have here and opening an issue to track the rest?

Yes. Merged in my fork's PR and created #388 for tracking future work on the TODO.

Thanks @colindean!


Update http Version For Compatibility

The current http dependency is causing issues with resolving dependencies with other packages, as many now require http v1.

#211
Any updates on this?

Fixed and updated in #223


update to work with device_frame v0.3.0

Note that this will only work on stable as there are other transistive dependency breakages on beta channel and higher, eg this one in svg.
@rodydavis if you are interested, I can do further PR that gets things working on beta and earlier channels.
Fixes: #21

Yes please!

thanks @rodydavis, I'll try to do the followup for beta & dev channels soon. In meantime, are you ok to merge this PR and do new release so that people on stabel are able to use the package from pub again?

Yeah I can merge and work on this today 👍🏼
On Mon, Apr 5, 2021 at 4:41 PM Maksim Lin @.***> wrote:

thanks @rodydavis https://github.com/rodydavis, I'll try to do the
followup for beta & dev channels soon. In meantime, are you ok to merge
this PR and do new release so that people on stabel are able to use the
package from pub again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rodydavis/storyboard/pull/24#issuecomment-813691529,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHOOFXYXA5ZW4FYURM2EKYDTHI4CTANCNFSM4YBW6HTA
.

--
Rody Davis Jr

Published!


Please check azure premium License

Hi, I have been using this script for some time now and it has worked fine in the past.
All of a sudden I now get the error "Operation aborted. Please make sure tenant has an Azure Active Directory Premium license."
My tenant has an Azure AD P2 license, any suggestions why I'd be getting error all of a sudden?

issue fixed


Avoiding duplicates by using fitid as external_id

By adding fitid as external_id, and by adding "error_if_duplicate_hash": "true" to the payload, import of duplicates are avoided.

Good job, I hadn't heard about "error_if_duplicate_hash", thanks for this great improvement.


[Extension Bug] CoinMarketCap Crypto Search

Extension – Title
Author:  SonicSpark
Description
When searching crypto, the something went wrong screen pops up.
Steps To Reproduce

Search Crypto List

The current behavior

The expected behavior
Load Crypto List
Raycast version
Version: 1.27.1

thanks for the bug report! None of the commands added by the extension work for me, either. @moojing any idea what's wrong? 🤔

@sxn  Thanks for the improvement! It looks well.
After checking I found that use params when sending request can solve the problem (instead of data).
I've made the PR here !


set current selected data

set current selected data

Coverage increased (+0.02%) to 83.5% when pulling f0b670a894482be4c2754a7c77d97e58b1f84091 on WaYdotNET:patch-1 into 0b9a36a72f94c5ae3ea151e788e60d8b6e478925 on chmln:master.


Call function by name?

Hi,
Is it possible to call a method using a string?
I just discovered nameko - awesome. Fits perfectly into our stack, without the overhead of celery for purely rpc methods. We're using it like an internal-lambda :)
I have written a REST API using flask/connexion/swagger for specific rpc tasks, but I'd like to add a generic 'call' endpoint (such as /rpc/call/{service}/{method} and was wondering how to feed that into the cluster rpcproxy
Many thanks,
Geoff

Solved! I read thru the source and noted the dictionary-like access for the service. So I combined that with a getattr, and it works.
def call(service, method, **kwargs):

    with ClusterRpcProxy(config) as cluster_rpc:

        return getattr(cluster_rpc[service], method)(**kwargs)

Adding the dict-like access for the method names would simplify my code, and I'll see about submitting a pull request.
Awesome tool. Thanks for releasing it!
Geoff


Improve warning/error formatting and various messages

This PR introduces cosmetic changes to Mbed CLI to improve error and warning multi-line formatting and also the wording of some messages.
Old multi-line formatting
$ mbed compile -m DETECT
[mbed] Auto-installing missing Python modules...
[mbed] WARNING: Unable to auto-install required Python modules.
---
[mbed] WARNING: -----------------------------------------------------------------
[mbed] WARNING: The mbed OS tools in this program require the following Python modules: intelhex
[mbed] WARNING: You can install all missing modules by running "pip install -r requirements.txt" in "/private/tmp/1/mbed-os-example-blinky/mbed-os"
[mbed] WARNING: On Posix systems (Linux, Mac, etc) you might have to switch to superuser account or use "sudo"
---
[mbed] Detected "DISCO_L475VG_IOT01A" connected to "/Volumes/DIS_L4IOT" and using com port "/dev/tty.usbmodem1413"
Traceback (most recent call last):
  File "/private/tmp/1/mbed-os-example-blinky/mbed-os/tools/make.py", line 34, in <module>
    from tools.utils import args_error
  File "/private/tmp/1/mbed-os-example-blinky/mbed-os/tools/utils.py", line 32, in <module>
    from intelhex import IntelHex
ImportError: No module named intelhex
[mbed] ERROR: "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python" returned error code 1.
[mbed] ERROR: Command "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u /private/tmp/1/mbed-os-example-blinky/mbed-os/tools/make.py -t GCC_ARM -m DISCO_L475VG_IOT01A --source . --build ./BUILD/DISCO_L475VG_IOT01A/GCC_ARM" in "/private/tmp/1/mbed-os-example-blinky"
---

New multi-line formatting
$ mbed compile -m DETECT
[mbed] Auto-installing missing Python modules...
[mbed] WARNING: Unable to auto-install required Python modules.
       The mbed OS tools in this program require the following Python modules: intelhex
       You can install all missing modules by running "pip install -r requirements.txt" in "/private/tmp/1/mbed-os-example-blinky/mbed-os"
       On Posix systems (Linux, Mac, etc) you might have to switch to superuser account or use "sudo"
---
[mbed] Detected "DISCO_L475VG_IOT01A" connected to "/Volumes/DIS_L4IOT" and using com port "/dev/tty.usbmodem1413"
Traceback (most recent call last):
  File "/private/tmp/1/mbed-os-example-blinky/mbed-os/tools/make.py", line 34, in <module>
    from tools.utils import args_error
  File "/private/tmp/1/mbed-os-example-blinky/mbed-os/tools/utils.py", line 32, in <module>
    from intelhex import IntelHex
ImportError: No module named intelhex
[mbed] ERROR: "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python" returned error.
       Code: 1
       Path: "/private/tmp/1/mbed-os-example-blinky"
       Command: "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u /private/tmp/1/mbed-os-example-blinky/mbed-os/tools/make.py -t GCC_ARM -m DISCO_L475VG_IOT01A --source . --build ./BUILD/DISCO_L475VG_IOT01A/GCC_ARM"
       Tip: You could retry the last command with "-v" flag for verbose output
---

Related to https://github.com/ARMmbed/mbed-cli/issues/683#issuecomment-393598922
CC @ansondtx20

@theotherjimmy Now fixed.
Bump @MarceloSalazar

LGMT


Debugging one test runs all the tests inside the class

I have a class with three [Fact] tests inside it. They all use a common function that was throwing an exception (from another namespace, if that matters). It doesn't matter which one I debug (either via C-u C-d or select the test and click the debug), but it runs all three of them one after the other. It also runs in a consistent order, so I had to fix them in an suboptimal order. :)
I double-checked that "update" didn't list any new features. Below is the detail from the Resharper about menu. I'm using Visual Studio Ultimate (detail is below ReSharper).
JetBrains ReSharper Platform 6 Build 6.0.20141219.120158 on 2014-12-19 12:56:02Z
JetBrains ReSharper 9.0 Update 1 Build 9.0.20141219.130142 on 2014-12-19 13:12:31Z

Application Packages:
CitizenMatt Xunit build 2.0.6-alpha-20150318 on 2015-03-28 18:35:10Z.
Humanizer Annotations build 2.0.0 on 2015-03-28 18:35:10Z.
JetBrains Fake VisualStudio VsPackageAssembly build <IP_ADDRESS> on 2015-03-28 18:35:17Z.
JetBrains Platform Core Ide build 6.0.20141219.120158 on 2014-12-19 12:56:02Z.
JetBrains Platform Core Shell build 6.0.20141219.120162 on 2014-12-19 12:53:09Z.
JetBrains Platform Core Text build 6.0.20141219.120158 on 2014-12-19 12:56:02Z.
JetBrains Platform Installer build 6.0.20141219.120158 on 2014-12-19 12:56:02Z.
JetBrains Platform Symbols build 6.0.20141219.120158 on 2014-12-19 12:56:02Z.
JetBrains Platform VisualStudio build 6.0.20141219.120158 on 2014-12-19 12:56:02Z.
JetBrains Psi.Features ExternalAnnotations build 9.0.20141219.130140 on 2014-12-19 13:00:40Z.
JetBrains Psi.Features SolutionBuilder build 9.0.20141219.130140 on 2014-12-19 13:00:40Z.
JetBrains Psi.Features src build 9.0.20141219.130140 on 2014-12-19 13:00:40Z.
JetBrains Psi.Features Tasks build 6.0.20141219.130140 on 2014-12-19 13:00:40Z.
JetBrains Psi.Features VisualStudio build 9.0.20141219.130140 on 2014-12-19 13:00:40Z.
JetBrains ReSharper src build 9.0.20141219.130142 on 2014-12-19 13:12:31Z.

ReSharper <IP_ADDRESS> Licensed to Ryan, Inc
Visual Studio 12.0.31101.0.

Copyright © 2015 JetBrains. All rights reserved.

And Visual Studio's:
Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Ultimate

Architecture and Modeling Tools   06181-004-0451022-02028
Microsoft Architecture and Modeling Tools

UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

 All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

ASP.NET and Web Tools   12.4.51016.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.21010.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.3
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JetBrains ReSharper Platform 6   Build 6.0.20141219.120158 on 2014-12-19 12:56:02Z
JetBrains ReSharper Platform package for Microsoft Visual Studio. For more information about ReSharper Platform, visit http://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.

Microsoft Azure Mobile Services Tools   1.3
Microsoft Azure Mobile Services Tools

NuGet Package Manager   2.8.50926.663
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.3
Provides file classification services using PowerShell

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Release Management for Visual Studio Package   1.0
Release Management for Visual Studio

SQL Server Data Tools   12.0.41012.0
Microsoft SQL Server Data Tools

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Git Extensions
Git Extensions is a graphical interface for Git
For more information about Git Extensions, see the Git Extensions website at
http://sourceforge.net/projects/gitextensions/
Copyright © 2008-2014 Henk Westhuis

Aha! You're using the 2.0.6 alpha version. That was a quick and dirty release to add some logging for someone, and I mucked up some logic. I've fixed it locally, but had forgotten about that release. Guess who didn't run the tests before a release!
It's relatively harmless - it'll just run pretty much all tests every time, so not ideal, but shouldn't be anything worse than that. I'm currently rewriting the message handling, and I'm currently down to just one failing test, so there should be a new version soon. And of course I'll test this before the release, too.


Would you consider replacing mauricio driver which is not supported anymore

We are supporting a fork called jasync-sql that is also used by vertex: https://github.com/vert-x3/vertx-mysql-postgresql-client.
Will you consider adding it or replacing mauricio driver? It is mostly compatible with the following changes: https://github.com/jasync-sql/jasync-sql/wiki/Mauricio-Driver-Migration

Unfortunately the driver didn't made it into vertx 3.6.3 so this update has to be postponed.

well, that is not accurate. docs are not in place yet but the artifact was created for 3.6.3: https://mvnrepository.com/artifact/io.vertx/vertx-mysql-postgresql-client-jasync

Fixed in https://github.com/jklingsporn/vertx-jooq/tree/release4.1.0

Thanks!


Add support for the new architecture

This PR:

adds a new FabricExample app with the new arch enabled by default
converts the library to a TurboModule
due to some codegen quirks (getConstants() must be returning object literal on iOS and type safety is enforced on Android), I've moved constants exported by the native module into constants object, i.e. instead of returning { constant1: 'value1', constant2: 'value2' } the native side now returns { constants: { constant1: 'value1', constant2: 'value2' } }

The changes in this PR apply to iOS and Android codebase, I've tried to make sure that Windows is unaffected but I cannot test it.

Is there any progress? this PR (#665) not released

@luancurti Are there any plans to review this PR? If so, I can merge the main branch and update the app to 0.73.

I don't think this project is actively maintained anymore since last release was more than a year ago, maybe it makes sense to publish/maintain a fork supporting RN >=0.72 ?

I don't think this project is actively maintained anymore since last release was more than a year ago, maybe it makes sense to publish/maintain a fork supporting RN >=0.72 ?

@luancurti would it be possible to have it merged and released? I updated the PR to the newest master so it should be ready 🚀

@luancurti Could we get this PR merged in?


Update recipe for PKG-4527_codesign

Rebuild for PKG-4513 authenticode signing

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_1f9bylcx3_/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:21: patch_unnecessary: patch should not be in build when source/patches is not set
clone/recipe/meta.yaml:37: missing_tests: No tests were found.
===== Final Report: =====
2 Errors and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_ea8x5tsldy/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:21: patch_unnecessary: patch should not be in build when source/patches is not set
clone/recipe/meta.yaml:37: missing_tests: No tests were found.
===== Final Report: =====
2 Errors and 0 Warnings were found


[commit-5] Format adler checksum header as expected by the sync client

@butonic @rhafer please also check if we can forward port this to the edge branch


1.16.5 unsupported keys

mouse buttons 3 (middle mouse), 4 and 5 can be bound to open mine menu but the menu doesn't open when the buttons are pressed

Should be fixed in newer versions.


Refactor the IR

This is a large WIP refactor of the IR, addressing #150.
The primary goals are:

simplify & clarify the code
reduce duplication
simplify error handling

There is still a lot of cleanup required, so this PR is not intended to be merged directly - I'm just hoping to get feedback on the new overall structure, so I recommend just checking out the branch and looking at the current status locally. After that I'll make adjustments, then start opening PRs sequentially for detailed review.
Notes:

I ended up temporarily removing the VariableRoots for the moment. Ultimately, this map is an optimization, and the handling of variable expressions was one of the biggest sources of complexity. I hope to think of a good way to add this back before the end of this refactor, but there were a few issues related to it that kept coming up.
I'd like to make the access validation of symbols nicer in the symbol table (Symbol::validate_access), but it's a more localized change so it can be done after the big changes are made
Similar to (2), I think list comprehension and list folding could be condensed a bit now, but this is more localized and can be done separately.

Overall look great! Thank you! I do have a few assorted comments/questions. Not all of them are related to this PR, and some of them might be simply because I didn't look at things deeply enough.

Thanks for your feedback! I'll leave my thoughts below.

1. I found method naming for `BoundaryConstraint::access()` a bit confusing. Took me a bit to understand that it actually refers to the column against which the constraint is placed. Would `BoundaryConstraint::column()` be a better name?

This is fine with me. It was a bit of a placeholder.

2. I probably would move `ConstrainedBoundary` struct from `constraints` module to `constraint_builder` module as I think it is used only during constraint building process.

Yes, agreed.

3. This is probably for a different PR, but I still think we can combine `validity_constraints` and `transition_constraints` into a single vector in the `Constraints` struct. It feels like splitting them out makes some assumptions about how backends might want to view the IR - but I think it might make sense to mimic the source code more closely.

I like it as it is, but it seems like you feel more strongly about this than I do, and it's a reasonable argument, so we can change it. I'll leave it for a different PR after the rest of the refactoring is done, since it's a small localised change

4. Putting list folding and list comprehension logic into the `SymbolTable` felt a bit strange to me. I would have expected it to be in the `ConstraintBuilder`. And it doesn't seem like we'd complicate things too much by putting it there since we can access the symbol table via `self.symbol_table` from the `ConstraintBuilder`.

The reason I originally move the list comprehension into the symbol table was that it is only used when adding variables of type ListComprehension to the symbol table as symbols and not when processing constraints. However, with the new pattern of getting values from the symbol table and unrolling expressions in the ConstraintBuilder, the list folding definitely belongs in the ConstraintBuilder, and the list comprehension feels like that too, so I'm happy to make this change.

5. It also felt like handling of scopes within `SymbolTable` is potentially more complicated than it needs to be. For example, since we process integrity and boundary constraints separately, we could first process integrity constraints, then remove all symbols related to them from the symbol table, and then process boundary constraints. This way, symbol table never needs to keep track of symbols which are not relevant for the section being processed. If we do this, we should be able to change type of `SymbolTable::symbols` to `BTreeMap<String, Symbol>`.

6. With the above, we should be able to convert `Symbol` struct into an enum (since we no longer need to track scope for it). Basically, it could be the same as `SymbolType` enum but with a string added to each variant to specify the name.

7. The pattern described in point 5 above could work for the `ConstraintBuilder` struct as well. For example, it seems like one of the reason we pass `domain` around through various methods of the `ConstraintBuilder` is to determine whether we are processing a boundary or an integrity constraint. Why not track this info as member variable of `ConstraintBuilder`? This way, after we are done processing boundary constraints, we would set this variable to indicate that we are now processing integrity constraints (e.g., we could have `start_boundary_constrants()` and `start_integrity_constraints()` methods on the `ConstraintBuilder`.

8. It seems like another reason we pass `domain` around in the `ConstraintBuilder` is to determine the domain of the entire constraint. If so, I still think it might be better to separate building of constraints from gathering information about them. For example, I wonder if could insert all constraints first, and then traverse the graph for each constraint to build up all relevant details (degree, domain, maybe something else).

I agree with some of the core premises here - I would prefer to simplify the SymbolTable::symbols map to BTreeMap<String, Symbol>, and had thought about that a bit. I also would prefer to separate the domain inference from the ConstraintBuilder::insert_expr method. I think the approaches you've suggested are interesting, though I'm not sure that we won't hit some other subtle complications. I'll try all of them and see


Testimonial Page improvements like : restricting multiple reviews, update review, ect, close PR #187

Description
Now users update their old review and new users can add new one. Testimonials are added with their profile names.
Fixes #187
Type of change
Both frontend and backend changes

Hello👋 @Arnabdaz, please review this PR

@debsouryadatta really nice work could you resolve the conflicts as most of the conflicts are in testimonials.jsx and you are the one who created it.

Thanks @Arnabdaz , but the problem is, when I resolved the conflicts the vercel deployment had some issues, can you please guide me in this.


Chat method for offline llm

Apply chat template for the offline LLM class. Adding new method generate_chat(), which generates chat responses for the input messages.
FIX #1582
FIX #3718
FIX #6191
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

This should also fix #1582. I have edited the OP accordingly.

Let's leave out multi_modal_data from the function signature for now. We can later pass that in as an item of a dictionary message.

hi @nunjunj kindly want to check if you may want to continue on this PR? Thanks

Yes, I am working on some merge conflicts and it should be done in a couple
of days.
On Tue, Jul 9, 2024 at 2:56 AM ning.zhang @.***> wrote:

hi @nunjunj https://github.com/nunjunj kindly want to check if you may
want to continue on this PR? Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/vllm-project/vllm/pull/5049#issuecomment-2215085869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZLBZ7VMFFVUCPMM6WR3T2DZLLVG3AVCNFSM6AAAAABIIWS5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJVGA4DKOBWHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes, I am working on some merge conflicts and it should be done in a couple of days.
…
On Tue, Jul 9, 2024 at 2:56 AM ning.zhang @.> wrote: hi @nunjunj https://github.com/nunjunj kindly want to check if you may want to continue on this PR? Thanks — Reply to this email directly, view it on GitHub <#5049 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLBZ7VMFFVUCPMM6WR3T2DZLLVG3AVCNFSM6AAAAABIIWS5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJVGA4DKOBWHE . You are receiving this because you were mentioned.Message ID: @.>

Hello @nunjunj just want to kindly ping and circle back to see if there may be any update on this feature. Thanks

Also, please avoid editing whitespace unnecessarily.


How to install it on a Windows Server with Apache?

Can't find any manuals...
Regards,
Jan

If you have php in your %path% then following along with the commands here is where to start


Get card type

Is your feature request related to a problem? Please describe.
I need to get the card type.
Describe the solution you'd like
Emit card type when it's set.
Describe alternatives you've considered
Use the regex in form component, but this is unnecessary duplication.
Additional context
Apologies for being over eager and ignoring this with my previous pull request.
I have 2 scenarios, adding a new card and listing existing cards.

Seeing as this already selects the type to display the logo according to the number entered when adding the card, may as well just emit (@get-type="useTypeValue") that instead of duplicating the work somewhere else.

When listing cards I have partial (masked) numbers so it cant figure out the type, so add a 'setType' prop that will display the correct logo.

Hey @vein101
If I understand correctly you just need a new event to be emitted when changing the card, which emits the type from the cardType computed property?
I'll see what we can do, but if you have an idea of the implementation, let me know, I can accept a PR for it.
Just remember that we need to keep the storybook and tests up to date with new features, even small ones.
I can help with that if you don't want to or doesn't have any experience with them.

@guastallaigor that is correct, I can add this change to my current PR.
I was thinking either to add a watcher to the computed property or change the if's in the computed method to a switch and then emit the type variable before returning it?

The watcher approach seems better to me.
Side effects, even a simple emit on a computed property usually are not that good to have in my opinion.

ref #36


tuple inference in array vs rest

TypeScript Version<EMAIL_ADDRESS>Search Terms: generic, tuple, rest
Code
const pipe = <A, B, C, D>(items: [ (a: A) => B, (b: B) => C, (c: C) => D ]): D => {
  return items.reduce((acc, fn) => fn(acc), {} as any) as D;
};

const result = pipe([
  // a: {}
  (a: {}) => ({
    ...a,
    age: 4,
  }),
  // b: { age: number }
  (b) => ({
    ...b,
    color: 'blue',
  }),
  // c: unknown
  (c) => ({
    ...c,
    height: 100,
  }),
]);

Expected behavior:
type is:
{ age: number, color: string, height: number }

Actual behavior:
Parameter c is unknown
In v3.3.x which I was working with (before testing against latest) c was inferred as {}, so the return type would be { height: 100 } (i.e. all other properties were dropped).
If you do the exact same code with a rest parameter instead of an array, it works absolutely fine:
const pipe2 = <A, B, C, D>(...items: [ (a: A) => B, (b: B) => C, (c: C) => D ]): D => {
  return items.reduce((acc, fn) => fn(acc), {} as any) as D;
};

Playground Link: https://codesandbox.io/embed/typescript-playground-export-kbre9

I don't know why this happens but my personal experience aligns with yours.
TS infers more stuff, and is more accurate with inferences when it comes to tuple rest parameters.
It's not so good with "regular" tuple inputs

This is basically a design limitation for the same reason that this wouldn't work with an explicit parameter list if the parameters were in the opposite order - given multiple context-sensitive things that need inference, we proceed in left-to-right order of parameters, including for expansion of rest tuples.
When the inference sites are all part of a single argument tuple, there's no mechanism or heuristic to do multiple rounds of inference - it's the same as if we were trying to infer to multiple properties of the same object (in fact, it's exactly that, since a tuple in a non-rest position is just an object as far as inference is concerned).
See #30134 for general discussion of an algorithm that would be able to handle this.

Is it because the function with rest params is converted to a function without rest params first?
So, (...args : [A, B, C, D]) becomes (a : A, b : B, c : C, d : D).
Then, it does inference for A, B, C, D.
And they're all considered different objects?

@RyanCavanaugh is there any sort of workaround I can employ?
I can't use the rest parameter approach as my actual code looks more like this: <A, B, C>(opts: { inferredStuff: [ (a: A) => B, (b: B) => C ] }) => Wrapper<C> where this is just one of several optional properties

@AnyhowStep correct
@jackmellis I can't think of a workaround that doesn't have effects on how the function would be called. TS just can't do multiple rounds of inference against the same object, so the inference sites need to be split up across either multiple parameters or multiple calls


cannot use/display nordic letters?

Entering/using keys Ä Ö Å on a nordic keyboard while running micro does not produce the correct characters. This is what it ends up looking in micro:

While here is what it looks like in VIM:

This behaviour is the same on both MacOS X and FreeBSD, using both micro 1.1.1 as well as the nightly from 1 day ago.

To be clear, the problem has to do with entering the characters by typing right? When I pasted those characters into micro they displayed correctly.
Also, I'm on mac and I simply changed my keyboard layout to Swedish and typed in some characters and everything seemed to work properly.

Right, apparently my iTerm2 was not set to UTF-8 for some reason. Worked fine in Terminal and worked in iTerm2 after switching to UTF-8, my bad :)


Typo and grammar fixes

Not sure if English isn't your primary language, but it helps to make sure spelling and grammar issues are addressed if you use English in a readme. I initially was turned away by the "containt" typo, but then realized that probably wasn't your primary focus :)
There are more improvements that can be made, but these are some of the easy and obvious ones.
Love the project, btw!

Thanks a lot! Yes English is not my primary language. Also when I write readme or some wiki page, I am usually tired because I spent lot of time with implementation of feature :). I hope that even if I have some grammar mistakes in text, that you understand what I want to say about features and you can easily use features.


Update dependencies

Codecov Report

Merging #14 (04d739a) into development (2884629) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           development       #14   +/-   ##
=============================================
  Coverage       100.00%   100.00%
=============================================
  Files               11        10    -1
  Lines              942       939    -3
=============================================
- Hits               942       939    -3

Impacted Files
Coverage Δ

include/Simple-Utility/nullables.hpp
100.00% <ø> (ø)

tests/concepts/access_operators.cpp
100.00% <ø> (ø)

tests/concepts/logical_arithmetic_operators.cpp
100.00% <ø> (ø)

tests/concepts/shift_operators.cpp
100.00% <ø> (ø)

tests/concepts/stl_extensions.cpp
100.00% <ø> (ø)

tests/functional.cpp
100.00% <ø> (ø)

tests/nullables.cpp
100.00% <ø> (ø)

tests/unique_handle.cpp
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Collapse Express Middleware

Collapse trackRequests and checkRequest into a single middleware function.

One quick comment and then LGTM


Change Health Probe Snippet "ILBIP" to reflect any load balancer type

In the section, "Configure cluster probe", there is a powershell snippet which configures the TCP Health Probe for the Failover Cluster Role, and sets the IP address of the Role.
This snippet explicitly uses the variable, "ILBIP", referring to an Internal Load Balancer IP.  When transferring my infrastructure from a Private to a Public load balancer, it wasn't apparently evident due to the variable naming in the snippet, that the snippet is also required for public load balancers.
The suggestion is to remove explicit references to "Internal" in the section, as the snippet is required for internal and public load balancers.

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

ID: d5a167ed-533f-3b00-3adf-472407358737
Version Independent ID: e827026f-2bc8-d8c1-2ad3-fe7e1df2270d
Content: Configure Azure Load Balancer a failover cluster instance VNN - SQL Server on Azure VM
Content Source: articles/azure-sql/virtual-machines/windows/failover-cluster-instance-vnn-azure-load-balancer-configure.md
Service: virtual-machines-sql
Sub-service: hadr
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@MashaMSFT
Can you please check and add your comments on this doc update request as applicable.

Hi @alex4108 , actually, changing that variable is insufficient in configuring an external load balancer so we're working on a more comprehensive change to this doc to better support external load balancer configuration. This change should be live next week.
I'll close out this Git Issue but please feel free to comment should you need anything further.
Thanks again for improving our docs! I hope you have a wonderful rest of  your day :)
Masha from the SQL Docs team
#please-close


Configure routing for Space pages

Each space should have its own individual page accessible from the sidebar

About halfway done with this issue.

Routing completed


Update Kubermatic Company Logo

Hello,
we do have a new logo so our svg requires updating.
https://drive.google.com/file/d/1zMB_SDQ_Z5drgQVuFpt1aYfjqCyifuSy/view?usp=sharing
Thanks,
Kristin

@taylorwaggoner : I tried once again to upload the svg but where not able to. If the problem is on my side, thanks for advising.
Best,
Kristin

Opened a PR in #1913, thanks!


docs: requestIdleCallback and cancelIdleCallback added to Readme

Purpose (TL;DR) - mandatory

@fatso83 can we get a release? I'm no longer with Peer5 (I'm with Testim) and I don't have access to the release stuff like the saucelabs to test this

Nevermind, I saw you've made a release :)

Thanks!


Fix confusing test failure message

Resolves #10466.
Signed-off-by: Simon Alling<EMAIL_ADDRESS>

@SimonAlling Thanks for your PR. I think all is ok.


azcopy crashes with: runtime/cgo: pthread_create failed: Resource temporarily unavailable

Which version of the AzCopy was used?
10.11.0
Which platform are you using? (ex: Windows, Mac, Linux)
Linux
What command did you run?
azcopy copy 'https://REDACTED.file.core.windows.net/REDACTED/*?se=2021-08-26T00%3A00Z&sp=rwl&spr=https&sv=2018-11-09&sr=s&sig=REDACTED' /tmp/download --recursive

What problem was encountered?
Crashes with runtime/cgo: pthread_create failed: Resource temporarily unavailable

see here for full output from command
see here for logfile created by azcopy

How can we reproduce the problem in the simplest way?
This problem occurs when spawned from inside a Python script using subprocess.Popen (basically a forked process):
cmd = ('azcopy', 'copy', url, temp_dir, '--recursive')
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=False)
(stdout, stderr) = proc.communicate()

The Python process is running under uwsgi in emperor mode. Not sure if that has anything to with it, but it's the only way I can reproduce.

For anyone else that comes across this issue, I was able to work around this by rebuilding azcopy with CGO_ENABLED=0:
$ env CGO_ENABLED=0 go build -buildmode=pie

Hey @bendavis78 ,
Thanks for reaching out!
Can you try to reproduce this issue by running it without Python script?
If yes, it may not be the fault of AzCopy.
C libraries for GO aka CGO is enabled by default for native builds on systems where it is expected to work.
CGO can bring more compilation complications, less portability and cross compilation issues so I'll discuss this with my team on whether we should enable/disable this by default.  It is convenient so it is enabled by default. Thanks for bringing that up.

Hey @bendavis78 ,
Can you also share RAM/process snapshots at the time you're reproducing the crash through Python process.
The error about pthread_create failed: Resource temporarily unavailable normally means that you are trying to create too many threads and not closing the older ones. This is associated with too much memory consumption.
I tried looking for the solution on internet and found that disabling CGO should work.

https://github.com/Azure/azure-storage-azcopy/issues/263


Do not use reverse complement

Thanks for your work on this package. It's been very useful to my research.
I have been trying to cluster motifs related to possible RNA-binding proteins, so I wanted to cluster without aligning reverse complements. I figured out that a dirty way to do it was to change line 184 of compare-matrices-quick/compare-matrices-quick.c to always choose the non-inverted motif (best_correl = 0). Obviously, the more efficient way would be to not calculate rc alignments instead of just ignoring them. Also, it would be nice to have this as a command-line option instead of having to recompile the code.
I don't know if there's interest in formally supporting this feature, but if it is I could help implement them properly. Let me know. Thanks again!

Hello ,
Thanks for open this issue.
I forgot it :/
I saw you forked the repo and adapt it, if you agree I can merge the changes and test it with some RNA motifs, what do you think? I think will be a good improvement of the tool.

Yeah feel free to do so!


Improve init script

Coverage increased (+0.4%) to 30.428% when pulling dff5199de167847104b54b3b653d25fe5227a4f4 on dev into ae2b5419f0f5e47e8c1e524db967fb49cea42883 on master.


docs: update Contributors section

@all-contributors please add the king of Gozo, @jeliasson for infra :O

@all-contributors stop bugging and add @jeliasson for infra :O


System Test (netcat/postman)

I made a few files under tests/requests/. For now I made a basic:

delete.txt
get.txt
post.txt

Could provide useful for making the script @Tentanus

Ik heb dit van sander gekregen @Tentanus
- GET: `curl localhost:18000`
- POST: `curl --data-binary @tests/1_line.txt localhost:18000`
- POST with newline trimming: `curl -d @tests/1_line.txt localhost:18000`
- DELETE: `curl -X DELETE localhost:18000`


Rewrite installer.sh on Go

We have to rewrite main installer.sh script, and all our Makefiles in Go
Makefiles should not be used for deploying applications, only for updating manifests and building images
Up to discussion:
What about keepeng the version migrators to be language unspecific? - so they cloud be just executable files in some directory.
Or is there any common practicies for that?

A little bit of digging in, doing quick PoC basically revealed that there is no sane reason to rewrite few bash lines in Golang or even any other compiled language, it will bring distribution complexity and solve nothing.
This will probably be a good choice in case of script being a bit more complicated and having some ncurses UI in it, for this specific one I would recommend leaving it as is.
Also we should consider removing https://github.com/aenix-io/cozystack/blob/main/scripts/installer.sh#L39-L41 this code in favor of more k8s-like approach. (https://github.com/aenix-io/cozystack/issues/18)
For the sake of bringing more context, we are not the only ones that struggle with Bash vs Universe question, check out this link also: https://dev.to/jmfayard/bash-is-a-terrible-programming-language-but-whats-the-alternative--oc2

Thank you very much for your research, @s3rj1k. We designed Cozystack to minimize logic as much as possible.
Closing for now. I believe if the need ever arises again in the future due to increased complexity in the logic, we can always revisit this problem.
I've opened a new issue for moving redis reloading logic outside of installer.sh script https://github.com/aenix-io/cozystack/issues/19


BUG: scipy.special.rel_entr(0., 1.) gives 1. instead of 0.

Description
from scipy.special import rel_entr
from jax.scipy.special import rel_entr as rel_entr_jax
rel_entr(0., 1.)  # 0.0
rel_entr_jax(0., 1.)  # Array(1., dtype=float32, weak_type=True)

Found over at https://github.com/scipy/scipy/pull/20085#issuecomment-2115272340.
System info (python version, jaxlib version, accelerator, etc.)
jax-0.4.28

Thanks! This was reported in #21192 and is being addressed in #21193


Integrate BurntPix in revm-tests

Similar to snailtracer it is always good to have a heavy contract for testing:
Twitter info: https://twitter.com/peter_szilagyi/status/1747611029310189894
repo: https://github.com/karalabe/burntpix-benchmark

May I take it?

go for it


Example to measure with seconds given as input

Hello,
Can you update the manual with an example of how to measure the time with seconds given as input?

Do you mean something like this?
const myTimeInSeconds = 123;
humanizeDuration(myTimeInSeconds * 1000);

Or something else?

@TGM I'm going to close this issue because I haven't heard back, but let me know if you have more questions!


In ForwardIndexHandler, recollect column stats when converting raw to…

Fixes #10508

Codecov Report

Merging #11318 (f553293) into master (3fd8c36) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #11318     +/-   ##
=========================================
  Coverage    0.11%    0.11%
=========================================
  Files        2231     2157     -74
  Lines      120078   116921   -3157
  Branches    18194    17748    -446
=========================================
  Hits          137      137
+ Misses     119921   116764   -3157
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
?

integration1temurin20
?

integration2temurin11
?

integration2temurin17
?

unittests1temurin11
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
0.11% <0.00%> (ø)

unittests2temurin17
?

unittests2temurin20
?

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

Files Changed
Coverage Δ

...ocal/segment/index/loader/ForwardIndexHandler.java
0.00% <0.00%> (ø)

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