thorntail-mp-tck external test fails due to SocketException: Protocol family unavailable

Describe the bug
SocketException: Protocol family unavailable
[2020-06-15T20:08:06.339Z] 2020-06-15 20:08:06,057 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service org.wildfly.undertow.listener.default: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.default: WFLYUT0082: Could not start 'default' listener.
[2020-06-15T20:08:06.339Z] 	at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:211)
[2020-06-15T20:08:06.339Z] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
[2020-06-15T20:08:06.339Z] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
[2020-06-15T20:08:06.339Z] 	at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
[2020-06-15T20:08:06.339Z] 	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
[2020-06-15T20:08:06.339Z] 	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
[2020-06-15T20:08:06.339Z] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
[2020-06-15T20:08:06.339Z] 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
[2020-06-15T20:08:06.339Z] 	at java.lang.Thread.run(Thread.java:823)
[2020-06-15T20:08:06.339Z] Caused by: java.net.SocketException: Protocol family unavailable
[2020-06-15T20:08:06.339Z] 	at sun.nio.ch.Net.bind0(Native Method)
[2020-06-15T20:08:06.339Z] 	at sun.nio.ch.Net.bind(Net.java:433)
[2020-06-15T20:08:06.339Z] 	at sun.nio.ch.Net.bind(Net.java:425)
[2020-06-15T20:08:06.339Z] 	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
[2020-06-15T20:08:06.340Z] 	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
[2020-06-15T20:08:06.340Z] 	at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:178)
[2020-06-15T20:08:06.340Z] 	at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:310)
[2020-06-15T20:08:06.340Z] 	at org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:106)
[2020-06-15T20:08:06.340Z] 	at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:199)
[2020-06-15T20:08:06.340Z] 	... 8 more

To Reproduce
https://ci.adoptopenjdk.net/job/Test_openjdk8_j9_sanity.external_x86-64_linux_thorntail-mp-tck/323/
Note: This job has been failing with this issue for months, so if that specific job has expired, just look at the latest run.
Expected behavior
I expect the test to pass.

According to this, this, and this, the problem is that we need to set a property, and we're not doing it.
Here's a trial run with a custom thorntail where the property is set in the only pom.xml file that
a) has the string "127.0.0"
and
b) does not have the recommended property set (java.net.preferIPv4Stack)

Didn't work. Setting aside to focus on other issues.

Since this was found to be failing and not disabled, I will disable it.  Given that Thorntail has announced their "end of life" I will also plan to remove the target completely in an upcoming PR.

auto exclude test thorntail_microprofile_tck

Since removal of this test from external tests, can we close this issue as well? @smlambert @sophia-guo @llxia

yes, thanks @jnjerin !


Option to disable assignment of scheduled date for recurring tasks

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.
[X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
[X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description
I schedule all my tasks at the start of the week. A lot of them are recurring tasks. When I complete those tasks, the replacement tasks have a comparable Scheduled Date assigned to them, but I want to leave that blank. I only want the Start and Due Dates to carry forward.
✔ Solution
I would like to see a toggle switch added to the settings that allows me to turn off the automatic assignment of Scheduled Dates on Recurring Tasks. While I don't need it, you might want to add similar toggles for Start and Due Dates.
❓ Alternatives
No response
📝 Additional Context
No response

Hi, to make this request easier to understand - and ensure correctness of understanding - please supply as Markdown text some example task lines, and show the current behaviour, and what you want the new behaviour to be.
Also, please can you explain why you wish the scheduled date to be blank? I presume there is something about your workflow that makes this useful, but clarification would be appreciated.

Thanks for the quick response!
I'm not sure adding some example tasks will help, but I think I can better explain this.
I'll begin by noting that, as I use it, Scheduled Date always falls between the Start Date and the Due Date. Initially, most of my tasks have just a Start Date and, optionally, a Due Date. I add the Scheduled Date as the Due Date draws nearer and I have some idea of when I'll be able to work on the task.
I generally just assign Start Dates to my Recurring Tasks. For example, I have a "Wash the kitchen floor" task that Recurs Weekly When Done. At present, it has a Start Date of Sunday. On Fridays, I sit down to review all my tasks that start or are due next week (and not yet scheduled) and assign them Scheduled Dates based on everything I have going on next week. If it's a slow week, I might schedule the floor wash for Monday. If it's a busy week, I might schedule them for Friday. Once I complete the tasks, I want the new task to have a Start Date one week hence, but I don't want it to have a Scheduled Date so that it shows up in the query I use for my Friday review of upcoming but unscheduled tasks.
Does that make sense?

BTW, rather than a global option, you could consider adding this option to each task. Either would work, although the latter might add to the clutter on tasks.

Thank you for the reply - the description helps, but asking every reader of this ticket to read and internalise several paragraphs of text, especially when some may not have English as a first language, can be more time-consuming than creating carefully crafter examples....
And the examples will be useful for writing automated tests, should somebody choose to work on this.

Hi @Mauwzola,

And the examples will be useful for writing automated tests, should somebody choose to work on this.

Thanks for the replies so far.
I’ll leave this open a couple more days, in the hope that you are kindly able to provide the below, to save the time of anyone volunteering on this, both in confirming understanding of the request and in writing automated tests to confirm the behaviour.

Hi, to make this request easier to understand - and ensure correctness of understanding - please supply as Markdown text some example task lines, and show the current behaviour, and what you want the new behaviour to be.

- [ ] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-04-07 ⏳ 2024-04-09

As things currently work in Tasks, if I mark the task above as complete on April 8, a new task will be created that looks like this:
- [ ] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-07-08 ⏳ 2024-07-10

At this point, I know that I want to start thinking about doing this task again in three months. But until the date draws nearer, I've no idea when I can fit it into my schedule. And since it's a low priority task, I have a lot of flexibility in scheduling it.
Since this is my usual workflow, rather than editing every recurring task after it's completed, I'd like to see a setting added that allows me to disable (i.e., turn off) the automatic generation of Scheduled Date when recurring tasks are completed. In other words, after completing the task above, I'd like to new task to look like this:
- [ ] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-07-08

- [ ] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-04-07 ⏳ 2024-04-09

As things currently work in Tasks, if I mark the task above as complete on April 8, a new task will be created that looks like this:
- [ ] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-07-08 ⏳ 2024-07-10

I've tried reproducing the above, and oddly when I complete it on the 8th April I get different results from you:
- [x] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-07-08 ⏳ 2024-07-10 ✅ 2024-04-08
- [ ] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-07-06 ⏳ 2024-07-08

It's only when I complete it on the 10th April that I get the same results as you:
- [x] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-07-08 ⏳ 2024-07-10 ✅ 2024-04-10
- [ ] Wipe down kitchen cupboards 🔽 🔁 every 3 months when done 🛫 2024-07-08 ⏳ 2024-07-10

What have I misunderstood?

Sorry for the confusion, Clare. I should have said April 10. It was morning and I hadn't yet figured out we'd moved on to April 10 when I wrote that.

Thanks - I've edited the comment...


vuejs with storybook, always through error WARNING in ./node_modules/@storybook/vue/dist/client/preview/ErrorDisplay.vue?vue&type=template&id = ... & Module parse failed: Unexpected token (2:0) You may need an appropriate loader to handle this file type.

If you are reporting a bug or requesting support, start here:
Bug or support request summary
Bug
Please provide issue details here - What did you expect to happen? What happened instead?
Expect storybook to run without issue
Steps to reproduce
git clone https://github.com/adamchenwei/ez-timer/tree/feature/storybook
yarn install then yarn run storybook

Please specify which version of Storybook and optionally any affected addons that you're running

@storybook/vue latest
@storybook/addon-something x.x.x

Affected platforms
MacOS

ref also with https://github.com/storybooks/storybook/issues/4188

check my boilerplate here to learn the problem and have final ready to go piece
https://github.com/adamchenwei/vuejs-storybook-storyshot-jest-webpack-boilerplate


_locator doesn't work

Inside steps_file.js I've placed the following method:
callMyTestMethod: function(modelId) {
          this.helpers['Protractor']._locate({model: modelId});
}

My testcript fails at this line:
I.callMyTestMethod('modelIdFromPage');

with this error message:
TypeError: Cannot read property 'Protractor' of undefined
      at Object.actor.callMyTestMethod(steps_file.js:10:17)
      at Test.<anonymous> (specs/102_01_MySpecFile.js:30:8)
      at Context.test.fn (/home/vagrant/Downloads/node-v4.4.4-linux-x64/lib/node_modules/codeceptjs/lib/scenario.js:27:24)

Other lines in this SpecFile are working correctly. I've configured my test with Protractor. If I remove the call from spec file the test succeeded. What's wrong with this? The documentation said that this is the correct syntax (see http://codecept.io/helpers/Protractor/#_locate).

+1

you can't use _locate in steps file, you have to use it only in custom helper as described in documentation


Chinese lemmatization

I wonder why universal-lemmatizer gave not that well scores about zh_gsd according to
conll18 results. Is it possible to improve chinese lemmatization somehow?

Hi,
I have just updated a new version of our paper here https://arxiv.org/pdf/1902.00972.pdf, including lemmatization evaluation both with gold and predicted segmentation. In Chinese (zh_gsd) the problem seems to be segmentation, i.e. lemma is wrong if there is a segmentation error. With gold segmentation, lemmatization accuracy is 100%. I don't know much about Chinese, but with this treebank lemmatization seems to be trivial.


【gltf】crashed when loading model compressed by gltfpack

Describe the bug
i use the command gltfpack -i  animation_0610.glb -o animation_modify.glb to compress gltf without '-cc' flag. After that i run the gltf-viewer demo, and it crashed. This gltf has morphy animation and nla.
To Reproduce
Steps to reproduce the behavior:

run gltf-viewer to load compressed gltf

Expected behavior
render gltf as usual.
Screenshots

Smartphone (please complete the following information):

OS: [e.g. Android ]

Thanks for the bug report, from your screenshot this looks like an assert triggered by heterogeneously typed morph targets in the asset, which is very unexpected (e.g. position0 is float while position1 is short).  However I think is actually permitted by the spec.
I can run gltfpack on a random model with morphing but if you are able to attach your asset to the bug report, please do so.

Thanks for the bug report, from your screenshot this looks like an assert triggered by heterogeneously typed morph targets in the asset, which is very unexpected (e.g. position0 is float while position1 is short). However I think is actually permitted by the spec.
I can run gltfpack on a random model with morphing but if you are able to attach your asset to the bug report, please do so.

@prideout Thanks for your kindly reply. This is the origin gltf, and the compressed asset by gltfpack is this gltf .

After i remove this assert assert_invariant(!previous || previous->component_type == accessor->component_type), the animation acts weried in filament. I provide the video recorded on android device and screenshot as below:

But the glb acts normally in this online gltf-sample-viewer :

Fix in upstream library: https://github.com/jkuhlmann/cgltf/pull/180

Fix in upstream library: jkuhlmann/cgltf#180

So only if i update the cgltf in filament to the newest version, this problem will be solved right?


folder has disappeared

i use this code for Coping folders without files but when i press start, destination's folder has disappeared. I can find it by file explorer's address bar but can't see main folder and "Hidden item" is on.
robocopy S:\  C:\Users\SairO\Desktop\P /E /DCOPY:DAT /R:10 /W:3 /ia:S

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

ID: bf2281d4-1470-0658-ec5a-687fe2cd451c
Version Independent ID: 2ce2be3e-e3a2-790c-3bff-90efe7318450
Content: robocopy
Content Source: WindowsServerDocs/administration/windows-commands/robocopy.md
Product: windows-server
Technology: windows-commands
GitHub Login: @JasonGerend
Microsoft Alias: alalve

Hey @SairOOs,
Thanks again for contacting Microsoft. We value your feedback.
As we understand it, you're describing an issue with the product compared to an issue with the documentation. GitHub isn't quite the right location or channel if searching for technical support, deeper specifics of the product or feature requests as it is completely outside our scope. If there are any issues within the content itself, such as incorrect code, verbiage, etc., please let us know.
Looking into our Technet forum, there is a post "ROBOCOPY hides destination Directory".
In short, if you are to copy anything from the root directory of a source folder (S:\), this causes the destination folder to have the "Hidden" attribute applied to it once it copies the content. I have tested several of the parameters, with changes, and the output is consistent in the destination folder becoming hidden. Copying data from the source folder not from the root of the device does not adopt the hidden attribute (S:\SourceDirectory) vs (S:\).
Below you'll find our support forums:

TechNet: https://social.technet.microsoft.com/Forums/en-US/home
MSDN: https://social.msdn.microsoft.com/Forums/en-US/home
Microsoft Community: https://answers.microsoft.com/

Something that you can do after running your command:
robocopy S:\ C:\Users\SairO\Desktop\P /E /DCOPY:DAT /R:10 /W:3 /ia:S

Is to run the following:
attrib -s -h C:\Users\SairO\Desktop\P

Or you can combine them both:
robocopy S:\ C:\Users\SairO\Desktop\P /E /DCOPY:DAT /R:10 /W:3 /ia:S & attrib -s -h C:\Users\SairO\Desktop\P

We're adding a note to this document to reflect the issue with copying from the root device. We will also engage with the appropriate team to see if this is a bug.
This document has been updated and the changes will be live by the next business day. We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


Add handling of different Bearer tokens

The Schwab web interface uses different Bearer tokens for different endpoints. It isn't clear why things worked some/most of the time without this change, but hopefully things will work more reliably now, especially #22 .

some error codes I see when the original update_token() is applied. I initially comment the update_token() and only try to apply update_token() when r.status_code != 200.
I will try the changes in this pull and see it helps.

Interesting. I think the first error image you posted occurred when converting the return text into a json json.loads(r.text), so the attempt to get the token failed for some reason. We'd need to print out the error message for that in order to figure out why.
The second error image you posted is because the cookie jar sometimes is like a dict, but it really isn't, and it can have two items with the same name. A better way to delete all cookies of a specified name is to use requests.cookies.remove_cookie_by_name(self.session.cookies, 'ADRUM_BT1').
However, after looking more at the website behavior in my browser, no cookies are included in the v2 api requests, so perhaps a better way to do this is to use requests.get or requests.post instead of self.session.get or self.session.post. I'll try that for my personal use for a bit to see how well it works.
That said, I'm getting the impression that @cnMuggle and others may have long-running scripts (or ones that do a lot more than mine before finishing) that may encounter different issues than I typically see. So I may not be able to troubleshoot all those.
All that to say, I'm going to close this PR and look at cookie/token handling more before proposing a better way.


[Bug]:最新版本运行ollma api报错如下

AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.
Describe the bug
A clear and concise description of what the bug is.
运行reactagent直接报错
To Reproduce
Steps to reproduce the behavior:
agentscope.init(model_configs=[{
"config_name": "my_ollama_chat_config",
"model_type": "ollama_chat",
"model_name": "qwen:32b",
"options": {                                # Parameters passed to the model when calling
"temperature": 0.5, "seed": 123,
},
"keep_alive": "5m",                         # Controls how long the model will stay loaded into memory
}])
Create agents
agent = ReActAgent(
name="assistant",
model_config_name="my_ollama_chat_config",
verbose=True,
service_toolkit=service_toolkit,
)
user = UserAgent(name="User")
Build
x = None
while True:
x = user(x)
if x.content == "exit":
break
x = agent(x)
Expected behavior
A clear and concise description of what you expected to happen.
Error messages
Detailed error messages.
Traceback (most recent call last):
File "D:\pyproject\agentscope\examples\conversation_with_react_agent\code\conversation_with_react_agent.py", line 100, in
x = agent(x)
File "D:\pyproject\agentscope\src\agentscope\agents\agent.py", line 294, in call
res = self.reply(*args, **kwargs)
File "D:\pyproject\agentscope\src\agentscope\agents\react_agent.py", line 164, in reply
prompt = self.model.format(self.memory.get_memory(), hint_msg)
File "D:\pyproject\agentscope\src\agentscope\models\ollama_model.py", line 269, in format
"content": system_content_template.format(
KeyError: 'index'
Environment (please complete the following information):

AgentScope Version: [0.0.4]
Python Version: [3.10]
OS: [e.g. macos, windows]

Additional context
Add any other context about the problem here.

Thanks for your reporting. That's very strange to have a key named "index" here. We will try to locate this bug.

The bug is fixed, please pull the repo to install the latest AgentScope library from source


No output for creating a component from git

$ ocdev component create nodejs nodejsnew --git https://github.com/kadel/nodejs-ex

There is no output for this command, we need to give a success message.

this should output build logs (build progress)

Fixed in #301


Release azure-eventhubs-extensions for log4j dep update

Description
Update azure-eventhubs-extensions version to 3.3.1, preparing to release with updated log4j dependency.

It's also deprecated and based on a deprecated client, with no plans to update, and the number of users is at most tiny if it's not zero. We're doing this release for completeness.


Removes settings from lock file

✅ Checklist

[x] This pr title describes the issue in a single sentence
[ ] The branch is named using the Linear git branch name (which will automatically link them)

@danspratling I feel like we had this before with the final project. This settings section is added to the lock file every time I run pnpm install and it breaks the GitHub action. I don't mind removing it each time, but is there a way for this to be accepted?


[HOLD for payment 2024-05-02] [$250] Android - Workspace list - Workspace name and email address are truncated

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.64-2
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition:

User has long email address and also workspaces with medium long name.

Launch New Expensify.
Go to Account settings.
Go to Workspaces.
Compare the truncation of workspaces with long name and long email address between staging and production.

Expected Result:
App will show complete workspace name and email address if it fits the screen.
Actual Result:
Workspace name and email address are truncated when the app could display it without truncation.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Production

Staging

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ae7f4f24d827fbac
Upwork Job ID:<PHONE_NUMBER>639697408
Last Price Increase: 2024-04-23
Automatic offers:

getusha | Reviewer | 0
tienifr | Contributor | 0

Issue OwnerCurrent Issue Owner: @kevinksullivan

@kevinksullivan I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think this issue might be related to the #vip-vsb.

Making this external, it should hopefully be easy fix

So I think this is a good example of a regression from @dragnoir 's PR. Perhaps we should have Rachid submit a follow up rather than awarding a new bounty for this?

This was the offending PR: https://github.com/Expensify/App/pull/40599/files

Let's see what @mountiny thinks.

cherry picking the PR

Noting that https://github.com/Expensify/App/pull/40599 Pr has been deployed to production already so it cannot be the offending PR of this deploy blocker.

@getusha can you accept the offer in upwork?

Paid @tienifr

@getusha has this been paid?

Still waiting on @getusha to accept. Will slack them

alright, all set!


[Question] Soft positive label or label smoothing

:question: Question

Hello,
I am considering experimenting with the use of soft labels or label smoothing. Because the possibility of some labels in my training data not being strictly correct。
Please tell me which part of the code I need to make modifications.

Soft labels are not supported in nnDetection and would require significant changes in the planning and evaluations stage. It might be possible to adapt the IO (dataloader) classs to manually load softlabels besides the normal labels for training purposes. There only the ptmodule would need some updates.
Using label smoothing should be straight forward since only a modification in the loss is necessary.
Note however that wrong labels have more repercussions than one might think, e.g. focal loss and hard negative mining will apply high weights to false negative predictions. Ensuring the highest possible label quality is essential to guarantee stable training and achieving the best possible results.
Best,
Michael

Thank you for the reply!


CAS-486: Ensure bdevs are removed when not in use

Bdevs are now opened using the spdk_bdev_open_ext() function (note: SPDK
has deprecated spdk_bdev_open). This allows a callback to be registered
which is called when an asynchronous bdev event, such as removal,
occurs.
When a NexusChild is closed, destroy is called, resulting in spdk
raising a SPDK_BDEV_EVENT_REMOVE event. This calls back to the
NexusChild remove() function which is responsible for closing everything
down in an orderly fashion before the underlying bdev is removed.
Additional changes:

The RebuildJob no longer stores the source and destination handles.
These are acquired as and when they are needed. This ensures that a bdev
can be removed even while there is an active rebuild process.

cancel_child_rebuild_jobs() now waits for all rebuild jobs to
terminate before returning

The reconfigure test case has been removed as it is no longer valid
given that a bdev is removed when setting a child offline.

The replica_timeout test is now ignored. It still needs to be
determined whether or not this is a valid test case.

bors merge

bors retry

bors retry

bors retry

bors r-

bors r+

bors r+

bors merge

bors merge

bors merge


feat(output): fluent-bit integrate OpenSearch plugin

Signed-off-by: mango<EMAIL_ADDRESS>
What this PR does / why we need it:
Fluent-bit integrate OpenSearch plugin
Which issue(s) this PR fixes:

Fixes #284
Does this PR introduced a user-facing change?

Action Required: Should upgrade fluent-bit image version to 1.9

The corresponding crd file does not seem to be generated here

Thank you for your contribution @mangoGoForward !
If this PR requires fluentbit v1.9.0+, we can release a new version of the operator after fluentbit v1.9.4 is release to fix https://github.com/fluent/fluent-bit/issues/5426 @wenchajun


How to integrate RPlidar with IMU using ROS2 HUMBLE

I have an urgent query !!
have successfully installed Ros2 humble and I can see my laser scan map through rviz,
Now I want to integrate IMU (mpu9250) with it and try hector or karto SLAM but I am getting errors like tf2 related
I don't know how to integrate if you guys can please help me,
Also on Rviz, I added IMU and there also shows No tf data receiving.

Please open questions like this on https://robotics.stackexchange.com/questions/tagged/ros, which is our central Question and Answer site.  You'll get a better answer there, and it will be searchable for the future.
Make sure to include a lot of information on what platform you are using, which ROS distribution you are using, and the exact steps you took.


Can not jump to symbol with a folder on a read only directory in workspace

Environment data

VS Code version: 1.39.1
Extension version (available under the Extensions sidebar): 2019.9.34911
OS and version: Cent OS 7.6
Python version (& distribution if applicable, e.g. Anaconda): 2.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions:
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi enabled

Expected behaviour
interpreter configuration saved
Actual behaviour
interpreter configuration saved
Because I am editing python 2 file, default interpreter is 3.5, it says symbol not found when ctrl+shift+o is pressed
Steps to reproduce:

add any folder which is read only to workspace
change interpreter settings then you will see

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Failed to set 'pythonPath'. Error: Unable to write file (NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir '/path/to/dir/.vscode')

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
Failed to set 'pythonPath'. Error: Unable to write file (NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir '/path/to/dir/.vscode')
onDidNotificationChange @ workbench.desktop.main.js:2551
workbench.desktop.main.js:243
[Extension Host] Error Python Extension: 2019-10-22 10:53:01: { Error: Unable to write file (NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir '/path/to/dir/.vscode')    at v.writeFile (file:///VSCode-linux-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:1537:707)  name: 'Error',  message:   'Unable to write file (NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir \'/path/to/dir/.vscode\')' }
t.log @ workbench.desktop.main.js:243

Hey @oglops, thanks for reporting this. The problem is that the extension writes a workspace setting to point to the path to the interpreter you selected. Does it work if you try changing the interpreter in the user settings? To do that, you can open the command palette (View > Command Palette...) and run the command "Preferences: Open Settings (JSON)", and then add the "python.pythonPath"  setting to point to the path to Python 2. This will change the "global" setting and it's stored in a different location other than the workspace.
Anyway, I'm closing this issue in favour of the feature request in https://github.com/microsoft/vscode-python/issues/2125. If you'd like you can upvote the suggestion there since we take votes into consideration when planning feature work 😊


Provide a linear execution strategy

To avoid issues, it may be better to avoid executing all tests in parallel and linearize their execution.

@nicolaferraro the scenarios in a feature file are executed sequentially by default. Do you refer to Yaks CLI running multiple feature files in parallel?

Yes, when you create multiple resources, they are executed in parallel currently. Which may cause issues because tests often assume there's no one else changing the system. A linear approach seems safer as first impl.

Linear execution of multiple features is given at the moment. Closing this one


Ignore null values

Swagger considers null values the description, consumes, produces, etc fields
as invalid. If I take what is currently in spec/dummy/swagger/v1/swagger.json and drop it in the swagger editor you'll get validation errors for the following:

description: null => Expected type array but found type null
consumes: null => Expected type array but found type null

These are easily fixed by rejecting the nil values.

I went ahead and added the required property to the path param so it would validate as well.

If you want another point of comparison here's their online validator that's less strict:
sample file in master
{
  "messages": [
    "attribute paths.'\/blogs'(get).consumes is not of type `array`",
    "attribute paths.'\/blogs\/{id}'(get).consumes is not of type `array`"
  ],
  "schemaValidationMessages": [
    {
      "level": "error",
      "domain": "validation",
      "keyword": "allOf",
      "message": "instance failed to match all required schemas (matched only 0 out of 1)",
      "schema": {
        "loadingURI": "http:\/\/swagger.io\/v2\/schema.json#",
        "pointer": "\/definitions\/operation\/properties\/consumes"
      },
      "instance": {
        "pointer": "\/paths\/~1blogs\/get\/consumes"
      }
    },
    {
      "level": "error",
      "domain": "validation",
      "keyword": "type",
      "message": "instance type (null) does not match any allowed primitive type (allowed: [\"string\"])",
      "schema": {
        "loadingURI": "http:\/\/swagger.io\/v2\/schema.json#",
        "pointer": "\/definitions\/operation\/properties\/description"
      },
      "instance": {
        "pointer": "\/paths\/~1blogs\/get\/description"
      }
    }
  ]
}

sample file in this branch

{}

I added tests for these changes.

I rebased this on top of #22 so I could have Travis run and be sure the tests are all passing: https://travis-ci.org/drewish/swagger_rails/builds/159575519


Adam optimizer - ValueError: tf.function-decorated function tried to create variables on non-first call

I am using tensorflow 2.3
The code below
import  tensorflow as tf

y_N= tf.Variable([1., 2., 3.],name="dd")

@tf.function
def loss():
    return -tf.reduce_mean(input_tensor=tf.reduce_sum(input_tensor=tf.math.log(y_N), axis=0))

@tf.function
def run():
    tf.keras.optimizers.Adam(0.5).minimize(loss, var_list=[y_N])

run()

gives exception
ValueError: tf.function-decorated function tried to create variables on non-first call.

Problem looks like tf.keras.optimizers.Adam(0.5).minimize(loss, var_list=[y_N]) creates new variable on > first call, while using @tf.function. If I must wrap adam_optimizer under @tf.function, is it possible? looks like a bug?

I have tried in colab with TF version 2.3, nightly version(2.4.0-dev20200810) and was able to reproduce the issue.Please, find the gist here.Thanks!

I found out that  after calling minimize function, it will create an iter variable, by calling self.iterations once.
(This happens in tensorflow/python/keras/optimizer_v2/optimizer_v2.py)
Subsequent call of the self.iterations will not create new variable -
as iter has already been created.
Therefore, by calling it earlier outside the tf.function solve the issue, here's the code that works:
import  tensorflow as tf

y_N= tf.Variable([1., 2., 3.],name="dd")

@tf.function
def loss():
    return -tf.reduce_mean(input_tensor=tf.reduce_sum(input_tensor=tf.math.log(y_N), axis=0))

@tf.function
def run(adam):
    adam.minimize(loss, var_list=[y_N])

adam=tf.keras.optimizers.Adam(0.5)
adam.iterations
run(adam)

Though I think the minimize of Adam function could be improved so that we don't need this hack.

Hi @tianhuat, you've run into a fairly common scenario due to some slightly confusing behavior with Keras and tf.function. The Variables section of the tf.function guide explains the error message you've seen as guarding against behavior divergence on repeated calls. In eager mode, a function creates a new variable with each call, but with graph mode a new variable may not be created due to trace reuse. This is essentially what you've noted in your above comment, and the official suggestion is to pass in the optimizer. And for reference, you'll likely run into a similar error message if you try to create the model inside your tf.function, instead of passing it in.
I'll close this issue now as you've found a solution, and there is also an open issue around this error message (with a lot of comments if you're interested in reading more on the details) #27120


Implement DSM signing with approvals for Trillian tool. HRST-28

My previous change to the Trillian tooling added the ability to sign with DSM. This change extends that capability to sign using keys that require quorum approvals.
The integrate command is the only one that performs signing. It will automatically try to sign without an approval. It will only attempt to sign with an approval if signing without the approval returns an error indicating that an approval is required.
This can be used in two different modes. By default, the integrate command will continue running and will wait util the request is either approved or denied. Alternatively, you can pass the --suspend option with a file name. In this case, if approval is required, some state will be written to the named file. After the signing request is approved, you can resume signing with --resume, and the operation will be completed with the signature produced by DSM.
I've also added a command line tool for approving signing requests. This is intended to be used by the
serverless-test-dsm-approvals.sh test script with an appropriately configured group so the requested signatures for the test can be approved without having someone manually approve them in the UI.

Note that the approvals test doesn't work right now on smartkey due to https://fortanix.atlassian.net/browse/PROD-6410 which causes DSM to reject the request to approve the signing that is generated by the golang client. I've already merged a fix to the Roche code for this problem, but it hasn't rolled out to smartkey.io yet. I did test the code with a hacked up version of the client that removed whitespace from the request sent to smartkey, but the code for that is pretty ugly, so I don't want to merge it.


Impossible to import ONNX model

Hi all!
I tried to use an .onnx model from Hugging Face with burn when I found this potential issues.
Describe the bug
One node (Where to be precise) throw error:
ERROR burn_import::logger: PANIC => panicked at crates/onnx-ir/src/dim_inference.rs:821:5:
assertion `left == right` failed: Where x and y have different element types!
  left: Int64
 right: Float32

After debugging I found that one of the previous node ( Unsqueeze ) took two Int64 input arguments and return a Float32 tensor. So, it causes the error above and doesn't correspond to onnx graph from Netron.
To Reproduce

Download the .onnx model from HuggingFace (also tried with this model)
Following instruction for Importing ONNX Models in Burn
Build the project and see the error.

Expected behavior
Correct import from .onnx files.
Screenshots

Desktop (please complete the following information):

OS: archlinux 6.12.1-arch1-1
Version: rustc 1.83.0

 [dependencies]
burn = "0.15.0"
burn-ndarray = "0.15.0"

[build-dependencies]
burn-import = "~0.15"

Potential fixing
It seems the type here which is default right now should match the type of the inputs.

I think ArgType::Tensor(tensor) => tensor.elem_type.clone(), should be ArgType::Tensor(_) => node.inputs[1].ty.elem_type().clone(), here in order to match input type.
If it seems ok, I could do a pr.
Anyway, importing the onnx model doesn't work correctly even after this change because of another node (Slice). Output shape isn't correct.
@laggui would be better to continue discussion here or create a new bug report for Slice?

I think ArgType::Tensor(tensor) => tensor.elem_type.clone(), should be ArgType::Tensor(_) => node.inputs[1].ty.elem_type().clone(), here in order to match input type.

Hmm hat doesn't seem correct either, the node.inputs[1] doesn't represent the input data but rather the axis. But the output type should match the input type 🙂

If it seems ok, I could do a pr.

We're always opened to PRs!

Anyway, importing the onnx model doesn't work correctly even after this change because of another node (Slice). Output shape isn't correct. @laggui would be better to continue discussion here or create a new bug report for Slice?

We can keep the same issue open to represent your ONNX model.
I know there are many things that are far from perfect with the current ONNX import approach, but iirc @antimora was working on some improvements recently

@laggui thank you for your replay!
Ok, I'm continuing posting bug reports here
I thought node.inputs[0] was the axis... I'll check it again


Xcode 8 Beta 5 compatibility.

Current coverage is 63.54% (diff: 50.00%)

Merging #198 into master will decrease coverage by 0.03%

@@             master       #198   diff @@
==========================================
  Files            62         62
  Lines          3457       3467    +10
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2198       2203     +5
- Misses         1259       1264     +5
  Partials          0          0

Powered by Codecov. Last update f2beddc...3608e23


Adjust ICOADS wind direction values

see https://github.com/glamod/glamod-marine-processing/issues/20

361 to 0
362 to np.nan

set some WD testdata to both 361 and 362:

714
702


Minimum droplets required?

Maybe I'm skip reading but I just can't see minimum requirement for this?
Let say if I use Digital Ocean. What's recommended plans for this please?
 Which mean 2 mirror droplets setup would ideal so the question is it'll work with this setup?
Thanks!

Speaking in general terms, the requirement for this is to have at least one Consul instance running somewhere inside the cluster and that service information is stored in it before the proxy is reloaded. The easiest way to get the information to Consul is, as far as I know, through Registrator (running on each server). It listens to Docker Engine events and whenever a new container is run, it stores the information in a registry (in this case Consul). Such a combination should work no matter which hosting provider is used.
I tend to have at least two proxies and DNS pointing to both so that in case one of them fails, the other would take over completely. It truly depends on whether there is one cluster or more and their size.

Thanks for sharing, This should be fun :)

Please let me know how it went. If you have some trouble, we can organize a
chat with shared screens.
On Thu, Apr 21, 2016 at 5:23 PM katopz<EMAIL_ADDRESS>wrote:

Thanks for sharing, This should be fun :)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/vfarcic/docker-flow-proxy/issues/11#issuecomment-212970238

--
Viktor Farcic
Blog:
TechnologyConversations.com
Books:
The DevOps 2.0 Toolkit (http://www.amazon.com/dp/B01BJ4V66M or
https://leanpub.com/the-devops-2-toolkit)
Test-Driven Java Development (
http://www.amazon.com/Test-Driven-Java-Development-Viktor-Farcic-ebook/dp/B00YSIM3SC
)

Thanks for your kind, I just buy your book just because of that. ;)
BTW I kinda love diagram, wireframe which easier for me to understand it like mind map more than plenty of text so it would be nice if you please add more picture of that.
I'm super newbies in this fields (just learn to setup SSL Nginx HTTP2 CORS a week ago) so it should take sometime to unlock to next step.
 ;)
Cheers!

Hi,
Thank you for the feedback. It is really valuable for my work. The more
feedback I get, the better I do my job. The next article will continue in
the same fashion and with quite a few diagrams.
On Thu, Apr 21, 2016 at 7:14 PM katopz<EMAIL_ADDRESS>wrote:

Thanks for your kind, I just buy your book just because of that. ;)
BTW I kinda love diagram, wireframe which easier for me to understand it
like mind map more than plenty of text so it would be nice if you please
add more picture of that.
I'm super newbies in this fields (just learn to setup SSL Nginx HTTP2 CORS
a week ago) so it should take sometime to unlock to next step.
 ;)
Cheers!
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/vfarcic/docker-flow-proxy/issues/11#issuecomment-213022717

--
Viktor Farcic
Blog:
TechnologyConversations.com
Books:
The DevOps 2.0 Toolkit (http://www.amazon.com/dp/B01BJ4V66M or
https://leanpub.com/the-devops-2-toolkit)
Test-Driven Java Development (
http://www.amazon.com/Test-Driven-Java-Development-Viktor-Farcic-ebook/dp/B00YSIM3SC
)


req.field assert

#1065 related

I noticed that the test code style are not consistent in semi ; http://eslint.org/docs/rules/semi

We're not using assert module in the client code. Can you use regular if/throw instead?

Superb. Thanks!


ordereddict issue

I pulled and tried to build since the pip install isn't working on python 2.6 and ended up with this error:
[root@ip-172-31-49-215 config]# dynamic-dynamodb --config /home/ec2-user/dynamic-dynamodb.conf
Traceback (most recent call last):
File "/usr/bin/dynamic-dynamodb", line 4, in
import('pkg_resources').run_script('dynamic-dynamodb==2.1.0', 'dynamic-dynamodb')
File "/usr/lib/python2.6/dist-packages/pkg_resources/init.py", line 735, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/dist-packages/pkg_resources/init.py", line 1652, in run_script
exec(code, namespace, namespace)
File "/usr/lib/python2.6/dist-packages/dynamic_dynamodb-2.1.0-py2.6.egg/EGG-INFO/scripts/dynamic-dynamodb", line 22, in
import dynamic_dynamodb
File "/usr/lib/python2.6/dist-packages/dynamic_dynamodb-2.1.0-py2.6.egg/dynamic_dynamodb/init.py", line 29, in
from dynamic_dynamodb.aws import dynamodb
File "/usr/lib/python2.6/dist-packages/dynamic_dynamodb-2.1.0-py2.6.egg/dynamic_dynamodb/aws/dynamodb.py", line 12, in
from dynamic_dynamodb.log_handler import LOGGER as logger
File "/usr/lib/python2.6/dist-packages/dynamic_dynamodb-2.1.0-py2.6.egg/dynamic_dynamodb/log_handler.py", line 26, in
import config_handler
File "/usr/lib/python2.6/dist-packages/dynamic_dynamodb-2.1.0-py2.6.egg/dynamic_dynamodb/config_handler.py", line 5, in
CONFIGURATION = config.get_configuration()
File "/usr/lib/python2.6/dist-packages/dynamic_dynamodb-2.1.0-py2.6.egg/dynamic_dynamodb/config/init.py", line 163, in get_configuration
'tables': ordereddict()
TypeError: 'module' object is not callable
I'm not a python programmer, but these changes fixed it, enough to allow it to run.

Apparently I'm a few days behind, and pip install is working, however it also gives this error when installed through pip.

Thanks for the contribution @KyleAlanDavis. I could reproduce this and your code does the trick. This will be released together with another bug for Python 2.6 users (#274).

I'm working on getting a 2.1.1 release out as soon as possible.

This is now released in version 2.1.1.


Multiply two linked lists

Multiply two linked lists
Link
Difficulty: Easy
Given elements as nodes of the two singly linked lists. The task is to multiply these two linked lists, say L1 and L2.
Note: The output could be large take modulo 109+7.
Examples :
Input: LinkedList L1 : 3->2 , LinkedList L2 : 2
Output: 64
Explanation:

Multiplication of 32 and 2 gives 64.
Input: LinkedList L1: 1->0->0 , LinkedList L2 : 1->0
Output: 1000
Explanation:

**Multiplication of 100 and 10 gives 1000.
Expected Time Complexity: O(max(n,m))
Expected Auxilliary Space: O(1)
where n is the size of L1 and m is the size of L2**

Constraints:
- 1 <= number of nodes <= 9
- 0 <= node->data <= 9

Solved
class Solution:
    def multiply_two_lists(self, first, second):
        # Code here
        fir = 0
        sec = 0
        cur = first
        cur1 = second
        while(cur):
            fir = (cur.data+(fir*10))
            cur = cur.next
        while(cur1):
            sec = (cur1.data+(sec*10))
            cur1 = cur1.next
        ans = (fir * sec)%1000000007
        return ans

Solved
class Solution:
    def multiply_two_lists(self, first, second):
        # Code here
        fir = 0
        sec = 0
        cur = first
        cur1 = second
        while(cur):
            fir = (cur.data+(fir*10))
            cur = cur.next
        while(cur1):
            sec = (cur1.data+(sec*10))
            cur1 = cur1.next
        ans = (fir * sec)%1000000007
        return ans


[FEATURE]: can Colossal-AI support customized parallel schedule? is there a tutorial for that?

Describe the feature
As a researcher developing auto parallelism, it would be great if we can use Colossal-AI to test the parallel schedule we design.
Currently, Colossal-AI supports 1D,2D,2.5D, and 3D auto parallelism. But can Colossal-AI support a customized parallel schedule?
For example, if I want to train ResNet-18 on the MNIST dataset.

For pipeline parallelism, I partition ResNet-18 into 4 submodels: Model:0 to Model:3.
For data parallelism, I want to simultaneously train 3 batches of data: data:0 to data:2.
For hardware, if I have 4-GPUs: cuda:0 to cuda:3.

If I want to estimate the performance of the following parallel schedule, what should be done? How to modify the configuration file or the source code to estimate this parallel schedule?

I think you could try config your training with pipeline parallel size 4 and microbatch size 3, and enlarge your training batch size three times. And then run your training in 'forward only' mode. In my view, colossalai will schedule your training like you showed in above picture.

We have updated a lot. This issue was closed due to inactivity. Thanks.


API: Proposal for additional IO buffer and body template API.

This is not intended to be merge immediately because it describes API that has not yet been written. Comments should be about the API itself.
The new functions are
TSIOBufferReaderRead
TSIOBUfferReaderIterate
TSHttpTxnErrorBodyBufferSet
TSHttpTxnApplyLogFormat
The other documentation is of API that is already present but undocumented. Feel free to comment in that regard.

I added the new function TSIOBufferReaderIsAvailAtLeast because this has proved handy in the core and (since it's an existing method) this will be easy to implement. I also cleared up how blocks are consumed by TSIOBufferReaderIterate.

TSHttpTxnApplyLogFormat

I think the name could be clearer, maybe TSHttpTxnFormatLogTags() or TSHttpFormatTags().
It seems reasonable to format to an IO buffer, but if you think
you would like to also be able to format to a pre-allocated buffer
(pointer + length), we should choose the right name now so that
later they will name sense.

TSHttpTxnErrorBodyBufferSet

The description text doesn't seem to match.
Since this is clearly intended to be paired with the log formatter,
it would be helpful to explicitly join the dots in the description.
I don't think you need the MIME type argument since it is easy
to set the Content-Type header using existing API. If you think
the existing API is too troublesome, maybe a secondary helper API
that can set a named header?

You should go ahead and commit the TSIOBufferReaderAlloc man page,
but call it TSIOBufferReader since it is documenting the whole API
family (which makes sense).

See https://issues.apache.org/jira/browse/TS-2375

@SolidWallOfCode said he would work on it this quarter.

@SolidWallOfCode  You going to land this in this incarnation? Or another PR?


Specify preferred polling rate

It doesn't make sense to poll temperatue 10x per second, but acceleraomter data maybe. Can we have a hint in the spec?

Dup of https://github.com/microsoft/jacdac/issues/9


Remove support for manage_externals

This PR does a few things in regards to moving from manage_externals to mepo

Removes Externals.cfg
Updates parallel_build.csh to remove externals support
Updates README.md

Note that reference to SLES 11 is also removed from README.md because,
well, now that we are at Intel 19, there is no support for SLES 11

@biljanaorescanin :  I just updated the GEOSldas Wiki pages to reflect the move to mepo:

https://github.com/GEOS-ESM/GEOSldas/wiki
Added link to mepo Wiki

https://github.com/GEOS-ESM/GEOSldas/wiki/LDAS-Nightly-Tests
Replaced "Externals.cfg" with "components.yaml"
Replaced "globalcscn" with "globalcnclm4" test

Please let me know if you see anything wrong.
cc: @weiyuan-jiang @mathomp4

@gmao-rreichle, @mathomp4 and @weiyuan-jiang  All tests passed!


Stored XSS flaw fix

The cost value is a varchar and it is not sanitized before it is inserted to the database. Therefore it can contain an arbitrary HTML code including any JavaScript - even something like . At the same time the safe filter does not make any functional sense in here.

NB: is this the same issue for https://github.com/wagtail/wagtaildemo/blob/master/demo/templates/demo/search_results.html? There are two |safe filters on here that seem unnecessary to me, but my Django knowledge stops short of knowing for sure.

@thibaudcolas Yes, I think those should be removed too. Whoever did the original templates for wagtaildemo was definitely on a |safe-filter frenzy :-)

Yes, it should be removed as well.


Create Dashboard Site

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Implement the Dashboard site like in the sketch. There should be a left side nav bar which should be extendable. The rest of the page should be an empty . Implement some snippet loading logic so that when you click on a nav bar icon the empty section gets replaced with the actual ejs content from that page. If there are any js libs which make handling this single page application easier propse it to @SilvanBaach .
After successfull login the user should be redirectet to the dashboard page. Create an express route for this. On Default home.ejs should be loaded into the .
Describe alternatives you've considered
Additional context
Sketch:

@BadrOutiti

@jaypi95 Created a first draft, please review it!

LGTM. I've converted the draft PR to a merging ready PR. I've asked @SilvanBaach for an additional review on the PR directly.

Talked to Silvan on another channel.
According to him the following is missing:

Animations are not working as intended
Logout button is missing
Route in server.js is incorrect

PR has been converted back to a draft

Talked to Silvan on another channel. According to him the following is missing:

Animations are not working as intended
Logout button is missing
Route in server.js is incorrect
Icon is in wrong position

PR has been converted back to a draft

-Animation works now
-Logout Button was added (Does not do anything right now)
-Route was added
-Icon was changed after speaking with @SilvanBaach
Please Review it again!

Can't run it since I'm at work but it looks like everything was done as requested. I'll ask Silvan again for another review from his side.


changed test cases and update functions

Improvement in the Test Cases:

Added test cases using real API requests. Included HTML and JSON API links for count_claims and count_references
changed module name to WikidataDiffAnalyzer
Added comments
For sanity check, there are test cases using short mock responses

Improvement in count_references:

changed the coding to count the references in the claims
removed the recursive functionality
Added edge case consideration in the other functions

This looks great. I suggest that you configure continuous integration as a next step, so that the tests will be run automatically whenever you push code to github.


deps: remove @types/extend

Remove @types/extend as it seems to be broken in combination with Node 12.16.0. Object.assign(...) can be used instead of extend. Only the deep copy option of extend is not natively supported by Object.assign.
Fixes #829

While this is a fine change, the issue isn't extend; it's that you're doing this: https://github.com/googleapis/nodejs-spanner/blob/master/test/database.ts#L35 which mutates, and should cause Object.assign to throw as well in strict mode.

While this is a fine change (converting to Object.assign), the issue isn't extend; it's that you're doing this: https://github.com/googleapis/nodejs-spanner/blob/master/test/database.ts#L35 which mutates, and should cause Object.assign to throw as well in strict mode.
"promisify all" patterns that mutate should be avoided.

@ljharb Thanks for your insights on this one, I really appreciate it.
Would you mind elaborating a little bit on what you mean by 'which mutates, and should cause Object.assign to throw as well in strict mode'? What confuses me here is the following:

The construction that is being used in Database.ts is also used in other tests in the same project without problems. See for example https://github.com/googleapis/nodejs-spanner/blob/c0fb78f7d47b2b713d2441f92dca1f4ffd9e7e33/test/instance.ts#L43
There are also test files using Object.assign with furthermore the same construction as above, also without problems. Example: https://github.com/googleapis/nodejs-spanner/blob/c0fb78f7d47b2b713d2441f92dca1f4ffd9e7e33/test/common/service-object.ts#L23
The line that is actually triggering the problem is this one: https://github.com/googleapis/nodejs-spanner/blob/c0fb78f7d47b2b713d2441f92dca1f4ffd9e7e33/test/database.ts#L213

I've reverted most of my change except for the extend call on line 213. Using Object.assign instead of extend here fixes the problem. Also note that running the same test case on Node 12.15.0 works regardless whether I use Object.assign or extend, but in 12.16.0 it's broken with extend.

@olavloite looking at the commented line remaining in the PR, I’m quite confused - the implication is that it’s a bug in extend combined with node 12.16, but i can’t conceive of what it’d be.
If you can replicate the runtime error with extend alone, it’d be awesome if you could file an issue on it!

@olavloite looking at the commented line remaining in the PR, I’m quite confused - the implication is that it’s a bug in extend combined with node 12.16, but i can’t conceive of what it’d be.
If you can replicate the runtime error with extend alone, it’d be awesome if you could file an issue on it!

@ljharb I think I've figured out what's happening here. The test code that caused the failure was doing two calls to extend, and it was the combination of those two calls with the introduction of a new field on EventEmitter in 12.16.0 that caused it:

https://github.com/nodejs/node/pull/30932 was added in 12.16.0. This PR adds a non-writable field errorMonitor to EventEmitter.
The relevant class hierarchy in the test case was Database extends GrpcServiceObject extends ServiceObject extends EventEmitter.
extend tries to write the field EventEmitter.errorMonitor on the second call, which fails as it is read-only. I'll leave it to the experts whether this should be considered a bug in extend, or whether this works as designed and the user should handle this in advance. I don't know enough about extend to have a strong opinion on that.

The simplest example that I've been able to define that replicates this problem is listed below. The line (foo2 as any).errorMonitor = undefined; fixes the issue. If you remove that line, the code will fail in Node 12.16.0 and succeed in 12.15.0.
import * as extend from 'extend';
import {EventEmitter} from 'events';
import * as assert from 'assert';

class Foo extends EventEmitter {
  constructor() {
    super();
  }
}

describe('extend', () => {
  let foo1: typeof Foo;
  let foo2: typeof Foo;

  it('should work', () => {
    foo1 = class Bar extends EventEmitter {
      constructor() {
        super();
      }
    };
    foo2 = extend({}, foo1);

    // Set errorMonitor to undefined to prevent extend from trying to set it.
    // Without this, the following extend call will fail in Node 12.16.0.
    // In 12.15.0 and earlier, this is not necessary as there is no read-only
    // errorMonitor field.
    // tslint:disable-next-line:no-any
    (foo2 as any).errorMonitor = undefined;
    extend(foo1, foo2);
    assert.ok(foo1);
  });
});

This is indeed something user code has to handle; it's not ever safe to blindly mutate code you don't own, which includes anything that you do own that extends something you don't own, precisely because you could be extending a nonconfigurable/nonwritable object, or a Proxy, or anything :-)
Thanks for figuring it out!


Bump wasmtime again

Brings back #5822 which should be safe to use now.
paritytech/wasmtime is now up to date with upstream and the race in signatures registration is protected with a lock.

I think we should add a test. That just calls execute block with some empty block on 8 threads for some seconds.


apply resource in K8s, pod 0/1 log: undefined symbol: cndevGetCardHeartbeatCoun

The template below is mostly useful for bug reports and support questions. Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
virsion: v2.0.11
rpm:

ldd -r mlud-exporter

log:

sys version:

cnmon

1. Issue or feature description
2. Steps to reproduce the issue
3. Information to attach (optional if deemed irrelevant)

It seems to be a compilation-related issue. Please refer to the compilation scripts in the repository and try building a container image.
If the problem persists, please provide more information k8s version, docker version, host info and ways to reproduce this issue as detailed as possible.

It seems to be a compilation-related issue. Please refer to the compilation scripts in the repository and try building a container image.
If the problem persists, please provide more information k8s version, docker version, host info and ways to reproduce this issue as detailed as possible.

镜像构建步骤为 :
1、sed -i "s/docker/nerdctl -n buildkit/g" build_image.sh
2、GOPROXY=https://goproxy.cn ./build_image.sh
当前环境为：
1、驱动版本

2、nerdctl版本

3、conrainerd

4、k8s版本

5、驱动校验

plugin的运行情况：

cndev version ?

@luanshuo 请问你解决了吗

使用的 cndev 版本跟镜像基础操作系统不一致导致，已解决


[DESIGN] Improvements to the Research Page

@Mattygryan will review https://participedia.net/research and give feedback.
May want to add a section for Participedia Data (and distinguish from "data repository" section, that could be confusing)
Discussion about producing a simple diagram to give people a better sense of the data model.
Also makes sense to publish the draft codebook and CSV downloads here ASAP with some explanatory text that they are a work in progress.

@Mattygryan is this sort of what you mean by visualizing the model?

PS: I used Miro to quickly mock this up (collaborative white board tool - check it out)

May want to add a section for Participedia Data (and distinguish from "data repository" section, that could be confusing)

This makes good sense!

This is super. Nice work! So many good ideas that clarify things for people coming at the site pages. I really think and hope this is going to help usability. Cheers folks 👍

Change "Methodology" heading to "Participedia Methodology" (lucy usersnap, sept 2020)
Draft some honest data quality text - work in progress, constantly improving, etc (old usersnap)
add the codebook (veronica - Nov 2020)
Add published papers by team/anyone about participedia / using pp data

Sender<EMAIL_ADDRESS>Comment: I think we need to get a bit meta and also pose on this page the question what kinds of research can be done with PPedia data, for what purposes, and with what caveats.
https://github.com/participedia/usersnaps/issues/1142

Alanna suggested adding text above the graph: https://github.com/participedia/api/issues/931

SURVEYS Update for Research page
Per email thread with Mark, Pat, Matt, Bonny in March 2022 - Subject "RE: Questions about Participedia surveys" - I proposed the following:
A public sharing folder, containing sub-folders for each survey. This can be added to the research page under the Surveys heading. That paragraph text should also be updated.


array api - Add tests for aggregations

[ ] Closes #7243
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

The array api standard doesn't define any nan*-functions.
xarray pretty much always defaults to using nan*-function. :(
So any time an array has a __array_namespace__ we have to use our own nan-solution, like for .sum:
https://github.com/pydata/xarray/blob/d6d24507793af9bcaed79d7f8d3ac910e176f1ce/xarray/core/duck_array_ops.py#L288-L295
Any thoughts? Are there any clever ways to handle the aggregations with NaNs in a generic way?

I was hoping https://github.com/data-apis/array-api-compat might help with this, but I'm not sure it does...

Related issue: https://github.com/data-apis/array-api/issues/621


add white border to top level elements

Looks good! Also it seems to not affect pdf generation?

no it shouldn't affect the pdf gen since it's only in the css. also thoughts on making it transparent?


Update documentations and setups to Python 3.9

The python minimum support was bumped to 3.9 in https://github.com/openxla/iree/pull/14810 This is a follow-up to update other documents and setups to Python 3.9.
Fixes https://github.com/openxla/iree/issues/14863

I keep getting failures on pytype check; I can't reproduce it locally. Can I get some eyes from someone or someone can help fix it?
Checking .py files in integrations/.*
ninja: Entering directory `.pytype'
ninja: error: build.ninja:13: multiple rules generate /home/runner/work/iree/iree/.pytype/pyi/setup.pyi

Computing dependencies
Analyzing 2 sources with 0 local dependencies
Leaving directory '.pytype'

One or more pytype checks failed.
You can view these errors locally by running
  ./build_tools/pytype/check_diff.sh main
Error: Process completed with exit code [12](https://github.com/openxla/iree/actions/runs/6018714036/job/16327379675?pr=14860#step:6:13)3.

I keep getting failures on pytype check; I can't reproduce it locally. Can I get some eyes from someone or someone can help fix it?
Checking .py files in integrations/.*
ninja: Entering directory `.pytype'
ninja: error: build.ninja:13: multiple rules generate /home/runner/work/iree/iree/.pytype/pyi/setup.pyi

Computing dependencies
Analyzing 2 sources with 0 local dependencies
Leaving directory '.pytype'

One or more pytype checks failed.
You can view these errors locally by running
  ./build_tools/pytype/check_diff.sh main
Error: Process completed with exit code [12](https://github.com/openxla/iree/actions/runs/6018714036/job/16327379675?pr=14860#step:6:13)3.

Any "ninja: error: build.ninja:13: multiple rules generate" style error from pytype can be ignored. It is buggy with our Python/CMake/etc. setup.

I see, thanks! Can you help land the PR?

I see, thanks! Can you help land the PR?

I think you should be able to merge yourself (the pytype check should be non-blocking)... it at least doesn't warn me that I'm using admin powers when I click the squash and merge button myself :P


Load dicts and lists as JSON objects

@aaronsteers I know you got the SDK migration to the SDK in-progress but this was a quick fix of this issue I also noticed a while ago in target-snowflake.


Newly added disks are not discovered until exporter is restarted

Extending on https://github.com/prometheus-community/smartctl_exporter/issues/128, the exporter currently does not scan for devices after its initial startup - see https://github.com/prometheus-community/smartctl_exporter/blob/895bf1eeb3487b118ff4aa2de94aac21f0e146fa/main.go#L125.
I propose to add such functionality at least in the sense to scan for new devices periodically and add them to the list.
Also removing devices which are not present anymore might make sense, others might argue that this carries some information in itself.
But I believe the exporter should be able to run and always return data for the current list of devices installed in the system.

Workaround that we use in prod #139

Workaround that we use in prod #139

Thanks @k0ste  for helping with the issue and for cleaning up that systemd unit.
I am still wondering if a PR with (configurable) rescan interval to not having to restart the whole exporter would be accepted?
Maybe (:blush:) if an optional rescan is implemented this could also cover the use-case to not exist if there are no devices
(https://github.com/prometheus-community/smartctl_exporter/issues/128)
^^ @SuperQ

@frittentheke why not, if PR will be 😇


Missing reference on Senticnet.data

Hi Sudipta,
I encountered the error shown below while trying your code:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-07c1ea415ede> in <module>()
----> 1 from prepare_data.preprocess_csv import tokenize_csv_file, extract_sentic_concepts_and_scores_csv
      2 import config
      3
      4 import os

/home/niyan/SemEval17-05-kar/prepare_data/preprocess_csv.py in <module>()
     12 from concurrent import futures
     13 from shutil import copyfile
---> 14 import senticnet
     15 import re
     16

/home/niyan/SemEval17-05-kar/prepare_data/senticnet.py in <module>()
----> 1 import data
      2
      3
      4 class Senticnet(object):
      5     """

ImportError: No module named data

Seems that your code in senticnet.py imported an unknown resource named data.
Any solutions for that ?

I just came across the file senticnet_db.py. Is it the data actually?

Yes. The data is saved as a python dictionary.
Sorry for late reply. Somehow missed it.


TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters

index.js
const { GoogleSpreadsheet } = require('google-spreadsheet')
const creds = require('./client_secret.json')
async function accessSpreadsheet () {
  const doc = new GoogleSpreadsheet('ID123213213123123123213')
  await doc.useServiceAccountAuth(creds)
  await doc.loadInfo()
  const sheet = doc.sheetsByIndex[0]
  await sheet.addRow({ name: 'Larry Page', email<EMAIL_ADDRESS>})
}
accessSpreadsheet()

Error:
(node:36546) UnhandledPromiseRejectionWarning: TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
    at new ClientRequest (_http_client.js:140:13)
    at Object.request (https.js:309:10)
    at RedirectableRequest._performRequest (/Users/akyl/sheet-demo/node_modules/follow-redirects/index.js:169:24)
    at new RedirectableRequest (/Users/akyl/sheet-demo/node_modules/follow-redirects/index.js:66:8)
    at Object.wrappedProtocol.request (/Users/akyl/sheet-demo/node_modules/follow-redirects/index.js:307:14)
    at dispatchHttpRequest (/Users/akyl/sheet-demo/node_modules/axios/lib/adapters/http.js:179:25)
    at new Promise (<anonymous>)
    at httpAdapter (/Users/akyl/sheet-demo/node_modules/axios/lib/adapters/http.js:21:10)
    at dispatchRequest (/Users/akyl/sheet-demo/node_modules/axios/lib/core/dispatchRequest.js:52:10)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
(node:36546) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:36546) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I think maybe there is something up with a weird document ID, that I had not encountered in my testing. Can you share the document ID with me? (you can email to<EMAIL_ADDRESS>if you prefer)

@theoephraim, Opened you access

Thanks for sharing it!
Ok I so I fixed the encoding issue, will deploy that and publish to npm shortly. You'll need to run npm i google-spreadsheet@latest --save - verify you get version 3.0.3
But I see another issue which is that it is inserting rows strangely - shifted over many columns rather than starting at the first column. I've been trying to figure it out and it looks like it may have something to do with some data validation rules. When I delete all those dropdowns you have in empty rows near the top of the sheet, it all works as expected. This makes me think it's something with how google is handling it and unfortunately not within my control. Maybe I'll throw a warning or something though when that happens


HMI SoC is inaccurate on 45/55kwh ID.3

This calculation seems to be inaccurate on the pure models.
https://github.com/nickn17/evDash/blob/ad4c1522bd5018f0b21e61c7bbc5d09af14db81c/src/CarVWID3.cpp#L315
Also, batModuleTempCount is 16 and cellCount is 96 on the pure model.
Basically vw just removed one battery module from the 58/62kwh version.

The biggest differences are above 50%.
This is what I see in the car with OBD:
Car reports 100%, battery BMS SoC is at 86,4% with EvDash new formula it's 89,38%
At 76%, BMS is at 69,2% when evDash would be: 70,3
At 51%, BMS is at 50%, evDash: 49,11%
At 18%, BMS is at 22,8%, evDash: 19,02%
The lowest SoC I was able to record with OBD is 11% when the BMS SoC was at 16%, evDash: 11,5
Unfortunately these numbers doesn't even fit on a slope:
https://www.wolframalpha.com/input?i=plot+points[(16%2C+11)%2C+(22.8%2C+18)%2C+(50%2C+51)%2C+(69.2%2C+76)%2C+(86.4%2C+100)]
I measured these numbers at very different time, so maybe temperature, SoH or other factors could affect the calculation.
The best formula I was able to figure out is this: y = x * 0,505-9,0947
This fits better, but still not perfect.


Delete button match the operation - 33

[Auto generated]
Number: [#33]

hive-claim-manager(EajqE)[PR 33]: Closing issue for PR: Delete button match the operation.
PR was closed.


Incomplete instalation

Install the go correctly and execute the evilgnix2 and when it loads I get the following message:
I want to test it locally first how could I configure those variables to test it in local mode !!!! use Linux Debian. thanks for the support
[21:34:54] [inf] loading phishlets from: ./phishlets/
[21:34:54] [inf] redirect parameter set to: hv
[21:34:54] [inf] verification parameter set to: wp
[21:34:54] [inf] verification token set to: 4524
[21:34:54] [inf] unauthorized request redirection URL set to: https://www.youtube.com/watch?v=dQw4w9WgXcQ
[21:34:55] [inf] loaded phishlet 'amazon' made by @customsync from 'amazon.yaml'
[21:34:55] [inf] loaded phishlet 'facebook' made by @mrgretzky from 'facebook.yaml'
[21:34:55] [inf] loaded phishlet 'linkedin' made by @mrgretzky from 'linkedin.yaml'
[21:34:55] [inf] loaded phishlet 'outlook' made by @mrgretzky from 'outlook.yaml'
[21:34:55] [inf] loaded phishlet 'reddit' made by @customsync from 'reddit.yaml'
[21:34:55] [inf] loaded phishlet 'twitter-mobile' made by @white_fi from 'twitter-mobile.yaml'
[21:34:55] [inf] loaded phishlet 'twitter' made by @white_fi from 'twitter.yaml'
[21:34:55] [war] server domain not set! type: config domain
[21:34:55] [war] server ip not set! type: config ip <ip_address>

Its installed correctly, now you just need to finish configuration of your Evilginx2 instance by setting up FQDN and IP for your host.

Check readme here, on main project page.


Updated editors list

Added both Brackets and Visual Studio Code to the editors list.

You added links to awesome editors - not links to lists about those editors. From the readme:

A curated list of awesome lists


Added Missing Semester in computer science

Added a new resource in Computer Science and Interview Prep

Thanks for contributing 🎉


Reassigned TODO(spapini)s.

This change is

Codecov Report
Attention: Patch coverage is 92.30769% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.58%. Comparing base (f787197) to head (7dc7f0d).

Files with missing lines
Patch %
Lines

crates/prover/src/core/backend/simd/circle.rs
75.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #833   +/-   ##
=======================================
  Coverage   92.58%   92.58%
=======================================
  Files          89       89
  Lines       12017    12010    -7
  Branches    12017    12010    -7
=======================================
- Hits        11126    11120    -6
+ Misses        784      783    -1
  Partials      107      107

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


[WIP] Chipping away at modernizing the Readme.md

@swederik working on that penance for my earlier accidental merge 🙏
Let me know if anything in here seems off, or if you'd like to see anything added.

Coverage remained the same at 3.833% when pulling 4768758f612e1744bc9e84182e5abbf5cf4768ae on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling 074c012323786744e45415f82a21582f65689923 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling 8f06dde09839ea12ca7c97ff66630f52f4a319e6 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling b5f1595d5ecbb021efcdb6640efc5d49751e3a08 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling b8d4c5d0a13cf5d055aaeba1d0e6cae5cc68a5dc on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling f469f4f6510aab884d5cb02105ab4f65a4b7f6f3 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling d5d45a4c412abca9d708b7b7d48bd8f5f5f26a76 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling e0a85b1dfad09cae76f47dc7629e3eb03c70135c on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling aca0daa782453ce5c4b02b1fa942a160ece2e1f4 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

@swederik you can see the latest version at this URL:
https://github.com/dannyrb/cornerstoneTools/blob/aca0daa782453ce5c4b02b1fa942a160ece2e1f4/README.md
I'm curios to hear your thoughts on:

Section ordering
Moving backlog to "tracked issues" (and then removing the backlog section)
Any other comments, concerns, or suggestions?

Hope I'm on the right track.

Coverage remained the same at 3.833% when pulling 12e963e6edad21fe87ef23fd7c9f7ef05f8c1be9 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Coverage remained the same at 3.833% when pulling b4e90565f22841b40e7fe30320ea3a9a3bc59eef on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Really sorry about all of these "coveralls" notifications. The only good way to preview a layout is to make a commit and observe the changes.
Latest can be found here: https://github.com/dannyrb/cornerstoneTools/blob/b4e90565f22841b40e7fe30320ea3a9a3bc59eef/README.md
Bumped to 4 per row to allow for easier viewing on mobile.

This looks awesome to me! I also love how the git branch is marked as a chore :-)
Did you try Atom to preview the github-flavoured markdown? I also want to make coveralls less verbose.

Haha, my org uses chore, feature, and bug to prefix branches. They tend to align well with describing a single "story".
Good call out on using Atom! I actually use VS Code, but your comment reminded me to do some digging for a plugin: https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
👍  Thanks (:
I intend to:

Add remaining GIFs
Spellcheck
Misc. tidying

And then I'll @mention you to see if we're good for a PR.

Coverage decreased (-0.04%) to 3.795% when pulling b88229203fce26c8ef2649cb86745edd387a3b76 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

@swederik this should be ready for review.

Coverage decreased (-0.04%) to 3.795% when pulling bff24f1ef9ac5cb8e90a4c2756f062192e9f01a3 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.

Looks good to me! Shall we merge it?

Going to :shipit:
I'll likely make another quick PR to update image sources to use relative paths. Should make the change to an org easier.
Please feel free to queue up any documentation items you'd like to see. I'm starting to work on a hit list that prioritizes informing contributors/extenders.

Coverage decreased (-0.04%) to 3.795% when pulling aff5f52d3159968d2ea1e413675994171d65f7a3 on dannyrb:chore/make-readme-more-contributor-friendly into 8f8ddd2386e3b0d04e248194e5a12b2e1f7c8a4e on chafey:master.


about test 3 Gpu with ipex

I try to test two gpu with following link:
https://github.com/intel-analytics/ipex-llm/blob/main/python/llm/example/GPU/Deepspeed-AutoTP/run_qwen_14b_arc_2_card.sh
If I want to test three gpu, what should I do.

Hi, @K-Alex13 , as we introduced in our readme, you could change NUM_GPUS to the number of GPUs you have on your machine.
But considering that the shape of the linear layer is divided according to GPU number during AutoTP, 3 GPUs may not work. It may be better that you use 2 or 4 GPU to run AutoTP, or you could refer to our pipeline parallel methods to use 3 GPU (https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/GPU/Pipeline-Parallel-FastAPI, https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/GPU/Pipeline-Parallel-Inference)


Checkpoints get deleted on recovery

I set CheckpointSettings.RemoveOutdated, LogDevice.recoverDevice , ObjectLogDevice.recoverDevice  and FasterKV.tryRecoverLatest all to false. Than i recover a checkpoint that is a snapshot. Now how do i get FasterDb to stop deleting the recovered checkpoint snapshot or overwriting it? Also everytime i create a snapshot the old checkpoints get deleted as well. How do i fix this?
_logSettings = new LogSettings()
{
    LogDevice = new ManagedLocalStorageDevice(Path.Combine(storePath, "LOG"), recoverDevice: false, osReadBuffering: true),
    ObjectLogDevice = new ManagedLocalStorageDevice(Path.Combine(storePath, "DATA"), recoverDevice: false, osReadBuffering: true),
    PageSizeBits = 9,
    MemorySizeBits = 21,
    SegmentSizeBits = 21,
    MutableFraction = 0.1,
    ReadCopyOptions = new ReadCopyOptions(ReadCopyFrom.AllImmutable, ReadCopyTo.MainLog),
    ReadCacheSettings = new ReadCacheSettings()
    {
        PageSizeBits = 21,
        MemorySizeBits = 30,
    },
};
_checkpointSettings = new CheckpointSettings()
{
    CheckpointManager = new DeviceLogCommitCheckpointManager(
        new LocalStorageNamedDeviceFactory(),
        new ConstructCheckpointNamingScheme(storePath)),
    RemoveOutdated = false,
};
Store = new(
    1L << 20,
    _logSettings,
    _checkpointSettings,
    serializerSettings: new SerializerSettings<byte[], byte[]>()
    {
        keySerializer = () => new ByteArrayBinaryObjectSerializer(),
        valueSerializer = () => new ByteArrayBinaryObjectSerializer(),
    },
    comparer: new ByteArrayFasterEqualityComparer(),
    tryRecoverLatest: false);
SessionPool = new AsyncPool<ClientSession<byte[], byte[], byte[], byte[], Empty, ByteArrayFunctions>>(
        _logSettings.LogDevice.ThrottleLimit,
        () => Store.For(new ByteArrayFunctions()).NewSession<ByteArrayFunctions>());

If you create your own DeviceLogCommitCheckpointManager then you need to set removeOutdated to false in its constructor.


problems when the native title bar is disabled

Info:

OS: windows10

Logseq ver: v0.9.10

Plugin ver: v2.2.6

Theme name: Awesome Styler Solarized default

[ ] ⚠ Do i have issue with DISABLED my custom.css?

Description:
when the native title bar is disabled,  the close, restore and minimize buttons disappeared. And the left bar button didn't work once the logseq window is restored, ever after it backto maximized state.
To Reproduce:
disable the native title bar ang restart logseq
Expected behavior:
the close, restore and minimize button disappeared.
Screenshots

There should have three buttons. When the awesome ui is disabled, it works fine.

it same the same problem in #66

Actually you can kinda click them, at least for me they seem to be moved down below the tab bar:

but yeah, would be nice if fixed.

Either minimize/maximize/close buttons should be completely removed or they should appear.
Right now they are occupying the space but are not really visible this making the right sidebar toggle button 'floats' somewhere in middle rather than snapping to right side of screen .

fixed!


move to humble

humble is officially out, this package needs to be supported..

builds fine on jammy, no action needed


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_017hpufh5q/clone/recipe/meta.yaml:1: missing_python_build_tool: Python packages require a python build tool such as setuptools.
ERROR: /tmp/abs_017hpufh5q/clone/recipe/meta.yaml:1: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_017hpufh5q/clone/recipe/meta.yaml:1: missing_python: For pypi packages, python should be present in the host and run sections. Missing in host
ERROR: /tmp/abs_017hpufh5q/clone/recipe/meta.yaml:17: uses_setup_py: python setup.py install is deprecated.
ERROR: /tmp/abs_017hpufh5q/clone/recipe/meta.yaml:31: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_017hpufh5q/clone/recipe/meta.yaml:40: incorrect_license: The recipe's about/license key is not an SPDX compliant license or license exception, closest match: 0BSD
ERROR: /tmp/abs_017hpufh5q/clone/recipe/meta.yaml:44: http_url: http://python-colormath.readthedocs.io/en/latest/ is not https
Errors were found


refactor(frequency): ♻ rewrite ClosestPitch record into a class

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1017

Relevant Lines:
1017

💛  - Coveralls


Random, minor typo fixes and grammatical cleanup

r? @marcelduran?
First: a huge thank you for creating and open-sourcing this wrapper library!  We're really starting to use it heavily at Mozilla.
Second: if you don't mind these typo and grammatical fixes, I can do another sweep, later.
Cheers!

Oh crap; I broke tests?  Sorry, not cool, if so.  I'll look into how to fix - my bad (could use pointers, if that's the case).

Thanks, @marcelduran!


[Jtreg/FFI] Enable the test suites in JDK21

The changes enable all FFI test suites except
a few excluded tests in JDK21 given everything
specific to JEP442 (except the union support)
has been implemented, as specified at
https://github.com/eclipse-openj9/openj9/issues/16951.
Fixes: #eclipse-openj9/openj9/issues/17399
Signed-off-by: ChengJin01<EMAIL_ADDRESS>

There are two test suites excluded for the time being till these issues are resolved:
[1] TestByteBuffer.java (waiting for the backport fix on AIX from OpenJDK)
[2] TestHFA.java (requested a fix for corner cases on pLinux from libffi)

The FFI test suites were verified with the latest nightly builds on all supported platforms at
https://openj9-jenkins.osuosl.org/job/Grinder/2790/console (jdk_foreign)
https://openj9-jenkins.osuosl.org/job/Grinder/2799/console (jdk_lang)

Reviewer: @llxia
FYI: @ShelleyLambert, @tajila, @pshipton


The problem of synchronization.

Sometimes players don't see models of each other. However, they can still fight each other.

They see their own model ? If yes, I don't know what can be the issue, since it is related to the networking of FiveM/gtaV. And I think I remember having the same problem once, before even starting vRP so...

Yes, they see. We tried to find a correlation between our actions and a problem, but it didn't help to understand.

I think it's because the server doesn't notify all the clients, I don't know how the function works but it should emit a signal for all the listeners (using the design pattern observer)

We tested it on a vanilla fivem and everything was fine with the synchronization of the models. Maybe this is due to the setting of the standard model for players when they are connected to vrp?

Did you try to go to a skinshop while invisible to others, near them changing clothes ?

Dude, I have the same problem but if i change my skin at skinshop i'm visible ^^ i think the problem is the skin

When using skinshop, player becomes visible to all.

Okay, I will do an auto-set of the skin every minutes for each client to fix the issue, until I know a better way.

Added now, tell me if the problem persists.

Ok ;)

The problem still persists.

This is strange, I will need more testing to find a fix.

Does this happen only when an user didn't customize his skin, the first time, or even after customization ?
Or is it only a problem related to the default skin, set the first time ?

Its the default skin the problem when i have customize my skin, directly the player see me

Try to update the cfg/player_state.lua (only the "for" part), and delete your user data to test the default skin visibility.

Does this happen only when an user didn't customize his skin, the first time, or even after customization ?
Or is it only a problem related to the default skin ?

The problem is only if the player has not set up the skin after the first connection.

Even after the last update of cfg/player_state.lua ?

Oh, we missed this update. Unfortunately, everyone went to bed and I can check only tomorrow.

Anything new ?

It seems now the problem is solved.


delete-page

Fixes: #113
Type of change

[x] My code follows the code style of this project.
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)

Checklist:

[x] My code follows the code style of this project.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.

Screenshots
UPDATED SCREENSHOT

@swapnilsparsh Please review my PR.


Review JSDoc

I have added some documentation comments to the code here which gets deployed to gh-pages. It would be great if the blanks in my understanding of the different functions and classes could be filled in. Is this something you could have a look at @theo-armour? Here's a link to JSdoc documentation if you haven't used it before.

@AntoineDao
Looks good. Will comment in a few hours

No rush :smile:


SNOW-781552: Add getter and setter methods to Session class

Add the following methods to the Session class:

[ ] .getCurrentAccount() -> Optional<String>
[ ] .getCurrentWarehouse() -> Optional<String>
[ ] .getCurrentRole() -> Optional<String>

These methods can be used to change the db/role/warehouse at different stages of a job.

[ ]  .setDatabase(database: string) -> void
[ ]  .setRole(role: string) -> void
[ ]  .setSchema(schema: string) -> void
[ ]  .setWarehouse(warehouse: string) -> void

Each should return the string of the corresponding key. For reference, here is the implementation in the Python SDK: https://github.com/snowflakedb/snowpark-python/blob/main/src/snowflake/snowpark/session.py

Can i have a look at this one too?

You can assign this one also to me.
Thank you


Fix typo in comment at top of Encode.purs

A simple fix of a typo in the comments. Should have no impact whatsoever on functionality.

Thanks @JamieBallingall!


coloured Reply, Retweet & Favorite icons?

In the example screenshot I both Retweeted & Fav'd the message/tweet but atm my actions on the message appear at:
a the top: [retweet icon] bulletbites/Sealion.
b right bottom: [white coloured fav icon]
c bottom: [bolded hollow fav icon], retweet icon NOT bolded.
(see below)

Suggestion: Keeping track of when I "fav'd" (or retweeted) the message doesn't necessarily be showed as extra information, it can be inferred by the timestamp from the TL. I Would suggest coloured signifiers for the Reply, Retweet & Favorite icons at the bottom of the message (similar to how twitter shows it).
You'll free up screenspace at the top (a) and right bottom (b) per message too.
(see below)

In general as I understand it AndStatus now throws each action back into the "Everything Timeline" which is a bit redundant in my opinion. So if I fav'd & retweeted a message it will show up with a total of 3 times the original message (original message, bulletbites fav'd message & bulletbites retweeted message). To free up the TL simply icons could highlight your actions without the need to show me again the stuff I fav'd & retweeted in the timeline.

Also keep in mind to keep the icons used similar in form and colour as the webclient version. The webclient for example still uses the vastly superior star icon to the heart icon for "favs" in yellow.

So we have these requests in your posts above:

Colored icons
Remove duplicated Favorited icon on the right side, when row with buttons is shown.
Add an option to replace Heart with Star icon.
Bold Reposted icon if I reposted the message.
?!

hope this shows what I mean:

In order to colorify icons, we can use this solution: https://snow.dog/blog/how-to-dynamicaly-change-android-toolbar-icons-color/

Reblog and Favorite icons-buttons below a message are shown tinted if our account reblogged / favorited this message
No duplicated Favorited" icon to the right.

released in v.26.02

Looks promising. I wonder if those icons when activated shouldn't be more visible then adding a blue coloration to it with the Tinted Drawables feature. I could provide actioned .png if you like? I'll wait on AndStatus 26.02 and give you input.

Pretty neat implementation, the blue colored actions do stick out enough.

@bulletbites Thanks,
What's pleasant here is that in order to have colored icons we didn't have to actually create them: both black and white icons can be "tinted" (colored) on demand by simply changing a value of an XML attribute... And this "tint" is consistent with how Android system itself does this e.g. in Settings, in Navigation drawer...


unable to start substitute

i start to jailbreak and my phone either restarts or i get this error

iOS Version: 13.3
iOS Device: iphone 8(10,4)
unc0ver Version: 4.2.1

Place an "x" between the brackets if true:

[ ] this is a bug others will be able to reproduce
[ ] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x ] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.
shown in screenshot

having the same problem to iPhone 11 Pro Max 13.3

happens when i try to re-jailbrake

happens when i try to re-jailbrake

yeah forgot to put re jailbreak in the original post my phone died i installed the new version of unc0ver and this error started to appear

Is happening to everyone who tries Re-Jailbrake Defenetly Unc0ver issue

If possible, maybe try rootfs-big? I am not experiencing the problem, and unc0ver doesn’t let you re-install substitute, so I don’t have any suggestions other than that.


Package individually not working with pipenv modules

I have a service where each function is a module using pipenv to manage dependencies for each module. The plugin doesn't generate requirements.txt using pipenv unless I have a Pipfile in the root of the service, even if I have them in the modules. However, when I do that, the plugin generates a requirements.txt for each module using the root pipfile instead of the pipfile in the module itself.
I think the issue might be in the function "pipfileToRequirements()" in pipenv.js. It always passes the service root to the spawnSync call.
Packaging seems to work if I manually generate the requirements.txt in each module prior to sls deploy/package. Though there is still another issue where serverless generates two zips per function. One zip is named the lambda function name specified in serverless.yml that follows include/exclude but otherwise would contain the entire service. The other is a zip named the lambda function after it is deployed which I believe is the one generated by this plugin. My understanding according to the docs is there should only be 2 zips?
I'm not sure if these two issues are related to each other nor if the second issue isn't really an issue and is just how it works currently, so I'd like some insight into this if possible.
I've created a reproduction repo for this here:
https://github.com/username-dot-com/sls-python-test

Good catch. That was probably over looked in the package individually implementation. cc @cgrimal

It would be nice if this were documented somewhere.
Tried to setup the plugin with pipenv yesterday for quite a while until I found this issue.

This is still an issue and should be labelled/treated as a bug, it is not documented nor intuitive that individually: true doesn't work with Pipenv/Poetry modules.

Is it already fixed? I took a long time searching for a solution until I find this issue. I was suspecting that Pipfile was not supported in modules.

It seems to not be fixed, but we would definitely be happy to accept a solution/improvement PR for this. 💯


Irrelevant interaction with third party in the async application

You can take any number of sessions from scoped session object, but all requests will be queued at the psycopg2 level. To avoid this you need to use an asynchronous client, such as aiopg or asyncpg. This way you can use SQLAlcgemy but only as a query builder and only if you’ll define your data model as a scalar model but not as a declarative.
https://github.com/sergio-ivanuzzo/idewave-core/blob/80786793236d70cb3affa16cdf1f241d8a07d7e5/DB/Connection/BaseConnection.py#L27

Thanks, @markel-kalugin for your comment! I will try to investigate this issue. In case, if you have some tips I will be grateful for them :)

You can use GINO (built on top of SQLAlchemy) instead of pure SQLAlchemy and it will resolve all async issues

You can use GINO (built on top of SQLAlchemy) instead of pure SQLAlchemy and it will resolve all async issues

GINO is a good way but for very simple operations because it doesn't work with the declare model only with the scalar. In other words, you couldn't declare tables as the classes with references and work with the full of the object model, you'll use SQLAlchemy only as a query builder.

Thanks, @markel-kalugin for your comment! I will try to investigate this issue. In case, if you have some tips I will be grateful for them :)

Shortly Python has a big problem with async ORM. A few months ago I've started to create async ORM adapter based on the SQLAlchemy and GINO for work with the full object model. I'm not sure I need GINO for that but I use it only as an async wrapper.
Hope after a few months I'll release something like my own solution or as a part of GINO and let you know. Maybe at that time, this issue will be actual.

@markel-kalugin yes, please, let me know about your solution.


handle missing definition gracefully

if the buildsheet has a ${X} with no associated defined "X", it throws an ada exception.  This needs to be handled cleaner with better explanation.

will be available on release 1.57