Store transfer functions as xarray

It would be convenient if the transfer function and covariances were stored in an xarray.DataSet.  The coordinate could be period or frequency, and dims or variables could be zxx, zxy, zyy, zyx, tzx, tzy, ...

@kkappler For the inverse coherent signal power matrix, this is a covariance of all magnetic channels used in the processing?  Right now it’s a 2 x 2 complex matrix where the input channels and output channels are the 2 horizontal mag channels and then a separate matrix for the vertical.  Can we combine this into a 3 x 2 matrix with input [hx, hy] and output [hx, hy, hz]?  If we were to generalize this to multiple channels would it be input [hx1, hy1, hx2, hy2, … hxn, hyn] etc? then this would be a 3 x n channels?
Same with the residual covariance would this become [ex1, ey1, ex2, ey2…] (2 x n channels)
No matter what the transfer function will be a 2 x 2 (just impedance) or 3 x 2 (impedance and induction vectors), right?  Will the multistation transfer function need a different container from which you make station transfer functions?


Remove useless code about inode lock

What changes are proposed in this pull request?
Remove useless code about inode lock.
Why are the changes needed?
Remove useless code about inode lock.
Does this PR introduce any user facing changes?
No user facing changes.

Maybe off the topic for this PC.
@yuzhu Actually I don't know the context of why we changed WeakRef back to a real ref. The references are actually quite big in memory, maybe it's worth a discussion?

Maybe off the topic for this PC. @yuzhu Actually I don't know the context of why we changed WeakRef back to a real ref. The references are actually quite big in memory, maybe it's worth a discussion?

This is because reference counting is used currently instead of weak references to reduce memory usage.

alluxio-bot, merge this please


[Task] Add shared service resources to the state store

Feature: #23

Modify the state store so that it can store state for the shared services (API)
resources of type "shared_service"

Does this need a shared service API with create and update?

@deniscep we'd need to ensure we used etag/precondition on writes to the DB to ensure concurrency is managed here. The initial shared resource documents also need adding during bootstrapping/deployment.

Closing as covered in #1239


add github dependency analysis

This adds a new command for interactive usage:
githubAnalyzeDependencies usage:
  githubAnalyzeDependencies [get|list|alerts|cves] [pattern]   Analyze the dependencies based on a search pattern:
  get: search for a pattern in the dependencies (requires githubGenerateSnapshot)
  list: list all dependencies matching a pattern (requires githubGenerateSnapshot)
  alerts: download and display CVEs alerts from Github (use hub or gh local config or GIT_TOKEN env var to authenticate)
  cves: analyze CVEs alerts against the dependencies (requires githubGenerateSnapshot and githubAnalyzeDependencies alerts

This aims at making dependency analysis easier and more in sync with what the snapshot actually contains.
Here is an example of session on this repo https://github.com/yazgoo/scala-meetup-june-2024
sbt:scala-meetup-june-2024> githubGenerateSnapshot
[info] Dependency snapshot written to /tmp/dependency-snapshot-1170344267975636835.json

retrieve github alerts
sbt:scala-meetup-june-2024> githubAnalyzeDependencies alerts
Extract token from /home/yazgoo/.config/gh-yazgoo/hosts.yml
[info] Downloading alerts from https://api.github.com/repos/yazgoo/scala-meetup-june-2024/dependabot/alerts
software.amazon.ion:ion-java [ < 1.10.5 ] fixed:  high
com.fasterxml.jackson.core:jackson-databind [ >= 2.4.0-rc1, < <IP_ADDRESS> ] fixed: <IP_ADDRESS> high
com.fasterxml.jackson.core:jackson-databind [ >= 2.10.0, < 2.12.6 ] fixed: 2.12.6 high
com.fasterxml.jackson.core:jackson-databind [ < <IP_ADDRESS> ] fixed: <IP_ADDRESS> high
com.fasterxml.jackson.core:jackson-databind [ <= <IP_ADDRESS> ] fixed: <IP_ADDRESS> high

check snapshot against alerts
sbt:scala-meetup-june-2024> githubAnalyzeDependencies cves
software.amazon.ion:ion-java [ < 1.10.5 ] fixed:  high
    🔴 1.0.2
com.fasterxml.jackson.core:jackson-databind [ >= 2.4.0-rc1, < <IP_ADDRESS> ] fixed: <IP_ADDRESS> high
    🟢 2.15.1
    🔴 2.12.3
com.fasterxml.jackson.core:jackson-databind [ >= 2.10.0, < 2.12.6 ] fixed: 2.12.6 high
    🟢 2.15.1
    🔴 2.12.3
com.fasterxml.jackson.core:jackson-databind [ < <IP_ADDRESS> ] fixed: <IP_ADDRESS> high
    🟢 2.15.1
    🔴 2.12.3
com.fasterxml.jackson.core:jackson-databind [ <= <IP_ADDRESS> ] fixed: <IP_ADDRESS> high
    🟢 2.15.1
    🔴 2.12.3

list versions of libs in snapshot:
sbt:scala-meetup-june-2024> githubAnalyzeDependencies list jackson-databind
com.fasterxml.jackson.core:jackson-databind:2.15.1
com.fasterxml.jackson.core:jackson-databind:2.12.3

find what pulls the broken dependency
sbt:scala-meetup-june-2024> githubAnalyzeDependencies get jackson-databind:2.12.3
📁 default:scala-meetup-june-2024_3:0.1
  com.fasterxml.jackson.core:jackson-databind:2.12.3
  com.fasterxml.jackson.core:jackson-databind:2.12.3
  com.fasterxml.jackson.core:jackson-databind:2.12.3
    com.amazonaws:aws-java-sdk-core:1.12.148
      com.amazonaws:aws-java-sdk-secretsmanager:1.12.148
    com.amazonaws:aws-java-sdk-core:1.12.148

Thanks @yazgoo. That looks like a great improvement. I'll take a closer look at it soon.

Hi @adpi2 , is there something I can do to improve this PR ?

Sorry, I did not get the time to review it yet. But it is near the top of my todo list. I will probably have time to review it next week.

@adpi2 does it look good to you with these latest changes ?

does it LGTY @adpi2  ?

Scalafmt check is failing

How can I run scalafmt locally ?

You need to install scalafmt command: https://scalameta.org/scalafmt/docs/installation.html#cli
Then you should be able to run it:
> scalafmt

Cool, thanks !


Update sepolicy for loading iwl modules from script

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket  is present.

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web  for more details


telnet 2525 or 25 is not working

Hi team
We are creating a new postal server, however, we can't telnet to this server, both the 25 port and 2525 port.
so, is there some setting or service to enable the port?

You should make sure that Postal is fully running with the postal status command. You could also use netstat -lnp to confirm which ports are being used.
If that is all working correctly then there must be a firewall present somewhere.

Hi, I just check all the service status, it seems all the services are working.
Procodile Version   1.0.26
Application Root    /opt/postal/app
Supervisor PID      1662
Started             2020-07-08 04:18:47 +0000

|| web
|| Quantity            1
|| Command             bundle exec puma -C config/puma.rb
|| Respawning          5 every 3600 seconds
|| Restart mode        usr1
|| Log path            none specified
|| Address/Port        none
|| => web.1            Running      08/07/2020   pid:1668     respawns:0      po                                                                                rt:-        tag:-

|| worker
|| Quantity            1
|| Command             bundle exec ruby script/worker.rb
|| Respawning          5 every 3600 seconds
|| Restart mode        start-term
|| Log path            none specified
|| Address/Port        none
|| => worker.3         Running      08/07/2020   pid:2326     respawns:0      po                                                                                rt:-        tag:-

|| cron
|| Quantity            1
|| Command             bundle exec rake postal:cron
|| Respawning          5 every 3600 seconds
|| Restart mode        term-start
|| Log path            none specified
|| Address/Port        none
|| => cron.3           Running      08/07/2020   pid:2339     respawns:0      po                                                                                rt:-        tag:-

|| smtp
|| Quantity            1
|| Command             bundle exec rake postal:smtp_server
|| Respawning          5 every 3600 seconds
|| Restart mode        usr1
|| Log path            none specified
|| Address/Port        none
|| => smtp.1           Running      08/07/2020   pid:2046     respawns:0      po                                                                                rt:-        tag:-

|| requeuer
|| Quantity            1
|| Command             bundle exec rake postal:requeuer
|| Respawning          5 every 3600 seconds
|| Restart mode        term-start
|| Log path            none specified
|| Address/Port        none
|| => requeuer.3       Running      08/07/2020   pid:2340     respawns:0      po                                                                                rt:-        tag:-

and the port listening status
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:80              <IP_ADDRESS>:*               LISTEN      1242/nginx -g daemo
tcp        0      0 <IP_ADDRESS>:4369            <IP_ADDRESS>:*               LISTEN      1368/epmd
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      24193/sshd
tcp        0      0 <IP_ADDRESS>:443             <IP_ADDRESS>:*               LISTEN      1242/nginx -g daemo
tcp        0      0 <IP_ADDRESS>:5000          <IP_ADDRESS>:*               LISTEN      1668/[postal] web.1
tcp        0      0 <IP_ADDRESS>:25672           <IP_ADDRESS>:*               LISTEN      1184/beam
tcp        0      0 <IP_ADDRESS>:3306          <IP_ADDRESS>:*               LISTEN      1519/mysqld
tcp6       0      0 :::80                   :::*                    LISTEN      1242/nginx -g daemo
tcp6       0      0 :::4369                 :::*                    LISTEN      1368/epmd
tcp6       0      0 :::22                   :::*                    LISTEN      24193/sshd
tcp6       0      0 :::25                   :::*                    LISTEN      2046/[postal] smtp.
tcp6       0      0 :::443                  :::*                    LISTEN      1242/nginx -g daemo
tcp6       0      0 :::5672                 :::*                    LISTEN      1184/beam
udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           934/dhclient

The port 2525 and 25 is not in listening, so is there another service not working?

fixed by adding the port 2525 forward.
before we were thinking, the service is running on AWS, so we disable the UFW, and using the AWS' firewall, the service can't working on 25 port. After enabling the ufw, and setting the port forwarding, it works.
*nat
:PREROUTING ACCEPT [0:0]
-A PREROUTING -p tcp --dport 2525 -j REDIRECT --to-port 25
COMMIT

Glad you figured it out. You can see port 25 is being listened to by postal on one of the tcp6 lines. I believe anything listening on tcp6 is also listening on tcp which is why your port forward worked.


CORS issues when cordova-plugin-code-push is installed

As I was discussing in the Slack channel, I may have stumbled upon an issue with Microsoft's CodePush plugin cordova-plugin-code-push and this one.  Whenever both plugins are installed, the following behavior occurs:

All network connections fail their Preflight check (CORS)
i18n fails to load strings out of its resource file

Remove the CodePush plugin and everything works fine.  My end-point is set up to accept requests from http://localhost:8080.   I have managed to get it to work on 2 out of 4 of my apps that hit the same end-point.  However, the other two I haven't had as much luck.  I've tried removing my iOS platform and re-addig it as well.
Ionic info
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:
cordova (Cordova CLI) : 7.0.1

local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms  : android 6.1.1 browser 4.1.0 ios 4.4.0
Ionic Framework    : ionic-angular 3.7.0

System:
Android SDK Tools : 25.2.4
ios-deploy        : 1.9.2
Node              : v8.6.0
npm               : 5.4.2
OS                : macOS High Sierra
Xcode             : Xcode 9.0 Build version 9A235

Misc:
backend : legacy

Other plugins installed:
code-push 2.0.1-beta "CodePushAcquisition"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-code-push 1.9.8-beta "CodePush"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-dialogs 1.3.3 "Notification"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-firebase 0.1.24 "Google Firebase Plugin"
cordova-plugin-geolocation 2.4.0 "Geolocation"
cordova-plugin-inappbrowser 1.5.0 "InAppBrowser"
cordova-plugin-ionic-webview 1.1.14 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 4.0.0 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.0 "Whitelist"
cordova-plugin-zip 3.1.0 "cordova-plugin-zip"
cordova-sqlite-storage 2.0.0 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-barcodescanner 6.0.8 "BarcodeScanner"

me too

same https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/31

i've tested on new project, its working with code-push.

Looks like Microsoft fixed the problems, closing.


utils.is_comment() should not rely on "re-" in permlink, giving wrong Blog().take() results

Version of Python you are running
# python --version
Python 3.6.4

Version of steem-python you are running
# steempy --version
steempy 1.0.0

Expected Behavior
steem.blog.take() should return top-level posts for Blog(comments_only=False) and comments for Blog(comments_only=True). The distinction between post and comment internally uses steem.utils.is_comment(). This should returns False for root posts, True or others for comments.
Actual Behavior
steem.utils.is_comment() returns False if the post is a comment but the permlink doesn't start with "re-". As a result, the Blog().take() results may be lacking comments or list comments as root posts.
Steps to reproduce
Reply to a post with a custom permlink that doesn't start with "re-".
Example:

root post: https://steemit.com/python/@stmdev/steem-utils-is-comment-root-post

regular reply: https://steemit.com/python/@stmdev/re-steem-utils-is-comment-root-post-20180427t113939
reply without "re-" in permlink: https://steemit.com/python/@stmdev/lorem-ipsum-dolor-sit-amet

>>> from steem.post import Post
>>> from steem.utils import is_comment
>>> is_comment(Post("stmdev/steem-utils-is-comment-root-post"))
False
>>> is_comment(Post("stmdev/re-steem-utils-is-comment-root-post-20180427t113939"))
'stmdev'
>>> is_comment(Post("stmdev/lorem-ipsum-dolor-sit-amet"))
False

steem.utils.is_comment is used in steem.blog.take() and therefore possibly returns wrong results for Blog(comments_only=True) and Blog(comments_only=False):
>>> from steem.blog import Blog
>>> b = Blog("stmdev", comments_only=False)
>>> b.take(5)
[<Post-stmdev/utils-iscomment-should-not-rely-on-re-in-permlink>, <Post-stmdev/lorem-ipsum-dolor-sit-amet>, <Post-stmdev/steem-utils-is-comment-root-post>, <Post-stmdev/difftest>, <Post-stmdev/clicking-tag-in-body-exceeding-1169-chars-triggers-a-502-bad-gateway>]

The second result in this example is actually a comment.
Stack Trace
none.
Possible fixes:
diff --git a/steem/utils.py b/steem/utils.py
index 856ebb8..8842fef 100755
--- a/steem/utils.py
+++ b/steem/utils.py
@@ -186,7 +186,7 @@ def is_comment(item):
     The item can be a Post object or just a raw comment object from the
     blockchain.
     """
-    return item['permlink'][:3] == "re-" and item['parent_author']
+    return item['parent_author'] != ""

 def time_elapsed(posting_time):

This would also avoid the inconsistency of returning False for root posts but the parent author as string for comments.
Alternatively: remove steem.utils.is_comment() and use steem.post.is_comment() instead?
Posted on Utopian.io -  Rewarding Open Source Contributors

Thanks for the report, we'd be happy to accept a PR for this fix!


Add ability to Identify features

onEachFeature on layers which support this, or use https://github.com/mapbox/leaflet-pip otherwise

Would be good to evolve this in the future to support "pretty field names".
e.g. "nrma_pif_cnt" = "NRMA Policy Count"

patience, Grasshopper ;)

I did add "evolve" and "future" to the issue ;-)

Alias is used if present, otherwise it defaults to the field name


fix: Don't generate source map unnecessarily

otherwise stuff blows up for us when istanbul is enabled


uploadV2 method always returns error not_authed but upload method works

I am trying to use uploadV2 method as I am getting a warning to use it.
But when I use it I always get error
{
  "response": [
    {
      "status": "rejected",
      "reason": {
        "code": "slack_webapi_platform_error",
        "data": {
          "ok": false,
          "error": "not_authed",
          "response_metadata": {
            "acceptedScopes": [
              "files:write:user"
            ]
          }
        }
      }
    }
  ]
}

I am using boltjs using ExpressReceiver
Code snippet
app.client.filesUploadV2({
            file_uploads: [
              {
                file: file.file,
                filename: file.filename,
              }
            ],
            channel_id: channel,
            thread_ts: threadTs,
            token
          })

Reproducible in:
The Slack SDK version
Tried with "@slack/bolt": "^3.12.2" and "@slack/bolt": "^3.17.1"
(Paste the output of
npm ls | grep -o "\S\+@\S\+$" | tr @ ' ' | awk -v q='"' '{print q$1q": "q"^"$2q","}' | grep slack

or refer to your package.json)
Node.js runtime version
v18.14.0
OS info
ProductName:		macOS
ProductVersion:		14.1.1
BuildVersion:		23B81
Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103

Steps to reproduce:
(Share the commands to run, source code, and project settings)

Expected result:
File upload successfully to thread
Actual result:
(Tell what actually happened with logs, screenshots)
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hey @MaxySpark! 👋 Could you share the scopes you have attached to your bot or user token? These should be shown on the App Config > OAuth & Permissions > Scopes section. I'm wondering if files:write might be included anywhere 🤔


How to perform tensor parallelism when vocab_size is not an integer multiple of world_size?

When I try to load a bloom-based model to an 8-GPUs server, I met the following error:
AssertionError: 250682 is not divisible by 8

It seems the following check will be performed before tensor parallelism: https://github.com/vllm-project/vllm/blob/c894836108732d0cbb6fce15aeda8de1218a380d/vllm/model_executor/parallel_utils/tensor_parallel/utils.py#L66-L70
I check the model's config.json and found its vocab_size is 250682. Obviously it cannot pass the check above.
So how could I perform tensor parallelism when vocab_size is not an integer multiple of world_size?

Hi @HermitSun. We are seeing a similar error with Falcon 40b on 4x A100. Was the issue solved only by applying the patch at #441 or there were other steps taken? In our case we see this validation failure even before the load_weights call.

I'm afraid that this problem is not fully solved, and this issue may need to be reopened. Issue #441 did not change the tensors partition logics, actually.


Display channel points balance

And prevent redeeming rewards that exceed the balance.

Implemented ChannelPointsContext operation in https://github.com/chowder/ttv-cli/commit/46e27b93d37d5512effc4e6175f3026e35931d3e

Fully implemented in v1.1.10
https://github.com/chowder/ttv-cli/commit/84d3cf976c62c2da929051e94464fdc2f99225fa


fix: include token counts from langchain ChatAnthropic model

resolves #3814

LlamaIndex latest CI failing, merging anyway.


transport_agent: TURN TLS helper server support

As far as I can tell, this looks good. Should we merge?


cookieDomain should default to document.location.host ?

Is there a reason not to do
window.document._cookieDomain = document.location.host ?
if not i'll do a PR.

Cookies are now handled much more realistically, so this should be taken care of now.


Fixed movie list input related issues

->Movie fields if all are not entered then user gets alert saying "Enter all fields"
->After submission of movie field all input fields are re initialised
here is link showing difference:
https://www.recordjoy.com/view/uAkGIKsHCB6z6XTVlpDO

Add the issue number

It's 121th issue.

It's 10th issue

It's 121th issue.

im not able to find it could you send the link to the issue?

@Tess-Vanta  it was #117 .

@Tess-Vanta it was #117 .

ohh okays


please check for the red marked sensors in the google docs, if you can find appropiate sensors on the following sides:

GooGle Doc
Google Doc with Item Links
----------------Sites--------------------
https://www.adafruit.com/, https://eckstein-shop.de/, https://www.ti.com/, https://www.mouser.de, reichelt and conrad are also okay.

waiting on florian's reply, we still do not know the list of parts already ordered. Once that i clear, we can filter the not yet ordered stuff.

After yesterday's discussion with Florian, I think we have all of it ordered. I will close this ticket.


point_to_surface from kaolin.metrics.mesh

Hi,
I have noticed point_to_surface from kaolin.metrics.mesh calculates the average of square of distances and not the distances themselves so maybe it needs to be corrected in the documentation ?

Closing old bug.


ESP8266 touch support for XPT2046

As pointed out by @bodmer in #15, GUIslice doesn't currently support the XPT2046 resistive touch controller.
I understand that the TFT_eSPI library already provides support directly, so I intend to start with that as a driver. Later, I may look at supporting PaulStoffregen's XPT2046_Touchscreen library for those who aren't using TFT_eSPI.

@Bodmer -- I have created a very quick attempt at adding support for your integrated touch driver.
Please try the following replacement files (based on latest GUIslice repo https://github.com/ImpulseAdventure/GUIslice/commit/3e27039827be7a262d54e3545b8179fff266c5a1 )
https://gist.github.com/ImpulseAdventure/f2ba19273fae7dc44044b3c60a97b7be
In the GUIslice_config.h, you'll see that I added a #define DRV_TOUCH_TFT_ESPI.
Assuming the config file has been modified (as in the past to work with TFT_eSPI), ensure that DRV_TOUCH_TFT_ESPI is the only DRV_TOUCH_* define uncommented.
Note that I'm not able to test support for XPT2046 as I don't have a display with this resistive controller. But if you are able to give it a try, that would be great. Also note that the gist version is completely untested (I haven't tried compiling it on the ESP8266 yet :)

Wow, that was quick thanks. I hope to have time to test it later today. Thanks very much.

FYI - The gist has been updated to correct a few typos. Should be close to what we need now.

I have been working on improving the touch sensing reliability, so now looking at GUIslice is next on my list.

Proposed changes from the gist (to add TFT_eSPI's integrated touch handling support) have been rolled in to master now.

Hi @Bodmer - I was wondering if you might have had an opportunity to see if the revised code might work with your XPT2046 integrated touch handler? Thanks!

Hi, Yes I tried it but so many error messages that I was not sure where to start trying to identify what was going wrong. I will have another look this weekend.

I noticed the changes have been merged into the master so I have taken a copy of that and it compiles fine (I had lots of errors with the GIST but that may be my fault).
The XPT2046 touch screen handler needs some calibration values in the form:
uint16_t calData[5] = { 321, 3498, 280, 3593, 3 };
m_disp.setTouch(calData);

So I added that to gslc_DrvInit and the examples are responding to screen touches. Some examples do not respond as I expect, the radio and check box outlines are highlighted on a touch but the graphic does not change. Sliders work fine.

Great --  thank you for checking this and confirming that the display is generally working.
I will add your calibration step in a further update.
As for the touch anomalies you are noticing, I don't seem to be observing those on the Adafruit STMPE610 touch display I'm testing on. The fact that you see the elements highlighting (glow state) but not moving to a selected state suggests to me that either:

the library may be seeing noisy touch coordinates (ie. initial touch-down inside element but touch-up is detected outside the element meaning it won't be selected) or
the range in pressure reading returned from the XPT2046 doesn't return to 0

To confirm this, you can uncomment #define DBG_TOUCH in the GUIslice_config.h file which will enable some visual tracing of the touch coordinates received from the XPT2046 driver. Perhaps that might help identify if it there is consistency in the getTouch() call responses. In addition, the DBG_TOUCH mode will report touch state transitions to the Serial monitor.
The GUIslice.c gslc_TrackTouch() function currently expects the touch pressure to go to 0 for an "up" event. If your display touch driver leaves some residual non-zero pressure reading after a press, then it could explain why you aren't observing the transition to a selected state. The DBG_TOUCH serial output will report the pressure readings (do they go to zero after a touch? Do you see a TouchUp event reported?) If not, then we could try changing the ==0 & >0 comparisons in gslc_TrackTouch() to allow some residual readings to be detected as "up". (eg. change to <10 & >=10 respectively). Note that DBG_TOUCH may interfere slightly with certain refresh operations.
gslc_ex04_ard.ino is probably the best example to use for this testing.
PS> If you find it easier to communicate over email, please try me at guislice @ impulseadventure.com.
Thanks again for your time

@Bodmer -- in your XPT2046 development, do you happen to recall approximately what range in value you observed from getTouch() (ie. during and after releasing a touch press). thx

The getTouch() function reads the XPT2046 raw data values for each axis, these tend to be in the range 300 to 3600. See Default calibration values.
These values are scaled into screen pixel coordinates x,y. If the calibration values are correct then the top left of the screen = 0,0 and the bottom right = width,height.

Thanks @Bodmer for the calibration data point -- that would appear to explain the observations per my previous entry.
On that basis, I'll add a configurable touch threshold to the TFT_eSPI integration similar to what is done internally within the FT6206 (I understand that the controller clips pressure to zero below the calibration threshold).

The library also uses touch pressure ( Z ) with no touch you get a noisy value of about 15, the library only responds to a touch when the value is above a certain threshold. The cheap resistance based screens are less sensitive to touch at the corners so the threshold value is set lower for this reason.

Just a brief followup -- after revisiting the TFT_eSPI library I realized that getTouch() is actually defined to return false upon touch release, so no additional thresholding would be necessary in GUIslice. Therefore, the library should be seeing the correct post-filtered presses OK thanks to your validTouch() check.
As referenced earlier, running with #define DBG_TOUCH may help reveal whether the issues you were noting (with some controls not updating) was related to the touch capture or some other library issue. Unfortunately, I have been unable to recreate your observations with the ESP8266 & touch displays that I have access to. I will leave this open for a while in case anyone else runs into this issue or I manage to find it in my continued testing. Thanks!


[ADAM-1403] Push coverage reports to Coveralls.

Resolves #1403.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1817/Build result: FAILURE[...truncated 16 lines...] > /home/jenkins/git2/bin/git rev-parse origin/pr/1404/merge^{commit} # timeout=10 > /home/jenkins/git2/bin/git branch -a --contains 566bb7d03c86db5cdf88d8ab561f27cf73300694 # timeout=10 > /home/jenkins/git2/bin/git rev-parse remotes/origin/pr/1404/merge^{commit} # timeout=10Checking out Revision 566bb7d03c86db5cdf88d8ab561f27cf73300694 (origin/pr/1404/merge) > /home/jenkins/git2/bin/git config core.sparsecheckout # timeout=10 > /home/jenkins/git2/bin/git checkout -f 566bb7d03c86db5cdf88d8ab561f27cf73300694First time build. Skipping changelog.Triggering ADAM-prb ? 2.3.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.10,2.0.0,centosTriggering ADAM-prb ? 2.3.0,2.10,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.11,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.11,2.0.0,centosADAM-prb ? 2.3.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,2.0.0,centos completed with result FAILUREADAM-prb ? 2.3.0,2.10,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.11,2.0.0,centos completed with result FAILURENotifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1818/Build result: FAILURE[...truncated 16 lines...] > /home/jenkins/git2/bin/git rev-parse origin/pr/1404/merge^{commit} # timeout=10 > /home/jenkins/git2/bin/git branch -a --contains 437ae1d44c223dd4670948bbf829951dfecdb4ce # timeout=10 > /home/jenkins/git2/bin/git rev-parse remotes/origin/pr/1404/merge^{commit} # timeout=10Checking out Revision 437ae1d44c223dd4670948bbf829951dfecdb4ce (origin/pr/1404/merge) > /home/jenkins/git2/bin/git config core.sparsecheckout # timeout=10 > /home/jenkins/git2/bin/git checkout -f 437ae1d44c223dd4670948bbf829951dfecdb4ceFirst time build. Skipping changelog.Triggering ADAM-prb ? 2.3.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.10,2.0.0,centosTriggering ADAM-prb ? 2.3.0,2.10,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.11,2.0.0,centosTriggering ADAM-prb ? 2.6.0,2.10,1.6.1,centosTriggering ADAM-prb ? 2.6.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.11,1.6.1,centosTriggering ADAM-prb ? 2.3.0,2.11,2.0.0,centosADAM-prb ? 2.3.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,2.0.0,centos completed with result FAILUREADAM-prb ? 2.3.0,2.10,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,2.0.0,centos completed with result FAILUREADAM-prb ? 2.6.0,2.10,1.6.1,centos completed with result FAILUREADAM-prb ? 2.6.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.11,1.6.1,centos completed with result FAILUREADAM-prb ? 2.3.0,2.11,2.0.0,centos completed with result FAILURENotifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Changes Unknown when pulling 36ea4ace2e4a556e6fbcc8eb05eb86291add5ad7 on fnothaft:issues/1403-coveralls into ** on bigdatagenomics:master**.

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

Sweet!  Thank you, @fnothaft!


Added a number of primitive objects

This PR adds a number of new 3D objects to the node tree. Each object is generated by code in a similar fashion as the TestCube and Quad objects are.
They differ in a number of ways:

UV coordinates ensure no overlapping on the surfaces
Mapping contains tangent information so normal maps can be used
Each object can be subdivided, this allows for vertex shaders to be used to further modify the objects.

Here is a test project that showcases the new objects:
https://github.com/BastiaanOlij/TestPrimitives

I'm planning to do a few more objects if I find the time. Also I don't know how to change the icons in the node editor, they are all the default geometry icons..

Actually..it might be better if they were premade meshes that you can put
into a mesh instance? This way stuff like GI bake will work on them with no
effort.. not sure
On Apr 29, 2017 3:06 PM, "Bastiaan Olij"<EMAIL_ADDRESS>wrote:

I'm planning to do a few more objects if I find the time. Also I don't
know how to change the icons in the node editor, they are all the default
geometry icons..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/8578#issuecomment-298167959,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z28jkgHRqn2dloYsnCxxJ2U-EHXyUks5r0zXdgaJpZM4NMP6Q
.

@reduz , I would recommend anyone to make their assets in modeler software, this is handy to put some placeholder stuff in, not to build an entire game with (though it is possible) :)
I just got very tired switching back to Blender which is the only thing that works on my Mac and only so so because Macs were designed with one button mouses, grumble at supporting two, and hate anything designed with 3, so for simply stuff it can be very handy to just have it generate right there :)
Anyway, it's there, it's small, I'll add a few more things in. If you guys like it and find it useful, add it in, if not, I'll do a GDNative version for it in Godot 3 :)

@reduz , do keep in mind that you can't change the segments/subdivision of premade meshes, that is another issue.. though it may be interesting to look into adding a subdivider or mesh optimiser into Godot. UE4 for instance will take a high level mesh and optimise it automatically to create a number of LOD versions of the mesh. I once watched a video with some amazement of a guy making a zillion poly rock in z-brush, import it into UE4, used a few dozen instance of that object to create a rock face, and wonder how the....... that didn't drop the framerate like crazy. Seems that rock was automatically optimized to a version with lots less polygons...
Entirely different topic then this offcourse :)

@BastiaanOlij Build fails on X11 and Windows:
g++ -o bin/godot.x11.tools.64 -pipe platform/x11/godot_x11.x11.tools.64.o platform/x11/context_gl_x11.x11.tools.64.o platform/x11/os_x11.x11.tools.64.o platform/x11/key_mapping_x11.x11.tools.64.o platform/x11/joystick_linux.x11.tools.64.o main/libmain.x11.tools.64.a main/tests/libtests.x11.tools.64.a modules/libmodules.x11.tools.64.a drivers/libdrivers.x11.tools.64.a editor/libeditor.x11.tools.64.a scene/libscene.x11.tools.64.a servers/libservers.x11.tools.64.a core/libcore.x11.tools.64.a -lX11 -lXinerama -lXcursor -lXrandr -lssl -lcrypto -lfreetype -lpng12 -lasound -lz -lGL -lpthread -ldl
modules/libmodules.x11.tools.64.a(register_module_types.x11.tools.64.o): In function `register_module_types()':
/home/travis/build/godotengine/godot/modules/register_module_types.cpp:89: undefined reference to `register_primitives_types()'
modules/libmodules.x11.tools.64.a(register_module_types.x11.tools.64.o): In function `unregister_module_types()':
/home/travis/build/godotengine/godot/modules/register_module_types.cpp:158: undefined reference to `unregister_primitives_types()'

@akien-mga , I'll have a look on Windows in the weekend, I'm hoping to add a few more shapes then as well. Strange errors though, thats the register and unregister functions it is complaining amount (the ones in https://github.com/BastiaanOlij/godot/blob/primitives/modules/primitives/register_types.cpp), that doesn't make much sense.

edit could it be as simple as the last line in SCsub needing newline at the end? or that it is missing something else that prevents the files from being included?

That should be fixed for the sake of prettiness, but the actual issue might be that you named the file SCSub and not SCsub (case issue).
See https://github.com/godotengine/godot/blob/master/modules/SCsub#L19

BTW the files don't strictly follow the clang-format style, Travis did not complain because it seems to be confused by PRs on the 2.1 branch.

@akien-mga hehe, case, lovely, I'll get it fixed up tomorrow. I got my branch currently switched to my stereo_camera as I'm working on my videos..
Whats the command for applying the clang formatting to the files?

Whats the command for applying the clang formatting to the files?

If you have the clang-format binary in your $PATH, it should be:
clang-format -i -style=file <path/to/files>

(the "file" in style=file is the actual "file" word, not a path to a file)
I haven't tested them on macOS, but you should be able to setup the precommit hooks that we have in misc/hooks. There are setup instructions in the readme, you might have to tweak things a bit for it to work in the macOS shell - if so I'd be interested in fixes that would make them work out of the box on Linux shells and macOS shells.

I am not sure if this a good idea, I think we should add meshes instead of
nodes, so we can use MeshInstance. Using MeshInstance has the advantage
that you can assign custom materials in an easier way, as well of getting
your meshes baked.
For reference, I already added a QuadMesh in mesh.h, so it would be about
adding more shapes..
On May 2, 2017 3:44 PM, "Rémi Verschelde"<EMAIL_ADDRESS>wrote:

Whats the command for applying the clang formatting to the files?
If you have the clang-format binary in your $PATH, it should be:
clang-format -i -style=file <path/to/files>
(the "file" in style=file is the actual "file" word, not a path to a file)
I haven't tested them on macOS, but you should be able to setup the
precommit hooks that we have in misc/hooks. There are setup instructions
in the readme, you might have to tweak things a bit for it to work in the
macOS shell - if so I'd be interested in fixes that would make them work
out of the box on Linux shells and macOS shells.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/8578#issuecomment-298639711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z286Lc2YVL2Nw4ts_ALQqgO8qPGBmks5r1zNZgaJpZM4NMP6Q
.

Also it has the advantage of duplicating and keeping a simple resource.
On May 2, 2017 4:50 PM, "Juan Linietsky"<EMAIL_ADDRESS>wrote:
I am not sure if this a good idea, I think we should add meshes instead of
nodes, so we can use MeshInstance. Using MeshInstance has the advantage
that you can assign custom materials in an easier way, as well of getting
your meshes baked.
For reference, I already added a QuadMesh in mesh.h, so it would be about
adding more shapes..
On May 2, 2017 3:44 PM, "Rémi Verschelde"<EMAIL_ADDRESS>wrote:

Whats the command for applying the clang formatting to the files?
If you have the clang-format binary in your $PATH, it should be:
clang-format -i -style=file <path/to/files>
(the "file" in style=file is the actual "file" word, not a path to a file)
I haven't tested them on macOS, but you should be able to setup the
precommit hooks that we have in misc/hooks. There are setup instructions
in the readme, you might have to tweak things a bit for it to work in the
macOS shell - if so I'd be interested in fixes that would make them work
out of the box on Linux shells and macOS shells.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/8578#issuecomment-298639711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z286Lc2YVL2Nw4ts_ALQqgO8qPGBmks5r1zNZgaJpZM4NMP6Q
.

@reduz , Ah I get it now, you mean turn them into resources, I had some issues with that in Godot 2 and actually using them but that is probably me not having learned a trick.
Yeah its probably a good idea to change them into resources, I thought you meant actually putting fixed models in there which defies the point a little :)

@BastiaanOlij
@reduz
Actually I think both of you are right. Problem is both solutions are not complete.
Premade meshes make other Godot features work.
Generated meshes make stuff procedural and more powerful for level prototyping and temp visualizations.
Ideal solution would when we could generate procedural meshes and save them as mesh resources and even export to fbx so Level Artists could use it as reference in their 3D software of choice.
#8510
Level Designers almost always must work in Game Editor and forcing them to create meshes blindly in 3D package and export stuff to Godot is "no go" workflow.

@BastiaanOlij @reduz
That would be great.
I think both of you are right.
Premade meshes make other Godot features work and can be used like real assets.
Generated meshes make stuff procedural and more powerful for level prototyping and temp visualizations.
Ideal solution would be when we could generate procedural meshes and save them as mesh resources and even export to OBJ/FBX/DAE so Level Artists could use it as reference in their 3D software of choice.
See issue - #8510
Level Designers almost always must work in Game Editor and forcing them to create meshes blindly in 3D package and export stuff to Godot is "no go" workflow.

No, it's the same, even if they are resources, they can be customized.
There is nothing against it.
On May 3, 2017 8:24 AM, "n-pigeon"<EMAIL_ADDRESS>wrote:

@BastiaanOlij https://github.com/BastiaanOlij @reduz
https://github.com/reduz
That would be great.
I think both of you are right.
Premade meshes make other Godot features work and can be used like real
assets.
Generated meshes make stuff procedural and more powerful for level
prototyping and temp visualizations.
Ideal solution would be when we could generate procedural meshes and save
them as mesh resources and even export to OBJ/FBX/DAE so Level Artists
could use it as reference in their 3D software of choice.
See issue - #8510 https://github.com/godotengine/godot/issues/8510
Level Designers almost always must work in Game Editor and forcing them to
create meshes blindly in 3D package and export stuff to Godot is "no go"
workflow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/8578#issuecomment-298839879,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2yekmdMR3M5KY-w6orgG1ivYGov5ks5r2CuugaJpZM4NMP6Q
.

You might want to make them unique if you want one sphere to have less rings than another, for example. However if you undo...

Yes, meshes is better because it will improve other things like Particles creation.

Alright, finally Mesh and ArrayMesh have been decoupled. Feel free to rework your PR so you can directly inherit from Mesh! Also, i think it does not need to be a module, should be good in core, so put it in scene/resources

Will do @reduz, I'll try and find some time tonight, else this will be my Saturday morning project.

@reduz btw this is the 2.1 branch :)
@akien-mga we should probably close this as I'm not planning to do any more here, all work will go into #8661

@BastiaanOlij You can close your own requests :)
There should be a button next to Comment. Called Comment and Close.

@n-pigeon I know, I just don't like closing things off too quickly :)


Barbarians of Lemuria v1.4 + various readme files corrections + link additions.

Updated with official german translation

We have a special setup for Patreon, that allows sheet creators to link to their patreon. It has a special disclaimer that we require. I will add functionality to allow you to link your Tipeee account officially. Until then, we ask that you don't link to it yet if that's alright.

@pjbehr87
I already checked with Stephanie<EMAIL_ADDRESS>to be able to add links to my Tipeee page. Do you want me to forward you her e-mail?
As the sheet.json seems to only allow Patron URL, I assumed I could add the link in the description.

Oh, okay. She's off today, so I didn't know. I'll go ahead and merge this, and you can update once we make the changes to add your Tipeee link officially.

Great! Thanks (again ;) Phil.

PS : @pjbehr87  Is there a full documentation somewhere about what "field" are supported in the sheet.json file?

There isn't. But, it's mostly on purpose. We didn't just want everyone making a patreon and were keeping the list a little more exclusive and special. While we don't keep secret, it's not common knowledge. The way it will work is adding a "tipeee": "[tipeee link]" to your Json. You can add it now, it just won't show up until we get the update in on our end. I'm thinking it will probably happen some time before next week's pull.

Ok, thanks.


Optimize amount of checks

There might be a way to optimize the amount of iterations in findBezierIntersections method which takes the most execution time while finding intersections.
In this line and this line we can check if the points are inside both the first and the second bounding boxes before pushing them to arrays. In the end we'd have less points to perform segment-intersection-check.
However if this approach is to be implemented, we need to push the time values rather than points to prevent array out of bounds bugs.
Might be a good slack time topic :)

Usually issues like "optimize this and that" are never going to be picked up, unless, as you mention someone picks these up and starts contributing.
Because of that, let's close this issue and see if future optimizations fly in via a PR :wink:.


Report usage metrics

With the public launch of the Rows X, it's important to start reporting some usage metrics. This will allow us to understand how users are using the extension and in which sites. This information is important to keep improving this tool.
The metrics we should report are:

Most used websites.
Most used websites that we don't support yet.
Copy values usage vs Open in Rows.

Implemented here https://github.com/rows/X/pull/102


FileNotFoundError: [Errno 2] No such file or directory: '../model/default.pt'

Hello, when I run your code, I get the following error: " No such file or directory: '../model/default.pt'",I think it's because the model folder is missing.
In your readme.md, you mentioned that there are 3 files, but I only saw the datasets file. Can you provide the model and the runs folders? Thanks and best regards.

Thank you for your question. You can try to create an empty model folder.


Fix for Issue #113 - 'ExpectedStackState'

This fixes the compiler error experienced when compiling with Visual Studio 2015 Update 1 Pro Edition.

Thanks @ptrelford!


Project what to view option frequently only shows single file TODOs

Issue:
The TODO list shows only items from a single file when in the "PROJECT" view. Changing focus to a new document does not update the view. Changing focus and saving that file does refresh the view and will display additional items.
Reproduce:
I haven't determined an exact method for reproducing this bug but if I do I'll update this issue.

How does your workspace and projects in that workspace look like when this is reproduced? "Find In Project" only looks inside the currently active project in your Atom workspace.


Simple webpage using anime.js

Webpage made using anime.js with scrolling effect.

Hey @Shrenik811rp!
Just a reminder... Today is the last date for Hacktoberfest.


why couldn't start a process instance from a random node in "process instance"

we can start a process instance from a random node in "Process definition",but why we couldn't start a process instance from a random node in "process instance" .This functionality is limited to requirements or other considerations.if possible,please answer inChinese。think you 。
为什么不可以从工作流实例里面的某个节点启动流程啊，这部分功能是没有需求场景还是实现部分有什么考虑呢？

In the workflow definition, you can select a task , click the right mouse button to run a certain node

In the workflow definition, you can select a task , click the right mouse button to run a certain node

I know that,but my question is to start a worker flow(at a random node) from "process Instance",not "process definition"
我知道您说的这个，但是我的疑问是在工作流实例中，从已经运行结束的工作流实例里面，从某一个节点开始

The workflow instance does not implement this function, if you need it, very welcome to mention a pr

Close the question since no updates for long time


[zh-cn] resync /storage/storage-classes.md

Updated text after inspired by #35741.
content/zh-cn/docs/concepts/storage/storage-classes.md

Preview: https://deploy-preview-36042--kubernetes-io-main-staging.netlify.app/zh-cn/docs/concepts/storage/storage-classes/

/lgtm
/approve


Config via URL

Hi, we'd like to have 1 canonical config across all our projects. Are you open to a pull request recognising a URL arg as 'the third way' and resolving that as the config?
cheers
Colin

What an interesting idea! I am open to this idea as long as it doesn't add dependencies to the basic zprint library (which I don't believe that it would need to do).  I'm assuming that to access this capability you would use a switch on the uberjar or graalVM binaries to specify the URL?  I suppose that it could be available to the library/REPL as well, though that seems distant from what I imagine your actual use case to be.
I'm thinking that you would want this to be the only configuration used when it was specified, as opposed to also accessing the users ~/.zprintrc.  I have just implemented that sort of "ignore any other configuration" capability for the new 0.5.0 "--default" switch.  Which was done as a bit of a special case.  I'm thinking that it might be time for some more general options map configuration that would say "this is the only configuration, ignore anything else but what is in this options map".  Which you could use in your canonical configuration access by the URL.
But I'm probably getting ahead things here.  Yes, I'm interested, and I would like to hear more about your actual use case and how you are thinking that you would go about implementing this, particularly the UI -- how a user would specify the URL.
Thanks for asking!

A few comments:

no deps for sure
yep I expected I'd add to all zprint entry points
our use case is definitely a remote config as the only config. I can see remote only/remote+local/local+remote all as valid options but 1 thing at a time perhaps :)
a ttl-cache might be required

#117

Thanks for the implementation!  The code was released in 0.5.4.


[fix](grouping sets) grouping sets cause be core or return wrong results

Proposed changes
Issue Number: close #12273
Fix grouping sets cause be core or return wrong results.
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[x] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

It seems that i got the exact same error couple months ago, but the fix pr #10120 has not been merged into master yet.
I think the recurrence rate of the current bug is quite high, and I hope that a short-term fix can be merged to master rather than waiting for the new query optimizer's implement.


[IOTDB-1923]Compatibility of Apache IoTDB with InfluxDB - Service Refactor

see https://issues.apache.org/jira/browse/IOTDB-1923
task1: service refactor
task2: move mqtt to the right position

Coverage increased (+0.01%) to 67.058% when pulling f47717b9435771aa15173d8181e55d919fd5bf0d on jun0315:influxdb_server_refactor into 5e1f7809dc0ad1e21bc18f53ab0a6b2e2b30091a on apache:master.


upgrade babel core and babel preset, fix vuejs unit tests

Fixes #2383
also fixed vuejs unit tests.

@JeffreyWay  this issue just bit me when i pulled in the latest docker image for my build pipeline.  I do not undrestand why the AppVeyer is failing, but you need to update the babel/preset-env to 7.9.0 for this to work with node version > 13.13.
Thanks!


feat(mappings): add config option to disable default mappings

Describe what this PR does / why we need it
add option to disable default mappings also align colors and mappings code for better vision
Does this pull request fix one issue?

Fixes #507
Describe how you did it
check mappings_disable_default flag before merging user config, if true, set default mappings to {}
Describe how to verify it
  {
    -- TODO: keymapping for 'octo.nvim'
    "konosubakonoakua/octo.nvim",
    -- 'pwntester/octo.nvim',
    dependencies = {
      "nvim-lua/plenary.nvim",
      "nvim-telescope/telescope.nvim",
      -- OR 'ibhagwan/fzf-lua',
      "nvim-tree/nvim-web-devicons",
    },
    config = function()
      require("octo").setup({
        mappings_disable_default = false,
        suppress_missing_scope = {
          projects_v2 = true,
        },
      })
    end,
  },

Special notes for reviews

@konosubakonoakua Thanks! please document the new config option both in the README and doc/octo.txt

@konosubakonoakua Thanks! please document the new config option both in the README and doc/octo.txt

Done~, please review again. 😄

hey thanks @pwntester and @konosubakonoakua
I just tested this and I'm getting errors when the value is set to true

hey thanks @pwntester and @konosubakonoakua
I just tested this and I'm getting errors when the value is set to true

Could you put your config for octo here? I can not reproduce with the config I pasted here

  require "octo".setup({
    use_local_fs = false,
    enable_builtin = true,
    default_remote = { "upstream", "origin" },
    default_merge_method = "squash",
    picker = "telescope",
    default_to_projects_v2 = true,
    ui = { use_signcolumn = true },
    issues = {
      order_by = {
        field = "CREATED_AT", -- either COMMENTS, CREATED_AT or UPDATED_AT
        direction = "DESC"    -- either DESC or ASC
      }
    },
    pull_requests = {
      order_by = {
        field = "CREATED_AT",                -- either COMMENTS, CREATED_AT or UPDATED_AT
        direction = "DESC"                   -- either DESC or ASC
      },
      always_select_remote_on_create = false -- always give prompt to select base remote repo when creating PRs
    },
    file_panel = {
      size = 10,
      use_icons = true
    },
    colors = {
      white = Colors.white,
      grey = Colors.light_grey,
      black = Colors.light_black,
      red = Colors.red,
      dark_red = Colors.dark_red,
      green = Colors.green,
      dark_green = Colors.dark_green,
      yellow = Colors.yellow,
      dark_yellow = Colors.brow,
      blue = Colors.blue,
      dark_blue = Colors.dark_blue,
      purple = Colors.dark_magenta,
    },
    mappings_disable_default = false,
    mappings = {},
    comment_icon = "▎", -- comment marker
    outdated_icon = "󰅒 ", -- outdated indicator
    resolved_icon = " ", -- resolved indicator
    reaction_viewer_hint_icon = " ", -- marker for user reactions
    user_icon = " ", -- user icon
    timeline_marker = " ", -- timeline marker
    timeline_indent = "2", -- timeline indentation
    right_bubble_delimiter = "", -- bubble delimiter
    left_bubble_delimiter = "", -- bubble delimiter
  })

  vim.keymap.set("n", "<leader>O", "<cmd>Octo<cr>", { noremap = true, silent = true })
  vim.keymap.set("v", "<leader>O", "<cmd>Octo<cr>", { noremap = true, silent = true })

  vim.api.nvim_create_autocmd("FileType", {
    pattern = "octo",
    callback = function()
      vim.keymap.set("i", "@", "@<C-x><C-o>", { silent = true, buffer = true })
      vim.keymap.set("i", "#", "#<C-x><C-o>", { silent = true, buffer = true })
    end
  })

This is what i have 🙂

@ckangnz could not reproduce with your config, btw I removed the color setting, are you using the latest version of octo.nvim?

@konosubakonoakua Yes i am using the latest version. I can see mappings_disable_default in :help Octo so it must be using the version that consists this change?

@konosubakonoakua Yes i am using the latest version. I can see mappings_disable_default in :help Octo so it must be using the version that consists this change?

Strange. could you try konosubakonoakua/octo.nvim ?

@ckangnz I was able to reproduce your issue and fixed it on https://github.com/pwntester/octo.nvim/commit/72bd42c6e244ef136e387005860a49c7ceb85211 Let me know if it works for you

@pwntester hey yes it definitely fixed the issue 🙂 Awesome work! Thank you 🙂


Setting up a Synthetic User for Integration Tests

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[X] Other... Please describe: Tutorial on how to setup a Service Account that uses MSAL without two factor Auth

Browser:

[X] Puppeteer

Library version

Library version: 1.1.3

Question
Hi, I'm new to Microsoft, and on the Statutory Reporting team building a new Application called SubLedger. I migrated from ADAL to MSAL on my React Frontend, but my backend is a v1.0 API (thank you for the wiki on scopes btw).
I want to set up integration tests as a Frontend User, using a tool called puppeteer, then I want to run it in a Stage in our Release Pipeline in Azure DevOps.
How would I go around doing that? I've heard about using Service Accounts and putting them on Azure Key Vault, would that work? Even when it asks for MFA?
I'm looking for more information on that, and to a lesser extent, how to upgrade from a V1.0 API to a V2.0 API.
Kind regards,
Claudio

We have MSIDLabs that may help you here. Please DM me since it is for internal use only and I can help you with the links and the team contacts for the same.

Is there an aka.ms link?

Yes, I responded to your DM today. Apologies for the delay.

Shared the information offline since it is an internal microsoft setup. Closing this issue.


2.0 refactoring

refactoring of core library
introduction of high order functions (connectors) to provide sdk with AJAX implementations

@JogoShugh and @walkerrandolphsmith, I addressed the concerns you had about:

authorization bearer versus basic
querying meta definitions for all of meta instead of just for a single asset type

Any other concerns?

Yes I have an issue with requiring an access token. Spigot requires actions be made on the behalf of specific users. Members can generate personal access tokens which could satisfy this case, however spigot is an automation tool and generating access tokens is not an automated process leaving spigot to require user interaction to work. If you allow basic authentication or access tokens then this will not be an issue for consumers like spigot. @andrew-codes


⚠ Mobitopup has degraded performance

In 047efe4, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 18554 ms

Resolved: Mobitopup performance has improved in 932f130 after 7 minutes.


Link to "linux troubleshooting guide" in homepage is 404

Before you file a bug, have you:
Description
The link in the master branch for the "linux troubleshooting guide" (https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md)  is not found.

Closed due to inactivity. Feel free to reopen it if needed.


nfs-utils: bump to 2.5.2

Existing package

[Y] I am the maintainer of this package.

Version file change is missing?

messed up the commit, sorry


extend timeout to avoid not ready containers

Description
This happens when machines are slow/busy. calico-node containers show as unready.
See issue https://github.com/tigera/operator/issues/1324 but readiness probe timeout seems to be abit short.
For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

Also it looks like you'll need to fix up some tests. I don't know if you can see the test output but if not you can hopefully run make ci to see the test failures.

Fixes #1324


improve import giskard speed

With a lot of root level imports (e.g. a large list of items in __all__  of giskard.__init__.py) the import giskard  command has degraded a lot its performance. For the moment it takes ~4-6 seconds to import giskard.
It’d be less of an issue if we didn’t have a CLI, but with CLI it’s an unacceptable delay (usually an expected response delay for an interactive app is ~200ms) since all of the interactions with giskard server ...  or giskard worker ...  become very painful.
The solution is to stop adding new items to the root giskard.__init__.py  unless it’s really required.
As a first improvement, I moved test functions outside of the main __init__,
it reduced import giskard from 4 seconds to 0.6 seconds.
As a next step we can:

improve the tests imports to make them intuitive too, something like giskard.testing import test_rmse
check again what's taking the time in the root init.py and move it outside too

Another solution is to refactor the tests to a better place from where are right now, on a similar level as models and datasets as suggested here: https://github.com/Giskard-AI/giskard/issues/909


include glyphicons earlier in include order

I didn't see a way to add an issue to gowravshekar/bootstrap-webpack, so I'm opening one here in the hope that any fix ends up in the right place.
I was having a problem using text inputs with feedback (i.e., the small checkbox or x at the inside right-hand side of the input field).  The icons were incorrectly appearing below the input box.
It seems that the glyphicons.less file needs to be included before other bootstrap style files to get the desired result--at least before the forms.less file.  The upstream bootstrap repository made this change to bootstrap.less in this commit.
By making a similar fix to bootstrap-webpack--that is, modifying bootstrap-styles.loader.js to put glyphicons just after print, everything looks normal again.
Thanks.

Hi,
I have the same issue. Should I put in  a pull request, or is there anything else I can do?
Stefan

Hello. I have the same issue and I can't solve it, even hacking boostrap-styles-loader.js
Anybody hacked and got it working properly?


Add changelog for v3.6.0 (unreleased) release

This adds the full edited version of the v3.6.0 release note in CHANGELOG.md.
Please review for:

factual accuracy
any missing changes in this release.

Following review and before publication we need to:

[ ] copy to the GitHub release note

@hannalaakso Added the note about -tag--inactive deprecation in No probs - added in https://github.com/alphagov/govuk-frontend/pull/1756/commits/ed8534b156ad53c32dd71240b81a12b243f747a5.

Looks great @m-green 👍


[SPARK-21675][WebUI]Add a navigation bar at the bottom of the Details for Stage Page

What changes were proposed in this pull request?

In Spark Web UI, the Details for Stage Page don't have a navigation bar at the bottom. When we drop down to the bottom, it is better for us to see a navi bar right there to go wherever we what.
Executor ID is not equivalent to Host, it may be  better to separate them, and then we can group the tasks by Hosts .

How was this patch tested?
manually test

Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Though I think these should have been separate PRs both these changes LGTM, I'm not sure why the original choice was to only display the pagination nabber at the top and though I'm not usually a fan of adding more column, I think separating these two should be fine.

test this please

@ajbozarth do we need another pr to separate these? if necessary,  I will do that.

Since they're both small and this is already open I'd say leave it, unless someone ends up having issues with one of the fixes

Test build #3886 has started for PR 18893 at commit eaf5e52.

Test build #3886 has finished for PR 18893 at commit eaf5e52.

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

Merged to master


Allow kubens to open fzf completion

Would be really nice if when fzf is detected and I do
> kubens <TAB>

it would be treated the same as
> kubens <RETURN>

and open the fzf completions

I don’t think it’s possible.
Tab executes shell completion, it can’t launch fzf.


Measuring Text and Series Graphics

One-line summary [问题简述]
I'm trying to implement a heat map with dynamic axis and series labels based on whether they fit the width of the item rectangle. Does echarts provide any helper methods to check the width/height of text and also a way to check the serie's graphics width/height?
I envision being able to use these in a formatter function for labels and do a width or height check and dynamically render those. Our applications allows users resize the charts, so it's critical for me to make sure the labels only show when they are legible.
Version & Environment [版本及环境]

ECharts version [ECharts 版本]: 3.7
Browser version [浏览器类型和版本]:
OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]
Use echarts methods to measure text and graphics of charts.
ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

I created a formatter function for series labels that seems to work, though I'm not sure if it's safe to use these APIs:
	var seriesLabel = function(params) {
		var labelText = params.value[3];
		var chartModel = chart.getModel();
		var labelRect = chartModel
			.getComponent('xAxis')
			.getModel('axisLabel')
			.getTextRect(labelText);
		var bandWidth = chartModel
			.getComponent('series')
			.coordinateSystem.getAxis('x')
			.getBandWidth();
		return labelRect.width > bandWidth ? ' ' : params.value[3];
	};


allow specifying keyfile with certificate

A new engine setting should be created, and passed to this API:
                if Settings().client_certificate_path:
                    context.load_cert_chain(
                        certfile=Settings().client_certificate_path
#keyfile=Settings().certificate_keyfile_path
                    )

#398 has been merged.  Closing the issue.


Support links in polls

It'd be nice to, with the /poll feature, support markdown links in the poll option. This way you could include links to more information with the option.

Yeah, this is very reasonable. The poll system is still a beta API; we'll definitely want to fix this when we rework it to something more stable.

The code for this is in static/js/poll_widget.js; I haven't done investigation into how that's rendered, but certainly in principle we could do markdown rendering on the submessage objects.  Ideally we'd follow our policy of always doing such rendering on the backend.

@zulipbot claim

The rendering logic is in zerver/lib/widgets.py. We have at least two ways to handle this:

Implement support for []() style links only, in widgets.py.
Create an instance of our markdown renderer that only runs InlineProcessors and we get things like Autolink, Emphasis, Strong etc all in one go.

Both these approaches could work by rendering a line/option at a time, because we already have an agreed upon method of extracting poll options from a message and each line's text is rendered in a button later.

@zulipbot claim

@zulipbot claim

@zulipbot unclaim

@zulipbot claim

@zulipbot claim

@zulipbot claim


Submit a Cloud Definition

Do NOT copy/paste a definition from somewhere else. Read about the word you want to define and come up with your own definition. Copy/Paste submissions will be closed and not added.
Fill out the JSON with your submission:
    {
    "word": "azure container apps",
    "content": "Azure Container Apps is a fully managed Kubernetes-based application platform that helps you deploy apps from code or containers without orchestrating complex infrastructure. ",
    "learn_more_URL":"https://learn.microsoft.com/en-us/azure/container-apps/",
    "tag":"azure",
    "abbreviation": "aca",
    "author_name":"gps",
    "author_link": "https://youtube.com/madebygps"
    }

Fill out the JSON below with the following.
Word (REQUIRED)
The word you are defining. Check this URL for all words we currently have.
Content (REQUIRED)
The definition. No more than 3 sentences.
learn more URL (REQUIRED)
Website where people can visit to learn more about the word.
tag (REQUIRED and select one)
Tech category the word fits in. Options:

compute
security
service
general
analytics
developer tool
web
networking
database
storage
devops
ai/ml
identity
iot
monitoring
cost management
disaster recovery

abbreviation (OPTIONAL)
If the word is commonly abbreviated, please provide it. For example, command line interface is often abbreviated as CLI.
author name (REQUIRED)
Your name.
author link (REQUIRED)
The URL you want your name to link to.

cl;osing as it was a test


Is pretraining torsion model useful for docking?

The code of 'datasets.geom' is used for pretraining?
https://anonymous.4open.science/r/DiffDock/datasets/pdbbind.py
from datasets.geom import GeomNoiseTransform, Geom

Hi, yes we did some tests on that but did not give any improvement.
This repo contains all the code in this repo is all that is necessary to reproduce the best results we got

Hi, yes we did some tests on that but did not give any improvement. This repo contains all the code in this repo is all that is necessary to reproduce the best results we got

Could you kindly provide datasets.geom? which is missing in the code base.
The pretraining did not give any improvement is only for torsion? Maybe we could add transition and rotation?

Please contact me by email and I'll share the datasets.geom file. Yes it is only for torsion because the GEOM datasets only provides molecular conformers, that therefore do not have an associated relative translation and rotation to a protein.


Replace field with custom name on messages

In laravel we can change fields name (laravel calls them attributes) with custom names on messages.
ex.:
'attributes' => [
'email' => 'E-mail address',
]
then the error message will be : "E-mail address is not right!"  I think it is better than "email is not right!"
I know that we can use custom messages (in laravel we have this option too) but I think creating custom name for fields is better than creating custom message for each validation rule.
Can we have this option on next version?

I am not in favor of this, it's like too many ways to do one thing, which often leaves people why this and why that.
Also in real world apps, you will have to define custom messages, no matter what.


Fix rolling restart on Linux

SUMMARY

Fixes the rolling restart on Linux in which the the consul service restart  was happening too soon after the consul leave, which resulted in the playbook proceeding without the new election finalizing and a temporarily leaderless cluster.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME

Rolling restart consul on Unix

ADDITIONAL INFORMATION

Since we are using a new variable consul_pid_file, it was replaced in all occurrences in the templates as well.

Thanks for your contribution! This repo is looking for maintainers...
If feasible, please rebase this PR on master to drop that merge commit. That way we have a linear commit history.

There is still one linting issue:
yaml[indentation]: Wrong indentation: expected 4 but found 2
tasks/leave_restart_consul.yml:12
Error: Wrong indentation: expected 4 but found 2

WARNING  The following filters were mocked during the run: json_query
Read documentation for instructions on how to ignore specific rule violations.

                Rule Violation Summary
 count tag               profile rule associated tags
     1 yaml[indentation] basic   formatting, yaml

Would you have time to also remove the directory ./molecule/centos-stream-8?
Centos 8 Stream End-of-life happened to happen 4 days ago (31 May 2024) https://endoflife.date/centos-stream


Forecasting Algorithm

Can you please provide more information about the forecasting algorithms used for creating the forecasts? Or provide link if that information is available elsewhere in Power BI documentation?

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

ID: fbbf6763-4952-5335-cefb-ae4e85fd9028
Version Independent ID: cb734eb1-fb6d-b7aa-735a-17b5ba8ca7fd
Content: Use the Analytics pane in Power BI Desktop - Power BI
Content Source: powerbi-docs/transform-model/desktop-analytics-pane.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for the question, @pawarbi. I'm assigning to the author to see if we have more information available.

Looks like this is a duplicate of #2203 where @pawarbi provided a link to this article:
Introducing new forecasting capabilities in Power View for Office 365.
There is another Microsoft article here:
Describing the forecasting models in Power View
and this includes details about the actual forecasting algorithms used.
Both articles are referring to Power View, but they appear on the Power BI blogs, and come up in web searches for Power BI forecasting, so I assume the forecasting information applies to Power BI, but it would indeed be helpful to have this confirmed, and added to the official documentation page if so.


Make Service environments the default

Previously, wrangler had implemented environments using the following algorithm:
function getUrl(name, environment) {
  return environment
    ? `/workers/scripts/${name}-${environment}`
    : `/workers/scripts/${name}`
}

Now, with the introduction of Services, we should change our implementation to be:
function getUrl(name, environment) {
  return `/workers/services/${name}/environments/${environment ?? "production"}`
}

There's also an additional question as to how to handle configurations that migrate from the "legacy" environments to the new Service environments. When a new script/environment is created, the API should return a 201 status code. When wrangler detects this, it should make an additional request to see if there is a "legacy" script. Here's an example:
// > PUT /workers/services/hello/environments/staging -> 200
// Since environment already exists, we're done.

// > PUT /workers/services/world/environments/dev -> 201
// Since environment is new, it's possible we could be replacing a "legacy" script. So check.

// > GET /workers/scripts/world-dev -> 404
// Since no "legacy" script exists, we're done.

// > PUT /workers/services/world/environments/dev -> 201
// Since environment is new, it's possible we could be replacing a "legacy" script. So check.

// > GET /workers/scripts/world-dev -> 200
// A "legacy" script exists, prompt the user about what's changed between wrangler 1 and 2.
// They can either: continue with the new environments, or use the "--legacy-env" flag.

Acceptance criteria:

All commands use Service environments.
If --legacy-env is passed, the "legacy" environment algorithm should be used.
Notifies users if it detects that it's replaced a "legacy" environment.

Things to verify work well across legacy/service environments -

secrets

sites

migrations

tail

dev

kv

r2

publish

route ...args

Apparently we consider the default environment to be 'production'. What happens if someone makes an environment called "production"? This seems like the worst problem.

What do we do with all the previous projects where we published wrangler environments, but we've now marked all as "production"? Leads to situations like this -

When we run publish --env <name>, should env.<name> exist in wrangler.toml? Otherwise we could potentially publish scripts missing bindings/vars

First PR - https://github.com/cloudflare/wrangler2/pull/510

Fix routes - https://github.com/cloudflare/wrangler2/pull/517

tail - https://github.com/cloudflare/wrangler2/pull/525

dev https://github.com/cloudflare/wrangler2/pull/532

Unassigning this from myself while I work on a couple of other things for a while. The last major thing here is migrations with service envs. After this we need to make a call on the api side, and there may be breaking changes there.

durable objects https://github.com/cloudflare/wrangler2/pull/868

Any ETA on when this PR is getting merged?

The adoption of the current implementation of service/environments is on hold for now. There is a new implementation of environments that is being developed this year.

@jspspike Can we follow somewhere progress? I am really waiting for better information about this one, but can't find anything. Is there anything where I can subscribe to regarding updates? 🤔

That is sad to hear, hopefully, we will get some solution soon. I don't particularly appreciate that we need to have multiple same workers with different names 🙈

@huv1k Yes that isn't ideal, if you aren't already using environments in wrangler I would recommend it. You still need to have workers with different names but it helps organize these separate workers


Make json_pointer::back const (resolves #1764)

Added const to json_pointer::back()
Extended unit-json_pointer.cpp to make use of back() on const object.

Pull request checklist
Read the Contribution Guidelines for detailed information.

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.
[x]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Coverage remained the same at 100.0% when pulling 7476f5ee0c6d37b31036cf94992f85560c8e2a73 on chris0x44:json_pointer into 99d7518d21cbbfe91d341a5431438bf7559c6974 on nlohmann:develop.

Thanks!

🔖 Release item
This issue/PR will be part of the next release of the library. This template helps preparing the release notes.
Type

[ ] ✨ New Feature
[ ] 🐛 Bug Fix
[x] ⚡ Improvement
[ ] 🔨 Further Change
[ ] 🔥 Deprecated function

Description

json_pointer::back() is now const.

Contributor entry


publish package to snapcraft

Make snap available to linux distributions.

Reserved name collision for paq encountered.
Might consider apt as an alternative if dispute fails.

Response from snapcraft team was the package name size, 3 characters, is too short and falls into a reserved space. Publishing to snapcraft will require a name different than the executable and repository name.


Register-based VM

A register based VM avoids a lot of value juggling that is needed with stack-based VMs. Right now operations like >= juggle values around a lot; the bytecode for a >= operation is Swap followed by LessThan. With a register-based VM this is simply a matter of swapping the order of registers in the instruction itself.

This might actually be solvable without an IR (#11), might tackle this once my feature wishlist is complete.


Create Contribution Rules to DevScripts markdown file and mention rules for contributors.

Contribution Rules to Dev-Sripts
Create a Documentation file and mention the given below rule mentioned in a presentable manner using markdown :

Every project must be included inside a particular Domain Folder ( like - Web Development, Python, Java, etc).

Inside every Domain Folder include your Project folder with Project name, inside that include your Project files and README.md file.

Every Project must include README.md file is mandatory and the following below points mentioned must be included in the README file :-

Description
Tech Stack
Demonstration (include Demo video or GIF)
Basic Component in Project.
Show Steps on how to run in Local.
If any further info contributors want to include, you are most welcome to do.

Example :-   Domain Folder/ Project Name Folder/ Project files and Readme.md files
If any of the above-mentioned rules are not fulfilled then particular PR will not get merged until they are not resolved.

i am interested

Can you assign me this issue? I would like to contribute under GSSoC22.

@Jyo561 try to complete this issue asap.


EPERM: operation not permitted, unlink '.../.build/node_modules'

Hi,
I can't run serverless deploy --verbosewithout getting the following issue:
Error: EPERM: operation not permitted, unlink '.../.build/node_modules'
      at Object.unlinkSync (fs.js:951:3)
      at TypeScriptPlugin.<anonymous> (.../node_modules/serverless-plugin-typescript/src/index.ts:195:12)
      at Generator.next (<anonymous>)
      at .../node_modules/serverless-plugin-typescript/dist/src/index.js:7:71
      at new Promise (<anonymous>)
      at __awaiter (.../node_modules/serverless-plugin-typescript/dist/src/index.js:3:12)
      at TypeScriptPlugin.copyDependencies (.../node_modules/serverless-plugin-typescript/dist/src/index.js:166:16)
      at TypeScriptPlugin.<anonymous> (.../node_modules/serverless-plugin-typescript/src/index.ts:45:20)
      at Generator.next (<anonymous>)
      at fulfilled (.../node_modules/serverless-plugin-typescript/dist/src/index.js:4:58)
      at process._tickCallback (internal/process/next_tick.js:68:7)

The compilation of typescript seems to work as I get the message Serverless: Typescript compiled..
I can invoke all functions locally and they work without any issue. It's just the deploy that doesn't work.
I ran npm install, closed all terminals including VSCode and reopened it. Same issue.
I cleaned the cache of npm but didn't help either.
My versions:
npm 6.14.8
Your Environment Information ---------------------------      Operating System:          darwin      Node Version:              10.15.3      Framework Version:         2.8.0      Plugin Version:            4.1.1      SDK Version:               2.3.2      Components Version:        3.2.4
serverless-plugin-typescript: "^1.1.9"
Any idea?

Just found another issue related to that: #170 which proposes downgrading the plugin to 1.1.7. I ended up removing the plugin and it worked again.

I had the same issue. What worked for me was just deleting the .build/ folder and trying again

This error is sometimes reproducible by cancelling the deployment script (sls deploy). Deleting the build folder helps, occasionally.

This error is sometimes reproducible by cancelling the deployment script (sls deploy). Deleting the build folder helps, occasionally.

Had the same issue. It's caused by a straightforward bug in the code (unlinkSync being used on the entire .build/node_modules directory, but can only be used on a single file).
Now the question is why the .build/node_modules dir is there at all, and this depends I would say. In @craPkit case it was probably left over from a previous build, in which case it helps to delete before running the script.
In my case, it was because I had custom includes for packaging (txt and html files), so in a previous step the plugin also copies the txt and html files from any node_modules over. After removing the custom includes, it works again.

Is there any news for this issue? Until now, it's 2.0 already but it seems this issue has not been resolved.

the issue still exists, ridiculous! downgraded the plugin to 1.1.7 and only then it works

It seems that the fs.unlinkSync() should be used to remove only files, NOT folders.
To remove a directory needs to use
fs.rmdirSync(outModulesPath, {recursive: true, force: true})
[node_modules\serverless-plugin-typescript\dist\src\index.js  line:181
Plugin version: 2.1.0]

"The fs.unlinkSync() method is used to synchronously remove a file or symbolic link from the filesystem. This function does not work on directories, therefore it is recommended to use fs.rmdir() to remove a directory."
https://www.geeksforgeeks.org/node-js-fs-unlinksync-method/

As per https://github.com/serverless/serverless-plugin-typescript/issues/170#issuecomment-513518997 I tried the following
rm -rf .serverless
rm -rf node_modules
npm i

Then deployment started working again 🎉

Had the same issue. It's caused by a straightforward bug in the code (unlinkSync being used on the entire .build/node_modules directory, but can only be used on a single file). Now the question is why the .build/node_modules dir is there at all, and this depends I would say. In @craPkit case it was probably left over from a previous build, in which case it helps to delete before running the script. In my case, it was because I had custom includes for packaging (txt and html files), so in a previous step the plugin also copies the txt and html files from any node_modules over. After removing the custom includes, it works again.

That was my issue also. I added custom includes in serverless.yml through the package.patterns configuration. That caused the issue with unlinkSync. Fortunately, in my case, I could just remove the includes as it turned out they're not needed.

I also ran into this issue with the latest version.
In addition to this:
rm -rf .serverless
rm -rf node_modules
npm i

I also had to: rm -rf .build
Then I was able to serverless package and serverless deploy


Windows: Split SwiftGodot in chunks

SwiftGodot produces too many symbols, and this prevents Windows from compiling the library as a dynamic library.
We could split SwiftGodot in different libraries, separate things by domains (for example, all the XR code could go into SwiftGodotXR).   The challenge is the lookupObject that relies on knowing al the possible built-in types to resolve names to types.   We would end up requiring a registration system to be added, so that we could resolve new objects surfaced through it.
Another option is to keep all the types in SwiftGodot, but move the implementation of methods to separate assemblies.
So types would be functional only after importing the additional libraries.

Alternative suggestion: The Godot folks told me that the approach they use for Godot C++ is to only generate static libraries, and they only expose the entry point in their extension. I would like to explore what is needed to do that for our extensions and share that guidance.

Alternative suggestion: The Godot folks told me that the approach they use for Godot C++ is to only generate static libraries, and they only expose the entry point in their extension.

How would that work if you have multiple extensions? Do you end up with SwiftGodot statically linked to each one?

Alternative suggestion: The Godot folks told me that the approach they use for Godot C++ is to only generate static libraries, and they only expose the entry point in their extension.

How would that work if you have multiple extensions? Do you end up with SwiftGodot statically linked into each one?

I suspect that this would be a problem, yes.  At least while we figure out a long-term solution.

We could split SwiftGodot in different libraries, separate things by domains (for example, all the XR code could go into SwiftGodotXR). The challenge is the lookupObject that relies on knowing al the possible built-in types to resolve names to types. We would end up requiring a registration system to be added, so that we could resolve new objects surfaced through it.

Could you not still have a master SwiftGodot library that imports all the sub-domain libraries? So all the domain-specific libraries would be needed at runtime, because the master SwiftGodot would link against them, but each domain's symbols would be exported by its own library, so the master library would export relatively few symbols itself.
Registration of built in types could still be done in the master SwiftGodot library - but it would just need to call a known function in each domain library to add the domain's symbols to the lookup table.
Which is a registration system, I grant you, but it's not much less performant or complicated than having a single prebuilt table; it's just a series of prebuilt tables concatenated at runtime.
Presumably this would be kicked off by the user's extension calling into SwiftGodot, supplying it own table of custom classes, built by the GodotMacro.
What am I missing?

I don't think you are missing much.   I am not particularly fond of the underlying suggestion I made, and neither am I of having a three-layer cake of libraries.   We would end up with something like:

SwiftGodotCore: the basic types that are needed by the split libraries
SwiftGodotXXXX: the per-feature types that rely on the core
SwiftGodot: the entry point that has knowledge of everything

Another option (which we discussed on Slack, but was not captured here) is to define all the types on SwiftGodot, but define the method implementations as extension methods in peer assemblies.
So SwiftGodot contains all the types (and I suspect we need to include here vars, I am not sure), and the peer assemblies contain the method implementations.

I don't think you are missing much. I am not particularly fond of the underlying suggestion I made, and neither am I of having a three-layer cake of libraries.

Yeah, I can see that it's less than ideal, but from the point of view of the consuming user extension, I don't think it would be too bad if the split was logical and functional.
I think the core library is the kicker. It is possible for a library to re-export another import's symbols I think, but I don't know if it's possible to do something like this:

such that the client never has to explicitly import SwiftGodotCore.
I could live with having to do
import SwiftGodot
import SwiftGodot3D

I suspect that this wouldn't do the right think in a dynamic context. Re-exporting is likely more intended for the situation where your dynamic library wants to static link some other stuff into itself and export its interface to clients.

Mhm, that is a good question.
That is another reason to go with the "Everything-but-methods-in-core".

One thing I was wondering was whether any of the exported symbols are duplicates due to things like #42, where the same pattern is being repeated multiple times.
It might turn out that there's a bunch of symbols that could be eliminated by consolidating some currently generated code into base classes or generics in the way I attempted to do with the signal stuff?
Also just whether there are public things that could be private, although I expect you've been down that road already?

Another option is to keep all the types in SwiftGodot, but move the implementation of methods to separate assemblies.

Are you thinking that the implementations could be extensions? I think there are a few non-obvious things that can't go into extensions (along with stored properties), which might make this messier than one would like.


Bump python-aiconfig package to 1.1.18

Bump python-aiconfig package to 1.1.18
TSIA

Stack created with Sapling. Best reviewed with ReviewStack.

-> #1072
#1071

Can you add to the description noting what changes in particular we want to be packaged (since this is outside of the normal publish schedule). It's the parameterization fix, right?

It's the parameterization fix, right?

Yea mostly this. Closing because this has now been updated to v1.1.19


Insuppressible debug print from multithreaded SCIP runs

Version: v9.6
Language: Python
Using: SCIP
On ubuntu 20.04
What did you do?
I ran the following code:
import random
from ortools.linear_solver import pywraplp

random.seed(0)
solver = pywraplp.Solver.CreateSolver("SCIP")
solver.SetNumThreads(2)
vs = [solver.BoolVar(str(i)) for i in range(20)]
ws = [random.randint(1, 10 ** 6) for i in range(20)]
tot = sum(ws[::2])
solver.Add(pywraplp.Sum(*[w * v for w, v in zip(ws, vs)]) == tot)
solver.Solve()
print([var.solution_value() for var in vs])

What did you expect to see
I expect to only see a print of the solution values.
What did you see instead?
There are also some debug print from SCIP (about the seeds initializing the 2 threads and other thread related prints).
I didn't find any way of avoiding these print (including adding solver.SuppressOutput() and various solver specific arguments).

can you add the spurrious logs ?
Are you building from source ?

The spurious logs:
initializing seeds to<PHONE_NUMBER> in concurrent solver 'scip-2'
starting solve in concurrent solver 'scip-1'
starting solve in concurrent solver 'scip-2'
concurrent solver 'scip-2' stopped with status optimal solution found
concurrent solver 'scip-1' stopped with status user interrupt

I just installed using pip install ortools

We are doing the correct thing:
// Set log level.
SCIPsetMessagehdlrQuiet(scip_, quiet_);
// Special case if the model is empty since SCIP expects a non-empty model.
if (solver_->variables_.empty() && solver_->constraints_.empty()) {
sync_status_ = SOLUTION_SYNCHRONIZED;
result_status_ = MPSolver::OPTIMAL;
objective_value_ = solver_->Objective().offset();
best_objective_bound_ = solver_->Objective().offset();
return result_status_;
}
So looks like a SCIP bug to me.


to check usb camera is connected or not?

can you tell me if we connect two or more camera with linux ubuntu16.04 and than i wan to check camera connection than what should i need to do? And how to use this library to check camera connection?

try this example
https://github.com/premananda8/python/blob/master/usb_detect.py

i wan to check camera connection than what should i need to do?

It depends on what you mean by checking and camera connection.
At the simplest, lsusb should suffice.  If I remember correctly in Ubuntu it's part of the usbutils package.

And how to use this library to check camera connection?

Following an equivalent interpretation of checking/connection as before:
import usb

for dev in usb.core.find(find_all=True):
    addr_part = f'Bus {dev.bus:03} Device {dev.address:03}:'
    id_part = f'ID {dev.idVendor:04x}:{dev.idProduct:04x}'
    names_part = []
    try:
        if dev.manufacturer:
            names_part.append(dev.manufacturer)
        names_part.append(dev.product)
    except ValueError:
        # can't access descriptors (permission error?) or dev doesn't have them
        pass
    print(addr_part, id_part, *names_part)

For more information, take a look at the tutorial, as well as the documentation for core, specially find and Device:
$ pydoc usb.core
$ pydoc usb.core.find
$ pydoc usb.core.Device


The options of the questions appears to have an error.

Each question in my quiz game, which consists of 10 questions, ought to have four possible answers.
The answer options appear to be not functioning, which is the problem.
Because when i run the program, the answers listed below the question appear to have repeated itself.
The outcome of my code is as follows:

Which country has the longest coastline in the world?

A. Russia
A. Russia
A. Russia
A. Russia
Your answer:
I'm having trouble figuring out how to remedy this.

I fixed this issue by changing the index of the sOptions from i to j (which apparently I mistyped) in the inner for loop where the printf function for the options is located.
There was an issue with the score too, which I also fixed. The score was showing a negative final score, and I fixed this by assigning the score variable to 0.


Fix nbs 03, 04 and 05 based on bug bash comments

This PR is waiting for this PR https://github.com/NVIDIA-Merlin/models/pull/309  to be completed. We need ALI-CCP data curation script.

rerun tests

rerun tests

closing due to unsolved conflicts. going to re-open a PR again.