postgresql multidimensional array implementation

Implementation for #42 .
Notes:

binary format is not tested with real queries. I took value dumps from queries with current postgresql jdbc driver and placed them inside unit tests. We should consider implementing "force binary" option to be able to write integration tests for binary format;
IntegerArrayCodecTest has much more tests then Long/Short/String* siblings. I think we should parametrize these test to avoid copy-paste (not included in current PR);
AbstractArrayCodec::buildArrayList is very similar to original https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/jdbc/PgArray.java#L413 implementation

Support for decoding array-type into Object (#69) added to this PR.


Language type recognition suggestion.

Hello
It seems like the code-peek package recognize the language type base on the file extension. (correct me if i am wrong)
I think it would be more accurate to recognize from the current file syntax which was set in the right bottom of Atom.

Great idea! You're right that it looks at the file extension. I'll look into changing so that it's based on the current syntax.

Solved this. Thanks again for the suggestion. Look for version 1.5.0 shortly


Cannot add air conditioners Haier to HA. Authentication error. On mobile app it works. Same e-mail / password.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Home Assistant Version: [e.g. 2023.6.1]
hOn Integration Version [e.g. 0.8.1, can be found in HACS or device log]
pyhOn Version [e.g. 0.13.1, can be found in device log]

Additional context
Add any other context about the problem here.
Home Assistant Logs
Check System -> Logs if you can find any logs related to this integration and post it here.
Device Log
Post your device info here (if available)

Enable the "Show Device Info" button
This button can be found in the diagnostic section of your device or in the entity overview if "show disabled entities" is enabled.
Press the button to create a notification
Open home assistant notifications and copy the message (Crtl+A, Ctrl+C)

Data Archive
For further analysis, please add your appliance data archive here (if available)
Navigate to Settings -> Device & Services -> Haier hOn -> your device and press the Create Data Archive button.
Then open notifications to download the data zip archive.
To attach the file:

GitHub Web: Use the "Attach files by dragging & dropping, selecting or pasting them." function
GitHub Mobile: Upload the zip archive as image

Logger: pyhon.connection.auth
Zdroj: custom_components/hon/init.py:34
integrace: Haier hOn (dokumentace, problémy)
První výskyt: 10:01:37 (1 výskyty)
Naposledy logováno: 10:01:37
hOn Authentication Error 1 200 - https://account2.hon-smarthome.com/hOnRedirect?startURL=/setup/secur/RemoteAccessAuthorizationPage.apexp?source%3DCAAAAZJWjGmwMDAwMDAwMDAwMDAwMDAwAAAA-nhqMztwYjpzv-QmV6dLRYGX7T91-ubdUe0c0ZpPNQo4CqFADi0wGV5guewOY8aJQOmOIQqWF9LhkwL36mlrBQeEpdi3381wfTBQsuVPwuAm6y463ap2yR-4XgQLVkCIoG6PteemKstpJ--ScmBw78nrvtc7ZBUgtqXqZSB8JFzaM8CCrUZwjgdVcrYEIKhIiNOi0fk6lT5mIfdCItCmZ3vwb9iCoeYH24MCC5Hufc3e4D_9CTrGPKOOKnmeYu4j-IiU4MIyxA8TQ97T5kzXA4Uj8dC5mN_gI_0KMqaG-RBehdV4Qptc50Ir-m7vhgDWzYIHfARc5Xs7RJE7Yi_SDtE58vJzhzaC9_FW81853iWLZczogBj7nqpQjxYvq_zCti6WgC4eRs2ZZcJ1h-GTMl-PmLzacJaC2RmD8Qyk9zmHY_N-baqEldgb2tDn_fZktzQNYL_n82yd8i42vduWjkNClDsUtvQ0BUw63sRQA0dydlKm4OXgH9-YS-QhRdA-jFOD6fYXRzL_nIDO3OR_qT4ZPFFphRXX25Algv6gJBkbZ4HQPjfdp1vNsSOf3YMFoTeD1JsS69Dq32mTLwn5XvWCWjt4psUo4ZTSrPaDz6vy8PmdSGqJOu02Jd1D91h8aqCbP1fiLH7IykZ_LaKikxD-8BJh302WeJYlZniuiM-AURPY-3Oj176i5YkDFB3ePmyUmKju62sfZLf9aKo0auVSQl_OBAB05MjhlrvgzMozUWPUZreiVIp-2ntUN8khPQ%253D%253D%26display%3Dtouch 2 200 - https://account2.hon-smarthome.com/s/login/NewhOnLogin?display=touch/&ec=302&startURL=//setup/secur/RemoteAccessAuthorizationPage.apexp?source%3DCAAAAZJWjGmwMDAwMDAwMDAwMDAwMDAwAAAA-nhqMztwYjpzv-QmV6dLRYGX7T91-ubdUe0c0ZpPNQo4CqFADi0wGV5guewOY8aJQOmOIQqWF9LhkwL36mlrBQeEpdi3381wfTBQsuVPwuAm6y463ap2yR-4XgQLVkCIoG6PteemKstpJ--ScmBw78nrvtc7ZBUgtqXqZSB8JFzaM8CCrUZwjgdVcrYEIKhIiNOi0fk6lT5mIfdCItCmZ3vwb9iCoeYH24MCC5Hufc3e4D_9CTrGPKOOKnmeYu4j-IiU4MIyxA8TQ97T5kzXA4Uj8dC5mN_gI_0KMqaG-RBehdV4Qptc50Ir-m7vhgDWzYIHfARc5Xs7RJE7Yi_SDtE58vJzhzaC9_FW81853iWLZczogBj7nqpQjxYvq_zCti6WgC4eRs2ZZcJ1h-GTMl-PmLzacJaC2RmD8Qyk9zmHY_N-baqEldgb2tDn_fZktzQNYL_n82yd8i42vduWjkNClDsUtvQ0BUw63sRQA0dydlKm4OXgH9-YS-QhRdA-jFOD6fYXRzL_nIDO3OR_qT4ZPFFphRXX25Algv6gJBkbZ4HQPjfdp1vNsSOf3YMFoTeD1JsS69Dq32mTLwn5XvWCWjt4psUo4ZTSrPaDz6vy8PmdSGqJOu02Jd1D91h8aqCbP1fiLH7IykZ_LaKikxD-8BJh302WeJYlZniuiM-AURPY-3Oj176i5YkDFB3ePmyUmKju62sfZLf9aKo0auVSQl_OBAB05MjhlrvgzMozUWPUZreiVIp-2ntUN8khPQ%3D%3D 3 200 - https://account2.hon-smarthome.com/s/login/NewhOnLogin?display=touch/&ec=302&startURL=//setup/secur/RemoteAccessAuthorizationPage.apexp?source%3DCAAAAZJWjGmwMDAwMDAwMDAwMDAwMDAwAAAA-nhqMztwYjpzv-QmV6dLRYGX7T91-ubdUe0c0ZpPNQo4CqFADi0wGV5guewOY8aJQOmOIQqWF9LhkwL36mlrBQeEpdi3381wfTBQsuVPwuAm6y463ap2yR-4XgQLVkCIoG6PteemKstpJ--ScmBw78nrvtc7ZBUgtqXqZSB8JFzaM8CCrUZwjgdVcrYEIKhIiNOi0fk6lT5mIfdCItCmZ3vwb9iCoeYH24MCC5Hufc3e4D_9CTrGPKOOKnmeYu4j-IiU4MIyxA8TQ97T5kzXA4Uj8dC5mN_gI_0KMqaG-RBehdV4Qptc50Ir-m7vhgDWzYIHfARc5Xs7RJE7Yi_SDtE58vJzhzaC9_FW81853iWLZczogBj7nqpQjxYvq_zCti6WgC4eRs2ZZcJ1h-GTMl-PmLzacJaC2RmD8Qyk9zmHY_N-baqEldgb2tDn_fZktzQNYL_n82yd8i42vduWjkNClDsUtvQ0BUw63sRQA0dydlKm4OXgH9-YS-QhRdA-jFOD6fYXRzL_nIDO3OR_qT4ZPFFphRXX25Algv6gJBkbZ4HQPjfdp1vNsSOf3YMFoTeD1JsS69Dq32mTLwn5XvWCWjt4psUo4ZTSrPaDz6vy8PmdSGqJOu02Jd1D91h8aqCbP1fiLH7IykZ_LaKikxD-8BJh302WeJYlZniuiM-AURPY-3Oj176i5YkDFB3ePmyUmKju62sfZLf9aKo0auVSQl_OBAB05MjhlrvgzMozUWPUZreiVIp-2ntUN8khPQ%3D%3D 4 200 - https://account2.hon-smarthome.com/s/login/NewhOnLogin?display=touch%2F&ec=302&startURL=%2F%2Fsetup%2Fsecur%2FRemoteAccessAuthorizationPage.apexp%3Fsource%3DCAAAAZJWjGmwMDAwMDAwMDAwMDAwMDAwAAAA-nhqMztwYjpzv-QmV6dLRYGX7T91-ubdUe0c0ZpPNQo4CqFADi0wGV5guewOY8aJQOmOIQqWF9LhkwL36mlrBQeEpdi3381wfTBQsuVPwuAm6y463ap2yR-4XgQLVkCIoG6PteemKstpJ--ScmBw78nrvtc7ZBUgtqXqZSB8JFzaM8CCrUZwjgdVcrYEIKhIiNOi0fk6lT5mIfdCItCmZ3vwb9iCoeYH24MCC5Hufc3e4D_9CTrGPKOOKnmeYu4j-IiU4MIyxA8TQ97T5kzXA4Uj8dC5mN_gI_0KMqaG-RBehdV4Qptc50Ir-m7vhgDWzYIHfARc5Xs7RJE7Yi_SDtE58vJzhzaC9_FW81853iWLZczogBj7nqpQjxYvq_zCti6WgC4eRs2ZZcJ1h-GTMl-PmLzacJaC2RmD8Qyk9zmHY_N-baqEldgb2tDn_fZktzQNYL_n82yd8i42vduWjkNClDsUtvQ0BUw63sRQA0dydlKm4OXgH9-YS-QhRdA-jFOD6fYXRzL_nIDO3OR_qT4ZPFFphRXX25Algv6gJBkbZ4HQPjfdp1vNsSOf3YMFoTeD1JsS69Dq32mTLwn5XvWCWjt4psUo4ZTSrPaDz6vy8PmdSGqJOu02Jd1D91h8aqCbP1fiLH7IykZ_LaKikxD-8BJh302WeJYlZniuiM-AURPY-3Oj176i5YkDFB3ePmyUmKju62sfZLf9aKo0auVSQl_OBAB05MjhlrvgzMozUWPUZreiVIp-2ntUN8khPQ%3D%3D&System=IoT_Mobile_App&RegistrationSubChannel=hOn 5 200 - https://account2.hon-smarthome.com/s/sfsites/aura?r=3&other.LightningLoginCustom.login=1 ERROR - 200 - https://account2.hon-smarthome.com/s/sfsites/aura?r=3&other.LightningLoginCustom.login=1 =============== Response =============== {"actions":[{"id":"79;a","state":"SUCCESS","returnValue":"Your login attempt has failed. Make sure the username and password are correct.","error":[]}],"context":{"mode":"PROD","app":"siteforce:loginApp2","contextPath":"/s/sfsites","pathPrefix":"","fwuid":"eGx3MHlRT1lEMUpQaWVxbGRUM1h0Z2hZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC40LTYuNC41","mlr":1,"coos":1,"loaded":{"APPLICATION@markup://siteforce:loginApp2":"E_kSyMRuvXAk7VGckNalqA"},"globalValueProviders":[{"type":"$Global","values":{"eswConfigDeveloperName":{"writable":true,"defaultValue":""},"isVoiceOver":{"writable":true,"defaultValue":false},"setupAppContextId":{"writable":true,"defaultValue":""},"density":{"writable":true,"defaultValue":""},"srcdoc":{"writable":false,"defaultValue":false},"appContextId":{"writable":true,"defaultValue":""},"dynamicTypeSize":{"writable":true,"defaultValue":""},"appContextDeveloperName":{"writable":true,"defaultValue":""}}}],"enableAccessChecks":true,"apce":1,"dns":"c","lairn":[],"laerc":[],"lav":"61","lgef":["com.salesforce.locker.temporaryGate"],"mna":{"lightning":"interop"},"arse":1,"acaf":1,"services":["markup://lightning:configProvider","markup://force:salesforceScopedModuleResolver","markup://force:ldsEngineCreator","markup://instrumentation:locatorService"]},"perfSummary":{"version":"core","request":6,"actions":{"79;a":{"total":4,"db":2}},"actionsTotal":4,"overhead":0}} ========================================

I have the same problem. Is the integration working for anybody right now?

The same for me.
Here is latest entry error log:
Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context     result = await component.async_setup_entry(hass, self)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/config/custom_components/hon/__init__.py", line 34, in async_setup_entry     hon = await Hon(           ^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/pyhon/hon.py", line 77, in create     await self.setup()   File "/usr/local/lib/python3.12/site-packages/pyhon/hon.py", line 104, in setup     appliances = await self.api.load_appliances()                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/api.py", line 86, in load_appliances     async with self._hon.get(f"{const.API_URL}/commands/v1/appliance") as resp:   File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__     return await anext(self.gen)            ^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/handler/base.py", line 64, in get     async with self._intercept(*args, **kwargs) as response:   File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__     return await anext(self.gen)            ^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/handler/hon.py", line 75, in _intercept     kwargs["headers"] = await self._check_headers(kwargs.get("headers", {}))                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/handler/hon.py", line 64, in _check_headers     await self.auth.authenticate()   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/auth.py", line 265, in authenticate     if not await self._get_token(url):            ^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/auth.py", line 237, in _get_token     await self._error_logger(response)   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/auth.py", line 96, in _error_logger     raise exceptions.HonAuthenticationError("Can't login") pyhon.exceptions.HonAuthenticationError: Can't login


imporoved error detection and handling in host

The host is now better at detecting errors - detects some errors it was
previously missing, and has eliminated some false positives. Also adds more
context to some of the errors that it does detect, which will make debugging
easier.

looks good, I'm going to run it on the antfarm and see if it causes any new errors

getting a few of these:
host expected to post at most<PHONE_NUMBER>325708800 collateral, but contract has host posting<PHONE_NUMBER>473608269:

this is with collateral *= 0.98 btw


feat: Remove Command shortcut for host mode, fix #1160

Alternative to #1166 Remove he command shortcut altogether,  so Command in host mode go through a message.

let's continue discussion in #1166

is it just Cmds or do we have those in other places too?
removing weaver code is almost always a good idea.

Just commands,  this is not done anywhere else

Master makes the command call synchronous, which can cause a lot of bugs from being hidden. This alone is a good reason to merge this.
Consider this code:
class ItemSet : SyncSet<string> {};

public ItemSet items = new ItemSet();

[Command]
public void CmdPurchase(string item);
{
       items.Add(item);
}

[Client]
public void OnClickPurchase(string item)
{
    CmdPurchase(item);

    // in master this says true in host mode
    // but it says false in client mode
    // after this PR,  it will say false in both cases (I think 😛 )
    Debug.Log($"Do I have the item? {items.Contains(item)}");
}

This is subtle,  but in master currently the CmdPurchase is executed synchronously in host mode,  and asynchronously in client mode.

@vis2k  is there something else needed to merge this?

:tada: This PR is included in version 4.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Syntax highlight in code blocks

We need to decide what to recommend to folks that need syntax highlight in code blocks. At the moment, I can think of three solutions:

The simplest solution is to use a browser plugin such as https://prismjs.com/. This is probably the best one as well.
We can also set up NodeJS and run our code to prismjs on the server. We need to create some examples showing how to integrate with NodeJS. It's pretty easy using elixir-nodejs.
Use an Elixir package like Makeup. This package can be used easily through a view helper (example). Or we can look into the markdown to HTML renderer and try to some plugin/patch to run some code blocks through Makeup. Still, the issue with this solution is that at the moment, only try languages are supported.

Here's an example using NodeJS. I would rather hook it up with the markdown to HTML renderer, but we don't have that option yet.

Option 1 - I think this is the most ideal solution. - to use either prismjs or highlightjs. The majority of the work is already done, and it's as simple as including a js file and classing code blocks in the page templates.
Option 2 - While I'm not a fan of having an extra language runtime as a dependency to solve a single problem, this does definitely solve the problem.
Option 3 - The only downside here is that Makeup only supports Elixir, Erlang, and C; that's a pretty large downside in my opinion, compared to the previous 2 options.
I like Option 2 and 3's idea of generating the html with the code highlighting built in, but i think Option 1 is the simplest and easiest to recommend.

We really don't want to add Node as a dependency to the project. I think we can close this issue; people can go with option 1 or 2. Option 3 doesn't really exist.


Proxy setting issue while installing K run time cmd Command

Would Any one guide me in setting proxy credentials  settings for this command? I get an error for Proxy Authentication Required. I don't know how to set system wide proxy credentials for Windows.
The command I was trying to execute:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.ps1'))"

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Doc fix default postgres redis

:warning: Note on feature completeness :warning:
We are narrowing the scope of acceptable enhancements to DefectDojo in preparation for v3. Learn more here:
https://github.com/DefectDojo/django-DefectDojo/blob/master/readme-docs/CONTRIBUTING.md
Description
Previous default is mysql-rabbitmq, updating references in this doc to correct the new default as postgres-redis.
Describe the feature / bug fix implemented by this PR.
If this is a new parser, the parser guide may be worth (re)reading.
Test results
Ideally you extend the test suite in tests/ and dojo/unittests to cover the changed in this PR.
Alternatively, describe what you have and haven't tested.
Documentation
Please update any documentation when needed in the documentation folder)
Checklist
This checklist is for your information.

[x] Make sure to rebase your PR against the very latest dev.
[x] Features/Changes should be submitted against the dev.
[ ] Bugfixes should be submitted against the bugfix branch.
[x] Give a meaningful name to your PR, as it may end up being used in the release notes.
[ ] Your code is flake8 compliant.
[ ] Your code is python 3.11 compliant.
[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the docs at https://github.com/DefectDojo/django-DefectDojo/tree/dev/docs as part of this PR.
[ ] Model changes must include the necessary migrations in the dojo/db_migrations folder.
[ ] Add applicable tests to the unit tests.
[ ] Add the proper label to categorize your PR.

Extra information
Please clear everything below when submitting your pull request, it's here purely for your information.
Moderators: Labels currently accepted for PRs:

Import Scans (for new scanners/importers)
enhancement
performance
feature
bugfix
maintenance (a.k.a chores)
dependencies
New Migration (when the PR introduces a DB migration)
settings_changes (when the PR introduces changes or new settings in settings.dist.py)

Contributors: Git Tips
Rebase on dev branch
If the dev branch has changed since you started working on it, please rebase your work after the current dev.
On your working branch mybranch:
git rebase dev mybranch

In case of conflict:
 git mergetool
 git rebase --continue

When everything's fine on your local branch, force push to your myOrigin remote:
git push myOrigin --force-with-lease

To cancel everything:
git rebase --abort

Squashing commits
git rebase -i origin/dev

Replace pick by fixup on the commits you want squashed out
Replace pick by reword on the first commit if you want to change the commit message
Save the file and quit your editor

Force push to your myOrigin remote:
git push myOrigin --force-with-lease

@testaccount90009 Nice catch - thanks for the PR :+1:


Allow commanders to "lock" bases

Allow commanders to lock bases that can be launched from so that no drone or
player can launch from them, but they can still be docked at.
Perhaps restrict this to outposts, and leave tech bases unlockable to prevent
blatant abuse. Alternatively, garrisons can remain unlockable.
I.e; if a garrison is locked and a miner, constructor, or other drone is
purchased, will it be trapped in limbo, or will it bug and crash?
Imported from trac ticket #30,  created by Virulence on 01-05-2010 at 11:25, last modified: 07-19-2010 at 06:55

What about locking in base single drones instead -- regardless of what base they are docked at?
Trac comment by bp on 01-08-2010 at 10:00

see #48 - commanders need to control players not an AI feature
Trac comment by Imago on 07-19-2010 at 06:55


HTTP recorder

Vinyl should provide a mechanism to automatically record all http traffic (request+response) for posterior replay.

The "automatically" is something that bothers me a bit, should we make this explicit? Should we simply record if there are no tracks?

I think this should be configurable. I was thinking something like this:
Record modes

None
New tracks (track not available on vinyl)
All

I think they would sit well here then: TurntableConfiguration.

Maybe instead of All we should have a Once mode to simply create a vinyl and then use it without any new recording, that way you can reason about the requests expected to be handled.

I agree, TurntableConfiguration seems the right place to configure this.

I didn't understand the reasoning behind the Once. So let's look at the cases:
enum RecordingMode {
case None
case NewTracks
case All/Once

.None: If a track is not found, it will raise a fatalError (current behaviour)
.NewTracks: For every track not found, a request will be made and stored
.All/Once: For every track, a request will be made and stored

Is this what you have in mind?

I don't know if we really need/want a .All.

.Once: For every vinyl (file) not found, record and store every request performed to create that vinyl.

Makes any sense?

Makes sense, I am just not sold with the naming. 😁

Suggestion❓
enum RecordingMode {
case None
case NewTracks
case NewVinyl
}

And btw, looks like the plural of “vinyl” is “vinyl” :smile:

With your suggestion, you actually raised an interesting question which is: on a test with multiple requests, how should those requests be treated? As individual vinyl with a single track, or one vinyl with multiple tracks? I am :+1: for the later.

I think the 2nd approach is a better one otherwise we may need to support having multiple vinyl loaded (thank you for the clarifying this @hugocf 😃), 1 per request.

Initial draft
Let's start with the new entities that will be added:

Network: A class that serves as a gateway for making the requests. This takes us to two possible scenarios:
Use a protocol to abstract the implementation: this will help us testing it via mocked objects. (I find this approach simpler)
Initialize this class with a NSURLSession: this will help us testing it via a Turntable. So we are essentially testing our lib with itself. 🆒
Persistence: A class that will allow us to store the Network response on disk. In this particular case, we could test it via its outcome. So we would check if the file was stored in disk.
Recorder: This what will orchestrate the work between the Network and the Persistence. It will be used by the Turntable.

The second part is the enum:
enum RecordingMode {
  case None
  case MissingTracks
  case Vinyl
}

None: As expected, if a track is not found in the vinyl it will raise a fatalError (what we currently have)
MissingTracks: It will only download the missing tracks from a Vinyl
Vinyl: It will download an entire Vinyl

I think MissingTracks jells better, if you read the whole thing: "Recording Missing Tracks", rather than "Recording New Tracks".
We would probably go with MissingTracks as the default configuration.
The final higher level item would be when to signal the recording to stop. DVR does this explicitly with the session.beginRecording() and session.endRecording(). VCR does it automatically. We can keep it simple for now (manual signalling) and do something more advance later.
@dmcrodrigues let me know what you think

I really like the option of use a NSURLSession that can be tested via a Turntable, like you said, test our own lib is like pure gold ✨
I think enum is perfect! :+1:
About the default configuration I'm hesitating between MissingTracks and Vinyl, this last one is more strict which I think may be a good option.

between MissingTracks and Vinyl, this last one is more strict which I think may be a good option.

If we go with the Vinyl option, you will be recording a new Vinyl every time, which basically means that if you don't internet on your server, the tests will fail. Not only that, we never use our recorded tracks.
Let's look at the flow with Vinyl (from my POV):

A new request is made and hits the Turntable.
We check the recording mode.
It's Vinyl recording mode, so we will make a new request and return a real NSURLSessionTask.
As a side effect, we will store the NSURLSessionTask's eventual response on disk and warn the user, to add it to its project later
At no point we are using our recorded tracks.

I was assuming that Vinyl mode does in fact an entire download but only if that vinyl doesn't exist in the bundle. Basically, in the first execution the tests create the vinyl to be stored and used in the follow executions.
I think you have described an All mode which can be something that we can consider but I think we need a mechanism where you record something to be strictly used in the following executions.
@RuiAAPeres what do you think?

Ah good call! I contemplated the idea of:

We have the Vinyl, but we are missing a track. So we have .MissingTracks.

But I forgot about:

We are missing the Vinyl. (the file)

So maybe:
enum RecordingMode {
  case None
  case MissingTracks
  case MissingVinyl
}

With .MissingVinyl if there is a missing track, it will crash. This is the same behaviour that DVR has by default.

:+1:

I haven't had much time to start working on this, so I will remove myself from it, so anyone can tackle this. (if I have time, I will work on it tho) .

I'll start working on this 🚴🏼

Since @dmcrodrigues hasn't had time to work on this, I've decided to take it on :see_no_evil:


use forego start to run the application locally

Would rather use process manager to run the app so it's more similar to Heroku.

This may mean modifying Procfile and adding a bin/web script to determine what environment you're in.
Open to discussion.

It would be best if the behavior of Procfile was consistent between environments. It's good to know that running the app with Procfile will run the full app + workers the exact same way it will in other environments, especially as a final test. We could include a Procfile.dev, which can be used by passing an argument to foreman, that has a more dev appropriate configuration. That would still allow Procfile to run the app using the deployment configuration, but allow us to run the Django dev server, gulp watch processes, and workers within foreman.

This is something I've gone back and forth on. I've typically followed the trend of using a bin/web script (https://github.com/ddollar/foreman/issues/12#issuecomment-2655983 https://github.com/ddollar/foreman/issues/12#issuecomment-2655983) and kept Heroku-provided services out of the Procfile (Postgres, Redis) since they're brew installed and run globally on mac as well.
Joseph Abrahams | VP of Engineering
ISL https://isl.co/ |<PHONE_NUMBER>
Twitter http://twitter.com/josephabrahams | LinkedIn https://www.linkedin.com/in/josephabrahams

On Feb 10, 2016, at 5:58 PM, Jeremy Carbaugh<EMAIL_ADDRESS>wrote:
It would be best if the behavior of Procfile was consistent between environments. It's good to know that running the app with Procfile will run the full app + workers the exact same way it will in other environments, especially as a final test. We could include a Procfile.dev, which can be used by passing an argument to foreman, that has a more dev appropriate configuration. That would still allow Procfile to run the app using the deployment configuration, but allow us to run the Django dev server, gulp watch processes, and workers within foreman.
—
Reply to this email directly or view it on GitHub https://github.com/istrategylabs/mo-django/issues/13#issuecomment-182622444.

Oh yeah, external services shouldn't be in Procfile, mostly talking about processes like Celery workers and such that are part of the app. A web script for development that calls out to a dev-specific Procfile seems reasonable, but I think Procfile itself should be explicitly what will run on Heroku without varying or having to reference other files.


About releasing v1.1.3

@wey-gu @Nicole00
About releasing a 1.1.3 version
to fix the problem that space config in yml does not work in sessionPool,
and space containing white space support.
and, can I just directly switch from 3.4.0 to 3.5.0

I think @CorvusYe laoshi could always just create releases without confirming with others.
What do you think? @Nicole00 @CorvusYe ?

OK~ I will create another PR to publish this version.


create an example/basic sample app

should work without backend, so hard code all the data into redux


sslaccept=accept_invalid_certs seems to not be the default #3564

Bug description
When trying to connect to a MySQL database, with a user that has the REQUIRE SSL option set the following error appears:
[1657368933547] FATAL: Startup failed
    err: {
      "type": "PrismaClientInitializationError",
      "message": "Authentication failed against database server at `[omitted]`, the provided database credentials for `[omitted]` are not valid.\n\nPlease make sure to provide valid database credentials for the database server at `[omitted]`.",
      "stack":
          Error: Authentication failed against database server at `[omitted]`, the provided database credentials for `[omitted]` are not valid.

          Please make sure to provide valid database credentials for the database server at `[omitted]`.
              at [omitted]/node_modules/@prisma/client/runtime/index.js:45403:20
      "clientVersion": "4.0.0",
      "errorCode": "P1000"
    }

The MySQL server uses a self-signed certificate.
How to reproduce
You need a MySQL server which allows SSL connections and uses a self-signed certificate. This is the default behaviour in MySQL.
Enable the REQUIRE SSL option for your MySQL user: ALTER USER 'myuser'@'myhost' REQUIRE SSL
Start your prisma application
Expected behavior
The connection should be successfully established using default options.
According to the docs, sslaccept=accept_invalid_certs is the default. However, this does not seem to be the case, because the connection does not work.
When I manually add ?sslaccept=accept_invalid_certs to the database URL, the connection gets established successfully.
Prisma information
Not working database url: mysql://myuser:mypassword@dbhost:3306/database
Working database url: mysql://myuser:mypassword@dbhost:3306/database?sslaccept=accept_invalid_certs
Environment & setup

OS: MacOS 12.3
Database: MySQL 8.0.29
Node.js version: 16.13.0

Prisma Version
prisma                  : 4.0.0
@prisma/client          : 4.0.0
Current platform        : darwin
Query Engine (Node-API) : libquery-engine da41d2bb3406da22087b849f0e911199ba4fbf11 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli da41d2bb3406da22087b849f0e911199ba4fbf11 (at node_modules/prisma/node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core da41d2bb3406da22087b849f0e911199ba4fbf11 (at node_modules/prisma/node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt da41d2bb3406da22087b849f0e911199ba4fbf11 (at node_modules/prisma/node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : da41d2bb3406da22087b849f0e911199ba4fbf11
Studio                  : 0.465.0

Context: https://prisma-company.slack.com/archives/C058VM009HT/p1733386348703599


Tony's requested changes from https://github.com/HumanCellAtlas/data-store-cli/pull/7

Didn't change base branch to master before merging. No changes other than the ones requested in #7

Codecov Report

Merging #15 into master will decrease coverage by 0.2%.
The diff coverage is 65.46%.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
- Coverage   68.46%   68.25%   -0.21%
==========================================
  Files           7        7
  Lines         482      482
==========================================
- Hits          330      329       -1
- Misses        152      153       +1

Impacted Files
Coverage Δ

hca/constants.py
100% <100%> (ø)
:arrow_up:

hca/full_upload.py
27.38% <27.38%> (ø)
:arrow_up:

hca/full_download.py
28.07% <28.07%> (ø)
:arrow_up:

hca/__init__.py
54.54% <37.5%> (ø)
:arrow_up:

hca/upload_to_cloud.py
41.17% <41.17%> (ø)
:arrow_up:

hca/define_api.py
82.75% <80.95%> (-0.43%)
:arrow_down:

hca/parser.py
96.61% <96.05%> (-0.06%)
:arrow_down:

Continue to review full report at Codecov.

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


NOAA mode fixes

Since with Scan Ranges on, you can only get to NOAA from MR mode, enable exiting NOAA mode back to MR mode.
I also could not enable NOAA mode without errors, so I restored the BITMAP_NOAA array from the last state when it was removed, plus wrapped it in #ifdef ENABLE_NOAA.
Also set the tone mode to OFF, since NOAA channels never have tones and I couldn't hear them without going to Monitor mode or setting Squelch to 0, which is annoying and unusual.

Thank you Justin. Merged in dev branch.


Add is_archive to particular content types

We need an is_archive boolean field for the following tables:

[x] measures
[x] recommendations
[x] indicators
[x] progress_reports
[x] categories
[x] pages

The read-API for these tables should support a query parameter like "include_archive" that, if false, will limit the response to non-archived items only,
In addition the permissions are as follows:

only users with the admin role can make change the is_archive field
only users with the admin role can make changes to archived records
all users can read archived records

looking good so far
where will the API option be handled?

The read-API for these tables should support a query parameter like "include_archive" that, if false, will limit the response to non-archived items only,

@tmfrnz can you give this a look please?

@tmfrnz can you give this a look please?


Intrinsic Calibration

Hello,
I got some questions/annotation to the intrinsic calibration on Kinect2

If I try intrinsic calibration for Kinect2 Method 1 I get the error (as mentioned in issue https://github.com/OpenPTrack/open_ptrack_v2/issues/62):

[FATAL] ROS_MASTER_URI is not defined in the environment. Either type the following or (preferrably) add this to your ~/.bashrc file in order set up your local machine as a ROS master:

export ROS_MASTER_URI=http://localhost:11311

So I used Method 2. Is method 2 as accurate as method 1?

The path workspace/ros/catkin/devel/lib/kinect2_bridge for intrinsic calibration, as mentioned here (https://github.com/OpenPTrack/open_ptrack/wiki/Intrinsic-Calibration), is actually just workspace/ros/devel/lib/kinect2_bridge.

Intrinsic calibration only needs to be done once per camera, right? Even if I change the camera positions.

How do I know when I took enough pictures of the checkerboard for intrinsic calibration? The guide only says keep capturing with the space bar, but not how many pictures or how many positions of the checkerboard I should take.

Hit the space bar to capture a frame. Move the checkerboard to different positions, angles, and distances from the sensor, ensuring that the checkerboard is correctly detected. The checkerboard is being detected correctly when different colored lines overlay the checkerboard's image. Keep capturing new frames/angles with space bar.

Hi @muella91,

The two are methods equally accurate - I think that our method 1 is outdated, we have kept it for now just for completeness.
Thanks!
Yes, just once per camera for intrinsic calibration. The only time you would need to repeat intrinsic calibration is if the Kinect were dropped/hit and you notice tracking to be innacurate.
In the past, I have tried to capture a few dozen frames. In fact, it should be possible to capture video at a low frame rate rather than manually capture frames, which would make this process quicker - I'll look into this in the future.


chore: rename TranslateXXNotStrictly to GenerateXXDeleteMark

Type of change:

[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

resolve issue #1307
Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Please resolve conflicts, thanks

Codecov Report

Merging #1490 (e5db2bb) into master (b62be90) will not change coverage.
The diff coverage is 35.29%.

@@           Coverage Diff           @@
##           master    #1490   +/-   ##
=======================================
  Coverage   41.44%   41.44%
=======================================
  Files          87       87
  Lines        7420     7420
=======================================
  Hits         3075     3075
  Misses       3990     3990
  Partials      355      355

Impacted Files
Coverage Δ

pkg/providers/apisix/translation/translator.go
0.00% <ø> (ø)

pkg/providers/apisix/translation/apisix_route.go
30.40% <28.57%> (ø)

...roviders/apisix/translation/apisix_pluginconfig.go
30.55% <50.00%> (ø)

...kg/providers/apisix/translation/apisix_upstream.go
62.33% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Make same day links opens in new tab/window

Changes Unknown when pulling a6c2adb4deb7f9a65bf295b6dd8ab34e9e39784c on cuducos-same-day-opens-in-new-window into ** on master**.

Screenshot? :)

The hasn't changed, still the same as in #86  (i.e. as in production), that's why I haven't added a screenshot. The only change is that clicking the link opens the reimbursement in a new tab.


read_parquet fails with Decimal data types

Reproducible example
    from decimal import Decimal
    import pandas as pd
    import dask.dataframe as dd
    import pyarrow as pa
    import random
    import shutil

    NUM_DATA_POINTS_PER_PARTITION = 25
    FILE_NAME = "my_data.parquet"

    schema = pa.schema([pa.field('col1', pa.decimal128(5, 2))])

    random.seed(0)
    data1 = [{"col1": Decimal(f"{random.randint(0, 346)}.00")} for i in range(NUM_DATA_POINTS_PER_PARTITION)]
    data2 = [{"col1": Decimal(f"{random.randint(0, 346)}.00")} for i in range(NUM_DATA_POINTS_PER_PARTITION)]

    ddf = dd.concat([pd.DataFrame(data1), pd.DataFrame(data2)])

    try:
        shutil.rmtree(FILE_NAME)
    except FileNotFoundError:
        pass

    ddf.to_parquet(path=FILE_NAME, engine='pyarrow', schema=schema)

    ddf2 = dd.read_parquet(path=FILE_NAME, engine="pyarrow")  # throws an AssertionError on this line

Traceback (most recent call last):
  File "C:/Users/firmanm/.PyCharm2019.2/config/scratches/scratch_7.py", line 28, in <module>
    ddf2: dd.DataFrame = dd.read_parquet(path=FILE_NAME, engine="pyarrow")  # throws an AssertionError on this line
  File "C:\Users\firmanm\PycharmProjects\bi_core\venv\lib\site-packages\dask\dataframe\io\parquet\core.py", line 231, in read_parquet
    parts, statistics, filters, index, chunksize
  File "C:\Users\firmanm\PycharmProjects\bi_core\venv\lib\site-packages\dask\dataframe\io\parquet\core.py", line 623, in process_statistics
    out = sorted_columns(statistics)
  File "C:\Users\firmanm\PycharmProjects\bi_core\venv\lib\site-packages\dask\dataframe\io\parquet\core.py", line 544, in sorted_columns
    assert divisions == sorted(divisions)
AssertionError

I've done some digging and I believe that the root cause of this issue is that the partition min and max in the metadata statistics for Decimal columns is not being decoded from bytes. This causes the logic in sorted_columns to fail because sometimes min is greater than max in terms of the raw bytes.

Thank you for the excellent reproducible example @maxfirman , and my apologies that no one has had the time to respond until now.

I believe that the root cause of this issue is that the partition min and max in the metadata statistics for Decimal columns is not being decoded from bytes.

This has happened before for other data types.  Historically we've resolved this by raising an issue upstream in the Apache Arrow JIRA.  Is this something that you're comfortable doing?  If not I can handle it.

@mrocklin thanks very much for taking the time to respond to my issue. I have now raised the issue on the Apache Arrow JIRA (https://issues.apache.org/jira/browse/ARROW-7350).

I can no longer reproduce so I am going to close this.


Create IoT device

Who wants to help out with the IoT part?

I want to help, how do we tackle this as we are geographically a bit distributed?

Get some hardware :)


Add Mementos vision-language scenario

Hello, this PR is to add a vision-language scenario to VHELM --- Mementos from https://arxiv.org/abs/2401.10529.
There are three subjects (comics, daily life and robotics) for Mementos, I use get_short_answer_generation_adapter_spec for generation and get_open_ended_generation_metric_specs for evaluation.
Here's a screenshot after running ./pre-commit.sh.

Here're several screenshots and the scenario_state.json of toy runs on the scenario (Qwen-VL-Chat on 10 instances):
Mementos-comics

Mementos-comics-scenario_state.json
Mementos-dailylife

Mementos-dailylife-scenario_state.json
Mementos-robotics

Mementos-robotics-scenario_state.json
Please let me know how I can improve it.
Thanks!

@shenmishajing could you resolve the merge conflict and I will take another look? Mostly looks good thanks!

@teetone Hi, I have resolved the conflict. Could you please take a look? Thanks for your time.

@teetone Hi, I have resolved the conflict. Could you please take a look? Thanks for your time.

Sorry, another merge conflict because something just got merged for VLM eval. Could you update one more time?


Ram

fixes a few bad names from shunpbups. RamTask -> RamImpactTask
Signed-off-by: liach<EMAIL_ADDRESS>

Download more

Download more

So the dickscord fires are now burning on github?


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.7 to before v5.15",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=63b2d4174c4ad1f40b48d7138e71bcb564c1fe03",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb185d5f1ebf900f4ae3bf84cee212e6dd035aca"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "63b2d4174c4ad1f40b48d7138e71bcb564c1fe03",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "cb185d5f1ebf900f4ae3bf84cee212e6dd035aca",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "userfaultfd: fix a race between writeprotect and exit_mmap()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15 by commit cb185d5f1ebf900f4ae3bf84cee212e6dd035aca, it was introduced in version v5.7 by commit 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002172


Versioning?

The changelog shows 4.0.0-rc.1 as the latest version, dated 2017-06-02.
However, I also see a tag for 4.0.0-rc.2.
The current head version of package.json shows a version of 5.0.0-rc.0. There is no tag I can see corresponding to this.
I'm having a hard time understanding what the latest version really is. If there is a 5.0.0-rc.0, this would seem to imply to me that 4.0.0 should have been officially released as 4.0.0 with no -rc1 suffix.
What is the current status of latest releases?

Hi @rtm! We went in to RC for the 4.0 version but we realized there could be improvements before releasing. We made breaking changes with #1158, which required a major version change. The 5.0 version is not officially released yet but we plan on doing so today.
Does that answer your questions?

Our latest is out on npm!

I'm curious why this was treated as a breaking change. Instead, a new method and/or type could have been introduced. This approach prevents me from migrating my code incrementally.

The old API is still in angularfire2/database-deprecated.
We opted to not add in new methods or types to decrease the size of the library. We were able to drop 55% of the library while adding more features than before. If we kept everything around the library would have been much larger.


Scroll and Wand items should be generated with the tradition traits of the spell they contain

Currently when a scroll is generated, it takes on the traits of the spell it contains. But since spell traditions are no longer in the traits section of the item, they don't get applied to the scroll. This means Identify Magic doesn't see it as an item of a specific tradition. Same thing happens with wands.

This is technically correct, if inconvenient. A scroll does not have a tradition attached to it and a spell cast from it only gains the tradtition trait upon casting. (GM Core 262)

Wouldn't that make this proposal technically incorrect but convenient?

Yeah after we discussed this on Discord, this is true. Scrolls and Wands do not RAW have the traits of their traditions. And it's not clear if this is supposed to be used for Identify Magic (though I would think it does). It just would not use traits, just the traditions of the spell. However for foundry to know this, it would either have to throw traits on them (which goes against RAW), or overhaul identify magic to be aware of the spell contents of the scroll/wand (which sounds more difficult).
So yeah I would agree, it's incorrect but convenient. Shark is right.

It's possible to change the Identify Magic action to have some special handling for scrolls and wands. It's a little annoying, but it's doable.


Local EmailAdress Validator Problems (Windows)

Hey there!
If i attach following validator to my validator chain and validate emails like<EMAIL_ADDRESS>or<EMAIL_ADDRESS>or simply my own domain i will get the Validator\EmailAddress::INVALID_SEGMENT message printed.
new Validator\EmailAddress(
    [
        'useDeepMxCheck' => true,
        'useDomainCheck' => true,
        'useMxCheck'     => true
    ]
)

I debugged the code and found out that the call of $result = getmxrr($this->idnToAscii($this->hostname), $mxHosts, $weight); in method validateMXRecords() will return true but the $mxHosts and $weight is empty. Thats why the isValid() return false. I tested it under Windows, linux and Macintosh. Linux and Macintosh works great but Windows fails.
I tried to use $result = dns_get_record($this->idnToAscii($this->hostname), DNS_MX, $mxHosts, $weight); instead but then my php-cgi quits.
Linux/Macintosh:
php -r '$mxHosts = [];$weight  = [];$result = getmxrr("googlemail.com", $mxHosts, $weight);var_dump($result, $mxHosts, $weight);'
bool(true)
array(5) {
  [0]=>
  string(31) "alt1.gmail-smtp-in.l.google.com"
  [1]=>
  string(31) "alt4.gmail-smtp-in.l.google.com"
  [2]=>
  string(31) "alt3.gmail-smtp-in.l.google.com"
  [3]=>
  string(31) "alt2.gmail-smtp-in.l.google.com"
  [4]=>
  string(26) "gmail-smtp-in.l.google.com"
}
array(5) {
  [0]=>
  int(10)
  [1]=>
  int(40)
  [2]=>
  int(30)
  [3]=>
  int(20)
  [4]=>
  int(5)
}

Windows:
php -r '$mxHosts = [];$weight  = [];$result = getmxrr("googlemail.com", $mxHosts, $weight);var_dump($result, $mxHosts, $weight);'
bool(true)
array(0) {
}
array(0) {
}

Am i the only person who has that strange behavior.


image import errors out mentioning invalid osType in body

What happened:
Image import is throwing below error:
E0810 11:07:51.302009    5091 root.go:95] [POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][422] pcloudCloudinstancesImagesPostUnprocessableEntity  &{Code:606 Description: Error: Message:osType in body should be one of [aix ibmi rhel sles]}

The default value of osType is redhat, but the API is throwing an error asking for value as rhel.
But the pvsadm flag --ostype doesnt accept value rhel as allowable value for that flag are [aix, ibmi, redhat, sles]:
pvsadm image import --pvs-instance-name upstream-core-lon04 -b ocp4-images-bucket --object centos-84-07122021.ova.gz --pvs-image-name centos-84-07122021-tier1 --bucket-region us-south  --pvs-storagetype tier1 --api-key <APIKEY> --ostype rhel

What you expected to happen:
The image should be imported successfully without throwing osType error.
How to reproduce it (as minimally and precisely as possible):
Run the pvsadm image import command.
Anything else we need to know?:
Environment:

pvsadm version (use pvsadm version): Version: v0.1.2, GoVersion: go1.16.5
OS (e.g: cat /etc/os-release): Ubuntu 18.04.5 LTS
Kernel (e.g. uname -a): x86_64 GNU/Linux

/cc @Shilpi-Das1

This was working for years now, wondering is this a new regression issue or so?

I still see redhat here in the API reference guide here - https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudinstances-images-post

Please create a service ticket with your findings.

/assign @bkhadars

I still see redhat here in the API reference guide here - https://cloud.ibm.com/apidocs/power-cloud#pcloud-cloudinstances-images-post

Please create a service ticket with your findings.

Yes, I did see this...Searched on the net if there is any change in API.
But couldn't get any reference for mapping the error that is being thrown now!

Got to know that this option is not really required for the image import option for ova image, so will have to stop feeding this in the body.

Can you please share the source from where this information was got?
We may share that in support ticket as well.

Got to know that this option is not really required for the image import option for ova image, so will have to stop feeding this in the body.

Can you please share the source from where this information was got?
We may share that in support ticket as well.

from the API doc:


After init helm and install chart, create tf_job.yaml failed

I can't find the problem..
`[root@master heml_install]# kubectl create -f tf_job.yaml
error: unable to recognize "tf_job.yaml": no matches for tensorflow.org/, Kind=TfJob
[root@master heml_install]# helm ls
NAME  	REVISION	UPDATED                 	STATUS  	CHART                                        	NAMESPACE
tf-job	1       	Mon Nov 13 16:09:38 2017	DEPLOYED	tf-job-operator-chart-0.2.0-v20171115-a998436	default `
If anyone know the problem, Please tell me, thanks.

It looks like the TfJob CRD wasn't created which most likely indicates there was a problem deploying the operator.
Check if the CRD was created
kubectl get crd

You should see something like this
NAME                    AGE
tfjobs.tensorflow.org   12d

If you don't see tfjobs.tensorflow.org then it means the CRD wasn't created.
Check if the operator is running
kubectl get deployment
You should see output like the following
NAME               DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
tf-job-operator    1         1         1            1           9d

If the deployment is up, check the pod
kubectl get pods
tf-job-operator-5bc6cb6fd7-5bkck    1/1       Running   4          9d

If the pod isn't running try to figure out why (e.g. by running kubectl describe pods)
If the pod is running get the logs and look for errors. If you share them on this issue we can also help
kubectl logs $POD

@jianzi123 Any luck?

@jianzi123 I'm going to close this issue for now. If you're still having trouble please feel free to reopen it.

e... i'm sorry for put the logs so late...
[root@master templates]# kubectl logs tf-job-tfjob-test-uphtnq --namespace default E1123 07:09:35.392424       1 tpr_util.go:107] Creating the TfJob: {   "kind": "TfJob",   "apiVersion": "tensorflow.org/v1alpha1",   "metadata": {     "name": "e2e-test-job-l9ry",     "creationTimestamp": null,     "labels": {       "test.mlkube.io": ""     }   },   "spec": {     "RuntimeId": "",     "tensorboard": {       "logDir": "/tmp/tensorflow",       "volumes": null,       "volumeMounts": null,       "serviceType": ""     },     "replicaSpecs": [       {         "replicas": 1,         "template": {           "metadata": {             "creationTimestamp": null           },           "spec": {             "containers": [               {                 "name": "tensorflow",                 "image": "gcr.io/tf-on-k8s-dogfood/tf_sample:dc944ff",                 "resources": {}               }             ],             "restartPolicy": "OnFailure"           }         },         "tfPort": 2222,         "tfReplicaType": "MASTER",         "IsDefaultPS": false       },       {         "replicas": 1,         "tfPort": 2222,         "tfReplicaType": "PS",         "IsDefaultPS": false       },       {         "replicas": 1,         "template": {           "metadata": {             "creationTimestamp": null           },           "spec": {             "containers": [               {                 "name": "tensorflow",                 "image": "gcr.io/tf-on-k8s-dogfood/tf_sample:dc944ff",                 "resources": {}               }             ],             "restartPolicy": "OnFailure"           }         },         "tfPort": 2222,         "tfReplicaType": "WORKER",         "IsDefaultPS": false       }     ]   },   "status": {     "phase": "",     "reason": "",     "controlPaused": false,     "conditions": null,     "state": "",     "replicaStatuses": null   } } Error: {   "ErrStatus": {     "metadata": {},     "status": "Failure",     "message": "unknown (post tfjobs.tensorflow.org)",     "reason": "Forbidden",     "details": {       "group": "tensorflow.org",       "kind": "tfjobs",       "causes": [         {           "reason": "UnexpectedServerResponse",           "message": "unknown"         }       ]     },     "code": 403   } } E1123 07:09:35.470505       1 main.go:105] Creating the job failed; unknown (post tfjobs.tensorflow.org) 1..1 not ok 1 - Running TfJobs failed  E1123 07:09:35.471666       1 main.go:244] TfJob e2e-test-job-l9ry didn't run successfully; unknown (post tfjobs.tensorflow.org)

@jianzi123 It looks like your controller_config_file.yaml is empty is that the case? My guess is that in this case no file actually gets created and this is why the read ends up failing.
Can you provide the command line you used to install the helm charter? I'd like to know what value you provided for the config map.
I think one problem is that the helm chart is configured to always require a controller_config_file. I'll create an issue to fix that.

Created #175

@jianzi123 As a quick fix I suspect if you could try removing the --controller_config_file argument here

I have fix it  by reset configmap, thanks.


Install astromodels and threeml packages

Using Mac M1 to run pip install astromodels and pip install threeml in python 3.9 environment may encounter error: subprocess-exited-with-error
The solution is listed below:

pip install cython
xcode-select --install
brew install hdf5
brew install c-blosc
export HDF5_DIR=/opt/homebrew/opt/hdf5
export BLOSC_DIR=/opt/homebrew/opt/c-blosc
pip install astromodels
pip install threeml

Reference:

https://stackoverflow.com/questions/73029883/could-not-find-hdf5-installation-for-pytables-on-m1-mac
https://github.com/freqtrade/freqtrade/issues/4162

Thanks, @PbU-Jason. I'll keep this open until we get ready for release.

Done in DC2


jscs

Isn't  jscs deprecated on dbwebb?  And eslint used instead?
jscs homepage has a message that jscs has merged with eslint.
It could be easier to just maintain one set of lint rules if the two linters check for the same things.

Yepp, for dbwebb we now use eslint which makes jscs och jshint obsolete.
Perhaps one should clean up the README and remove references to the settings of the config files, its sort of duplicated info with the tools own documentation (which are rather good nowmore).
I guess that the configfiles for jshint and jscs will remain in the repo until thay do some harm to the test suite.


Handle multiple private keys matching an identifier

The default behavior of gnupg when multiple keys are matching (like
when using an email address as an identifier) is to use the first one.
We make gopass use the same logic.
In my case, I have two keys matching my email address. The second one
is revoked. gopass is trying, for some reason, to use the second one.
I don't quite understand where it decides that, but making it choose
the first one earlier makes it work.

An alternative for me would be to not use a revoked key.

Codecov Report

Merging #1059 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #1059   +/-   ##
=======================================
  Coverage   63.26%   63.26%
=======================================
  Files         180      180
  Lines       10065    10065
=======================================
  Hits         6367     6367
  Misses       2905     2905
  Partials      793      793

Impacted Files
Coverage Δ

pkg/backend/crypto/gpg/cli/keyring.go
30.3% <0%> (ø)
:arrow_up:

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 a615935...4df4647. Read the comment docs.


Synthetic Workflow - Add support for wfSession.updateWorkflowData(..)

wfSession.updateWorkflowData(..) and company are common method call in WF's; Currently throws a Unsupported operations exception.
Add support for updateWorkflowData(..) and newWorkflowData(..)

Fixed w #405


Simplecov error when using merged results

I'm trying to set merge support up with one of my repositories, but (I assume) setting the formatter to nil is causing an error after cucumber has been run.
/Users/tom/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/simplecov-0.7.1/lib/simplecov/result.rb:91:in `format!': undefined method `new' for nil:NilClass (NoMethodError)
  from /Users/tom/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/simplecov-0.7.1/lib/simplecov/configuration.rb:133:in `block in at_exit'
    from /Users/tom/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/simplecov-0.7.1/lib/simplecov/defaults.rb:52:in `call'
    from /Users/tom/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/simplecov-0.7.1/lib/simplecov/defaults.rb:52:in `block in <top (required)>'
rake aborted!

At the top of both features/env.rb and spec/spec_helper.rb I have the coveralls load lines:
require 'coveralls'
Coveralls.wear_merged!('rails')

This is the rake task I am using, although I imagine that this is somewhat irrelevant:
require 'coveralls/rake/task'
Coveralls::RakeTask.new

namespace :ci do
  desc "Run tests on Travis."
  task :travis do
    puts "Starting to run cucumber..."
    system("bundle exec rake cucumber")
    raise "Cucumber failed!" unless $?.exitstatus == 0

    puts "Starting to run rspec..."
    system("export RSPEC=true && bundle exec rake spec")
    raise "RSpec failed!" unless $?.exitstatus == 0

    Rake::Task["coveralls:push"].invoke
  end
end

task travis: "ci:travis"

is this fixed ?
3 years later, I am still having problems with coveralls merging rspec&&cucumber results


Incorrect stereochemistry after embedding

Discovered in the process of fixing #563: in some highly constrained cases the wrong stereoisomer is generated.

Here's what I did to put together a solid test for this.
I started by pulling 10K compounds from ChEMBL that have a molecular weight of less than 500 and that include at least one specified chiral center:
chembl_20=# select canonical_smiles,molregno from compound_structures join compound_properties using (molregno) where mw_freebase<500 and position('@' in canonical_smiles) >0 limit 10000;

This file is, at least at the moment, in the directory $RDBASE/Regress/Data: https://github.com/rdkit/rdkit/blob/55f6fed10ddd1d1d5356ab975bd6753b9764488e/Regress/Data/chembl_20_chiral.smi.gz
I then wrote some Python that generates 100 conformers for each of those molecules, assigns stereochemistry based on the generated coordinates, and then makes sure that the canonical SMILES matches. There is a bit of additional subtlety in the test file, which is here: https://github.com/rdkit/rdkit/blob/31a1fd010103ae0f089898a54eaf988ae34dc9fd/Regress/Scripts/chiral_embed.py, but that's the meat of it.
As of 31a1fd010, the only molecules that generate error messages from this test are 11 that do not include information about ring stereochemistry in the input SMILES. The conformers generated do, of course, have a specified ring stereochemistry, so we get mismatches like this:
original: NC1CCC(CNC(=O)[C@@H]2CCCN2C(=O)[C@H](N)C(C2CCCCC2)C2CCCCC2)CC1
generated: N[C@@H](C(=O)N1CCC[C@H]1C(=O)NC[C@H]1CC[C@@H](N)CC1)C(C1CCCCC1)C1CCCCC1

These are not a concern.


RabbitMQConsumeInterceptor NullPointerException

Description
RabbitMQConsumeInterceptor cause NullPointerException

[ WARN ] (.p.p.r.i.RabbitMQConsumeInterceptor) BEFORE. Caused:null
java.lang.NullPointerException
at com.navercorp.pinpoint.plugin.rabbitmq.interceptor.RabbitMQConsumeInterceptor.createTrace(RabbitMQConsumeInterceptor.java:46)
at com.navercorp.pinpoint.bootstrap.interceptor.SpanSimpleAroundInterceptor.before(SpanSimpleAroundInterceptor.java:51)

Environment

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

Hi @geekMessi
Looks like AMQP.BasicProperties can be null for empty headers.
(ping @jiaqifeng)

@geekMessi @Xylus Yes, it seems hdeader is null. Since I am in vacation for China spring about a week I will fix this issue a little later. While since header is null, the message sender was not run with pinpoint agent, the this bug will just cause the lost of trace in consumer side, but will not affect the consumer to handle the message correctly. So in most case this exception is harmless.

@jiaqifeng Perfect, thanks :)

@geekMessi @Xylus
PR #3878 submitted. While I could just reproduce the case that headers is null but could not reproduce the AMQP.BasicProperties is null, so I add null check for them all.

@jiaqifeng Thanks. Providing a safeguard for both cases looks like a good solution.

@jiaqifeng
Wonderful! This will work better.

resolved via #3878


PEP631/621 Support + Python10 Support + DependABot update

Updated to python3.10 to follow Ubuntu LTS
Added Support for dependencies defined in pyproject.toml as noted in PEP631/621
Updated Python Packages to fix issues with python3.10 and any latent security scanner issues
This references the issue i open to add support for PEP631 #819

Hey @jax-b - thanks a lot for submitting your work, unfortunately the CI is failing at the moment, looks like the Python setup is broken (wrong version).
While migration to Python3.10 will definitely happen at some point, at the moment Python3.9 runtime on AWS Lambda still doesn't have a deprecation date, so I think it would be better to stick to this version, at least until it gets a deprecation date. Alternatively, we can have a matrix with multiple Python versions but that might be cumbersome to support with python packages support.

I saw 😞 . the python version number is being interpreted as a float rather then a string. I have a fix already for it. There is another issue that im working on fixing as well. multiple requirements are coming in on the same line with commas rather then as new lines

While 3.9 is supported by AWS it would probably be good to go to at lease 3.11 if not 3.12 to match the EOL dates set by PSF. (3.10 was easy for me as i follow the latest LTS branch of ubuntu). 3.11 is about to fall to security updates only.

Gentle nudge, @pgrzesik, is there still work to be done here?


wayland-protocols: 1.15 -> 1.16

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/wayland-protocols/versions.
meta.description for wayland-protocols is: '"Wayland protocol extensions"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.16 with grep in /nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16

directory tree listing: https://gist.github.com/fd5303416fc48052d8b5bbee5436c076

du listing: https://gist.github.com/fc6a49171329e2ddb68d0e9b8330f06a

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 89588bfbbd57dbb02a0c77df231341d8eb2294a0 && nix-shell --pure -I nixpkgs=. -p wayland-protocols

Success on x86_64-linux (full log)
Attempted: wayland-protocols
Partial log (click to expand)
 /nix/store/bgii6n1si6za1ry0vbwnmiapzagcyrjm-coreutils-8.29/bin/install -c -m 644  unstable/text-input/text-input-unstable-v1.xml unstable/text-input/text-input-unstable-v3.xml '/nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16/share/wayland-protocols/unstable/text-input'
 /nix/store/bgii6n1si6za1ry0vbwnmiapzagcyrjm-coreutils-8.29/bin/mkdir -p '/nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
 /nix/store/bgii6n1si6za1ry0vbwnmiapzagcyrjm-coreutils-8.29/bin/install -c -m 644  unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml '/nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
make[1]: Leaving directory '/build/wayland-protocols-1.16'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16
checking for references to /build in /nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16...
/nix/store/9w38vv0slzcpgz8g6lbfqyrgqzk0qkmx-wayland-protocols-1.16

Success on aarch64-linux (full log)
Attempted: wayland-protocols
Partial log (click to expand)
 /nix/store/4pzf0bqxypqiwyi0qcvbcwl1j2ck5613-coreutils-8.29/bin/install -c -m 644  unstable/text-input/text-input-unstable-v1.xml unstable/text-input/text-input-unstable-v3.xml '/nix/store/jgnqh3svfw8d7dzkc7amai13iw2ajg89-wayland-protocols-1.16/share/wayland-protocols/unstable/text-input'
 /nix/store/4pzf0bqxypqiwyi0qcvbcwl1j2ck5613-coreutils-8.29/bin/mkdir -p '/nix/store/jgnqh3svfw8d7dzkc7amai13iw2ajg89-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
 /nix/store/4pzf0bqxypqiwyi0qcvbcwl1j2ck5613-coreutils-8.29/bin/install -c -m 644  unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml '/nix/store/jgnqh3svfw8d7dzkc7amai13iw2ajg89-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
make[1]: Leaving directory '/build/wayland-protocols-1.16'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jgnqh3svfw8d7dzkc7amai13iw2ajg89-wayland-protocols-1.16
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/jgnqh3svfw8d7dzkc7amai13iw2ajg89-wayland-protocols-1.16
checking for references to /build in /nix/store/jgnqh3svfw8d7dzkc7amai13iw2ajg89-wayland-protocols-1.16...
/nix/store/jgnqh3svfw8d7dzkc7amai13iw2ajg89-wayland-protocols-1.16

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: wayland-protocols
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: wayland-protocols
Partial log (click to expand)
 /nix/store/73bzcx8fdmxr7dl6170kdxpblv9zygdm-coreutils-8.29/bin/install -c -m 644  unstable/text-input/text-input-unstable-v1.xml unstable/text-input/text-input-unstable-v3.xml '/nix/store/i3j2svx0bg7vp36j2ixl519jfacvvbay-wayland-protocols-1.16/share/wayland-protocols/unstable/text-input'
 /nix/store/73bzcx8fdmxr7dl6170kdxpblv9zygdm-coreutils-8.29/bin/mkdir -p '/nix/store/i3j2svx0bg7vp36j2ixl519jfacvvbay-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
 /nix/store/73bzcx8fdmxr7dl6170kdxpblv9zygdm-coreutils-8.29/bin/install -c -m 644  unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml '/nix/store/i3j2svx0bg7vp36j2ixl519jfacvvbay-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
make[1]: Leaving directory '/build/wayland-protocols-1.16'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/i3j2svx0bg7vp36j2ixl519jfacvvbay-wayland-protocols-1.16
strip is /nix/store/pw5hlidqwhzhdwll1m7asbhqqlmxssq6-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/i3j2svx0bg7vp36j2ixl519jfacvvbay-wayland-protocols-1.16
checking for references to /build in /nix/store/i3j2svx0bg7vp36j2ixl519jfacvvbay-wayland-protocols-1.16...
/nix/store/i3j2svx0bg7vp36j2ixl519jfacvvbay-wayland-protocols-1.16

Success on aarch64-linux (full log)
Attempted: wayland-protocols
Partial log (click to expand)
 /nix/store/h4vlhar9q3igmyadghcjw6z27gnx75f8-coreutils-8.29/bin/install -c -m 644  unstable/text-input/text-input-unstable-v1.xml unstable/text-input/text-input-unstable-v3.xml '/nix/store/f43qqi13n5jvm16pw98p1chn35kzdar7-wayland-protocols-1.16/share/wayland-protocols/unstable/text-input'
 /nix/store/h4vlhar9q3igmyadghcjw6z27gnx75f8-coreutils-8.29/bin/mkdir -p '/nix/store/f43qqi13n5jvm16pw98p1chn35kzdar7-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
 /nix/store/h4vlhar9q3igmyadghcjw6z27gnx75f8-coreutils-8.29/bin/install -c -m 644  unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml '/nix/store/f43qqi13n5jvm16pw98p1chn35kzdar7-wayland-protocols-1.16/share/wayland-protocols/unstable/xwayland-keyboard-grab'
make[1]: Leaving directory '/build/wayland-protocols-1.16'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/f43qqi13n5jvm16pw98p1chn35kzdar7-wayland-protocols-1.16
strip is /nix/store/ibqlkz3g28vg3xzdjdvzdll722xc0ps9-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/f43qqi13n5jvm16pw98p1chn35kzdar7-wayland-protocols-1.16
checking for references to /build in /nix/store/f43qqi13n5jvm16pw98p1chn35kzdar7-wayland-protocols-1.16...
/nix/store/f43qqi13n5jvm16pw98p1chn35kzdar7-wayland-protocols-1.16

@GrahamcOfBorg build xwayland

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: xwayland
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: xwayland
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6
shrinking /nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6/bin/Xwayland
gzipping man pages under /nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6/share/man/
/nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip is /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip
stripping (with command /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip and flags -S) in /nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6/lib  /nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6/bin
patching script interpreter paths in /nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6
checking for references to /build in /nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6...
/nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip is /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip
/nix/store/f18d5jj1wkpcip9d1sam9wvcqwar97qi-xwayland-1.19.6

Timed out, unknown build status on x86_64-linux (full log)
Attempted: xwayland
Partial log (click to expand)
  CC       nv04_state_tex.lo
  CC       nv04_surface.lo
  CC       nv10_context.lo
  CC       nv10_render.lo
building of '/nix/store/7m66kp9nimi60lb8853cs31flwrfmfnj-mesa-noglu-18.1.5.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/jfag1d9q0rnnwnzpfb9cjqkh4mjgjhrl-libGL-1.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sg9r1jj68iw0achkn3qws24cgds4ffi2-epoxy-1.5.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yhw03pp6fsz1xvhc1zlz9h2zg6ba847c-glu-9.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/71bchfx6bkvdr6ppqg49fxjn9wfkvmnl-xwayland-1.19.6.drv': 4 dependencies couldn't be built
error: build of '/nix/store/71bchfx6bkvdr6ppqg49fxjn9wfkvmnl-xwayland-1.19.6.drv' failed


NRF51 simple test error

Dear Evothing
I try to make a simple test with my NRF51-DK but I have only error
I try to test this
https://github.com/evothings/evothings-examples/tree/master/examples/nordic-nrf51-ble/mbed-src
I try to follow this steps:
https://github.com/evothings/evothings-examples/blob/master/examples/nordic-nrf51-ble/mbed-src/mbed-howto-compile.txt
ecutable File  17 lines (15 sloc)  968 Bytes
How to compile the mbed code

Login to the online mbed IDE at: http://mbed.org (first signup you do no not have an account)
Open the compiler: http://developer.mbed.org/compiler/
Select "Nordic nRF51-DK" as the platform in the upper right corner if not set
Click "New" to create new program
Select template "Empty Program"
Name program: "Nordic_nRF51_DK_BLE" and click OK
Click "Import" button
Search for library "nRF51822" and drag it to the program folder
Search for library "BLE_API" and drag it to the program folder
Search for library "mbed" and drag it to the program folder
Drag file "main.cpp" from your local machine to the program folder in the compiler IDE
Click "Compile" - you will be prompted to save the compiled program file

I push "Compile" button an I have this error
Error: No instance of overloaded function "BLE::onDisconnection" matches the argument list in "main.cpp", Line: 193, Col: 10
Can you help me?
Thanks
Fabio

can any one help me?


[CS2103T-F11-3] HeRon

HeRon is a product designed for Human Resource (HR) Managers in companies to assist in managing HR administrative tasks. It is optimized for CLI users so that it is easier and more convenient to manage employee information.

Codecov Report

Merging #43 (ddad70b) into master (ba53b8c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #43   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 ba53b8c...ddad70b. Read the comment docs.


vs-tab programmatically set selected tab

Please add a function wherein vs-tab can be controlled through a value e.g. selectedTab or anything

thank you


Privacy Manifest

Hello,
As we approach the upcoming spring and the anticipated implementation of the Privacy Manifest by Apple, it's crucial to ensure that your SDK fully complies with Apple's requirements.
Does your SDK need to include it?
If so, do you have a release date planned?
Thank you in advance for your attention to this matter.
Best regards

@cyrillelegrand
Hi,
Thank you for using this library and I hope it fits you well.
AlertToast isn't listed in the SDKs that requires to include privacy manifest.
I do plan on adding a privacy manifest though in the near future because at some point I'll be required to do so, so why not.

Hi,
Apple says on this page that "Third-party SDKs need to provide their own privacy manifest files that record the types of data they collect", so I guess that it's a matter of time before all SDKs, whether they're in the big list or no, will be required to declare their (non-)usage.
Seems like SnapKit already added an empty privacy manifest, and we're going to add the same to our private SDKs too, this might be a good starting point.

Thanks for your help I'm going to add that to the library as well.
If that's ok with you, I'm closing this issue.
Feel free to reopen this issue when there's a need.


implementation of optimizable link/bone lengths

Hi Pinocchio team,
I would like to ask two questions about the usage of Pinocchio in a computer vision problem that regresses human bone length and joint angles from multi-view 2d poses in multi-camera images.
I need to do this because as far as I know, the rest pose, link lengths of a robot in Pinocchio, which is defined prior in the input URDF file is fixed and now I need to make it optimizable, as a part of the configuration vector.

the first question is how and which code files/classes in Pinocchio I should modify to build a Model that has optimizable segment lengths? As far as I know, the model.jointPlacements which represents the rest pose of a model are fixed, is there any chance I can make it optimizable?

my second question is how to calculate the Jacobian matrix that relates the joint changes to the link/bone lengths changes, given the Pinocchio code base?

So far, I have implemented a solution that uses PrismaticJoint to simulate the effect of optimizable segment lengths. I did one IK experiment to solve for goals that are out of reach of the rest pose, and it seems to work. As you can see in the below video, the Prismatic Wrist joint is extended to reach a very far target.
https://www.youtube.com/watch?v=grgLSQfN9Pg
However, it's just a work-around solution. Could you please suggest me a more correct way to do it in Pinocchio?
Thank you very much and I look forward to hearing from you soon.
Best
Khanh Ha

Hi @khanhha,

the first question is how and which code files/classes in Pinocchio I should modify to build a Model that has optimizable segment lengths? As far as I know, the model.jointPlacements which represents the rest pose of a model are fixed, is there any chance I can make it optimizable?

Even if a model seems to have a fixed structure, you can easily change the parameters like the inertias or the joint placements, they will be used in the computations then.

* my second question is how to calculate the Jacobian matrix that relates the joint changes to the link/bone lengths changes, given the Pinocchio code base?

This is exactly the purpose of my PR https://github.com/stack-of-tasks/pinocchio/pull/1332 done for you.
You can use it either in Python or C++. I will make a new release today.
Best,
Justin

That's so awesome.
You're the greatest developer of all the times in my eye :D
I am checking the code now.
Best
Khanh

Thanks for this gentle feedback.
The code is now released. Have great fun with it.

Here is a demonstration of the feature.  In this video, the joint translation in the rest pose is optimized so the left wrist reaches a target location.


ci: Modified drafter's labeller regex to match titles with uppercase

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[x] 🐳 Other

Related issues

Related issue #
Closes #https://github.com/narwhals-dev/narwhals/issues/490

Checklist

[x] Code follows style guide (ruff)
[ ] Tests added
[ ] Documented the changes

If you have comments or can explain your changes, please do so below.
I tried "smarter" regex expressions to accept uppercase/lowercase but didn't work on github. Specifically (?i) instead of all the cases I added.

I don't know if it's a direct result of this PR, but it looks like now we've got duplicate items appearing in the release notes https://github.com/narwhals-dev/narwhals/releases


Fixed JDBC ignoring prepared statement parameter at the end of a query

Closes #45
To reproduce: "SELECT * FROM t WHERE id = ?"
Negative "limit" argument in String.split() prevents it from ignoring empty splits

Thanks, I have merged the change


Empty Output File

Hi Ero,
I am running pydot on Mac OS X 10.5.1 and am experiencing the empty output
file problem as described in
http://code.google.com/p/pydot/wiki/EmptyOutputFiles.
I added the path to graphviz to my path and the executables are being
found.  This was verified via a debugger by stepping through the pydot
source code.
The source of my problem is the statement "data = stdout.read()" in
Dot.create() is not returning anything and thus "data" has no value.
I examined the temporary file referenced by stdout and verified that it
contains data.
I am running with the following versioned software:

pydot - 0.9.10
graphviz - 2.14
python - 2.5

Keith
Original issue reported on code.google.com by<EMAIL_ADDRESS>on 18 Dec 2007 at 9:34

As noted above, this issue had been fixed. The current code is somewhat different (with write_pdf etc.), and is expected that in this case it should throw an error due to subprocess.Popen.returncode != 0 inside pydot.Dot.create.


chore(client): ts migrate builders.js

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

ref #43778

Thank you for making that change.
This LGTM 👍

No Problem!
Should we remove the waiting update label for this now?


fix typo

Thanks @mcsalgado !
@mmcky, do you know why this is failing?

@jstac the preview build is failing due to private credentials (to fetch the QE theme) not being available for PR's received from forks. I have opened an issue to switch to default minimal theme if private theme is not available to solve this problem.

@jstac this looks good to go. I have now enabled html preview builds for PR's coming from external forks (#216)

Thanks @mmcky, thanks again @mcsalgado


TypeScript typing tests and reflect the return type of styled as stateless component

Thanks to https://github.com/rtsao/styletron/commit/0ec7c18829053b59db387c6d0674f8407a736250 we can remove the hack for some reason and extend the official React.StatelessComponent which gives the users a truthful return type of styled.
I also added a simple typings test.

Nice 😄!


support Ansys Mechanical Kernel

Support Ansys Mechanical Kernel

if you use atp._get_unified_install_base_for_version you only need to add the new version number, and we can remove the mechanical executable from the container.
It may or may not be correct to add amk as a product here, but I'm not sure because it's only used by mechanical-kernel unit tests and it isn't really a product

@koubaa @RobPasMue  I abandon this PR. This development is not needed in fact I am using  get_available_ansys_installations to have the base directory instead of create a new find method to have DSSolverProxy2 path. In addition AMK is not a product, so it does not make sense to do this dev.


redis >=6 skip patch version compare

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

link to issue https://github.com/aws-controllers-k8s/community/issues/1737

/ok-to-test

Thanks for your reviews! @jaypipes, I included the function that you suggested and I also joined the conditional with the one for the "x" character, since this logic should work for both scenarios. Please take a look again

/lgtm


fix: remove redundant bin target definition to resolve build conflict

The file src/lib.rs was included in several build targets and caused a warning during the build process. This was because the file was implicitly treated as an entry point for the library (lib.rs) and explicitly defined as a binary target.
The [[bin]] section has been removed from the Cargo.toml file to resolve this conflict. In addition, the build command has been updated to remove the --bin flag, which is no longer necessary. The project can now be built cleanly and without warnings while maintaining the expected functionality.
Closes #323

Closing because this approach doesnt work.


Installing Jupyter and Openning Jupyter Notebooks

Having taught a few Introduction to Python Programming courses (at the NIH) utilizing the Jupyter Notebook I have encountered issues with installing and especially with starting up Jupyter notebooks. This makes me think of a few points that I think we may want to address:

The double cognitive load of learning the Jupyter ecosystem AND a new programming language, etc:
I usually begin the course by describing the multiple ways to run a python program as 1) from the interpreter, 2) using a source code file and running it through the interpreter, 3) using the Jupyter Notebook, and 4) using a python IDE such as PyCharm. Students have some difficulty understanding the concept that the Jupyter Notebook cell is similar to a source code file.  When I was taking the SWC Trainer for Trainers and asked Greg about this he mentioned that trying to learn Jupyter AND a programming language presents a double cognitive load to the students.

Secondly, part of the challenge with the Jupyter Notebook is that one cannot double click a notebook to open it. With exceptions fort the nbopen (https://github.com/takluyver/nbopen), Pineapple (https://nwhitehead.github.io/pineapple/) and nteract projects (https://github.com/nteract/nteract).

Finally, the fact that the terminal window has to be kept open when using the Notebook. Many students would close it and no understand why their notebook was no longer working.

I am sure I am preaching to the choir here but I thought it was worth mentioning these points. Please let me know if it would be preferred to break these out into separate issues.

I was thinking about this a little bit, with respect to defining the target audience. Is the target audience novices or people with some python programming experience who want to know how to do it better?

Is the target audience novices or people with some python programming experience who want to know how to do it better?

Great question. In principle Data Carpentry (of which the Reproducible Research Curriculum is now a part) aims for zero-entry. However, the Rmarkdown-version of the curriculum did assume at least some very basic familiarity with R. I think that still qualifies as novice. Is there something like an experienced novice 😏

i  agree that there is a heavier cognitive load with respect to installing & using python / notebooks, etc. Software carpentry does it successfully and the last workshop i taught (which was a while back) went ok BUT it's more challenging than installing rstudio / r and i've seen workshops where it did not go ok. SO... i like the idea of an experienced novice. but more handholding  may be required for the early on lessons even for the experienced novice. :)

To be clear, I love working with Jupyter notebooks and I really like the idea of forming a reproducible science curriculum around them. I mention the issues above so we can hopefully address them as we go. :-)

+1 for Anaconda. I've not seen many filepath issues (well not beyond the usual for "for learners who've never installed anything other than an app on their phone" like @psychemedia )

Also +1 on Anaconda. It's generally been successful for SWC and they have good install instructions
There are always some issues with people coming without things installed or with laptops that they can't install things on, and that's something we have yet to solve. If there are ideas on backup plans or encouraging installation, those would be great.

The backup plan idea is also related to https://github.com/Reproducible-Science-Curriculum/RR-Jupyter-Hackathon-Jan-2016/issues/13 and what places can do where they can't do installation.


Suggestion extra instructions

Maybe some additional info useful for some of the more beginner folks.

@Xyala I totally agree, thank you for your contribution!
Before our CI will accept this, one of your commits needs to contain the following, I hope you don't mind updating:
Change-type: patch
Signed-off-by: Timothee Pineau<EMAIL_ADDRESS>

@Xyala I totally agree, thank you for your contribution!
Before our CI will accept this, one of your commits needs to contain the following, I hope you don't mind updating:
Change-type: patch
Signed-off-by: Timothee Pineau<EMAIL_ADDRESS>

My pleasure.
Sure - give me a sec, need to re-open things ...

@balena-ci retest

Hey @Xyala I'm trying to get this merged but there's another issue - sorry for the trouble! In your first commit the line Suggestion: ... is being interpreted as a footer. I think if you just remove the colon character it will be fine. You can do this with git rebase -i HEAD~3 and mark this one as reword.

Hey @Xyala I'm trying to get this merged but there's another issue - sorry for the trouble! In your first commit the line Suggestion: ... is being interpreted as a footer. I think if you just remove the colon character it will be fine. You can do this with git rebase -i HEAD~3 and mark this one as reword.

@chrisys  let me know if i've done this correctly :)

@balena-ci retest

@Xyala perfect!

Awesome, thanks!


Delete configuration provider when selected from tree does not work

Delete configuration provider when selected from tree does not work.
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1364966
Darga:
https://bugzilla.redhat.com/show_bug.cgi?id=1368168

@miq-bot add_label ui, wip, bug

@miq-bot remove_label wip

The BZ was cloned to the 5.6 zstream - changing teh label to darga/yes
@miq-bot remove_label darga/no
@miq_bot add_label darga/yes

@miq_bot add_label darga/yes

@miq-bot add_label darga/yes

@lgalis is bz 1368168 really the correct bz for darga here? It doesn't seem related (not at first sight anyway).

Darga backport details:
commit 9efb1e9e1df6a7d34c36fac9ffe52f3e81c774ca
Author: Milan Zázrivec<EMAIL_ADDRESS>Date:   Thu Aug 18 11:48:53 2016 +0200

    Merge pull request #10497 from lgalis/delete_config_provider_from_tree_fails

    Delete configuration provider when selected from tree does not work
    (cherry picked from commit e1742b560d0be516c9a1480f079d9ece0f3e9b1a)

@dclarizio @lgalis This PR uses stub_user which is not in Darga.  Thus, tests are failing.  See https://travis-ci.org/ManageIQ/manageiq/builds/154630140


JavaScript in Web Browser

Description 📜

Talk about the use of the

Hi, I want to take up this issue

/assign

Hey Tanisha! I think your PR was missed due to improper formatting. Sorry about that, please try to use the format specified in the contribution guide here: https://github.com/girlscript/winter-of-contributing/blob/Javascript/JavaScript/CONTRIBUTING.md
Please look for another issue or create your own! Thank you so much for the contribution!
P. S. Are you joining our weekly acknowledgement sessions on Discord?


Upgrade cypress-file-upload to latest version 4.0.7

The API of cypress-file-upload did change and our Cypress tests fail after the upgrade.

Fixed by https://github.com/plone/volto/pull/1668


Educational Content

A dedicated section for courses, workshops and similar things.

I would love to see some kind of instructor type program too.
👍

Could be better structured, but in its essence it's there https://cdk.dev/resources


Fix RTT calculations

Another approach to #295.

As discussed, merging after changing initial RTT from 100ms to 66ms, so that the initial retransmission timeout would remain at ~200ms.


[SPARK-13135][SQL] Don't print expressions recursively in generated code

What changes were proposed in this pull request?
This PR is an up-to-date and a little bit improved version of #11019 of @rxin for

(1) preventing recursive printing of expressions in generated code.

In addition to #11019, this PR improves the followings in code generation.

(2) Improve multiline comment about Codegened pipeline.
(3) Improve multiline comment indentation.
(4) Reduce the number of empty lines (mainly consequtive empty lines).
(5) Remove all space characters on empty lines.

Example
spark.range(1, 1000).select('id+1+2+3+4)

Before
Generated code:
/* 001 */ public Object generate(Object[] references) {
...
/* 005 */ /** Codegened pipeline for:
/* 006 */ * Project [((((id#0L + 1) + 2) + 3) + 4) AS ((((id + 1) + 2) + 3) + 4)#3L]
/* 007 */ +- Range 1, 1, 8, 999, [id#0L]
/* 008 */ */
...
/* 074 */     /*** PRODUCE: Project [((((id#0L + 1) + 2) + 3) + 4) AS ((((id + 1) + 2) + 3) + 4)#3L] */
/* 075 */
/* 076 */     /*** PRODUCE: Range 1, 1, 8, 999, [id#0L] */
/* 077 */
/* 078 */     // initialize Range
...
/* 091 */       /*** CONSUME: Project [((((id#0L + 1) + 2) + 3) + 4) AS ((((id + 1) + 2) + 3) + 4)#3L] */
/* 092 */
/* 093 */       /*** CONSUME: WholeStageCodegen */
/* 094 */
/* 095 */       /* ((((input[0, bigint] + 1) + 2) + 3) + 4) */
/* 096 */       /* (((input[0, bigint] + 1) + 2) + 3) */
/* 097 */       /* ((input[0, bigint] + 1) + 2) */
/* 098 */       /* (input[0, bigint] + 1) */
...
/* 109 */       project_value = project_value1 + 4L;
/* 110 */       project_rowWriter.write(0, project_value);
...
/* 116 */ }

After
Generated code:
/* 001 */ public Object generate(Object[] references) {
...
/* 005 */ /** Codegened pipeline for:
/* 006 */  * Project [((((id#0L + 1) + 2) + 3) + 4) AS ((((id + 1) + 2) + 3) + 4)#3L]
/* 007 */  * +- Range 1, 1, 8, 999, [id#0L]
/* 008 */  */
...
/* 074 */     /*** PRODUCE: Project [((((id#0L + 1) + 2) + 3) + 4) AS ((((id + 1) + 2) + 3) + 4)#3L] */
/* 075 */     /*** PRODUCE: Range 1, 1, 8, 999, [id#0L] */
/* 076 */     // initialize Range
...
/* 089 */       /*** CONSUME: Project [((((id#0L + 1) + 2) + 3) + 4) AS ((((id + 1) + 2) + 3) + 4)#3L] */
/* 090 */       /*** project list: [((((input[0, bigint, false] + 1) + 2) + 3) + 4)] */
/* 091 */       /*** CONSUME: WholeStageCodegen */
...
/* 102 */       project_value = project_value1 + 4L;
/* 103 */       /*** project list: [input[0, bigint, false]] */
/* 104 */       project_rowWriter.write(0, project_value);
...
/* 110 */ }

How was this patch tested?
Pass the Jenkins tests and see the result of the following command manually.
scala> spark.range(1, 1000).select('id+1+2+3+4).queryExecution.debug.codegen()

Author: Dongjoon Hyun<EMAIL_ADDRESS>Author: Reynold Xin<EMAIL_ADDRESS>

Test build #58855 has started for PR 13192 at commit ea7de3b.

Hi, @rxin .
This is the first attempt according to your request.
I removed some obsolete code in #11019 in order to pass the tests.
Please let me know if there is something I missed mistakenly.
cc @cloud-fan @nongli

cc @sameeragarwal  / @davies

Test build #58855 has finished for PR 13192 at commit ea7de3b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58855/
Test PASSed.

Test build #58960 has started for PR 13192 at commit 5ffb249.

As @rxin told, what was really needed is removing overlapping comments.
So, I rethink about that and revert the change on Expression.gen which removes the code field.
It has its own values. Instead, I can achieve that goal simply by adding CodeFormatter. stripOverlappingComments.

Test build #58960 has finished for PR 13192 at commit 5ffb249.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58960/
Test FAILed.

Retest this please

Test build #58971 has started for PR 13192 at commit 5ffb249.

Test build #58971 has finished for PR 13192 at commit 5ffb249.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58971/
Test FAILed.

Merged build finished. Test FAILed.

The PySpark failure is fixed as a HOTFIX.

Test build #59005 has started for PR 13192 at commit 2018d9f.

Test build #59005 has finished for PR 13192 at commit 2018d9f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59005/
Test PASSed.

Merged build finished. Test PASSed.

Hi, @davies .
It's ready for review, again!

@dongjoon-hyun Maybe we could have a method Expression.genCodeWithComment() that is used by generated projections and operators, it requires change more places, not sure it's a good idea or not.

Ya. There were a huge change. I've saw the PR before, but I didn't consider that in this PR.
My bad. Let me think how to solve the original goal with new master branch.
Thank you, @davies .

Test build #59039 has started for PR 13192 at commit 8257e78.

Hi, @davies and @rxin .
I updated the code and description again according to the current master.

Test build #59039 has finished for PR 13192 at commit 8257e78.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59039/
Test PASSed.

Hi, @davies and @rxin .
Could you review this PR again when you have some time?

LGTM,
Merging this into master and 2.0, thanks!

Thank you, @davies !


Translation of documents to Urdu, Hindi & Roman-Urdu

There are over 500Million people in the world speaking Urdu/Hindi. The translation will add  new dimension of understanding to the Urdu speaking nation such as Pakistan & India

hi  sir my mother toung is urdu/hindi  i cant understant what you want could you please healp me

Whether the translation will add a new dimension of understanding depends on the number of people who are engineers working in JavaScript that are interested in a random set of algorithms who speak Urdu/Hindi but don't speak English - not simply the number of Urdu/Hindi speakers. That's much less than 500 million.