text:
Add stress test

Adds a stress test that adds many objects that should help testing any new batching implementation
Adds benchmarking to be able to reproducibly compare different imlpementations (uses the same code, just with ficed numbers)

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@ac682ef). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #139   +/-   ##
=======================================
  Coverage        ?   97.08%
=======================================
  Files           ?       65
  Lines           ?     6447
  Branches        ?        0
=======================================
  Hits            ?     6259
  Misses          ?      188
  Partials        ?        0

Flag
Coverage Δ

unittests
97.08% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

authors: codecov-commenter dirkkul


text:
Apply light / dark theme to custom components

Address https://sendbird.atlassian.net/browse/AC-1262
Most of color variation is being handled by UIKit side internally, but some of custom components(e.g. MessageBody) which have been created in the widget side are not. So I brought styled-component's ThemeProvider to apply the color variation based on the theme setting.
Light

Dark

How to set the theme from <ChatAiWidget/>?

@luke-cha We'll get the theme info from the server directly so user doesn't need to set the theme via ChatAiWidget component prop.

source: gharchive/pull-request

authors: AhyoungRyu luke-cha

repo: sendbird/chat-ai-widget

license: MIT

license_type: permissive

license_source: github-api


text:
v3.14.4

[v3.14.4] (May 02, 2024)
Features

Added suggestedRepliesDirection global option which serves as vertical/horizontal scroll option for SuggestedReplies

How to use?

<App
  appId={appId}
  userId={userId}
  uikitOptions={{
    groupChannel: {
      // Below turns on the `SuggestedReplies` feature (see v3.8.0 release changelog). Default value is false.
      enableSuggestedReplies: true,
      // Below changes scroll direction from horizontal to vertical.
      suggestedRepliesDirection: 'vertical'
    }
  }}
/>

Added a new ui component Header (import Header from '@sendbird/uikit-react/ui/Header') which replaced all existing header components

Fixes

Fixed a bug where suggested replies are incorrectly displayed when showSuggestedRepliesFor is set to 'last_message_only'

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1265

authors: liamcho sendbird-sdk-deployment

repo: sendbird/sendbird-uikit-react


text:
Legacy Newsletter Sunset Release Note

Description of the change:
Reason for the change:
Link to original source:
@ksigler7

Hello @Whatthefoxsays,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

authors: Whatthefoxsays thinkingserious

repo: sendgrid/docs


text:
Update ip-access-management.md

Added IP Access Management video

@iritch42 - the build is struggling in general today. we'll for sure get this merged in for hacktoberfest though

Hello @iritch42,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hello @iritch42,Thanks again for the PR!                                         You have earned 2 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at dx+hacktoberfest2018@sendgrid.com.                                         Thank you and Happy Hacktobering!                                         Team SendGrid


text:
Receive attachments using SendGrid

Issue Summary
Hi, I'm new to SendGrid, how can I receive attachments in SendGrid inbound phase?
Steps to Reproduce

I tried using the Raw MIME and decode it using base64

is there a better way?
Technical details:

PHP Version: 5.6, 7.0, 7.1, 7.2 (as of May 17, 2018)

Hello @alvianzf,
We currently have examples in Python and Node.js. I hope that helps!
With Best Regards,
Elmer

Thank you very much
On Thu, May 16, 2019 at 10:18 AM Elmer Thomas notifications@github.com
wrote:

Hello @alvianzf https://github.com/alvianzf,
We currently have examples in Python
https://github.com/sendgrid/sendgrid-python/tree/master/sendgrid/helpers/inbound
and Node.js
https://github.com/sendgrid/sendgrid-nodejs/tree/master/packages/inbound-mail-parser.
I hope that helps!
With Best Regards,
Elmer
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sendgrid/sendgrid-php/issues/838?email_source=notifications&email_token=AI2A6NF57VUBKACDOL4BLFDPVTHB7A5CNFSM4HMMOIB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVQRFAY#issuecomment-492900995,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI2A6NFEIXTHMJQJTORTHH3PVTHB7ANCNFSM4HMMOIBQ
.

source: gharchive/issue

authors: alvianzf thinkingserious

repo: sendgrid/sendgrid-php

license: mit

license_source: bigquery


text:
Implement Caching

I have added @ngneat/cashew to the package list, but there is an interaction with the Auth-0 interceptor that is causing the authorization headers to not be added to the requests. Should add that back once the interaction is cleared up.

wont do

repo: senshikaze/campaigner


text:
Support "codename" repos, update default package versions

Description
Update default version of Sensu Core to 0.27.0
Update default version of Sensu Enterprise to 2.3.1
Update default version of Sensu Enterprise Dashboard to 2.2.1
Update yum and apt repository configurations to support Sensu Core 0.27 packages
Motivation and Context
Per the Sensu 0.27 changelog, package repository configurations need to be updated in order to install Sensu Core 0.27.
Closes #533
How Has This Been Tested?
Existing unit tests and full-stack integration tests pass.
Types of changes

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

Checklist:

[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

As this is marked as a breaking change, I would like to see a document that describes what kind of work needs to be carried out to migrate to the new version.

Thanks for mentioning this @axos88. This change is really better categorized as a new feature. The sensu_service feature removed in #534 is the actual breaking change.

Added a helper method for deriving Sensu package strings on Redhat platforms to ensure cookbook can still install old versions.

repo: sensu/sensu-chef


text:
Sensu2 Vagrantfile cleanup

Pull Request Checklist

Description

Remove files no longer used as well as unused Vagrant box definitions
Related Issue

Part of #901
Motivation and Context

Fix several Vagrant boxes and remove some unused code and files.
How Has This Been Tested?

vagrant up ubuntu1404-agent.
The el6-agent box has issue that is resolved by taking these steps:
vagrant up el6-agent
# error
vagrant ssh el6-agent
sudo su -
yum -y update kernel\*
exit
exit
vagrant reload el6-agent

@ghoneycutt This should help allow at least Ubuntu 14.04 and EL6 to be checked off for #901

@treydock Could you please rebase this off of master and the tests should pass

@ghoneycutt rebased

authors: ghoneycutt treydock

repo: sensu/sensu-puppet


text:
Convenience request for the Processing API

the old functions for building Processing API request body are now static method of the SentinelHubRequest and have more detailed argument parsing/evaluation
they can still be used independently just to build the request body, without instantiating the SentinelHubRequest object

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop-3.0@5770cca). Click here to learn what that means.
The diff coverage is 94.47%.

@@              Coverage Diff              @@
##             develop-3.0    #107   +/-   ##
=============================================
  Coverage               ?   90.2%
=============================================
  Files                  ?      29
  Lines                  ?    2880
  Branches               ?       0
=============================================
  Hits                   ?    2598
  Misses                 ?     282
  Partials               ?       0

Impacted Files
Coverage Δ

sentinelhub/geometry.py
88.95% <ø> (ø)

sentinelhub/download/__init__.py
100% <ø> (ø)

sentinelhub/geo_utils.py
74.19% <ø> (ø)

sentinelhub/sentinelhub_rate_limit.py
98.18% <100%> (ø)

sentinelhub/io_utils.py
77.45% <100%> (ø)

sentinelhub/_version.py
100% <100%> (ø)

sentinelhub/time_utils.py
93.44% <100%> (ø)

sentinelhub/config.py
85.43% <100%> (ø)

sentinelhub/decoding.py
85.33% <100%> (ø)

sentinelhub/download/sentinelhub_client.py
88.46% <100%> (ø)

... and 9 more

Continue to review full report at Codecov.

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

authors: codecov-io iovsn

repo: sentinel-hub/sentinelhub-py


text:
能否提供非压缩版呢

如果,能否提供非压缩版呢,有时间了自己可以看一下代码.
还有一个问题就是用vs和vscode都没智能提示,这一点用起来感觉很不方便,是否考虑定义types以支持vs或者vscode呢?

官网说明里有,但是不能因为这个理由提供非压缩的,如果连这都不懂的人他即使使用了layui的压缩版,也同样保证不了性能.此外,你非常强调简单易用,试了一下,第一很多js没智能提示,第二标签属性像lay-filter等都是无法做到智能提示的,

repo: sentsin/layui


text:
[Feature] Could you please add a README or some other instruction with all dependencies and how to run training?

I'm trying to reproduce results but I am finding no documentation for what packages are required or which arguments to give GWCNN_gpu.py for training, other than "usage: GWCNN_gpu.py [input PDB/mmCIF] [output name]"  but is this for training or inference? is the input PDB a folder of PDBs or just one? what format is the output in?

First of all you will need to ensure git lfs is installed - this is needed to download the pre-trained CNN model:
sudo apt-get install git-lfs
Then clone the repo:
git clone https://github.com/seoklab/GalaxyWater-CNN.git
cd GalaxyWater-CNN
git lfs install

This will grab the torch models that are not stored directly on github
Then to create the environment is easy:
conda create -n gwcnn python=3.9
conda activate gwcnn
pip install torch torchvision scipy

Then to run either apo or ligand bound you should only need the GWCNN_gpu.py script
python GWCNN_gpu.py input.pdb output
This will produce mutliple files at different scorecut values - the outputs will be in pdb format.

authors: MKCarter l-Dr-MR-l

repo: seoklab/GalaxyWater-CNN


text:
Decision making

Reference Issues/PRs
#42
What does this implement/fix? Explain your changes.

Decision-Making program added

Any other comments?

Codecov Report

Merging #62 (1c3d5a6) into dev (0a76408) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev      #62      +/-   ##
==========================================
+ Coverage   96.34%   96.40%   +0.06%
==========================================
  Files           2        2
  Lines         191      194       +3
  Branches       22       22
==========================================
+ Hits          184      187       +3
  Misses          4        4
  Partials        3        3

Impacted Files
Coverage Δ

nafas/params.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

authors: codecov-commenter sepandhaghighi

repo: sepandhaghighi/nafas


text:
Bucket URL does not always contain S3

On line 210 of the s3iam.py file you state:
TODO: bucket name finding is ugly, I should find a way to support
both naming conventions: http://bucket.s3.amazonaws.com/ and
http://s3.amazonaws.com/bucket/
This is true but what i always do is create a bucket called: mybucket.example.com and then the url is: mybucket.example.com.s3.amazonaws.com or s3.amazonaws.com/mybucket.example.com/
But if you create a CNAME like this:
mybucket.example.com. 300 IN CNAME mybucket.example.com.s3-eu-west-1.amazonaws.com.
You are able to address your content in your bucket like this: http://mybucket.example.com/repodata/....
So it would be great of you build support in for that usage as well.

I think this would be covered in #30, with a syntax like s3://mybucket.example.com/
If the bucket name has dots in them we have to use path-style URL instead of virtual-hosted–style URL (see here for the differences), otherwise we'll get TLS validation errors. There's a more detailed explanation on the topic.
In any case we wouldn't be using the CNAME entry, because it would cause TLS issues (connecting to mybucket.example.com and getting a *.s3-eu-west-1.amazonaws.com certificate).


text:
Plan - dat_container_runtime

todo

[ ] Plan - dat_container_runtime

@input :package: discord_thread
[x] Discussion - 2h
[x] Understanding the code - 4h
[x] Repaired ana-test and bob-test fake connection - 2h
@output :package: dat_container_runtime_v0.0.1

[ ] Update - dat_container_runtime

[ ] Get rid of budo and browserify
[ ] Implement shortcuts described here discord_msg
[ ] Save the state of all vaults
[ ] Implement settings for devtools-vault which display ana and bobs data/stats/communication and gives controls

tasks - 2024.06.04

Plan - dat_container_runtime

@input :package: discord_thread
Discussion - 2h
Understanding the code - 4h
Repaired ana-test and bob-test fake connection - 2h
Logged tasks - 10min
@output :package: dat_container_runtime_v0.0.1

tasks - 2024.06.05

Update - dat_container_runtime_v0.0.1

Setup the localStorage through MessageChannel - 3h
Logged tasks and recorded video - 10min
@output :package: dat_container_runtime_v0.0.2

Worklog
worklog-211

feedback 2024.06.05
I havent looked at the actual code DIFF yet and am waiting for the pull request, so the following feedback is based on the worklog video alone.

and

If the get call in the second screenshot is the same as the function get in the first one, then i wonder what is supposed to happen here.
The .postMessage call does not return anything.
Any potential message that gets send back by the receiver ot the posmessage will be received in the port.onmessage = event => {} function.
So the back and forth is quite a bit more involved then who this what i see here is maybe assumed to work :-)

authors: alyhxn serapath

repo: serapath/task-messenger


text:
Sending base64 encoded image to API server

Hi, thank you for this project. I am trying to access the analyze endpoint that is hosted locally (localhost:5000/analyze) by providing the base64 encoded image. However, the web server does not seem to recognize the base64 encoded image (unless I am missing something).
Request body:
{
  "img_path": "<base64 string of image>"
}

The server returns:
{
    "error": "Exception while analyzing: Confirm that <base64 string of image> exists"
}

Is there something I am missing here? A separate value to signal that I'm sending a base64 encoded image?

Oh you are sending , this should be base64 encoded string.
E.g. data:image/...

Oh you are sending < base64 string of image >, this should be base64 encoded string.
E.g. data:image/...

Oh you're right, that was the problem! Thank you for the swift reply.

authors: kk-min serengil

repo: serengil/deepface


text:
Export ResultSet

I'm using DBeaver 3.8.3 on Linux Mint 18.1
When I try to export a resultset to csv from a PostgreSQL query, it doesn't work and the error message is:
SQL Error [25P02]: ERROR: current transaction is aborted, commands ignored until end of transaction block
The file is not generated.

Can't reproduce.
This error (current transaction is aborted .. ) happens in PostgreSQL AFTER some error occurred. In transactional mode all consequent queries will fail till explicit commit/rollback.
So there must be some real error which broke export.
Please check Error Log view or error log (https://github.com/serge-rider/dbeaver/wiki/Log-files).

Hello! Thanks for your response.
Checked the logs, the problem is when DBeaver tries to do a rowcount:
2017-01-11 12:36:07.001 - Can't retrieve row count from 'SELECT "orders".* FROM "orders" WHERE (extract(month from created_at) = 3 and extract(year from created_at) = 2016)  ORDER BY "orders"."created_at" desc'
org.jkiss.dbeaver.model.exec.DBCException: Error executing row count
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.countData(SQLEditor.java:1731)
at org.jkiss.dbeaver.tools.transfer.database.DatabaseTransferProducer.transferData(DatabaseTransferProducer.java:99)
at org.jkiss.dbeaver.tools.transfer.database.DatabaseTransferProducer.transferData(DatabaseTransferProducer.java:1)
at org.jkiss.dbeaver.tools.transfer.wizard.DataTransferJob.transferData(DataTransferJob.java:96)
at org.jkiss.dbeaver.tools.transfer.wizard.DataTransferJob.run(DataTransferJob.java:65)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.jkiss.dbeaver.model.exec.DBCException: SQL Error [42803]: ERROR: column "orders.created_at" must appear in the GROUP BY clause or be used in an aggregate function
Position: 124
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCPreparedStatementImpl.executeStatement(JDBCPreparedStatementImpl.java:205)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.countData(SQLEditor.java:1713)
... 6 more
Caused by: org.postgresql.util.PSQLException: ERROR: column "orders.created_at" must appear in the GROUP BY clause or be used in an aggregate function
Position: 124
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:161)
at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:155)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCPreparedStatementImpl.execute(JDBCPreparedStatementImpl.java:258)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCPreparedStatementImpl.executeStatement(JDBCPreparedStatementImpl.java:202)
... 7 more
2017-01-11 12:36:07.135 - null
org.jkiss.dbeaver.model.exec.DBCException: SQL Error [25P02]: ERROR: current transaction is aborted, commands ignored until end of transaction block
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:141)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:344)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:708)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1682)
at org.jkiss.dbeaver.tools.transfer.database.DatabaseTransferProducer.transferData(DatabaseTransferProducer.java:113)
at org.jkiss.dbeaver.tools.transfer.database.DatabaseTransferProducer.transferData(DatabaseTransferProducer.java:1)
at org.jkiss.dbeaver.tools.transfer.wizard.DataTransferJob.transferData(DataTransferJob.java:96)
at org.jkiss.dbeaver.tools.transfer.wizard.DataTransferJob.run(DataTransferJob.java:65)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.execute(JDBCStatementImpl.java:345)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.executeStatement(JDBCStatementImpl.java:138)
... 9 more

You can disable this on second wizard page:

Row count is needed only for export progress visualization.

Perfect! Thank you so much!

I also just ran into this, basically every time I tried to order by some column. The problem is that the error messages are wrong. For example...
select
	table_schema
	,table_name
	,column_name

from	information_schema.columns

order by
	table_schema
	,table_name
	,column_name

...gives the error message ERROR: column "columns.table_schema" must appear in the GROUP BY clause or be used in an aggregate function. With different queries I get errors about not being allowed to group by aggregate functions and about certain aliases not being columns.
So it would be great if this could be fixed at some point down the line, and if select row count could be disabled by default until then. :-)

This problem is already resolved in 4.0 (in a more general fashion). DBeaver will rollback current transaction if row count will fail.
Generally converting any custom SQL into SELECT COUNT(*) is tricky. So I don't want to spend too much time on this - as we already have a workaround.

authors: alextakitani oulenz serge-rider

repo: serge-rider/dbeaver


text:
[4.1.2] Context Menu bug of Implementation #1825 [Bug]

Hi,
in #1825 there was a feature request concerning the script editor tab context menue. The feature works (thanks @serge-rider) - but only for newly opened script editors.
If an pre-existing file is opened from local storage, only the orginal context menue without "copy filepath ...." is displayed.

One more request: could you please also add an "Reload file" and "Delete file" context menue entry?
Thanks and regards

It is a bug, thanks for report.
I'll add the same menu (except "Rename" command which can't be easily implemented for external files) in the next version.
Please create separate feature request for Reload/Delete commands.


text:
SQL editor problem

Hello
I am completely new to dBeaver. I am trying to connect to a local Oracle XE 11.2.0.2.0 on my Windows 10 64 bits laptop. Everything seems to work fine with Oracle's SQL Developer. I installed dBeaver with 11.2.0.4 drivers. I can open the database, see it's schemas, even browse the table contents. But whenever I try to open the SQL editor, I get
org.eclipse.core.internal.resources.ResourceException: Resource '/General/Scripts' does not exist.
Am I doing anything wrong or is this a bug?

This seems to be a bug but I can't reproduce it.
Could you post error stacktrace? (open Error Log view in main menu Windows->Show View, double click on error).

Thank you for your answer.
Wow, that was one of the strangest bug squashings I ever saw. This is going to be frustrating for you too.
Because the log was full of all the errors I got when installing and setting up the drivers for Oracle, I decided to empty the log first and then trigger the error again. That was a bad idea: since I emptied the log, the error does not happen anymore. I checked in the dBeaver folders but obviously dBeaver erases the errors immediately from the disc, which makes sense. Sorry, there was maybe a bug, but I won't help you find out where it is. The only thing I can tell you is that I was having a lot of errors because of drivers issues. At first, I thought this bug was part of the drivers issues, but I finally managed to get the right drivers and this error stayed so I thought this was finally a real bug. Maybe it wasn't, maybe it was only dBeaver needing one more exit and restart before fixing everything.

Ok, thanks for report anyway.
I'll close this issue for now. If you (or someone else) will reproduce this (and will have error stacktrace) - please reopen.

Hi. I have the same problem.
!SESSION 2016-10-11 09:31:19.011 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_77
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86_64
!ENTRY org.jkiss.dbeaver.model 4 0 2016-10-11 09:31:44.804
!MESSAGE org.eclipse.core.internal.resources.ResourceException: Resource '/General/Scripts' does not exist.
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2016-10-11 09:31:44.804
!MESSAGE Resource '/General/Scripts' does not exist.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource '/General/Scripts' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:334)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:208)
at org.eclipse.core.internal.resources.File.create(File.java:109)
at org.eclipse.core.internal.resources.File.create(File.java:180)
at org.jkiss.dbeaver.ui.resources.ResourceUtils.createNewScript(ResourceUtils.java:265)
at org.jkiss.dbeaver.ui.editors.sql.handlers.OpenHandler.openEditor(OpenHandler.java:100)
at org.jkiss.dbeaver.ui.editors.sql.handlers.OpenHandler.execute(OpenHandler.java:72)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1266)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1112)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1164)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1160)
at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1883)
at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:5049)
at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:6156)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4708)
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6024)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3767)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.jkiss.dbeaver.core.application.DBeaverApplication.start(DBeaverApplication.java:203)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
!SUBENTRY 2 org.eclipse.core.resources 4 368 2016-10-11 09:31:44.804
!MESSAGE Resource '/General/Scripts' does not exist.

Thanks for details.

authors: davitof serge-rider sschaeckel


text:
pythran dprod.py error

Using linuxmint newest
follow the instruction:
Gather dependencies:

Pythran depends on a few Python modules and several C++ libraries. On a debian-like platform, run:

$> sudo apt-get install libgmp-dev libblas-dev
$> sudo apt-get install python-dev python-ply python-networkx python-numpy

Use easy_install or pip:

$> pip install pythran

then follow this :
Basic Usage
A simple pythran input could be dprod.py:
"""
Naive dotproduct! Pythran supports numpy.dot
"""
#pythran export dprod(int list, int list)
def dprod(l0,l1):
"""WoW, generator expression, zip and sum."""
return sum(x * y for x, y in zip(l0, l1))
To turn it into a native module, run:
$> pythran dprod.py
ERROR:
mint@mint ~/test $ pythran dprod.py
WARNING: Disabling color, you really want to install colorlog.
Traceback (most recent call last):
File "/usr/local/bin/pythran", line 7, in
from pythran.run import run
File "/usr/local/lib/python2.7/dist-packages/pythran/init.py", line 39, in
from pythran.toolchain import (generate_cxx, compile_cxxfile, compile_cxxcode,
File "/usr/local/lib/python2.7/dist-packages/pythran/toolchain.py", line 6, in
from pythran.backend import Cxx
File "/usr/local/lib/python2.7/dist-packages/pythran/backend.py", line 8, in
from pythran.analyses import ArgumentEffects, BoundExpressions, Dependencies
File "/usr/local/lib/python2.7/dist-packages/pythran/analyses/init.py", line 12, in
from .aliases import Aliases, StrictAliases
File "/usr/local/lib/python2.7/dist-packages/pythran/analyses/aliases.py", line 6, in
from pythran.syntax import PythranSyntaxError
File "/usr/local/lib/python2.7/dist-packages/pythran/syntax.py", line 7, in
from pythran.tables import MODULES
File "/usr/local/lib/python2.7/dist-packages/pythran/tables.py", line 3056, in
defaults=(1, None)
File "/usr/local/lib/python2.7/dist-packages/pythran/intrinsic.py", line 138, in init
super(ConstFunctionIntr, self).init(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/pythran/intrinsic.py", line 93, in init
super(FunctionIntr, self).init(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/pythran/intrinsic.py", line 57, in init
[to_ast(d) for d in kwargs.get('defaults', [])])
File "/usr/local/lib/python2.7/dist-packages/pythran/conversion.py", line 86, in to_ast
numpy.bool_, numpy._globals._NoValue)
AttributeError: 'module' object has no attribute '_globals'
mint@mint ~/test $

I have googled two days.
please help me!

can you pip install -U numpy and try again?

Looks like the version of numpy used by Mint (4092a9e160cc247a4a45724579a0c829733688ca) does not have a globals.py file and _NoValue is defined in  init.py.
Just replacing numpy._globals._NoValue by numpy._NoValue in /usr/local/lib/python2.7/dist-packages/pythran/conversion.py should fix the problem.

Yup, could you track the numpy version and add the correct if
numpy.version > ... test somewhere?

It's 11.0, but I think just using numpy._NoValue instead of numpy._globals._NoValue might be sufficient. It seems to work with version 1.11 and above. I'll try with earlier version, but what versions of numpy is Pythran supposed to support?

On Sat, May 27, 2017 at 11:56:59AM -0700, Merlini Adrien wrote:

It's 11.0, but I think just using numpy._NoValue instead of numpy._globals._NoValue might be sufficient. It seems to work with version 1.11 and above. I'll try with earlier version, but what versions of numpy is Pythran supposed to support?

Only last version, but I'll accept your PR if it supports older version
as well :-)

master doesn't need any modifs since it does not seem to be using numpy._NoValue.
I don't see any 0.8 branch  (version on pythonhosted) to fix on the repo, so updating the pip version to master's status would be enough, if it's ready for release. What do you think?

On Tue, May 30, 2017 at 12:06:57PM -0700, Merlini Adrien wrote:

master doesn't need any modifs since it does not seem to be using numpy._NoValue.
I don't see any 0.8 branch  (version on pythonhosted) to fix on the repo, so updating the pip version to master's status would be enough, if it's ready for release. What do you think?

ooops (TM) I didn't remember it was fixed on master. I plan to do a
release near July...

Commit integrated and release some months ago

authors: artas360 serge-sans-paille wyk-qyf

repo: serge-sans-paille/pythran


text:
Numerous rubocop fixes, also added rubocop config

Before:
$ chef exec rubocop .; chef exec foodcritic -f any .
17 files inspected, 372 offenses detected

After:
$ chef exec rubocop .; chef exec foodcritic -f any .
17 files inspected, 5 offenses detected

@sergiopena Any chance of this being merged?

Sorry for the late response, thank you for your work. would love to merge it, but I must upgrade deps in order to make tests pass and still did not have the time.

Finally upgraded deps.
@predominant thank you very much!

authors: predominant sergiopena

repo: sergiopena/netdata-cookbook


text:
Stops logging after around 12 hours

This has been logging fine to logz.io since it was deployed last night at 10pm, after around 12 hours, the logs have completely stopped with no changes made to the app.
New apps which have been deployed since then work OK and using the older versions of the apps on other servers also send the logs correctly.
The buffer files also stopped around 9:30 this morning so I suspect it must be related to Serilog rather than this shipper but I am not sure how to debug it since it was all fine to start with and I would imagine that Serilog runs as part of the web application and not as a separate application that could fail?

OK, so the problem is that the default value for bufferFileSizeLimitBytes is 100MB and it is not clear in readme.md that the default settings are the time-based durable log and that the max file size is relevant, even when using time-based file rolling.
It would be useful to add all of the config parameters to the appsettings.json examples with their default values and make a note that all of them except requestUri are optional but are shown with their default parameters so that people are aware of what is happening under the covers?
Happy to create a PR if you would prefer?

Please do PR, I will be happy to accept it :)

I have tried to improve README.md.
Also changed default value of  bufferPathFormat from "Buffer-{Date}.json" to "Buffer-{Hour}.json".
This should roll over buffer file every hour.
For further information, please read: https://github.com/FantasticFiasco/serilog-sinks-http/wiki/Durable-time-rolled-HTTP-sink

authors: lukos mantasaudickas


text:
Segmentation fault Serilog.Sinks.Elasticsearch version 9.0.0 with Elasticsearch version 7.17 on macOS

Does this issue relate to a new feature or an existing bug?

[x] Bug
[ ] New Feature

What version of Serilog.Sinks.Elasticsearch is affected?  Please list the related NuGet package.

Serilog.Sinks.Elasticsearch 8.4.1
Serilog.Formatting.Elasticsearch 8.4.1
Serilog.Sinks.Elasticsearch 9.0.0
Serilog.Formatting.Elasticsearch 9.0.0

Others NuGet packages.

Serilog 2.12.0
Serilog.AspNetCore 6.1.0
Serilog.Settings.Configuration 3.4.0

What is the target framework and operating system? See target frameworks & net standard matrix.

[x] .net 6

Please describe the current behavior?
When using Serilog.Sinks.Elasticsearch 9.0.0 on macOS:
dotnet TestService.dll
[1]    15227 segmentation fault  dotnet TestService.dll

When using Serilog.Sinks.Elasticsearch 8.4.1 on macOS:
dotnet TestService.dll
[01:05:49 INF] Test <s:>

If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
using Serilog;

try
{
    var conf = new ConfigurationBuilder()
        .SetBasePath(Directory.GetCurrentDirectory())
        .AddJsonFile("appsettings.json")
        .Build();

    Log.Logger = new LoggerConfiguration()
        .ReadFrom.Configuration(conf)
        .CreateBootstrapLogger();

    Log.Logger.Information("Test");
}
catch (Exception e)
{
    Log.Fatal(e, "Stopped program because of exception!");
}
finally
{
    await Log.CloseAndFlushAsync();
}

appsettings.json
{
  "Serilog": {
    "WriteTo": [
      {
        "Name": "Console",
        "Args": {
          "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} <s:{SourceContext}>"
        }
      },
      {
        "Name": "Elasticsearch",
        "Args": {
          "nodeUris": "http://localhost:9200/;",
          "indexFormat": "Test-Server-{0:yyyy.MM}",
          "inlineFields": true,
          "batchPostingLimit": 30,
          "restrictedToMinimumLevel": "Debug",
          "bufferFileSizeLimitBytes": 5242880,
          "bufferLogShippingInterval": 5000,
          "bufferRetainedInvalidPayloadsLimitBytes": 5000,
          "bufferFileCountLimit": 31,
          "connectionTimeout": 5,
          "emitEventFailure": "WriteToSelfLog",
          "queueSizeLimit": "100000",
          "autoRegisterTemplate": true,
          "autoRegisterTemplateVersion": "ESv7",
          "overwriteTemplate": false,
          "registerTemplateFailure": "IndexAnyway",
          "deadLetterIndexName": "deadletter-{0:yyyy.MM}"
        }
      }
    ]
  }
}

docker-compose.yaml
version: '3.7'

services:
  elasticsearch:
    image: elasticsearch:7.17.0
    ports:
      - 9200:9200
      - 9300:9300
    environment:
      ES_JAVA_OPTS: "-Xmx2048m -Xms2048m"
      discovery.type: single-node

@maxim-kozlov Can you please try few additional things and look if there are additional logs on the machine, related to the "Segmantation fault" error?

Is your program running correctly only with Serilog (remove Elasticsearch section in appsettings.json and remove reference to the Serilog.Sinks.Elasticserach? We just want to make sure it is not a problem with .NET runtime or something related to build/platform configuration.
Is there any detailed exception log? Perhaps on the machine level. I run into this suggestion on StackOverflow, the paths where you might find log files, but it could be elsewhere too.
Which exact version of Serilog.Sinks.Elasticsearch and Elasticsearch.NET is your program using? You listed both 8.4.1 and 9.0.0. in the details. If this is correct, are both version throwing the same error?

Also catch seg.fault with [Serilog.Sinks.Elasticsearch 9.0.3] on M1 Pro (https://www.nuget.org/packages/Serilog.Sinks.Elasticsearch/9.0.3)
If remove ElasticSearch section from config its works fine.

Seems like its not a this project problem, i create test project, where i can reproduce the seg.fault and notice, that crash is happens when ES sink is created
return loggerSinkConfiguration.Sink(
                sink,
                restrictedToMinimumLevel: options.MinimumLogEventLevel ?? LevelAlias.Minimum,
                levelSwitch: options.LevelSwitch
            );

I delete all the code in ElasticsearchSink class and...nothing...its still crashing
public class ElasticsearchSink : PeriodicBatchingSink
    {
        public ElasticsearchSink(ElasticsearchSinkOptions options)
            : this(
                  new BatchedElasticsearchSink(options),
                  new PeriodicBatchingSinkOptions
                    {
                        BatchSizeLimit = 999,
                        Period = TimeSpan.FromHours(1),
                        QueueLimit = 500
                    }
                  )
        {
        }

        private ElasticsearchSink(IBatchedLogEventSink batchedSink, PeriodicBatchingSinkOptions options)
            : base(batchedSink, options)
        {
        }
    }

    public class BatchedElasticsearchSink : IBatchedLogEventSink
    {
        public BatchedElasticsearchSink(ElasticsearchSinkOptions options)
        {

        }

        public Task EmitBatchAsync(IEnumerable<LogEvent> batch)
        {
            return Task.CompletedTask;
        }

        public Task OnEmptyBatchAsync()
        {
            return Task.CompletedTask;
        }
    }

So feels like the problem in PeriodicBatchingSink

authors: dvakor maxim-kozlov nenadvicentic


text:
Corrections and do not mute exceptions during database tests.

In DatabaseFixture for tests: drop test table only if it exists and do not silently catch exceptions.

Again database problems during execution of all tests in one run while tests work in separate runs.

repo: serilog/serilog-sinks-mssqlserver


text:
Button to download

Hi.
It was easier to write when the button to download was at the right instead of left.
When we want to write, we click on the button by accident and it opens the download windows.
Please can you replace it at the extrem right ?

Fixed in latest release.

Thank you

Svetlana Vassilianova
Mon profil Google plus : https://plus.google.com/103545618574873326448
Emails alternatifs : svetlana.vassilianova@protonmail.ch / svetlana.vassilianova@tuta.io
De: "Daniel Seripap" notifications@github.com
À: "seripap/darkwire.io" darkwire.io@noreply.github.com
Cc: "svetlanavassilia" svetlana.vassilianova@unseen.is, "Author" author@noreply.github.com
Envoyé: Mardi 12 Décembre 2017 15:11:21
Objet: Re: [seripap/darkwire.io] Button to download (#60)
Fixed in latest release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .

authors: seripap svetlanavassilia


text:
Publish release candidates to bintray

Adding rc releases that would go in-between actual releases would probably benefit some users, i.e. bringing new features faster.
This should be published to bintray, and users who are interested in latest features would have to add the extra repo for the dependency.

https://github.com/serpro69/kotlin-faker/commit/c5e653b02babc8202c1adf06dbda23f281ef058d


text:
Create troubleshooting.md

WIP

Closing out due to inactivity.

repo: serverless/console


text:
Add stand-alone example resources

What would you like to be added:
Stand-alone example json/yaml files, instead of just embedding them into an MD file
Why is this needed:
Allows SDKs and other implementations to unit test the successfull parsing of official, up-to-date examples
Other thoughts:
Now, what would be really awesome IMHO is to use factual examples, instead of theoretical ones, so that runtime implementations can test them to. The idea is to create some out-of-the-box examples for which runtime can be validated/tested.
We could use Swagger's Pet Store Api for demonstrating OpenApi function calls, and something like a free webhook tool for testing events.

What do you guys think?

@Neuroglia I was actually working on this hehe :)
I just wish there was a way to embed the files into the examples.md so we don't have to maintain both sides...

@Neuroglia do you think doing this for the comparison examples: https://github.com/serverlessworkflow/specification/tree/main/comparisons
would be beneficial as well?

@tsurdilo Niiiice x)
Ah yes, I hear you: I face the exact same problem in some private repos. The only "sane(ish)" way to do so, IMO, is by using a pipeline to replace values in your MD with the contents of the examples. Less user-friendly to write, but at least it's up to date.

@Neuroglia we can host all OpenApi defs on serverlessworkflow.io ;)
+100 for "running" examples
Those can also become the start of our TCK tests as well.

@Neuroglia do you think doing this for the comparison examples: https://github.com/serverlessworkflow/specification/tree/main/comparisons
would be beneficial as well?

@tsurdilo I'm not sure. I must say I only did go once or twice on that specific page, as there was no need to sell me the spec further x) But I can see the added value for more analytical brains than mine I guess!

@Neuroglia if it helps, i do have (i hope all) examples here: https://github.com/serverlessworkflow/sdk-java/tree/main/api/src/test/resources/examples
but the problem with that is its a pain to maintain them all the time so they might not be all up to date with the spec examples, but the workflow dsl used there is validated against v0.6. Hope this helps for now until we work on this

@tsurdilo Aaaaah! Awesome! I'll use that to add some unit test before the commit that adds the reader/writer!

@Neuroglia This might help also: https://github.com/serverlessworkflow/sdk-java/blob/main/api/src/test/java/io/serverlessworkflow/api/test/MarkupToWorkflowTest.java
to see whats tested in https://github.com/serverlessworkflow/sdk-java/tree/main/api/src/test/resources/features
Need to add more tests tho :( ....

@Neuroglia one more thing, we have our dsl schemas also exposed on the website: https://serverlessworkflow.io/schemas/latest/workflow.json
this is used by the vscode plugin and the diagram generation project as well
the "latest" always points to the latest release of the spec
you can use "previous" to access v0.5 and "snapshot" to access the latest (main branch)

@Neuroglia idk how to reach you on slack so adding it here - we are recording our kubecon pres video tomorrow and we have a little "open source integration/collaboration" slide that shows off some cncf and non-cncf projects that are collaborating with SW . If you are interested I can add your stuff there, if not its fine also, just asking if you would like provide me with a logo image and thats it :)

@Neuroglia
looking at this tool to possible be able to do this: https://github.com/temporalio/snipsync

@tsurdilo Should this be re-opened?

@tsurdilo @cdavernas  Any update of this？When we implement sdk-go we facing this which describe at https://github.com/serverlessworkflow/sdk-go/issues/115#issuecomment-1301560340.
A standalone example json/yaml files should helpful.

@tsurdilo Wanna take care of it? Otherwise I'll do it, no worries - even though I resent too 🤣 -: this has been opened for far toooo long (like two years).

on it

You rule thanks bro!

Ping me if you need any help

Same here; I can do it as well. Or we can share, divide, and conquer!

It will be done as part of the migration work: https://github.com/serverlessworkflow/specification-docs/pull/1

@ricardozanini this is a bit more involved. the intent was not for docs, but for sdks, as in all sdks would use same samples for their tests

Yeah I know! I was going to add the examples in the docs directory as part of this migration. So we would have URLs like docs.serverlessworkflow.io/0.8/examples/heartmonitor.yaml
The docs URLs are versioned by default. Every release Antora will add a new directory for the given version. Would simplify a little bit.

im not sure our tests should be downloading yaml from url. this should be imo separate repo that sdks consume and read from file system

@tsurdilo I see what you mean, and I'd tend to agree. However, I prefer having those examples available, in any shape or form, rather than having to wait for the hypothetical time where we will have enough slack to make that repo happen...
I see it that way: it'd be infinitely better than nothing 😜

Additionally, we use CI to download (cache) and run these tests. MD5 features in GitHub actions work pretty neatly.

was looking at structuring sdks so can take advantage of git submodules maybe. wdyt?

honestly, the tradeoff of having the examples online vs configuration bottlenecks doesn't seem a bad option IMO. These files can be cached locally by the SDKs as well. At least in Go, we will do a local cache.

This has been addressed in 0.10, and is closed as part of https://github.com/serverlessworkflow/specification/issues/843
In 0.10, we did even better than what was suggested by adding a list of Gherkin features for conformance testing and Behavior Driven Development.
Example:
Feature: Flow Directive
  As an implementer of the workflow DSL
  I want to ensure that tasks are executed in the correct order
  So that my implementation conforms to the expected behavior

  Scenario: Implicit Sequence Flow
    Given a workflow with definition:
    """yaml
    document:
      dsl: 0.10
      namespace: default
      name: implicit-sequence
    do:
      setRed:
        set:
          colors: '${ .colors + [ "red" ] }'
      setGreen:
        set:
          colors: '${ .colors + [ "green" ] }'
      setBlue:
        set:
          colors: '${ .colors + [ "blue" ] }'
    """
    When the workflow is executed
    Then the workflow should complete with output:
    """yaml
    colors: [ red, green, blue ]
    """
    And setRed should run first
    And setGreen should run after setRed
    And setBlue should run after setGreen

authors: Neuroglia cdavernas lsytj0413 ricardozanini tsurdilo

repo: serverlessworkflow/specification


text:
Need a way to return a specific error status code from endpoints, by throwing a specific exception

endpoint_dispatch.dart has this code:
Future<Result> handleUriCall(
    Server server,
    String path,
    Uri uri,
    String body,
    HttpRequest request,
  ) async {

      // [... code elided ...]

      var result = await method.call(session, paramMap);

      return ResultSuccess(
        result,
        sendByteDataAsRaw: connector.endpoint.sendByteDataAsRaw,
      );
    } on SerializableException catch (exception) {
      return ExceptionResult(model: exception);
    } on Exception catch (e, stackTrace) {
      var sessionLogId = await session.close(error: e, stackTrace: stackTrace);
      return ResultInternalServerError(
          e.toString(), stackTrace, sessionLogId ?? 0);
    } catch (e, stackTrace) {
      // Something did not work out
      var sessionLogId = await session.close(error: e, stackTrace: stackTrace);
      return ResultInternalServerError(
          e.toString(), stackTrace, sessionLogId ?? 0);
    } finally {
      await session.close();
    }
  }

There is currently no way to return a ResultStatusCode from an endpoint, despite server.dart supporting this:
  void _runServer(HttpServer httpServer) async {

    // [... code elided ...]

    var result = await _handleUriCall(uri, body!, request);

    if (result is ResultInvalidParams) {
      if (serverpod.runtimeSettings.logMalformedCalls) {
        // TODO: Log to database?
        stderr.writeln('Malformed call: $result');
      }
      request.response.statusCode = HttpStatus.badRequest;
      await request.response.close();
      return;
    } else if (result is ResultAuthenticationFailed) {
      if (serverpod.runtimeSettings.logMalformedCalls) {
        // TODO: Log to database?
        stderr.writeln('Access denied: $result');
      }
      request.response.statusCode = HttpStatus.forbidden;
      await request.response.close();
      return;
    } else if (result is ResultInternalServerError) {
      request.response.statusCode = HttpStatus.internalServerError;
      request.response.writeln(
          'Internal server error. Call log id: ${result.sessionLogId}');
      await request.response.close();
      return;
    } else if (result is ResultStatusCode) {
      request.response.statusCode = result.statusCode;
      await request.response.close();
      return;
    } else if (result is ExceptionResult) {
      request.response.headers.contentType = ContentType.json;
      request.response.statusCode = HttpStatus.internalServerError;

      var serializedModel = serializationManager.encodeWithType(result.model);
      request.response.write(serializedModel);
      await request.response.close();
    } else if (result is ResultSuccess) {
      // Set content type.
      if (!result.sendByteDataAsRaw) {
        request.response.headers.contentType =
            ContentType('application', 'json', charset: 'utf-8');
      }

      // [... code elided ...]
  }

What I would expect is that handleUriCall would catch a new type of exception, ResultStatusCodeException (taking a status code parameter), and would pass back that exception to the server in the form of a ResultStatusCode.
Then endpoints can just do throw ResultStatusCodeException(403) or similar to return that status code to the client.
This exception could also include a String or JSON message to be included in the response body.

@lukehutch did you find a way to do it ?

No, and I really needed this several times.

does this resolve it for you ? https://docs.serverpod.dev/concepts/exceptions

Ah, I somehow missed those docs, and the code above that says on SerializableException catch (exception) { return ExceptionResult(model: exception); } . Thanks.
This probably solves the issue for endpoints. I haven't looked to see if the Relic web server has specific ways to return error status codes, but I'll close this issue. Much appreciated!

authors: SimoGh lukehutch

repo: serverpod/serverpod


text:
🛑 sg2ray.serverssh.net is down

In 659383a, sg2ray.serverssh.net (http://sg2ray.serverssh.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sg2ray.serverssh.net is back up in e554d16.

repo: serversshnet/server-status


text:
🛑 sg1grpc.serverip.my.id is down

In ef4e873, sg1grpc.serverip.my.id (sg1grpc.serverip.my.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sg1grpc.serverip.my.id is back up in 5c262b0 after 15 minutes.


text:
⚠ geray.serverssh.net has degraded performance

In 63580fb, geray.serverssh.net (http://geray.serverssh.net/) experienced degraded performance:

HTTP code: 200
Response time: 20891 ms

Resolved: geray.serverssh.net performance has improved in 85a7ba6.


text:
🛑 fr.ipservers.xyz is down

In 2d7ae78, fr.ipservers.xyz (fr.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: fr.ipservers.xyz is back up in 58135bd.

repo: serversshnet/uptime


text:
🛑 frgo.ipservers.xyz is down

In 5c462e1, frgo.ipservers.xyz (frgo.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: frgo.ipservers.xyz is back up in c0af0e6.


text:
🛑 frgo.ipservers.xyz is down

In 2891cc5, frgo.ipservers.xyz (frgo.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: frgo.ipservers.xyz is back up in 0fa217a after 5 hours, 11 minutes.


text:
🛑 idtro.ipservers.xyz is down

In c995df4, idtro.ipservers.xyz (idtro.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: idtro.ipservers.xyz is back up in 1618a12 after 50 minutes.


text:
🛑 ge.ipservers.xyz is down

In 84b9992, ge.ipservers.xyz (ge.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ge.ipservers.xyz is back up in 41a0b1b.


text:
🛑 id2-7.ipservers.xyz is down

In 7549688, id2-7.ipservers.xyz (id2-7.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: id2-7.ipservers.xyz is back up in e74d026.


text:
[Site] Add the footer section

Desired State of the Service Mesh Patterns site

A Footer section needs to be added as per this Figma design.

Contributor Resources
This website uses React and GitHub Pages. Site content is found under the master branch.

See the Contributing to Service Mesh Patterns Website section of the readme.md and other contributing instructions, too.
Layer5 Brand Kit
📑 Service Mesh Patterns in Meshery Catalog
📖 Service Mesh Patterns Book
🎨 Site designs in Figma. Fill-in the Layer5 Community Member Form and join the Layer5 Community Slack for access.
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Nikhil-Ladha I'll work on this

authors: Nikhil-Ladha Rohith-Raju


text:
架构: concepts/authentication-arch.md

This article is waiting to be claimed. concepts/authentication-arch.md

目录调整，该章节合并，详情见 #251

repo: servicemesher/istio-handbook


text:
🛑 Darlington Repairs is down

In a8c28f6, Darlington Repairs (https://darlingtonrepairs.co.uk) was down:

HTTP code: 500
Response time: 3120 ms

Resolved: Darlington Repairs is back up in 880c65a.

repo: servicesite/upptime


text:
🛑 Brighton Repairs is down

In e81ad63, Brighton Repairs (https://brightonrepairs.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Brighton Repairs is back up in 2759c92.


text:
servo-linux-cross2 is having trouble building arm64

--- stderr
configure: error: in `/home/servo/buildbot/slave/arm64/build/target/release/build/backtrace-sys-204dc57c91e9a514/out':
configure: error: C compiler cannot create executables
See `config.log' for more details.
thread 'main' panicked at 'failed with: exit code: 77', /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.11/build.rs:136

Haven't seen this for a long time.

Saw this again on servo-linux-cross1 today in https://github.com/servo/servo/pull/18821.

This happened for both arm32 and arm64 in https://github.com/servo/servo/pull/18821, both times on servo-linux-cross1.

Both arm32 and arm64 failed both times, and across all of servo-linux-cross1, servo-linux-cross2, and servo-linux-cross3. I wish I could get ahold of the config.log files that were generated for those builds :(

configure:2977: checking for C compiler default output file name
configure:2999: aarch64-linux-gnu-gcc -O3 -ffunction-sections -fdata-sections -fPIC -m64   conftest.c  >&5
aarch64-linux-gnu-gcc: error: unrecognized command line option '-m64'

Accordingly, the two configure scripts are invoked slightly differently:
Failed:
/home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.11/src/libbacktrace/configure --with-pic --disable-multilib --disable-shared --disable-host-shared --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
Successful:
/home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.11/src/libbacktrace/configure --with-pic --disable-multilib --disable-shared --disable-host-shared --host=aarch64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu

Cargo is definitely building backtrace-sys with an unexpected target, according to this output:
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = Some("aarch64-linux-gnu-gcc")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
PROFILE = Some("release")

CC @alexcrichton, in case you’ve seen this before or have some idea what’s going on.

Well, either it's an unexpected target, or it's expected but cc-rs is finding the wrong compiler for it (perhaps we're setting CC somehow before the backtrace-rs build script is invoked?).

Ok, so the compiler is being set to the cross binary by the build environment in https://github.com/servo/saltfs/blob/df07d3ace136a1c4594042af659f8584ba59e8fb/buildbot/master/files/config/environments.py#L113-L144 . That's why we see an issue when Cargo builds backtrace with a non-cross target. The mystery remains as to why that's happening - any suggestions for how to figure that out @alexchrichton?

Oh, I know why this is hitting us on https://github.com/servo/servo/pull/18821 - the new version of metadeps uses error-chain 0.10, which depends on backtrace. dbus and x11-rs both have a build dependency on metadeps, which means that we now compile backtrace for the host system, leading to the situation where we end up selecting the wrong compiler.

Interesting! Perhaps this is a case where the env var should be CC_arm-linux-gnueabihf-gcc instead of just CC?

That sounds like a good solution; thanks!

authors: SimonSapin alexcrichton jdm

repo: servo/saltfs


text:
Does not work on Windows 8

Running javascripting on Windows 8 causes the menu to display, but does not react to any keypresses... It happens in git bash, cmd, powershell and cygwin (in some of these cases the menu also lacks colors)

Unfortunately this is a known issue with Node.js since Node 5.6 an older version should do the trick 😢  https://github.com/nodejs/node/issues/5384

authors: kuba-orlik martinheidegger

repo: sethvincent/javascripting


text:
Rename

renaming client..

I haven't renamed the package yet, as that will cause this PR to be unreadable.  Want to get aligned on the changes before I rename the folder.

repo: seung-lab/CAVEclient


text:
🛑 www.seungjin.net is down

In 3050a70, www.seungjin.net (https://www.seungjin.net) was down:

HTTP code: 500
Response time: 10754 ms

Resolved: www.seungjin.net is back up in 22d3a91.

repo: seungjin/uptime


text:
Multiple thermostats in one room

Great plug-in, much more stable than the native homekit!
just a question. How does the plug-in handle multiple thermostats in one room, for example 3 radiator thermostats?
Native HK would should each thermostat individually but the plug-in shows only one? Is this an average temperature from the 3?

Just an observation having been playing with this plug-in only since yesterday is that while tado's native HomeKit implementation exposes each TRV, this plug-in only exposes one for each defined tado 'Room' (i.e. zone). Since for each room in tado you have to specify which device to use for temp. measurement, I assume that is what you get with this plug-in.
I'm not sure which is better or worse.

authors: UKenGB schweppy

repo: seydx/homebridge-tado-platform


text:
Integrate into compiler

The match clause accepts any type of literal, which is syntaxically similar to phf maps. I feel we could simply code it in the compiler to make an intelligent match.

This seems like an issue for rust-lang/rfcs rather than here?

I'm not sure if it should have a RFC, since it's completely transparent to the user.

rust-lang/rust then maybe - in either case the decision that would be made is related to rustc not phf.

rust-lang/rust#39525

Great, thanks!

authors: ishitatsuyuki sfackler

repo: sfackler/rust-phf


text:
Help. Understanding of custom actions. AASM + rails_admin

Hi, I've read readme on custom actions. Honestly, it's not really user-friendly manual or I'm stupid.
I'm trying to debug https://github.com/zcpdog/rails_admin_aasm
there are 2 pull requests, I've tried to install those as well. - still no luck.
Issue: I can't understand what state_event method should do https://github.com/zcpdog/rails_admin_aasm/blob/master/lib/rails_admin_aasm/field.rb#L107

when I choose a state from rails_admin - event is not being triggered.
I do understand that I shouldn't report here, but since maintainer is not active, I want to have some understanding and I've tried my best to understand the problem. Any help is appreciated.

3)Can't understand when this method is called.
https://github.com/zcpdog/rails_admin_aasm/blob/master/lib/rails_admin_aasm/action.rb#L22-L46
I've tried to put breakpoints and it never calls.
4)How would you solve this problem? Basically, when event is selected, it needs to call the event method before model is updated/saved.
5)https://github.com/zcpdog/rails_admin_aasm/blob/master/lib/rails_admin_aasm/action.rb#L50
Should be :put method added as well?
6)I can throw away aasm, if you tell me some better alternative that works well with Rails_admin.
State_machines looks like are not being maintained.
7)Is there something missing from this gem in order to work with rails_admin?
Please help!

Looks like Custom action is not what needed. What is needed is to modify Edit action to handle state property differently if changed.

No updates, closing.

authors: mshibuya rstormsf


text:
Sign out after user password update with Devise

Hello,
I'm using Devise to authenticate users, but I want to use RailsAdmin to update the user's password. The update works fine but Devise (or Warden?) signs the user out after the successful update.
This is my Devise configuration: https://gist.github.com/etagwerker/0b9f6c477812817725741da212f571a0
I'm not sure if this is a Devise, Warden or RailsAdmin issue.
What I do know is that you can fix it by overriding the Edit action, like this:
module RailsAdmin
  module Config
    module Actions
      class Edit < RailsAdmin::Config::Actions::Base
        RailsAdmin::Config::Actions.register(self)

        register_instance_option :member do
          true
        end

        register_instance_option :http_methods do
          [:get, :put]
        end

        register_instance_option :controller do
          proc do
            if request.get? # EDIT

              respond_to do |format|
                format.html { render @action.template_name }
                format.js   { render @action.template_name, layout: false }
              end

            elsif request.put? # UPDATE
              sanitize_params_for!(request.xhr? ? :modal : :update)

              @object.set_attributes(params[@abstract_model.param_key])
              @authorization_adapter && @authorization_adapter.attributes_for(:update, @abstract_model).each do |name, value|
                @object.send("#{name}=", value)
              end
              changes = @object.changes

              if @object.save
                sign_in @object, bypass: true if @object.is_a? User
                @auditing_adapter && @auditing_adapter.update_object(@object, @abstract_model, _current_user, changes)
                respond_to do |format|
                  format.html { redirect_to_on_success }
                  format.js { render json: {id: @object.id.to_s, label: @model_config.with(object: @object).object_label} }
                end
              else
                handle_save_error :edit
              end

            end
          end
        end

        register_instance_option :link_icon do
          'icon-pencil'
        end
      end
    end
  end
end

I don't love this solution, but it works: Adding this line after a successful save: sign_in @object, bypass: true if @object.is_a? User
I was wondering if there was an easier way to execute a block after a successful object update?

Solution here: https://stackoverflow.com/a/45756884

authors: etagwerker mshibuya


text:
Infinite Postgres Bug #573

Fix for a bug with postgres implementation. In postgres many numeric/date data types can have infinite or negative infinite values. Currently when one of these values is selected in connector-x it results in a runtime panic error. This PR fixes this issue for 3 data type (datetime, date, and real).
Resolves Issue 572

Thanks for the PR @AndrewJackson2020 , it looks good to me!

repo: sfu-db/connector-x


text:
🛑 Nodo is down

In 6646f23, Nodo (https://nodotecnologico.catamarcacapital.edu.ar/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo is back up in f983416.

repo: sfvc/upptime


text:
🛑 Civitas RRHH is down

In 3ceaf7f, Civitas RRHH (http://civitas.catamarcaciudad.gob.ar:8080/GRH_CATA/forms/login.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Civitas RRHH is back up in db17d81.


text:
Disable "-Wunused-function" warnings for log_define and fix a typo

Please see commit messages for more information

When are you seeing the need to add the unused attribute?  I assume you are getting a warning in your compilation.

Yes, that's correct. The warning does not occur with the plain anyrpc code, because the log_define is never used for a namespace in a header file. With log_define in a class you will never get the warning, because member functions aren't checked on this.
I just used your defines in my own accompanying code for defining my own log levels. Using the unused attribute seemed to be the cleanest way to get rid of the message. But after all, I don't know if using your log_define outside the plain anyrpc code is desired.
I figured, that it wouldn't change anything for your library, but that it might also help others who use the log_define in accompanying code.

authors: JanPlitzkow sgieseking

repo: sgieseking/anyrpc


text:
How to plot split violin plot ?

Hi, I searching the lightweight tool to plot split violin, just like following screenshot  in seaborn python package. Does this repo support to plot split violin now?
Screenshots / Sketches
The screenshot is from stackoverflow

Context

Version: 4.2.7
Browser: Edge

Additional context

None.

that is currently not possible with this plugin

ok, thank your. 👍

repo: sgratzl/chartjs-chart-boxplot


text:
Environment configuration

With great desire, I tried to read MPSI. I was shocked by the improvement of efficiency. I tried to run the code you provided, but there were a lot of code errors. I would appreciate it if you could provide relevant images！

Did you run it successfully?

license: Unlicense


text:
getting an error what is this? How to use XLOOKUP in Microsoft Excel: XLOOKUP Function Tutorial Reason: Video 'tKUmmEkHqbs' is unplayable. Reason: 'Sign in to confirm you’re not a bot'.

there were multiple videos i could nt download but after multiple try it gets download however its a headache. Here is an example of the videos that could not be downloaded, and the reason why:
Advanced Excel Tutorial: Advanced Functions Course (VLOOKUP, IF, Forecasting, Statistical) Reason: Video 'gjfjn8Lwa28' is unplayable. Reason: 'Sign in to confirm you’re not a bot'.
How to use XLOOKUP in Microsoft Excel: XLOOKUP Function Tutorial Reason: Video 'tKUmmEkHqbs' is unplayable. Reason: 'Sign in to confirm you’re not a bot'.
can it be resolved? it will be helpful.  dont have word to express but thankyou for this amazing app. i wish i could also make such kind of apps.

Unfortunately, there is no way to solve it. YouTube decided to crack down on bots and as a result programs like this are affected by it. The only thing you can do now is wait a couple of hours or a couple of days until YouTube lifts the restriction on your IP address

I was able to replicate this issue by only downloading multiple playlist in bulk rather that individually. What resolved it for me was adding each playlist individually and "adding it to queue". Maybe if doing a "Bulk Download" there should be a pause between each request of 2-3 seconds.


text:
🛑 Shakedown Social - Uploads is down

In 720dd1b, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 432 ms

Resolved: Shakedown Social - Uploads is back up in d5f7e0c.

repo: shakedown-social/upptime


text:
🛑 Shakedown Social - Uploads is down

In 7368d2b, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 380 ms

Resolved: Shakedown Social - Uploads is back up in 04c7d91.


text:
🛑 Shakedown Social - Uploads is down

In 0b63300, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 595 ms

Resolved: Shakedown Social - Uploads is back up in 0dacba6.


text:
🛑 Shakedown Social - Uploads is down

In 5ca78a2, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 319 ms

Resolved: Shakedown Social - Uploads is back up in 86f348d.


text:
Remove old fashioned CI from deployandtest.

This CI really has passed its prime. We should just move it all to the new thing.

That's enough for tonight, but you get the idea.

This is now complete. There are lots more tests to add, but that's a problem for another review.

repo: shakenfist/shakenfist


text:
RevoluteJoint limits not working

It seems like the upperAngle and lowerAngle values don't work: when setting them along with enableLimit the joint won't work anymore.
(Great work on the library, btw!)

Thank you! It should be fixed now, I guess the only problem was #8.

Hello and thank you…!
But apparently not: I fixed it myself (locally) and the joint doesn't work as expected…
When activating enabling limits it doesn't work at all.

Can you please share your code?

Sorry! Looks alright now…! Thank you for the fix.

Great, you are welcome!

@shakiba  Fixed in which version? The current npm package version is 0.1.29, is this fixed in that version?

@crazyyi Just published the new version to npm.

authors: crazyyi ertdfgcvb shakiba


text:
Add support for interrupts

Add support for receiving interrupts from peripherals. This way, the DMAC can transfer data from FIFO enabled peripherals every time the fifo is full w/o the need for interrupting the CPU.

Add a new port PIRQ[3:0]
Add a register that specifies the number of frames to be transferred before issuing a CPU interrupt.
Add a frame counter; the done signal will be used to increment this counter. The CPU interrupt is generated on done & (frame_counter == 1).
The trigger field bits specify the PIRQ source. If zero, it is SW trigger.

Added in 5b4ab25


text:
缺失lib.egl_renderer

您好，请问作者可以再提供一次lib.egl_renderer吗，其他以前的网盘都过期了，十分感谢。
https://github.com/shangbuhuan13/SO-Pose/blob/b1cfa9c20bfbb0b4ccd1e8c421e392958628aa4f/core/gdrn_selfocc_modeling/tools/lmo/lmo_2_vis_poses.py#:~:text=from lib.egl_renderer.egl_renderer_v3 import EGLRenderer

链接：https://pan.baidu.com/s/1gJ3V_zMrqNBEIm72HxI1nw
提取码：jfcm
--来自百度网盘超级会员V4的分享

Sorry for the late reply. I just returned from my holiday.

@jiaming3 https://github.com/THU-DA-6D-Pose-Group/self6dpp/tree/main/lib/egl_renderer


text:
Add dynamic list functionality

addition of dropdown field that pulls lists
allows existing contacts to be updated
dynamic inputs: first + last name, list id, email
fields named to work with craft front end form
vendor folder readded
documentation updated

Fixes #4

@rachelrine - Thank you so much! I will review over the weekend!


text:
Question: Using SHAP with GPT-4 via API

Good evening,
I'm trying to use SHAP for my graduation thesis with various LLM, as Falcon, Mistral and GPT 4 and Llama, and i'm trying to follow the instruction with GPT-2 as in documentation but it's not possible to apply it to GPT-4, is there any solution to obtain Shapley Values with GPT-4 using SHAP?
I put an example of my code
import json
from langchain.chat_models import ChatOpenAI
import shap
with open('path/to/apikey.json', 'r') as file_json:
dati_json = json.load(file_json)
openai.api_key = dati_json['OPENAI_API_KEY']
chat = ChatOpenAI(temperature=0.0, openai_api_key =dati_json["OPENAI_API_KEY"] )
review_template = ["I enjoy walking with my cute dog"]
explainer = shap.Explainer(chat)
shap_values = explainer(t)
Thanks in advance!

No, there is no possibility to extract shap values from models that are extracted through APIs since one typically just gets the model outputs (and not even the tokenization or something) from these models.

Seems like no discussion is getting on here and as already said, this cannot be implemented.

Is there a way to leverage the existing SHAP API/examples?
The OpenAI models do return the log_probs for the top 20 tokens at each generation.
completion = client.chat.completions.create(
  model="gpt-4o",
  messages=[
    {"role": "user", "content": "Hello world!"}
  ],
  logprobs=True,
  top_logprobs=20
)

mark

authors: CloseChoice dyomed93 gabrielchua hemengjita

repo: shap/shap


text:
feat: hide APY and show expired tag for expired opportunities

Description
Does what it says on the box - apprends an "Ended" tag instead of prepending the APR for expired opportunities
Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes https://github.com/shapeshift/web/issues/6071, unless @reallybeard wants to oil some expiration time in here
Risk

High Risk PRs Require 2 approvals

None, if this looks good, we're good
Testing

Connect using the demo wallet
Ensure old FOX Farming opportunities are properly tagged as ended, with no APR shown

Engineering

☝🏽

Operations

☝🏽

Screenshots (if applicable)

Develop

This diff

Current dependencies on/for this PR:

develop

PR #6083   👈

This stack of pull requests is managed by Graphite.

Looks good to me!

authors: gomesalexandre reallybeard

repo: shapeshift/web


text:
Change color of "Previous" and "Next" | "Done" buttons of CardEditActivity

Hi guys,
Thank you for the awesome library. Is there any way to change Previous, Next and Done buttons color? I would like it to be the same color with my app's primarily color.
Thanks in advance!

The CardEditActivity was created for a demo purpose of how you can play around with CreditCardView. Unfortunately it became much easier for the developers to make use of it for editing a card and now it requires a lot of customisations as per each user requirement. I'll think about how I can serve you much better version of CardEditActivity with all possible customisations in future. For now you can try replicating the implementation of CardEditActivity and customise on your own.
Thanks,
Harish

authors: jacobilin sharish

repo: sharish/CreditCardView


text:
Is it possible to allow variadic template expansion?

I'd like to be able to write
    dbg(args...);

So far it breaks when the macro is expanded. The workaround might be to create a tuple from a variadic template like this:
    std::tuple<ARGS...> input{args...};
    dbg(input);

But it adds some unwanted output regarding the input type (std::tuple<...), and has other issues (see #102)

Yes, sure
template <typename... ARGS>
void test(const ARGS&... args) {
  dbg("Args: ", args...);
}

int main(void)
{
  test(1);
  test('1');
  return 0;
}

../src/main.cpp:5:21: error: expected ')'
  dbg("Args: ", args...);
                    ^
../src/main.cpp:5:3: note: to match this '('
  dbg("Args: ", args...);
  ^
.../dbg.h:808:23: note: expanded from macro 'dbg'
             {DBG_MAP(DBG_TYPE_NAME, __VA_ARGS__)}, __VA_ARGS__)
                      ^
../src/main.cpp:5:3: error: expression contains unexpanded parameter pack 'args'
  dbg("Args: ", args...);
  ^             ~~~~
.../dbg.h:806:3: note: expanded from macro 'dbg'
  dbg::DebugOutput(__FILE__, __LINE__, __func__)    \

The problem seems to occur because the macro expands earlier than the variadic template.

Thank you. I can reproduce it as well.
Unfortunately, I don't really know how to fix it. Any help would be very much appreciated.

Seems the problem in that even the following code doesn't compile:
#include <typeinfo>

template <typename... T>
void test(T&& ...args) {
  /* std::cout << typeid(args...).name() << std::endl; */
  typeid(args...).name();
  // typeid(1).name();
};

int main(void)
{
  test('v', 1);
  return 0;
}

I'm afraid it cannot be called that way. You can move the type extraction inside the print_impl, but it will output the wrong info when the variable was not a reference, for example.

Maybe @ShikChen could help out here? (only if you are interested)

I don't have a good solution in mind now. Note that it's also really tricky to properly handle the return value:
#include <dbg.h>

template <typename... T>
int sum(T&&... args) {
  return (args + ...);
}

template <typename... T>
int calc(T&&... args) {
  // Some other logic here in real world...

  // This will return 3 instead of 6 :O
  // return sum(dbg::identity(args...));

  return sum(args...);
}

int main() {
  dbg(calc(1, 2, 3));
  return 0;
}

A slightly simpler workaround could be wrapping it with tie() like dbg(std::tie(args...)).

I've recently found a hack which might allow this. Consider the following example:
template <int N, typename... Ts>
using NthTypeOf = typename std::tuple_element<N, std::tuple<Ts...>>::type;

template <typename... ARGS>
void f(ARGS&&... args) {
  dbg::DebugOutput(__FILE__, __LINE__, __func__)
      .print({DBG_MAP(DBG_STRINGIFY, args...)},
             {dbg::type_name<NthTypeOf<0, ARGS...>>() + ", " +
              dbg::type_name<NthTypeOf<1, ARGS...>>()},
             args...);  // Here should be logic, which would evaluate args as a
                        // single variable
}

template <typename... ARGS>
void proxy(ARGS&&... args) {
  dbg::DebugOutput(__FILE__, __LINE__, __func__)
      .print({DBG_MAP(DBG_STRINGIFY, args...)},
             {dbg::type_name<NthTypeOf<0, ARGS...>>() + ", " +
              dbg::type_name<NthTypeOf<1, ARGS...>>()},
             args...);  // Here should be logic, which would evaluate args as a
                        // single variable
  f(args...);
}

int main(void) {
  proxy(1, 'v');
  // test('1');
  return 0;
}

It outputs
[..h_dbg_2/src/main.cpp:20 (proxy)] The number of arguments mismatch, please check unprotected comma
[..h_dbg_2/src/main.cpp:20 (proxy)] args... = 1 (int, char)
[..h_dbg_2/src/main.cpp:20 (proxy)]  = 'v' (W5[U-Usrc/main.cpp:20 (proxy)] args... = 1 (int, char)
)
[..h_dbg_2/src/main.cpp:10 (f)] The number of arguments mismatch, please check unprotected comma
[..h_dbg_2/src/main.cpp:10 (f)] args... = 1 (int&, char&)
[..h_dbg_2/src/main.cpp:10 (f)]  = 'v' (W5[U-Usrc/main.cpp:10 (f)] args... = 1 (int&, char&)
)

Note that it compiles, and manages to correctly detect when parameter pack variables are lvalue reference. Though it seems to fail when they're rvalue references.
I had to manually expand the macro, to replace the logic for getting the variables' types.
Do you think the logic of dbg can be rewritten to use this?

authors: ShikChen anstadnik sharkdp

repo: sharkdp/dbg-macro


text:
Fix codegen with SharpGenTools

Related to issues #1053 #1048

@jkoritzinsky I'm getting some weird errors on the CI:
       "C:\projects\sharpdx\SharpDX.sln" (Build;Pack target) (1:2) ->
       "C:\projects\sharpdx\Source\SharpDX.Direct2D1\SharpDX.Direct2D1.csproj" (default target) (3:23) ->
       "C:\projects\sharpdx\Source\SharpDX.Direct2D1\SharpDX.Direct2D1.csproj" (Build target) (3:25) ->
       "C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj" (default target) (6:32) ->
       (CoreCompile target) ->
         Device.cs(39,36): error CS1503: Argument 1: cannot convert from 'SharpDX.ComObject[]' to 'SharpDX.ComObject' [C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj]
         Device.cs(39,48): error CS1503: Argument 2: cannot convert from 'SharpDX.DXGI.Residency[]' to 'SharpDX.ComObject' [C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj]
         Device.cs(39,61): error CS1503: Argument 3: cannot convert from 'int' to 'SharpDX.ComObject' [C:\projects\sharpdx\Source\SharpDX.DXGI\SharpDX.DXGI.csproj]

Do you have an idea what's going on?

It looks like the residencyStatus parameter is being matched to the wrong marshaller. I'll try to fix that.

The next SharpGenTools drop should have that fixed.

authors: jkoritzinsky xoofx

repo: sharpdx/SharpDX


text:
你好，如果能支持Safari（Safari扩展或油猴子），那就更好了。非常期待！

你好，如果能支持Safari（Safari扩展或油猴子），那就更好了。非常期待！

Safari 跟 Chrome/Firefox/Edge 的插件技术不兼容，约等于需要重新写一个，所以暂时不太考虑噢。
油猴脚本似乎不支持常驻后台和大量数据存储，所以很抱歉~

你好，我首先用 xcrun safari-web-extension-converter  --objc /Users/lxl/Downloads/timer进行了转换，
即idle在safrai不可用。
然后，用xcode安装后，安装时提示：银行卡密码问题如图

安装成功后如图：

现在的问题时：
1、该扩展的隐私安全问题逻辑是什么？
2、如何获取统计时间并展示？
非常期待一起解决！

idle 权限在 chrome 里的用途是用来监听电脑的休眠状态变更。
safari 指的敏感问题应该是这个插件应用注入了 js，注入 js 在 src/content-script 下，主要实现每日时限拦截。
浏览时间和运行时间由 chrome 的后台 js 每秒轮询统计，代码在src/background/timer/，访问次数由注入的 js 中采集。所有采集数据都存放在 chrome.storage.local 中

感谢您提供的工具：safari-web-extension-converter，我基于它新建了一个分支 safari_support 用于处理 Safari 的兼容性问题。可能你需要重新 fork 一下仓库才能拉这个分支，因为我之前删除了一些历史文件，主干偏离比较大。
我目前已经处理了 idle 权限的问题，基本功能可用了。不过发现了一些其他的问题，我新开了一个 issue（#152）专门记录与跟进 Safari 的相关 bug。
欢迎加入！

repo: sheepzh/timer


text:
Shellhub.io is down!

Tried going to https://shellhub.io from multiple WANs and site not responding. Is there something im missing?

We had to recreate the k8s to increase the nodes size. Should return soon.

It is up and running :-)

authors: PowershellScripter otavio

repo: shellhub-io/shellhub


text:
Adding Features to malloc_playground

By working on binexp, i thought it would be very useful to be able to see all allocated chunks and their pointers.
I also implemented a feature allowing user to add some datas to allocated chunks.
Also changed the sscanf to allow arg1 to be a str and not only an intptr.
Also added and arg2 for write.
-> write   : allow user to write a str to specified chunk
-> listp : list all allocated chunk, their address and value
-> listpall: print list of chunks, even if some are not allocated
-> clearArray: clear array containing allocated chunks and their address (set everything to 0)

Hey. Sorry for the late response. May I ask why you closed the PR?

Hello, first of all thanks for you response. I closed my pr because after using the features I implemented,  i saw that i miss-implemented the listp command.
Imagine you have 3 allocated chunks of 0x10 (header included)
If you free the chunk 0 using 'free 0', listp will print nothing as the pointerlist[0] is null
I wanted to correct it before making a clean PR

I was also hesitating between making it voluntarily unsecure (not checking input_size) to allow everyone to do what they want even if they could crash the program; or make it much more secure
It is OK to make it insecure because it is meant to be a play ground.

I wanted to correct it before making a clean PR
Feel free to reopen the PR after the correction.

And thank you for your interests on the project!

Thanks you, this project helped me a lot to understand the heap and progress in pwn.
As it's my first pr for a real project i want to make my best ^^
have a nice day :)

authors: Kyle-Kyle juliencohenscali


text:
Could you explain this code from MainActivity.cs

        serviceIntent = new Intent(this, typeof(AndroidLocationService));
        SetServiceMethods();

        if (Build.VERSION.SdkInt >= BuildVersionCodes.M && !Android.Provider.Settings.CanDrawOverlays(this))
        {
            var intent = new Intent(Android.Provider.Settings.ActionManageOverlayPermission);
            intent.SetFlags(ActivityFlags.NewTask);
            this.StartActivity(intent);
        }

Thanks in advance!!

Hey if you can explain the whole code i will be happy :(

        serviceIntent = new Intent(this, typeof(AndroidLocationService));
        SetServiceMethods();

        if (Build.VERSION.SdkInt >= BuildVersionCodes.M && !Android.Provider.Settings.CanDrawOverlays(this))
        {
            var intent = new Intent(Android.Provider.Settings.ActionManageOverlayPermission);
            intent.SetFlags(ActivityFlags.NewTask);
            this.StartActivity(intent);
        }

Thanks in advance!!

https://docs.microsoft.com/en-us/answers/questions/215891/this-is-how-you-make-background-phonecall-on-andro.html

authors: Davester34 pytchoun shernandezp


text:
Project Card: Send email from 'Request to Join' form

Related to: #95
Deliverable:
'Send' button should send an email to project lead with information from the form. (plain text is ok)

I want to solve this issue.

repo: shescoding/projects-platform-frontend


text:
Support for multisig

Support for tracking multisig wallets.
Types:

m-of-n p2sh + sort pubkeys for each script
m-of-n p2sh-p2wsh + sort pubkeys for each script
m-of-n p2wsh + sort pubkeys for each script
m-of-n p2sh + do not sort pubkeys for each script
m-of-n p2sh-p2wsh + do not sort pubkeys for each script
m-of-n p2wsh + do not sort pubkeys for each script

The "xpub" format could be extended in a similar way to NBXplorer (the wallet backend for BTCPay).
https://github.com/dgarage/NBXplorer/blob/8715d3d1ba2a519bd67678ed4be050487f2c9994/docs/API.md#derivationScheme

Support for multisig will be added as part of the more generalized support for script descriptors. I'm closing this ticket in favor of tracking there.

I have a branch with descriptor support: https://github.com/shesek/bwt/commits/202010-descriptor
This will soon be released in bwt v0.1.6 (or maybe v0.2.0). But note that rust-miniscript does not yet support sortedmulti(), so it'll initially only support your last 3 types. I understand that sortedmulti() is expected to land in rust-miniscript though.

authors: junderw shesek

repo: shesek/bwt


text:
Creating your first custom form component Documentation

Objective: Enhance the shesha documentation to include comprehensive information about custom components and using them within form configurations.

Tasks:

Documentation Review:

Review the existing documentation to identify gaps related to custom components.
Ensure accuracy and relevance of the current documentation.

Content Creation:

Create detailed documentation for adding custom pages, covering step-by-step instructions.
Document best practices and guidelines for creating effective custom components.

Code Samples:

Include code samples and examples to illustrate the implementation of custom components.
Ensure code snippets are well-commented and easy to understand.

Integration with Existing Documentation:

Integrate the new documentation seamlessly with the existing documentation structure.
Update relevant sections to cross-reference the information on custom components.

Visual Aids:

Include diagrams, flowcharts, or screenshots to enhance the clarity of the documentation.
Visual aids should support the understanding of the concepts and procedures.

Testing Documentation:

Create test cases based on the documentation to ensure its effectiveness.
Verify that users can successfully follow the documentation to implement custom components.

Collaboration:

Collaborate with the development team to gather insights and feedback on the documentation.
Address any questions or concerns raised during the review process.

Version Control:

Ensure the documentation is versioned and aligned with the current release.

Definition of Done:

The documentation is comprehensive and easy to follow.
Code samples are accurate and well-commented.
Documentation is integrated with existing documentation and cross-referenced.
Visual aids enhance the understanding of concepts.
Documentation has been tested successfully.
Feedback from the development team has been addressed.
Documentation is versioned and aligned with the current release.

Add code snipets

Hi @ktsapo , please review this documentation: https://docs.shesha.io/docs/front-end-basics/how-to-guides/custom-components

Hi @Lukeybooi , I received a feedback from the developers I asked to review the documentation, the feedback is, the documentation is too long. Add Pagination and cut the document into smaller pieces.

authors: OmolemoBlessingLethuloe hlayisanimazuze

repo: shesha-io/shesha-framework


text:
P2821R5 span.at()

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2821r5.html
__cpp_lib_span : 202311L

完了

repo: shibainuudon/HamonCore


text:
태그 기능이 이상합니다.

본인이 확인했습니다.

1.2.1.1에서 수정했습니다.

repo: shiftpsh/solvedac-plugin


text:
feat(postgres): support PostgreSQL

description
PostgreSQL driver for minato
WIP

please add ci test workflow

@Hieuzest CI check has been added.

This pr are closed and will be continued in #51

authors: Hieuzest Seidko

repo: shigma/minato


text:
Install libOpenCvSharpExtern.so for UNIX

Please support sudo make install for UNIX.

:+1:

authors: shimat yukoba

repo: shimat/opencvsharp


text:
[WIP] Update KinD to v0.9.0

We some time ago pinned KinD to version v0.7.0 because of a problem with networks in v0.8. I recently tried v0.9.0 locally and it seemed to work. PR is to try it in Travis.

Hm, :-( still has the same problem. DNS is not working inside the cluster. Failure in build run:
2020-10-30T08:39:41Z 1 Logs of container step-git-source-source-vt987: {"level":"error","ts":1604047176.9148848,"caller":"git/git.go:53","msg":"Error running git [fetch --recurse-submodules=yes --depth=1 origin --update-head-ok --force master]: exit status 128\nfatal: unable to access 'https://github.com/SaschaSchwarze0/npm-simple/': Could not resolve host: github.com\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:53\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:144\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:52\nruntime.main\n\truntime/proc.go:203"}

repo: shipwright-io/build


text:
Hacktoberfest 2022 Blog Post

Blog post announcing our participation in Hacktoberfest 2022.
Fixes #89

cc @otaviof @qu1queee @SaschaSchwarze0

repo: shipwright-io/website


text:
SassC::Rails

高速化対応 SassC::Rails
https://github.com/tany/ss/commits/sassc-rails
SCSS 更新時 7s => 2s / 常時 0.5~13s => 0.5s
sassc-rails
https://github.com/sass/sassc-rails
compass-mixins
https://github.com/Igosuki/compass-mixins
Problems

公開画面用のSCSS 生成機能の修正が必要
Sass::Engine.new.render
GridFS 用の修正が必要
Fs::GridFs::CompassImporter < Sass::Importers::Base
公開画面で作成している SCSS の修正が必要
@import "compass/css3"; => "compass-mixins/compass";

compass-mixins を導入したため、@import compass の記述方法が変わります。
ss:migration では public/sites/**/*.scss のファイルが以下のように修正されます。
$ rake ss:migrate

@import "compass/css3";
@import "compass/utilities/general";

↓
@import "compass-mixins/lib/compass";
//@import "compass/css3";
//@import "compass/utilities/general";

lib/compass には以下の import が含まれています。
https://github.com/Igosuki/compass-mixins/blob/master/lib/_compass.scss
@import "compass/functions";
@import "compass/utilities";
@import "compass/typography";
@import "compass/css3";

repo: shirasagi/shirasagi


text:
Adding Arabic readability support

This PR introduces the Osman Readability Metric (El-Haj et. Al) to textstat and ports the Java Implementation from here.
While taking a closer look at the Java code, I noticed a thing in the Java code that led to an unexpected calculation of the Osman score and which I also want to explicitly state here:
In the function countLongWords() (here), the long word count is incremented if a word is greater or equal than 5. In contrast, the paper defines long words as words with more than 5 letters. Hence,  I also changed it accordingly in textstat to only increment the counter if a word contains more than 5 letters which resulted in a correct calculation of the Osman score. By fixing this small bug, I obtained a similar Osman score for the sentence from a children's book which is stated in the paper on page 4:

Osman Score

textstat
97.62 (rounded to 2 points)

Paper
97.617

Overview:

ported Osman Readability Score to textstat (fixes #115)
added tests for easy and hard Arabic texts

@lukaschoebel great work on this! I'll have to take your work that it's correct :sweat_smile:.

authors: alxwrd lukaschoebel


text:
Update swoole@7.2

Build swoole@7.2

:beers: @BrewTestBot has triggered a merge.

repo: shivammathur/homebrew-extensions


text:
Update protobuf@7.0

Build protobuf@7.0

:beers: @BrewTestBot has triggered a merge.


text:
Update php@8.4-debug

Build php@8.4-debug

:beers: @BrewTestBot has triggered a merge.

repo: shivammathur/homebrew-php


text:
Update php@8.2-debug

Build php@8.2-debug

:beers: @BrewTestBot has triggered a merge.


text:
Call app on button click

Let us decide can we made call app as in iTerm2 just click setted button and terminal will be opened from tray

I'm not sure I understand what it means. A global shortcut that would open the app?

@shockone yes, from tray, programm shoud be runned in tray. For example i click "~" button and window with terminal will be opened

Won't implement. You can use plethora of third party tools to bind a global shortcut.

authors: shockone yarossia

repo: shockone/black-screen


text:
Nodejs 20 runtime

Nodejs20 runtime throws an error when starting container:
Failed to write to log, write a: bad file descriptor

Please tell me the command you executed.

I published public.ecr.aws/shogo82148/lambda-nodejs:20.2024.01.15.
Please try it.