Two Screens on a MacBook pro 14"

Before opening the issue, have you...?

[X] Searched for existing issues

Discussion
Hi there and thank you for this great app!
I use it on my MBP (M1) with an adapter for two displays (DELL U2412M, via HDMI->DVI cable):
https://de.targus.com/products/hyperdrive-dual-4k-hdmi-10-in-1-usb-c-hub-hdm1h-gl
But i can only see all properties of one display.
For the other there ist only the "software control" item.
Does anyone have experiences with this setup?
Kolja

As these adapters were made for m1 mac (before m1 pro/max/ultra) which could only support one external display at the time, I'm pretty sure the issue comes from the adapter itself but please follow @waydabber recommendations

I'll move this to the discussion as there seems to be no issue to be fixed. :)


Scale of Point Grid

Add a UI element to the file viewer #13 to visualize and choose the density of the point grid. The density chosen by the user will define the step-size to be used when creating the data-net.

Step-size now based on number of voxels, and UI slider added


Add unicamp @dac email to the license list

What: This pull request adds @dac emails to the license list
Why: Students are prevented from renewing and creating new student licenses
Risk: Low. The steps to add a new email extension provided in the readme file were followed.

Site: https://www.dac.unicamp.br
Location: Brazil


Dbar Modification

Hello, the BG performance after the modification is very strange. After the modification, I found that the control of glucose seems to be more easily. The influence of CHO seems to be weakened.

hi, I am the person that found the bug in the first place.
From all I know, the model is now correctly implemented as described in the literature. As I have explained before in my bug report, I validated the glucose rate of appearance against results from the literature. So at least the glucose absorption model should be correct now. I also checked the rest of the model and could not find anything wrong. However, it could not find any results in the literature to validate this.
As this was quite a severe bug, I am not surprised that the behavior of the model and therefore any controllers has now changed significantly, as you are reporting.  Especially since the glucose absorption has changed, an effect on CHO intake is to be expected. This unfortunately means that any results produced with the previous version may be invalid.
However, having said that, I might be wrong here and there might be other bugs in the model, so I would welcome any other people validating the model implementation.

嗨，我是第一个发现这个错误的人。
据我所知，该模型现在已按照文献中的描述正确实现。正如我之前在错误报告中解释的那样，我根据文献结果验证了葡萄糖的出现率。所以至少葡萄糖吸收模型现在应该是正确的。我还检查了模型的其余部分，没有发现任何问题。但是，它在文献中找不到任何结果来验证这一点。
由于这是一个非常严重的错误，我对模型的行为以及任何控制器现在都发生了重大变化并不感到惊讶，正如您所报告的那样。特别是由于葡萄糖吸收发生了变化，因此可以预期对 CHO 摄入量的影响。不幸的是，这意味着以前版本产生的任何结果都可能无效。
但是，话虽如此，我在这里可能错了，模型中可能还有其他错误，所以我欢迎任何其他人验证模型实现。

Thank you so much for your reply.

hi, I am the person that found the bug in the first place.
From all I know, the model is now correctly implemented as described in the literature. As I have explained before in my bug report, I validated the glucose rate of appearance against results from the literature. So at least the glucose absorption model should be correct now. I also checked the rest of the model and could not find anything wrong. However, it could not find any results in the literature to validate this.
As this was quite a severe bug, I am not surprised that the behavior of the model and therefore any controllers has now changed significantly, as you are reporting. Especially since the glucose absorption has changed, an effect on CHO intake is to be expected. This unfortunately means that any results produced with the previous version may be invalid.
However, having said that, I might be wrong here and there might be other bugs in the model, so I would welcome any other people validating the model implementation.

Hi, thank you for your modification. Recently, I'm trying to build controllers in other people's papers . And my results show that the results of modification version are more similar to the results of that paper. So I think the modified model seems to be correct.


fix: fix data preview error

Proposed changes

fix data preview error
fix playground layout & scroll error
codemirror theme changed

run buildall


Adding support for new  endpoints which expose Elasticsearch's _mappi…

…ng endpoint

Related Search API PR to modify YAML spec https://github.com/sennetconsortium/search-api/pull/197

@yuanzhou Those changes have been made. Also I already have the modifications to the Smart API here https://github.com/sennetconsortium/search-api/pull/197/files


Truncated

from issues 3 and this is the pr

the first one is something wrong(delete something), I am so sorry~

Nice. Looks good (I should a some travis build for this repo as well...)

yeah, this code is so long that I will read more about "https://github.com/miekg/dns" and "https://github.com/miekg/exdns"~


Include update timing information in TDS + HTTPS storage classes

The TDS and HTTPS storage classes handle both storing and periodically
updating the extension configuration files. In order to know when an
update is required, the first step is to know both when a
configuration file was last updated and how frequently the
configuration file should be updated.
For that, let's:

Move the update period into the respective classes.
Take note of the lastUpdate time each time a configuration is
fetched (even if there weren't any changes).

Note: It is suboptimal how we are saving the lastUpdate field in
localStorage via the settings abstraction, instead of in
IndexedDB along with the rest of the configuration data. We're
doing it this way for two reasons.
1. Firstly, we need to update the lastUpdate time even if there
was no changes to the configuration. It seems wasteful to
rewrite the entire configuration, when it hasn't changed,
just to update the lastUpdate time.
2. The entity tags for configurations are already stored in this
way anyway, so it seems pragmatic to do the same with these
changes.

Reviewer: @sammacbeth
CC: @jonathanKingston
Steps to test this PR:

Hard to test, but you could try calling chrome.alarms.getAll(console.log) in the background console to ensure the alarms are being set with the correct period.
Can also call dbg.settings.getSetting('config-lastUpdate') in the background console to inspect the stored lastUpdate time.

Automated tests:

[ ] Unit tests
[ ] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

I don't see where we read this setting - will that be in a separate PR?

Yea, that will be a separate PR, the preferLocal change.


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for docbracing processing.

Name
Link

🔨 Latest commit
fb875dafaa441980166e80883d4dbc3fa2e38210

🔍 Latest deploy log
https://app.netlify.com/sites/docbracing/deploys/6510761add512000096f9d38


Consider dropping name table records with platform ID of 1

Those are the Mac tables, and it's possible that Mac knows how to get them from the Windows tables.

\cc @jungshik @roozbehp @davelab6

Mac means Mac OS 9 and earlier; Mac OS X will use the Windows tables.

No targets include these records anymore.


Update indentation level - activations.py

This PR changes the indentation level of the docstrings to 4 spaces.

@gbaned Any idea why copybara closed the PR without merging it?

@gbaned Any idea why copybara closed the PR without merging it?

@gbaned  Any idea why copybara closed the PR without merging it?

Hi @Frightera I can see this PR is still open, can you please provide PR which is closed by copybara without merging it. Thank you!

Hi @gbaned I meant #18036.


Syncing between two running servers over https leads to corruption.

I am syncing between two laptops over https and it does not work. After running camtool sync --src laptop1 --dest laptop2 laptop2 always ends up with a corrupt block store and no longer shows any permanodes in the web frontend:
2016/04/28 14:14:28 Starting camlistored version 2016-04-11-4f8911b+; Go go1.6 (linux/amd64)
2016/04/28 14:14:28 TLS enabled, with SHA-256 certificate fingerprint: cec872c2c8af3df8d412
2016/04/28 14:14:28 Starting to listen on https://localhost:3179
2016/04/28 14:14:28 ui: serving Closure from embedded resources
2016/04/28 14:14:28 Slurping corpus to memory from index...
2016/04/28 14:14:28 Slurping corpus to memory from index... (1/9: meta rows)
2016/04/28 14:14:28 Scanned prefix "meta": 1367 rows, 2.23094ms
2016/04/28 14:14:28 Slurping corpus to memory from index... (2/9: prefix "signerkeyid")
2016/04/28 14:14:28 Slurping corpus to memory from index... (3/9: prefix "claim")
2016/04/28 14:14:28 Slurping corpus to memory from index... (4/9: prefix "fileinfo")
2016/04/28 14:14:28 Slurping corpus to memory from index... (5/9: prefix "filetimes")
2016/04/28 14:14:28 Slurping corpus to memory from index... (6/9: prefix "imagesize")
2016/04/28 14:14:28 Slurping corpus to memory from index... (7/9: prefix "wholetofile")
2016/04/28 14:14:28 Slurping corpus to memory from index... (8/9: prefix "exifgps")
2016/04/28 14:14:28 Slurping corpus to memory from index... (9/9: prefix "mediatag")
2016/04/28 14:14:28 Scanned prefix "mediatag": 0 rows, 52.523µs
2016/04/28 14:14:28 Scanned prefix "signerkeyid": 1 rows, 37.542µs
2016/04/28 14:14:28 Scanned prefix "imagesize": 0 rows, 34.042µs
2016/04/28 14:14:28 Scanned prefix "exifgps": 0 rows, 60.283µs
2016/04/28 14:14:28 Scanned prefix "wholetofile": 450 rows, 817.058µs
2016/04/28 14:14:28 Scanned prefix "filetimes": 450 rows, 2.180319ms
2016/04/28 14:14:28 Scanned prefix "claim": 2 rows, 2.210345ms
2016/04/28 14:14:28 Scanned prefix "fileinfo": 585 rows, 3.506731ms
2016/04/28 14:14:28 Corpus stats: 0.848 MiB mem: 1367 blobs (0.001 GiB) (921 schema (2 permanode, 585 file (0 image), ...)
2016/04/28 14:14:28 Corpus scanning CPU usage: 4ms
2016/04/28 14:14:28 [SyncHandler /bs/ -> /index/] Added 0 pending blobs from sync queue to pending list
2016/04/28 14:14:28 Available on https://localhost:3179/ui/
2016/04/28 14:14:29 index.GetFileInfo(directory sha1-292f9a8ac371b5751bf2a13f1e8b503f4a8d2952) failed; index stale?
2016/04/28 14:14:29 Sending error 500 to client for: error populating sha1-292f9a8ac371b5751bf2a13f1e8b503f4a8d2952: file does not exist
^[[A^[[B^[[A2016/04/28 14:15:36 index.GetFileInfo(directory sha1-292f9a8ac371b5751bf2a13f1e8b503f4a8d2952) failed; index stale?
2016/04/28 14:15:36 Sending error 500 to client for: error populating sha1-292f9a8ac371b5751bf2a13f1e8b503f4a8d2952: file does not exist
^[[B^[[B2016/04/28 14:22:24 index.GetFileInfo(directory sha1-292f9a8ac371b5751bf2a13f1e8b503f4a8d2952) failed; index stale?
2016/04/28 14:22:24 Sending error 500 to client for: error populating sha1-292f9a8ac371b5751bf2a13f1e8b503f4a8d2952: file does not exist

My setup is as so:
On laptop1, server-config.json
{
    "auth": "userpass:username:pass:+localhost",
    "listen": ":3179",
    "https":true,
    "identity": "89C42D27",
    "identitySecretRing": "/home/timothy/.config/camlistore/identity-secring.gpg",
    "blobPath": "/home/timothy/var/camlistore/blobs",
    "packRelated": true,
    "levelDB": "/home/timothy/var/camlistore/index.leveldb",
    "dbNames": null
}

and client-config.json
{
  "servers": {
    "localhost": {
      "server": "https://localhost:3179",
      "auth": "userpass:user:pass",
      "default": true,
      "trustedCerts":["7d0983f27e1063361c81"]
    },
     "laptop2": {
       "server": "https://<IP_ADDRESS>:3179",
       "auth": "userpass:user:pass",
       "trustedCerts":["cec872c2c8af3df8d412"]
    }
  },
  "identity": "89C42D27",
  "ignoredFiles": [
    ".DS_Store"
  ]
}

Laptop2's server-setup.json is essentially the same as that of laptop1.
If this isn't the proper way of doing things, can someone please point me in the right direction?
PS: I've tried this both on the stable release and from git, and both fail.

Are you saying you don't see this problem if you're not using https? If that's the case, I don't know what's wrong.
Otherwise, I'd guess you simply see the symptoms of issue #681
(to confirm that, you could try with packRelated=false)

No, https vs http isn't the issue, I'll look into using packRelated=false, I'm pretty sure that is what I've run into.

That does not solve the problem entirely, the indexer also croaks...
Steps to reproduce (use for example this random directory tree):
devcam server -port 8080
devcam server -port 8081
devcam put -port 8080 file -permanode rand/
devcam tool sync -src http://localhost:8080 -dest http://localhost:8081

For me this gives the following errors:
2016/12/10 14:26:28 Temp dir root is /tmp/camliroot-max/port8081
2016/12/10 14:26:28 Wiping /tmp/camliroot-max/port8081
2016/12/10 14:26:28 Starting dev server on http://localhost:8081/ui/ with password "pass3179"
2016/12/10 14:26:28 Starting camlistored version 2016-12-09-bace8b0d+; Go go1.7.3 (linux/amd64)
2016/12/10 14:26:28 Starting to listen on http://<IP_ADDRESS>:8081
2016/12/10 14:26:28 [SyncHandler /bs/ -> /index-leveldb/] Added 0 pending blobs from sync queue to pending list
2016/12/10 14:26:28 [SyncHandler /bs/ -> /r1/] Added 0 pending blobs from sync queue to pending list
2016/12/10 14:26:28 Slurping corpus to memory from index...
2016/12/10 14:26:28 Slurping corpus to memory from index... (1/9: meta rows)
2016/12/10 14:26:28 Scanned prefix "meta": 0 rows, 6.49µs
2016/12/10 14:26:28 Slurping corpus to memory from index... (2/9: prefix "signerkeyid")
2016/12/10 14:26:28 Slurping corpus to memory from index... (3/9: prefix "claim")
2016/12/10 14:26:28 Slurping corpus to memory from index... (4/9: prefix "fileinfo")
2016/12/10 14:26:28 Slurping corpus to memory from index... (5/9: prefix "filetimes")
2016/12/10 14:26:28 Slurping corpus to memory from index... (6/9: prefix "imagesize")
2016/12/10 14:26:28 Slurping corpus to memory from index... (7/9: prefix "wholetofile")
2016/12/10 14:26:28 Slurping corpus to memory from index... (8/9: prefix "exifgps")
2016/12/10 14:26:28 Slurping corpus to memory from index... (9/9: prefix "mediatag")
2016/12/10 14:26:28 Scanned prefix "mediatag": 0 rows, 44.982µs
2016/12/10 14:26:28 Scanned prefix "filetimes": 0 rows, 30.963µs
2016/12/10 14:26:28 Scanned prefix "wholetofile": 0 rows, 14.964µs
2016/12/10 14:26:28 Scanned prefix "exifgps": 0 rows, 8.866µs
2016/12/10 14:26:28 Scanned prefix "signerkeyid": 0 rows, 9.403µs
2016/12/10 14:26:28 Scanned prefix "fileinfo": 0 rows, 7.67µs
2016/12/10 14:26:28 Scanned prefix "imagesize": 0 rows, 8.585µs
2016/12/10 14:26:28 Scanned prefix "claim": 0 rows, 17.392µs
2016/12/10 14:26:28 Corpus stats: 0.010 MiB mem: 0 blobs (0.000 GiB) (0 schema (0 permanode, 0 file (0 image), ...)
2016/12/10 14:26:28 Corpus scanning CPU usage: 0s
2016/12/10 14:26:28 No dev-pics-root camliRoot node found, creating one from scratch now.
2016/12/10 14:26:28 Reading encryption metadata...
2016/12/10 14:26:28 Read all encryption metadata in 0.000 seconds
PUBLISHER: 2016/12/10 14:26:28 Starting publisher version 2016-12-09-bace8b0d+; Go go1.7.3 (linux/amd64)
PUBLISHER: 2016/12/10 14:26:28 Could not create kv for dev-pics-root's thumbs cache: error from "kv" KeyValue: error opening /tmp/camli-publisher-cache/dev-pics-root-thumbnails.kv: failed to acquire lock on /tmp/camli-publisher-cache/dev-pics-root-thumbnails.kv.lock: cannot acquire lock: Lock FcntlFlock of /tmp/camli-publisher-cache/dev-pics-root-thumbnails.kv.lock failed: resource temporarily unavailable
2016/12/10 14:26:33 Could not reach app publisher: localhost:33011 unreachable for 5s
2016/12/10 14:26:33 Available on http://localhost:8081/ui/
2016/12/10 14:26:38 Got websocket message `{"tag":"q0","query":{"sort":"-created","expression":" ","describe":{"depth":1,"rules":[{"attrs":["camliContent","camliContentImage"]},{"ifCamliNodeType":"foursquare.com:checkin","attrs":["foursquareVenuePermanode"]},{"ifCamliNodeType":"foursquare.com:venue","attrs":["camliPath:photos"],"rules":[{"attrs":["camliPath:*"]}]}]},"limit":50}}`
2016/12/10 14:26:38 Added/updated search subscription for tag "q0"
2016/12/10 14:26:45 index: error indexing directory: can't get StaticSet: schema/dirreader: fetching schema blob sha1-6e1dfb558204c34ffe707de214d3175f1cb76424: blob was not fully indexed because of a missing dependency
2016/12/10 14:26:45 Received blob [sha1-04da415dbbc9653af820c5a49adab22f64c6fe78; 340 bytes]
2016/12/10 14:26:45 Received blob [sha1-076c6b95822c9324c72490dfa00bb58592a13530; 385 bytes]
2016/12/10 14:26:45 Received blob [sha1-13e15bf1a035f86cdc749831476d3ba53726c077; 386 bytes]
2016/12/10 14:26:45 Received blob [sha1-164cad05db83b9b0c3ce307ce4aae12f61084034; 386 bytes]
2016/12/10 14:26:45 index: error indexing directory: can't get StaticSet: schema/dirreader: fetching schema blob sha1-c9ca7cb95f9e768d14a1b9b8e5a4fbd39c421bc5: blob was not fully indexed because of a missing dependency
2016/12/10 14:26:45 Received blob [sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a; 338 bytes]
2016/12/10 14:26:45 Received blob [sha1-1a644e944b0032b7fdd630a764cd920376c783d7; 386 bytes]
2016/12/10 14:26:45 Received blob [sha1-20754776329cc4c2697c5ca66a35ece9ab3a2178; 44 bytes]
2016/12/10 14:26:45 index: error indexing directory: can't get StaticSet: schema/dirreader: fetching schema blob sha1-76b96bbbad9489aa0071ba50bb2a89ddc3a1fd38: blob was not fully indexed because of a missing dependency
2016/12/10 14:26:45 Received blob [sha1-2e6af9e97cc5dcb3e953f84209df8eac10d0d35f; 340 bytes]
2016/12/10 14:26:45 Received blob [sha1-33bb19ee52f6cbf338ebb6196933c9b0f1c71c69; 95 bytes]
2016/12/10 14:26:45 Received blob [sha1-362664e05de660fb778be63bf8bda816b5fe95e0; 386 bytes]
2016/12/10 14:26:45 Received blob [sha1-488062f4d9558515466bfae05800224f0fe71559; 715 bytes]
2016/12/10 14:26:45 Received blob [sha1-49ebb18d73ba60bbabf6decba13b3d12e4cf00cb; 386 bytes]
2016/12/10 14:26:45 Received blob [sha1-4f4859a3f36f6fe4ec8b17de08cfbd538ecf69d1; 121 bytes]
2016/12/10 14:26:45 Received blob [sha1-51bd8343d127fc99be64b62705c7a747cd1af824; 340 bytes]
2016/12/10 14:26:45 Received blob [sha1-5e7873c61acec8b07c3ac25141adf1704aa750ed; 54 bytes]
2016/12/10 14:26:45 Received blob [sha1-6485da2b3e819be5463d9ef805666d9d1fc1c819; 68 bytes]
2016/12/10 14:26:45 Received blob [sha1-6e1dfb558204c34ffe707de214d3175f1cb76424; 121 bytes]
2016/12/10 14:26:45 Received blob [sha1-76b96bbbad9489aa0071ba50bb2a89ddc3a1fd38; 174 bytes]
2016/12/10 14:26:45 index: error indexing directory: can't get StaticSet: schema/dirreader: fetching schema blob sha1-e2f41e0b7aaec683ce1ec5134d5899de6e559189: blob was not fully indexed because of a missing dependency
2016/12/10 14:26:45 Received blob [sha1-83f2efef103457fd3749931f21a388f5e2765bcb; 340 bytes]
2016/12/10 14:26:45 Received blob [sha1-8e52d8e4143c12035a8baa6ecc6cb82a0c9aaae6; 23 bytes]
2016/12/10 14:26:45 Received blob [sha1-8e84fd137b84d45712d5da3f46797cd8af4102d9; 174 bytes]
2016/12/10 14:26:45 Received blob [sha1-8fd54ee4b0e5354bd40ffd1f7797676f7209f749; 7 bytes]
2016/12/10 14:26:45 Received blob [sha1-9fc0eca8c426086ecb2c9093929a6f9f6b36fc02; 562 bytes]
2016/12/10 14:26:45 Received blob [sha1-a2dfa9429bf2a04d8f23fe980209bd5315f80523; 1 bytes]
2016/12/10 14:26:45 Received blob [sha1-acb3281a445b82744682ae28d9cfa29159f486c9; 385 bytes]
2016/12/10 14:26:45 Received blob [sha1-ad73f346abb95de867dd42abb80608804671a674; 386 bytes]
2016/12/10 14:26:45 Received blob [sha1-b54664965911c6fe91e18cd01b68a75c8183b530; 1 bytes]
2016/12/10 14:26:45 Received blob [sha1-b714d75356a94a33a385c1d8887decc233cd1157; 340 bytes]
2016/12/10 14:26:45 Received blob [sha1-c402466fc14b780390a9971b4e967504bae2d841; 562 bytes]
2016/12/10 14:26:45 Received blob [sha1-c9ca7cb95f9e768d14a1b9b8e5a4fbd39c421bc5; 439 bytes]
2016/12/10 14:26:45 Received blob [sha1-cfebb5acc1fd6b0f502ab0f1c52867658de7d9a8; 386 bytes]
2016/12/10 14:26:45 Received blob [sha1-d6614ac65a3f582933b88b240003bf600332a7cc; 386 bytes]
2016/12/10 14:26:45 Received blob [sha1-dba5e7093200bce7d74b088213102d668b9d9657; 45 bytes]
2016/12/10 14:26:45 Received blob [sha1-e2f41e0b7aaec683ce1ec5134d5899de6e559189; 227 bytes]
2016/12/10 14:26:45 Received blob [sha1-e95c8be2a5a94c41e2e7d4fa5e1d6494d7b16d08; 733 bytes]
2016/12/10 14:26:45 Received blob [sha1-ec925edc40851edbd91589dac97c0c976a6e9fcd; 385 bytes]
2016/12/10 14:26:45 Received blob [sha1-f20140ace49179f41d38569a8d673d2eb46e495f; 750 bytes]
2016/12/10 14:26:45 index.GetFileInfo(directory sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a) failed; index stale?
2016/12/10 14:26:45 Query error: error populating sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a: file does not exist
2016/12/10 14:26:45 Received blob [sha1-f92cb7efe4d18812911ffbf5ac745be18fe030fe; 92 bytes]
2016/12/10 14:26:45 index.GetFileInfo(directory sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a) failed; index stale?
2016/12/10 14:26:45 Query error: error populating sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a: file does not exist
2016/12/10 14:26:45 Received blob [sha1-fe43d41ae95f7843842f6a291cf08ca47410fbaa; 31 bytes]
2016/12/10 14:26:45 index.GetFileInfo(directory sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a) failed; index stale?
2016/12/10 14:26:45 Query error: error populating sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a: file does not exist

After refreshing the UI shows no results. Sometimes the last errors
2016/12/10 14:26:45 index.GetFileInfo(directory sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a) failed; index stale?
2016/12/10 14:26:45 Query error: error populating sha1-1a4c60efbce5b8b46e66d324e80b362f4d447a7a: file does not exist

only pop up after refreshing.
If instead of
devcam tool sync -src http://localhost:8080 -dest http://localhost:8081

I do
devcam tool sync -src http://localhost:8080/bs -dest http://localhost:8081/bs
devcam tool sync -src http://localhost:8081/bs -dest http://localhost:8081/index-leveldb

everything goes allright.

@serolod I think I've got it, at least for your use case.
Can you please apply https://camlistore-review.googlesource.com/8969 and let me know if it fixes the problem for you?
You'll still see errors during the sync, only they should be dealt with asynchronously at the end of the sync, so the web UI should be usable a few moments (I want to say milliseconds?) after the the sync now.

@mpl That fixes it. Actually, no errors appear during sync at all.

Cool, thanks. Feel free to +1 on the CL too, to accelerate its merging.
(on phone)
On Dec 19, 2016 14:13, "serolod"<EMAIL_ADDRESS>wrote:

@mpl https://github.com/mpl That fixes it. Actually, no errors appear
during sync at all.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/camlistore/camlistore/issues/738#issuecomment-267961064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmNl2XZ-z7vBsbi1wHZukbEW3a4A08wks5rJoMEgaJpZM4IR3wn
.


finalterm: remove non-working version

This is abandom-ware: https://worldwidemann.com/finally-terminated/
and it coredumps on startup
Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Yippee, we can get rid of vala_0_26.


Remove spring dependencies from APIM webapps

Problem

Need to check the feasibility to remove spring dependencies from APIM

Affected Component
APIM
Version
4.3.0
Related Issues
[1]. https://github.com/wso2/api-manager/issues/2287

@msm1992 Please link the PRs and resolve.

PRs List:
[1]. https://github.com/wso2-extensions/apim-km-wso2is/pull/125
[2]. https://github.com/wso2-extensions/identity-governance/pull/810
[3]. https://github.com/wso2/carbon-consent-management/pull/230
[4]. https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/2381
[5]. https://github.com/wso2/carbon-apimgt/pull/12287


Feat: "Open Source Best Practices" for Students

Most of the open source best practices are aimed at people who already have some experience. For students with no development experience, how should they participate in the open source community?
I think should write an article from a student perspective to guide them on how to participate in open source and grow.

Totally agree with you. You can write it in this repository or your own. But it's worth to do no matter what. Actually, people might need different guide who have different background. For example:

CS student
non-CS student
graduated 1 ~ 3 years
and more

Hopefully we could have much helpful practice or guide for different people.

Totally agree with you. You can write it in this repository or your own. But it's worth to do no matter what. Actually, people might need different guide who have different background. For example:

CS student
non-CS student
graduated 1 ~ 3 years
and more

Hopefully we could have much helpful practice or guide for different people.

yep, agree with you. There is no big difference between computer science students and non-computer science students. They should be the same whole (technical and cognitive level). In my opinion, we can classify them as a whole.

There is no big difference between computer science students and non-computer science students.

I already forget the status when I was a student. For non-CS students, they should learn CS first, right? If we have a non-CS student contributors, they could contribute some references or expericens about it.

There is no big difference between computer science students and non-computer science students.

I already forget the status when I was a student. For non-CS students, they should learn CS first, right? If we have a non-CS student contributors, they could contribute some references or expericens about it.

This is a question worth discussing. 😄😄
Maybe it needs to be discussed in groups.

Maybe it needs to be discussed in groups.

I recommend that discuss it base on a draft content which might be a PR. Please don't afraid of the draft content not being good enough. We can continously improve it.

Maybe it needs to be discussed in groups.

I recommend that discuss it base on a draft content which might be a PR. Please don't afraid of the draft content not being good enough. We can continously improve it.

It's a pleasure to participate in and contribute to the discussion.
I have time to write about some practices of computer science students participating in open source, and I will submit it later.


Possible error on the Carbon Design Systems site regarding sentence case in data table headers

According to PAL, sentence case capitalization should be used for data table column headers.

However, on the Carbon Design Systems website, the column header for 'Attached Groups' seemingly doesn't follow that rule.

Not sure if this was intentional and 'Attached Groups is a name or there was a mistake. Regardless, this confused one of our interns doing a Carbon audit on our products and she was confused about when this rule is applied.

This is a bug with the example we are showing for the Data table component in our React storybook. The column headers should be sentence case.
I opened a separate issue in our carbon repo to resolve this. https://github.com/carbon-design-system/carbon/issues/11143

This has been resolved, our code for data table now reflects sentence-case for column headers https://react.carbondesignsystem.com/?path=/story/components-datatable-batch-actions--default
The live demo on our website will be updated with the latest changes to code. So going to close.


Add Excalidraw recipe

Pre-flight Checklist
Please ensure you've completed all of the following.

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.

Description of Change
Closes https://github.com/ferdium/ferdium-app/issues/1223

Pretty much nothing for the recipe, but having only one recipe makes it harder for either free or paid users I think. Say we put as a default the URL of the free version, paid users will have to type in the URL manually.

paid users will have to type in the URL manually.

you can add a self-hosted option in the recipe's package.json for them to then configure it

They will still have to configure it manually.
Actually the best thing I’m thinking about is providing the package.json with an array of URLs and having Ferdium to ask which URL to use when configuring the service, but it would require changes in Ferdium as well.

Well I’ll make the free version the default one and add a self-hosted option.


Rename_Vertices(g::NamedDimGraph, ...) does not work on an ITensorNetwork

Trying to apply rename_vertices to an ITensorNetwork does not automatically work, i.e the following error is raised:

Should be fixed now in the latest version.


ShellContextMenu will threw ArgumentException if we give Desktop path to it

Describe the bug
Threw ArgumentException
What code is involved
//Path is the path of Desktop
using (ShellItem Item = ShellItem.Open(Path))
using (ShellContextMenu ContextMenu = new ShellContextMenu(Item))
{
       //Do something
}

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Thanks. Fixed for 3.3.4. Check temp build on AppVeyor (see home page) for early testing.


Why I am not able to view the 'create prediction account' button in azure portal?

Hi,
I have created the luis account and after that I have created the authoring account But I am not able to see the create button in the prediction account in azure portal.

Kindly help me the above mention issue.
Thanks & Regards,
Nisha

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

ID: 492f346a-1651-b1c4-ae82-bb28c479f5c6
Version Independent ID: 9d5c1b94-146b-eae7-485e-6f1cba3dc6b5
Content: How to create and manage LUIS resources - Azure AI services
Content Source: articles/ai-services/LUIS/luis-how-to-azure-subscription.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @aahill
Microsoft Alias: aahi

@Nishabhardwaj786
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

@AjayBathini-MSFT
Thanks for responding. I am sharing below the reference that I am following:
https://learn.microsoft.com/en-us/azure/ai-services/luis/luis-how-to-azure-subscription?tabs=portal

@Nishabhardwaj786
Thanks for your feedback! We will investigate and update as appropriate.

@Nishabhardwaj786
Thank you for bringing to our attention.
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum


Slam examples in Turtlebot3 Tutorial

I am running the Slam and Navigation examples in the tutorial. It shows making the map first and then navigating on the map. How do I do both at the same time, that is, navigate over the known part of the map while expanding the map elsewhere?

Hi @pitosalas,
Navigation uses the map file already created. So you can create a map using the SLAM package, and then use the navigation package using the created map.
I've set it up in the cartographer example file, not gmapping, to use both. Please refer to the explanation below.
roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=cartographer

http://emanual.robotis.com/docs/en/platform/turtlebot3/slam/#run-slam-nodes

@pyo thanks. I don’t understand the differnce in the two examples,at least from the reference you showed. Both use
roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=cartographer

The only difference that I see is the value for slam_methods, gmapping vs cartographer. What part enables the use of the map while navigating? Is that implicit in the cartographer library.

You can also use navigation with the move_base in the launch file.

@pyo could you answer in a little more detail?

https://github.com/ROBOTIS-GIT/turtlebot3/blob/467c76bc4fa2e34162f57107388839d82d3bcc0e/turtlebot3_slam/launch/turtlebot3_cartographer.launch#L22-L25
If you look at the turtlebot3_cartographer.launch file as above, you can navigate by running move_base as well as the cartographer node.

Thanks!!


Fix console-chart scale issues

https://github.com/stolostron/backlog/issues/22342
Use default failureThreshold (3)
Allow 5 seconds for timeout for hubs with large workloads

/cc @Randy424

/assign @JakobGray


[python] Extend #3354 to categoricals of arbitrary value type

Follow-up frrom https://github.com/single-cell-data/TileDB-SOMA/pull/3354#discussion_r1876884945 for #3353 [sc-59407]

@bkmartinjr ready for round two!

@bkmartinjr ready for the next round of review!
https://github.com/single-cell-data/TileDB-SOMA/pull/3415/commits/079ed30f182ebf5bd7c6e29051fbb031ddcc50bb

Thanks @bkmartinjr !


fix(curric): remove downloads tab

Description

Removed downloads tab from visible curriculum tabs.

How to test

Go to https://deploy-preview-1893--oak-web-application.netlify.thenational.academy/beta/teachers-2023/curriculum/geography-primary/units
Scroll down to the tabs below the Subject Phase Picker and Title
You should see Overview and Unit Sequence only, not Downloads

Screenshots
How it used to look:

How it should now look:

Checklist

[x] Added or updated tests where appropriate
[x] Manually tested across browsers / devices
[x] Considered impact on accessibility
[x] Design sign-off
[x] Approved by product owner

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


Question - Pod Policies and auto generation.

While trying to apply pod policies it fails like this:
╷
│ Error: The post rest request failed
│
│   with module.aci.module.aci_fabric_pod_profile_auto["1"].aci_rest_managed.fabricRsPodPGrp["pod-1"],
│   on .terraform/modules/aci/modules/terraform-aci-fabric-pod-profile/main.tf line 35, in resource "aci_rest_managed" "fabricRsPodPGrp":
│   35: resource "aci_rest_managed" "fabricRsPodPGrp" {
│
│ Code: 400 Response: [map[error:map[attributes:map[code:182 text:Validation failed: Validation failed: there is POD selector of type ALL and one of type range. Last considered for validation:
│ Dn0=uni/fabric/podprof-default/pods-default-typ-ALL, ]]]], err: %!s(<nil>). Please report this issue to the provider developers.

Here is my pod policy config:
---
apic:
 pod_policies:
   pods:
     - id: 1
       tep_pool: <IP_ADDRESS>/19
       policy: default

If I try to add this to the fabric policies:
---
apic:
 fabric_policies:
   pod_profiles:
     - name: default
       selectors:
         - name: default
           type: all
 pod_policies:
   pods:
     - id: 1
       tep_pool: <IP_ADDRESS>/19
       policy: default

It fails like this:
│ Error: The post rest request failed
│
│   with module.aci.module.aci_fabric_pod_profile_manual["pod-1"].aci_rest_managed.fabricPodS["pod-1"],
│   on .terraform/modules/aci/modules/terraform-aci-fabric-pod-profile/main.tf line 25, in resource "aci_rest_managed" "fabricPodS":
│   25: resource "aci_rest_managed" "fabricPodS" {
│
│ Code: 400 Response: [map[error:map[attributes:map[code:182 text:Validation failed: POD Ids overlap. Dn0=uni/fabric/podprof-pod-1, ]]]], err: %!s(<nil>). Please report this issue to the provider developers.
╵

I'm having this enabled:
apic:
  auto_generate_switch_pod_profiles: true
  auto_generate_pod_profiles: true
  fabric_policies:
    pod_profile_name: "pod-\\g<id>"
    pod_profile_pod_selector_name: "pod-\\g<id>"

Not quite sure about how the auto generation things work either so if someone could explain that aswell it would be awesome.

auto_generate_switch_pod_profiles - will auto generate all your switch profiles, switch selectors, interface profiles, interface selectors and pod profile
auto_generate_pod_profiles - will auto generate pod profile
The auto generated pod profile will have in this case "pod-1" name and "pod-1" selector name with type "range" and selector "1" taken from the pod policies configuration.
On a fresh fabric there is usually some pre-created pod profile, that should have no policy group applied. Please verify in your setup if there is no policy group applied there, if there is the same policy, you might see the first error you pasted.
Not sure what you pasted in fabric_policies, the code seems to be copy of pod_policies, but if you want to create manually the pod profile, you need to disable the auto generation

@juchowan thanks for your answer:
This is the entire file:
---
apic:
  version: "5.2.8h"
  auto_generate_switch_pod_profiles: true
  auto_generate_pod_profiles: true
  # auto_generate_fabric_leaf_switch_interface_profiles: true
  # auto_generate_fabric_spine_switch_interface_profiles: true
  # auto_generate_access_leaf_switch_interface_profiles: true
  # auto_generate_access_spine_switch_interface_profiles: true
  # new_interface_configuration: true
  fabric_policies:
    leaf_switch_profile_name: "leaf-\\g<id>"
    leaf_interface_profile_name: "leaf-\\g<id>"
    leaf_switch_selector_name: "leaf-\\g<id>"
    spine_switch_profile_name: "spine-\\g<id>"
    spine_interface_profile_name: "spine-\\g<id>"
    spine_switch_selector_name: "spine-\\g<id>"
    pod_profile_name: "pod-\\g<id>"
    pod_profile_pod_selector_name: "pod-\\g<id>"
  access_policies:
    leaf_switch_profile_name: "leaf-\\g<id>"
    leaf_interface_profile_name: "leaf-\\g<id>"
    leaf_switch_selector_name: "leaf-\\g<id>"
    leaf_interface_selector_name: "eth-\\g<mod>-\\g<port>"
    leaf_interface_selector_sub_port_name: "eth-\\g<mod>-\\g<port>-\\g<sport>"
    fex_profile_name: "leaf-\\g<id>-fex-    \\g<fex>"
    fex_interface_selector_name: "eth-\\g<mod>-\\g<port>"
    spine_switch_profile_name: "spine-\\g<id>"
    spine_interface_profile_name: "spine-\\g<id>"
    spine_switch_selector_name: "spine-\\g<id>"
    spine_interface_selector_name: "eth-\\g<mod>-\\g<port>"
    vpc_group_name: "vpc-\\g<switch1_id>-\\g<switch2_id>"

I would like to auto generate things, but would also be nice to override some values, it seems like the selector being range or all.
Sorry realized now that i had pasted the wrong thing in my initial post, here is the correct one:
---
apic:
 fabric_policies:
   pod_profiles:
     - name: default
       selectors:
         - name: default
           type: all
 pod_policies:
   pods:
     - id: 1
       tep_pool: <IP_ADDRESS>/19
       policy: default

this will make it fail. is it not possible to have selector being type all when auto-generating the pod-policies?

@juchowan it fails when i try to define v-tep pool in the code, because: «Validation failed: there is POD selector of type ALL and one of type range»
So I guessee the best way was to define ALL, but if it’s possible to do it another way, I’m more than happy.

Can you share the code?
The error you mention seems to be caused because you have one auto generated pod profile and another one either done manually from pod_profiles sections or manually in the fabric itself

---
apic:
 fabric_policies:
   pod_profiles:
     - name: default
       selectors:
         - name: default
           type: all
 pod_policies:
   pods:
     - id: 1
       tep_pool: <IP_ADDRESS>/19
       policy: default

You need to remove the pod_profiles section. This is not needed when using auto generation.
You also need to use a different policy group name than default. If you are just using the default policy group, then the existing default pod profile will already be taking effect and you don't need to configure anything.
If that is your intention, also remove the policy line from the pod configuration. Then update your auto generation lines to look as follows:
  # auto_generate_switch_pod_profiles: true
  # auto_generate_pod_profiles: true
  auto_generate_fabric_leaf_switch_interface_profiles: true
  auto_generate_fabric_spine_switch_interface_profiles: true
  auto_generate_access_leaf_switch_interface_profiles: true
  auto_generate_access_spine_switch_interface_profiles: true

Does that answer your question?

Will close this for now, if there are further questions feel free to reopen this issue.


Cleaned up some tests

Just making sure tests are passing

@dbu I want to merge this and release 3.0.

We should keep them. This CI just want to check how "other clients" behave with the suggested changes.


Paradice

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

You should recognize each of these recent activities. If one looks unfamiliar, click it to let us know.
Learn more about the recent activity page
Learn how to make your account more secure
Recent activity
Time (GMT)
Session Type
2 minutes agoSuccessful sign-in
deviceIconDesc
Device/platform
Android
Browser/app
Unknown
IP address
<IP_ADDRESS>
Session activity
Security info added
Successful sign-in
Successful sign-in
Approximate location
United States
Map is not available for activity on mobile devices
Look unfamiliar?
Secure your account
3/1/2022 4:16 PMSuccessful sign-in
deviceIconDesc
Device/platform
Android
Browser/app
Android
IP address
2607:fb90:dc5:8fb0:6b16:a0f1:a128:4c06
Phone number
14696974300
Session activity
Phone number added
Additional verification requested
Approximate location
Zachry Tyler Wood
5323 BRADFORD DRIVE
DALLAS TX 75235-8313
Bitcoin[BTC-USD] BTCUSD CCC
o'Auth: approves


org member 邀请bug

org member 邀请bug
issue:https://github.com/OpenCSGs/CSGHub/pull/467

@zzxr6 no need to paste the issue link here


Design Document / MVP Goal: dodl - A Command-Line Tool for Streamlined Markdown Document Creation

Elevator Pitch
Whether you're in a meeting, brainstorming an idea, attending a university lecture, or just journaling your thoughts, capturing important information quickly and organising it effectively can be a challenge. Scribbling on scraps of paper or creating unstructured files on your computer only leads to clutter and confusion later.
That's where dodl comes in. It's a command-line tool that instantly creates well-structured documents using user-defined templates and dynamic directory management. With dodl, you can generate relevant files - be it notes, ideas, or diary entries - automatically stored in the right place, without worrying about organising them manually. Perfect for professionals, students, and hobbyists alike, dodl makes staying organised effortless, no matter what you're working on.
Overview
The main features / goals for dodl:
Instant Document Creation
Generate a document from a predefined template and store it in a dynamically structured directory - all in one command.
Headless Operation
Once the command is executed, dodl runs non-interactively, requiring no further input.
Simple and Intuitive
Commands, configurations, and templating are designed to be straightforward, making it easy for both professionals and hobbyists to get started.
Custom File Types
Define your own file "types," each associated with a specific directory structure and template, allowing for flexible document management.
Workspaces
dodl operates within a workspace, with a .dodl directory at its root, serving as the base for configurations and file organisation.
Layered Configuration
Enjoy a flexible, hierarchical configuration system, with settings applied globally, by user, or within specific workspaces.
Templating
Use placeholders like {{date}} or {{topic}} that dynamically insert relevant content into documents when they’re created.
Plugins
Investigate the possibility of running with a plugin system that can extend functionality (adding new templating placeholders, or document types, etc.)

This architecture has essentially been implemented:
A quick rundown of where things stand:
The main flow begins in the cmd package, where commands are parsed and prepared. Control then moves to the core package, which manages the central business logic and coordinates the other components.
Architecture Overview

Command Execution: The cmd package contains command-specific folders (create, initialise, status), which handle parsing and set up the execution context.
Core Orchestration: Once a command is parsed, data is passed to the core package (in internal/core). Here, core orchestrates the main logic, calling the relevant components as needed to load configurations, set up workspaces, create documents, etc.
Workspace and Template Management: The pkg/workspace package identifies or initialises the workspace and loads templates. These templates are then processed by pkg/templating.
File Operations and Configuration: pkg/filesystem manages any file interactions, and pkg/config handles configuration loading and management.

The current implementation of dodl meets the core goals and features outlined:

Instant Document Creation: Documents are generated from user-defined templates and stored in dynamically structured directories with a single command.
Headless Operation: dodl runs non-interactively after command execution, requiring no further input.
Simple and Intuitive: Commands, configurations, and templating are designed to be straightforward, making it easy for users to get started quickly.
Custom File Types: Users can define custom file types, each associated with a specific directory structure and template, supporting flexible document management.
Workspaces: dodl operates within a designated workspace, with a .dodl directory at its root for configuration and file organisation.
Layered Configuration: Configurations can be applied either at the user level (~/.config/dodl) or within specific workspaces, ensuring flexibility without global settings.
Templating: Templating includes placeholders such as {{ .Now }} and {{ .Topic }}, enabling tailored and dynamic document generation.

Note regarding plugins:
The plugin system is still an exploratory feature and hasn't been implemented yet.  I think this is a long way off and depends massively on future actual usage/experience.  I'm trying to follow the YAGNI principle (You Aren't Gonna Need It) and avoid implementing features while saying "maybe one day" and just implement them when I need them.
The places I had envisioned plugins being useful would be for things like adding functionality for a remote workspace / cloud provider, or different document types, encrypting and decrypting workspaces, etc.
But realistically I think most of these could/would be implemented in the core functionality if they were to genuinely be needed or desired.


Error : Call to private Method

I am using Firebase Admin SDK for PHP v 3.9.3
Problem
Error: Call to private method Kreait\Firebase\ServiceAccount::fromJsonFile() from context
While trying to use some methods as follows;
$serviceAccount = ServiceAccount::fromJsonFile(DIR . '/firebase_credentials.json');
$firebase = (new Factory)
->withServiceAccount($serviceAccount)
->create();
I tried to edit fromJsonFile() from private to public and seemed like it worked then I landed to another issue, this method  withServiceAccount does not exists
Error : Call to undefined method Kreait\Firebase\Factory::withServiceAccount()

As you're using the 3.x branch of the SDK, the 4.x documentation doesn't apply. On the documentation pages, there's a version switcher at the bottom left where you can select the version of the SDK that you're using.
The 3.x documentation is located here: https://firebase-php.readthedocs.io/en/3.9.3/overview.html
Out of curiosity, why aren't you using version 4.x of the SDK?

Honestly, I didn't know if version 4.x was existing... I upgraded to version 4.8.0 and it worked perfectly, thanks a lot.

Good to hear! You can upgrade straight to 4.17 - except if there is a limitation that I‘m not aware of :/

Good to hear! You can upgrade straight to 4.17 - except if there is a limitation that I‘m not aware of :/

I will try it and let you know...

I closed the issue as it‘s not a bug, but feel free to add further comments if needed.

I closed the issue as it‘s not a bug, but feel free to add further comments if needed.

OK


Sanity Check / Behavior of "roomTemp"

When set to heat, roomTemp will return 20.5 degrees.  When set to off, roomTemp will return 20.5 degrees.  When set to vent, roomTemp will return 22.5 degrees -- this is weird enough, but when I set the mode back to off, the reading stays at 22.5 degrees -- the only thing that seems to set roomTemp back to 20.5 degrees (as far as I can tell, the actual temperature) is setting the mode to heat.
Is there something I'm misunderstanding about what roomTemp means or how to interpret it?  I assumed it would pretty much always be the room temperature.
Thanks!

Oct 17 22:45:40 zou npm[2269]: Got a PUT:/v0/room Oct 17 22:45:40 zou npm[2269]:       PUT:/v0/roomTop Floor/mode/auto Oct 17 22:45:40 zou npm[2269]: {"r":{"indoorUnit":{"status":{"mode":"off"}}}} Oct 17 22:45:45 zou npm[2269]:       PUT:/v0/roomTop Floor/status Oct 17 22:45:45 zou npm[2269]: {"r":{"indoorUnit":{"status":{"roomTemp":22.5,"mode":"autoCool","spCool":23,"spHeat":20,"vaneDir":"midpoint","fanSpeed":"auto","tempSource":"unset","activeThermistor":"unset","filterDirty":false,"hotAdjust":false,"defrost":false,"standby":false,"runTest":0}}}} Oct 17 22:46:01 zou npm[2269]: Got a PUT:/v0/room Oct 17 22:46:01 zou npm[2269]:       PUT:/v0/roomTop Floor/mode/heat Oct 17 22:46:02 zou npm[2269]: {"r":{"indoorUnit":{"status":{"mode":"autoCool"}}}} Oct 17 22:46:07 zou npm[2269]:       PUT:/v0/roomTop Floor/status Oct 17 22:46:07 zou npm[2269]: {"r":{"indoorUnit":{"status":{"roomTemp":20.5,"mode":"heat","spCool":23,"spHeat":20,"vaneDir":"midpoint","fanSpeed":"auto","tempSource":"unset","activeThermistor":"unset","filterDirty":false,"hotAdjust":false,"defrost":false,"standby":false,"runTest":0}}}}


How to get main phone number?

If one contact has several phones, hot to get the main?

i assume it should be first in list of numbers

Unfortunately no. The first is not default

i will take a look on it later

https://stackoverflow.com/questions/6474019/how-to-detect-the-default-phone-number-of-a-contact-if-set - can you implement it, please?

it is always false, also I don't understand what do you mean by default account, since there is nothing in UI to make phone number default or primary

Phone has UI to set  default number

added in 1.14.2
https://github.com/blainepwnz/AndroidContacts/pull/40

Cool! How its working now, Andrew?) How to define default number?

to define default number i need to implement edit contact, which I have not implemented.(and don't have any plans to implement)
Other way is to create new contact via ContactSaver and to add PhoneNumber into it with "isPrimary" set to true.

Maybe I was incorrect with my question. As I understand, you implemented getting default number now. How to work with it? How to get default number?

ContactData.phoneList.first().isPrimary()

Cool! Thank you!)


bump lazy_static to 1.0

Thanks!
Do you see any reason for not merging this PR @EPashkin @sdroege?

Go for it, long overdue :)

👍 too

Then let's go!


Reindexing is never automatically triggered (OSX)

I'm quite new to rtags, so I am not sure how is it supposed to work,
but for me reindexing is basically never triggered when I modify and save the file.
I can trigger reindexing manually with <Leader>rr, but for some reason that also seems to reindex much more than it should.
RTags has support for automatic reindexing, right?

Closing, opened a tickets on rtags proper.


Change the way custom modules are referenced

Neither the example in Reamde.md nor the predefined plugins have constrcturs. Thus just copying one of the predefined plugins and requiring them in the way as described in readme doesn't work and throws

Error: Plugin must be the constructor name or an object

Therefore you need to explicitely pass a conrete function to PluginRunner.
However imho a better solution would be to update the predefined modules.

Thanks!

Released! https://github.com/taskrabbit/node-resque/releases/tag/v5.5.4


Log in / Sign up page

i want to update the UI/UX of login/sigin page. plz assign it to me

@BhuwanSKumar  Can you please assign this work to me


Vue sfc intellisense

re-creating #2391 so that I can rebase it before merging!
This introduces vue support for intellisense.
Thanks @AumyF for making this PR!

(Adding here from Discord for searchability & awareness.)
I can't get VSCode Intellisense in .vue files to work, even though GraphQL Intellisense works in .graphql and with the same graphql tag in .ts files. My .graphqlrc includes .vue files and I'm running the latest version of the extension, which should include Vue support as I understand.
What might I be doing wrong?

After some debugging it Vue VSCode Intellisense works if the setup scripts comes first (before template & script), but fails in any other order. If the setup script comes second, GraphQL errors are overlaid on whatever is actually there as if the script came first. So it looks like the setup script offset isn't added somewhere.
I'm not familiar with this codebase, so maybe this is an upstream issue with the vue sfc compiler.


Spacing between icon/button and label

@simcheolhwan  With the latest update (1.1.0) it seems like a lot of components had some regression regarding margin/padding (see button, icons example below)

Thanks 👍

Thanks for the report.
Technically the current electron version does not support gap with flex in css.
It will be fixed. I recommend to use in Chrome browser https://station.terra.money.
You can use it with the Terra Station extension.

a new Station desktop with both Intel/M1 support would fix this issue. (WIP)

https://github.com/terra-money/station-desktop/releases/tag/v1.2.0
Download new applications to solve this.


Turn ./app/views/issues/show.html.erb into tailwind css

So we have a rails app that uses Bootstrap on the front-end and we would like to change the entire app to Tailwind instead. Each section of the app is split into chunks. Would you like to do this chunk/view? ./app/views/issues/show.html.erb.
The best way to go about this would be to fork the repo and push the PR on your own repo. Let us know if you have any questions!

So we have a rails app that uses Bootstrap on the front-end and we would like to change the entire app to Tailwind instead. Each section of the app is split into chunks. Would you like to do this chunk/view? ./app/views/issues/show.html.erb.
The best way to go about this would be to fork the repo and push the PR on your own repo. Let us know if you have any questions!

Okay, Thanks!


Links  don't work on macOS

Links work normally on Windows and Linux but About does nothing on macOS
Steps to reproduce:

open https://github.com/tryphotino/photino.Blazor/tree/master/Samples/Photino.Blazor.Sample on macOS
build and run
click on the About link

Currently the about link in the sample app has the target="_blank" attribute. This would either open a new tab or window depending on the browser configuration. Since the webview implementation used in Photino is leaving this kind of behavior to the software that implements it, nothing happens when the attribute is specified Removing the attribute opens the link in the current window on all platforms as expected.
If you (or anyone else) wish to open a new Photino window when a link with the target attribute is clicked, you could for example intercept the click with Javascript, send the URL through IPC to the underlying C# program and spawn a new window with the URL.
@MikeYeager @ottodobretsberger we might want to think about adding this as default behavior of Photino


You can never remove the last favourite

Even if you try...

@owennw this is actually- can't remove 0 indexed favourite

Closed by #215


[fun] 3d splash screen/easter egg

- Do you want to request a feature or report a bug?
https://github.com/sinclairzx81/zero

Looks fun.
Closing for now. Looks like cross compatibility might be an issue. Different OSs & different shells (fish, zsh, etc)


Revisit docker mem allocation

What this PR does:

fixed JSON_API native image (build time is longer, since need to build two time for ARM and AMD platforms. Currently didn’t see other options)
JSONAPI use native image by default and give option to use java-based image
reallocate memory for JSONAPI java-based image, native image, dse node.

Which issue(s) this PR fixes:
Fixes #<494>, part of issue 2607
Checklist

[x] Changes manually tested
[ ] Automated Tests added/updated
[x] Documentation added/updated
[x] CLA Signed: DataStax CLA

I suggest that we have just the docker compose fixes in this PR and handle the image building changes in a separate PR.

I suggest that we have just the docker compose fixes in this PR and handle the image building changes in a separate PR.

I understand.
But the thing is that our native image for JSONAPI on dockerhub is unusable.
The changes in docker compose will use native image by default, then users will have an issue running JSONAPI by pulling this unusable native image.

The changes in docker compose will use native image by default, then users will have an issue running JSONAPI by pulling this unusable native image.

We should probably back that part out for now then. The original focus of the issue was to update the memory settings. Making native image the default is a good idea but since we are having issues let's address separately.


Pandas

How read data from a csv file into a dataframe
Separate columns from a dataframe
Search rows from a dataframe
delete record, columns, rows from a dataframe
update records in a dataframe
write to a csv file
Explain shape and reshape

Ans 1>
import pandas as pd
data1= pd.read_csv("file_path\filename.csv") # in this line we are retrieving data from the excel(csv) file which is stored at
#file_path to  data1 ( that is variable)
print(data)

Import pandas as pd
Data= pd .read_csv("filename")
Print(data)

Ans-2.
Import pandas as pd
data= pd.read_csv("path\file name")
Col1= data[col1] #col1 is a separated column who wants to print
Print(Col1)

Ans-3.
import pandas as pd
data= pd.read_csv("path\filename")
row= data["column name"]["rowname"]
Print(row)

Ans 1>
import pandas as pd
data1= pd.read_csv("file_path\filename.csv") # in this line we are retrieving data from the excel(csv) file which is stored at file_path to data1 ( that is variable)
print(data)
Ans>2
    c = data1["column_name"]   # c will have all the data of column_name

Ans>3
    query1 =  data1[(condition)]  # if we are searching for row in which rollno column has value 7 condition will be data1["rollno"] ==7
    query2 = data1[ ( condition1 ) & ( condition2 ) ] # if we searching for row in which rollno column has value in between 25 to 50 then condition1 will be data1["rollno"]>=25 and condition2 will be data["rollno"]<=50
    query3 = data1[( condition1 ) | ( condition2 )]

###Ans 4>
for deleting column :
del data1["column_name"]
for deleting row :
data1 = data1.drop( row_index_number )

Ans-4.
import pandas as pd
data= pd.read_csv("path\filename")
newdata=del data["column name"]#delete for column
newdata1=data.drop("row name")
print(newdata)
print(newdata1)

Ans-5.
Import pandas as pd
data= pd.read_csv("path\filename")
newdata= data["column name"]+= "update data" # update data are name or number.
data.update(newdata)
print(newdata)

Ans5>
data1[row_index,["column_ name"]] = Changed_value
Ans6>
data1.to_csv("file_path/file_name.csv")

Import pandas as pd
data.to_csv("path\file_name.csv")

Ans-7.
Shape- shape tools can also used to change the shape of an array.
Reshape- The reshape tool gives a new shape to an array without changing its data.


Laravel 5.3 compatibility

Can i use this package with Laravel 5.3 ?

I have the same question. Anyone tried to do it?

I had no problems using it with Laravel 5.3

Thanks


HttpRequest can not handle url contain space

HttpRequest.get("http://localhost?name=a  b") will failed, path may contain space, too .HttpRequest.get("http://localhost/a b/?name=a  b")

#394
A space is not a valid character and needs to be encoded

But how ? Browser can handle this, why not jodd, is jodd for things like this ?
I manually get the query string, then HttpUtil.parseQuery, HttpUtil.buildQuery to rewrite the url.
The url is get from html a href by Jerry

The browser handles it by additionally encoding such characters.
Could you post a sample code? buildQuery should actually handle that fine.

This only handle query string contain space
  public String spaceInQueryString(String url) {
    int i = url.indexOf('?');
    if (i > 0) {
      String qs = HttpUtil.buildQuery(HttpUtil.parseQuery(url.substring(i + 1), false), "UTF-8");
      return url.substring(0, i + 1) + qs;
    }
    return url;
  }

You'd need to post sample code where you encounter the issue. The code you posted is not space-related and actually handles them fine.
Which version are you using?

Yo need to make sure to pass a valid URL properly, especially when you use Unicode characters.

This should be fixed in latest version by checking the http method. 👍


footer is not responsive can i work on it

Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen

.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Are you participating under any open-source program?
( fill NA if none )

@arunsingh009 Assigning this issue to you. Happy Coding !

Thanks For this i am glad this will be my first contribution in world of open source


Support for libwebkit2gtk?

Sexy macros! Any plans to implement libwebkit2gtk? That would be hot

I remember someone asking for webkitgtk support some time ago on the Nim Discord. Back then Fedora did not include a webkitgtk version that was compatible with GTK4. At the time I did not want to compile a compatible version of webkitgtk from scratch, so the project was abandoned. In the meantime Fedora added the webkit2gtk5.0-devel package which is compatible with GTK4. I still had the code laying around, and it turns out that it just works:
Here is the owlkettle_webkit module which wraps the WebView widget:
import owlkettle, owlkettle/[gtk]

{.passl: gorge("pkg-config --libs webkit2gtk-5.0").}

{.push importc.}
proc webkit_web_view_new(): GtkWidget
proc webkit_web_view_load_uri(webView: GtkWidget, uri: cstring)
{.pop.}

renderable WebView:
  uri: string

  hooks:
    beforeBuild:
      state.internalWidget = webkit_web_view_new()

  hooks uri:
    property:
      webkit_web_view_load_uri(state.internalWidget, state.uri)

export WebView

And here is a simple example Browser Application that uses this widget.
import owlkettle, owlkettle/adw
import owlkettle_webkit

viewable App:
  search: string = "https://www.example.com"
  uri: string = "https://www.example.com"

method view(app: AppState): Widget =
  result = gui:
    Window:
      title = "Owlkettle Webkit Browser"

      HeaderBar {.addTitlebar.}:
        Entry {.addTitle.}:
          text = app.search

          proc changed(text: string) =
            app.search = text

          proc activate() =
            app.uri = app.search

      WebView:
        uri = app.uri

adw.brew(gui(App()))

Of course this is just a proof of concept which cannot (and should not) be used for implementing anything complex. The main issue with wrapping webkitgtk is designing an API for webkitgtk which is declartive. Webkitgtk heavily relies on sending messages to the WebView widget (reload, load_uri, go_back, ...) , which is not possible in a declarative framework like owlkettle.

I currently do not want to add a WebView widget to owlkette directly, since I dont want to have webkitgtk as a dependency for owlkettle (most users probably wont need webkitgtk). Maybe this could be a separate module/extension.


Various doxygen and doc fixes and enhancements

Cleanup API structure and hide internal functions.

Codecov Report

Merging #6358 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6358      +/-   ##
==========================================
+ Coverage   53.08%   53.08%   +<.01%
==========================================
  Files         430      430
  Lines       41040    41040
  Branches     7908     7908
==========================================
+ Hits        21785    21786       +1
+ Misses      16032    16031       -1
  Partials     3223     3223

Impacted Files
Coverage Δ

include/kernel.h
94.73% <ø> (ø)
:arrow_up:

samples/philosophers/src/main.c
98.43% <0%> (+1.56%)
:arrow_up:

Continue to review full report at Codecov.

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


Extend Admin GUI tool with regards to implementation & User friendliness to exclude certain fields from the final sitemap.xml file

1- Out of the box/Custom implementation for getting the filtered dropdown list of sites:
Including the package in my multi site application ,the dropdown lists of sites shows both http & https sites. Can there be a custom implementation to overwrite GetSiteHosts and ShouldAddToSiteHosts methods that will filter out the list to include only https sites.
Another customization that I am looking for is to filter the dropdown list based on a site level property setting to exclude/include the site itself from appearing in the dropdown list.
I believe having a site level configured filtered list will eliminate the chances of editorial mistakes to generate unwanted or unsecured list of sitemap for a site.
2- Option to exclude Priority & Frequency from the generated XML similar to Debug Info.
Google's general guideless for sitemap slates that it ignores priority & frequency & only considers lastmod value(https://developers.google.com/search/docs/advanced/sitemaps/build-sitemap#general-guidelines).So just like Debug info option ,can there be a setting to exclude priority/frequency from the xml file?

Just do not add hosts with HTTP if you do not want HTTP sites.
Another thing is that this is an admin tool. Admins should be quite educated to know what sitemaps are needed and what should be configured. So filtering out sites for admin is not worth the effort to implement such a feature.
Please create a separate issue. Don't mix multiple features/issues in one issue, please.

Also, what issues do you have by having priority and frequency values in the XML?

tool

There's no issue with having them but if it is not being considered by major search engine then it could be eliminated from the xml file.Also ,both of the points mentioned are not issues but more of feature request. May be I missed to add some label around it mentioning it as a feature request.

@ShaikhFarhin

Probably you do not have HTTPS configured for hosts.

I don't see any benefit of excluding these two fields if Google doesn't mind about them. Also, in their documentation, they say that they "currently" do not use these values. So in the future, they might.  And there are also other search engines and tools that might use those values. If you find anything that these fields break, we could implement it or just remove these fields.

2. these

Thank you for pointing out the settings for HTTPS configured hosts which was not set & so the list included both HTTP & HTTPS within the list.


feat(issues-2079): Implement JsonView support for swagger.

See original request https://github.com/swagger-api/swagger-core/issues/2079
The patch will create various definition models for response based on the original model and
the JsonView, e.g., given the original model Car, and JsonView named Detail and Summary, the
definition model could be Car_Summary, Car_Detail, or Car_Summary-or-Detail.
The patch also support the inheritance of the JsonView, e.g., The Detail is a subtype of Summary,
so any type/field annotated by Summary, should be visible to Detail view.
Please refer to the JsonViewTest.java for detail.
Also refer to the CarResource.java and the updated ApiListingResourceIT.java
  private static class View {

    interface Summary {}

    interface Detail extends Summary { }

    interface Sale {}
  }

  private static class Car {

    @JsonView(View.Summary.class)
    @JsonProperty("manufacture")
    private String made = "Honda";

    @JsonView({View.Summary.class, View.Detail.class})
    private String model = "Accord Hybrid";

    @JsonView({View.Detail.class})
    @JsonProperty
    private List<Tire> tires = Arrays.asList(new Tire());

    @JsonView({View.Sale.class})
    @JsonProperty
    private int price = 40000;

    // always in
    private String color = "White";

    public String getColor() {
      return color;
    }
  }

  private static class Tire {

    @JsonView(View.Summary.class)
    @JsonProperty("brand")
    private String made = "Michelin";

    @JsonView(View.Detail.class)
    @JsonProperty
    private String condition = "new";
  }

 @Api
  @Path("/")
  private static class CarDetailApi {

    @GET
    @Path("/cars/detail")
    @JsonView({View.Detail.class})
    @ApiOperation(value = "Return car detail", response = Car.class, responseContainer = "List")
    public Response getDetails() {
      return Response.ok(Arrays.asList(new Car())).build();
    }
  }

The following swagger will be generated:
{
  "swagger": "2.0",
  "paths": {
    "/cars/detail": {
      "get": {
        "summary": "Return car detail",
        "description": "",
        "operationId": "getDetails",
        "parameters": [

        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Car_Detail"
              }
            }
          }
        }
      }
    }
  },
  "definitions": {
    "Car_Detail": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string"
        },
        "tires": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Tire_Detail"
          }
        },
        "color": {
          "type": "string"
        },
        "manufacture": {
          "type": "string"
        }
      }
    },
    "Tire_Detail": {
      "type": "object",
      "properties": {
        "condition": {
          "type": "string"
        },
        "brand": {
          "type": "string"
        }
      }
    }
  }
}

@p4ali Thanks! this PR has been included in merged #2681 which adds some tests and minor fixes


CI for Chacha20 in WASM

Get info from Jonathan

https://github.com/project-everest/everest-ci/issues/102

@denismerigoux I have the target for c-wasm in Makefile.build but the one I want is actually the one for k-wasm. Anyway you could PR adding that ? It would be useful to run k-wasm in the CI ;)

Let's follow that here: https://github.com/mitls/hacl-star/issues/79


Integrate this repository as a "data source" for rtic-scope

This crate currently dumps the extracted trace packets into a binary file which can be ingested into rtic-scope for further analysis.
That currently involves a two-step process:

Perform the capture into ETB, parse data, demultiplex, and dump to binary file
Ingest binary file in rtic-scope for display

It would be beneficial if an argument could be provided on rtic-scope to do the capture + analysis as a single operation. Alternatively, we could directly call rtic-scope after collecting the trace data or provide a wrapper utility that did this.

Closing this as unnecessary. This repository is going to entirely disappear as functionality is integrated into probe-rs. A PR can be made directly into rtic-scope to support trace data stored in the trace memory controller.


Adds OpenAPI support

Short Description
Adds OpenAPI annotations to support auto generation for client stubs
Issue

This pull request depends on the feature-modelHarmonization branch


Is it possible to add support of Yandex.Browser?

It's a chrome fork - https://browser.yandex.com/

PR is welcome. Take a look at browsers.js. You'd need to add exports.yandex = .. with default install location(s), registry keys, etc. Provided those paths and keys don't conflict with chrome's.

Thanks for manual, will try to add support for Yandex and maybe other (major, good quality) local browsers, like Chinese Maxthon, for example.

I have tested locally (did not modified your unit tests included). It works for both standard or custom installation (custom path) of the browsers.


ArgumentError: "invalid value for Float()" when loading multiline string that looks like float

Thank you very much for all your work on the psych Gem!
When I load a multiline string where at least one line looks like a float, I get an ArgumentError: "invalid value for Float()". Psych falsely interprets the multiline string as a float:
yaml = %(---
foo:
- ! \"1.\\n2.\")

Psych.load(yaml)

This code snippet generates the following error:
ArgumentError: invalid value for Float(): "1\n2"
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/scalar_scanner.rb:102:in `Float'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/scalar_scanner.rb:102:in `tokenize'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:116:in `deserialize'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:122:in `visit_Psych_Nodes_Scalar'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:15:in `visit'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:5:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:31:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:295:in `block in register_empty'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:295:in `each'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:295:in `register_empty'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:140:in `visit_Psych_Nodes_Sequence'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:15:in `visit'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:5:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:31:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:302:in `block in revive_hash'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:300:in `each'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:300:in `each_slice'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:300:in `revive_hash'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:161:in `visit_Psych_Nodes_Mapping'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:15:in `visit'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:5:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:31:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:276:in `visit_Psych_Nodes_Document'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:15:in `visit'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/visitor.rb:5:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/visitors/to_ruby.rb:31:in `accept'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych/nodes/node.rb:37:in `to_ruby'
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/psych.rb:246:in `load'
  from (irb):91
  from /Users/redacted/.rvm/rubies/ruby-2.1.5/bin/irb:11:in `<main>'2.1.5 :092 >

I think this has to do with the regex that parses for floats. It uses ^ and $ to test for floats. Shouldn't the regex use \A and \z (string start and end vs. line start and end) to avoid this kind of issue?
The offending regex is located in psych/lib/psych/scalar_scanner.rb
Let me know if you want me to submit a pull request that replaces the ^ with \A and $ with \z. I would also update the test for ScalarScanner with test cases for this scenario.

@jhund yes, please send a PR. I'd be happy to merge it!

I just had a look at scalar_scanner.rb and saw that there are a lot of regexes which use ^ and $ and should probably be converted to \A and \z. Would you prefer a narrowly focussed PR, just for my issue, or should I clean them all up (as appropriate)?

@jhund send one PR just for this narrow case, then follow up with a second PR to address the other regexps.  Some of the regexps in there are for performance reasons, so I'd like to make sure that these two commits are kept separate.  Thank you very much!

@tenderlove turns out that this issue doesn't exist any more in the current version of Psych (2.0.17). I can reproduce it with the version that is bundled with Ruby 2.1.5 (Psych 2.0.5), however I can't reproduce it with Psych 2.0.17.
So I can work around this by installing the current gem version of Psych in my app. I didn't investigate what fixed it. At first glance the regex in ScalarScanner seems unchanged.
As far as I'm concerned, the issue is resolved.


jspdf.debug as main in bower.json

I am using angular full stack generator from yeoman, this come with default configuration of bower grunt injector for my index.html.
What I saw
The automated bower injector will always point to: (in my index.html)
<script src="bower_components/jspdf/dist/jspdf.debug.js"></script>
I think this because of jspdf.debug set as main in your bower.json.
that will give error like this:
Error: Mismatched anonymous define() module: function (){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(dereq,module,exports){
if I change the script manually to:
<script src="bower_components/jspdf/dist/jspdf.min.js"></script>
jsPDF will work like a charm.

Same issue here with an angular app: placing any bower dependencies after jspdf.debug.js appears to confuse them into thinking requirejs is available.  Using jspdf.min.js fixed it for me, or moving jspdf to the end of bower.json.

Is this still an issue?


Update openwhisk-client-go version

Update client-go to latest
Fix #1066

This is to use the latest version of the go client.
https://github.com/apache/openwhisk-client-go/commit/d8ccb1442651beee6a9245913e3ca0cb182888b1
@KeonHee Thank you for the contribution.


Unclear which version of NodeJS runtime to install

The documentation says to go install the runtime for NodeJS but this unclear. Firstly there are different installers for x86 and x64. Which does VS need? In the NodeJS installer it wants to add NodeJS to the system path but if you add both x86/x64 then that will cause problems potentially. Additionally VS seems to have its own version of NodeJS as well and it is unclear when this version is used instead. For example I can go to a Powershell prompt and node -v and I'll get the path that I installed the runtime too. However within VS when doing builds it seems to be using a different version because (as mentioned in Developer Community) it is not always using the global instance. You have to muck with the system path to get it to work. How about some clear steps on how to get NodeJS working with VS both during a build and from the Dev Command Prompt?

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

ID: ed2bc34b-ee38-4dab-308c-a6c45c36200a
Version Independent ID: e2b3ef7f-3106-674d-a995-c7b14cf53cc9
Content: Quickstart: Use Visual Studio to create your first Node.js app - Visual Studio
Content Source: docs/ide/quickstart-nodejs.md
Product: visual-studio-windows
Technology: vs-javascript
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@CoolDadTx If you select the project node in Solution Explorer, you should be able to see the path to Node.exe in the lower Properties pane. This is the version that gets used. You can manually set the path by right-clicking the project and choosing Properties. If you don't set the system path in the Node.js installer, it makes sense that you would have to do something about that; manually setting the path in the properties would be my first choice. I will see if I can clarify a few of these things. I expect x86 vs. x64 will depend on your host machine, but I'd need to look into that.

Updating the docs referencing the Node.js tools with the following:
If you don't have it installed, we recommend you install the LTS version from the Node.js website for best compatibility with outside frameworks and libraries. Node.js is built for 32-bit and 64-bit architectures. The Node.js tools in Visual Studio, included in the Node.js workload, support both versions. Only one is required and the Node.js installer only supports one being installed at a time.
In general, Visual Studio automatically detects the installed Node.js runtime. If it does not detect an installed runtime, you can configure your project to reference the installed runtime in the properties page (after you create a project, right-click the project node, choose Properties, and set the Node.exe path). You can use a global installation of Node.js or you can specify the path to a local interpreter in each of your Node.js projects.

@Mikejo5000 The text seems reasonable. However I don't see that the path to node is shown anywhere in Solution Explorer. To be clear this is an ASP.NET app. If I right click the project and select properties then I'm going to the project properties tab which doesn't show any options around node. If I bring up the Properties window instead then I just see the core set of properties that web apps have like the SSL enabled and Windows auth settings. Is this only applicable to ASP.NET Core apps?

@CoolDadTx I believe it's either/or as far as your runtime, either the CLR (for ASP.NET / Core) or the Node.js runtime. Depending on your VS workload installed, you would normally either start from an ASP.NET / Core project template or a Node.js template (as described in this article), which would determine the runtime. If your ASP.NET scenario requires npm packages, you can add an npm configuration file as a new project item. For some details, see this doc:
https://www.typescriptlang.org/docs/handbook/asp-net-core.html
What is your scenario for adding Node.js to an ASP.NET project?

The web apps rely on npm for finding JS packages. npm requires nodejs so our build needs it.
We ran into issues with recent releases of nodejs shipping versions of npm that are not current. This issue was discussed over on nodejs's site. The net takeaway was that if you needed to use a newer version of npm then you had to ensure it appeared earlier in the path. This led to the recommendation of installing npm globally and ensuring your user-profile cached version is before nodejs's path. This got us past our original issue but caused subsequent issues. This ultimately led me to uninstalling nodejs from the machine, uninstalling the workload from all versions of VS and then reinstalling to get to the point where I could run VS and command line builds using the same npm/nodejs version.


Allow 'apply' on branches for some environments

Use Case:
I want to be able to apply changes to non-production environments, without merging to master.
Example: I have 3  environments:

qa
uat
prod

I want to be able to make a feature branch in git, and apply the changes from that branch to qa, before merging it into uat and prod.
Example Code:
@Library(['terraform-pipeline']) _

Jenkinsfile.init(this)

ConditionalApplyPlugin.withBranchApplyEnabledFor('qa').init()

def validate = new TerraformValidateStage()
def deployQa = new TerraformEnvironmentStage('qa')
def deployUat = new TerraformEnvironmentStage('uat')
def deployProd = new TerraformEnvironmentStage('prod')

validate.then(deployQa)
        .then(deployUat)
        .then(deployProd)
        .build()

Expected:
When I create a git branch and push a change, the pipeline will:

Run a terraform plan for  'qa'
Allow the user to apply the plan to 'qa'
Run a plan for 'uat' (DOES NOT allow apply for 'uat')
Run a plan for 'prod' (DOES NOT allow apply for 'uat')

Alternative to above:
When I create a git branch and push a change, the pipeline will:

Run a plan for 'qa'
Run a plan for 'uat'
Run a plan for 'prod'
Allow the user to apply the plan for 'qa' (only at the end)

I like the first approach, with the subtle change that it is driven by the creation of a pull request and commits to that pull request branch.

In hindsight, I think option 1 is the most easily implemented as well.  Cool, let's set that as the goal for this issue.

Bumping to a future release

Bumping to a future release

bumping to a future release

Related: https://github.com/manheim/terraform-pipeline/issues/328 - this issue would allow apply across all environments on some branches.

Related: https://github.com/manheim/terraform-pipeline/issues/328 - this issue would allow apply across all environments on some branches.

Given the similarity between issue #172 and #328, it feels like we should change the suggested method names in the example code above.  What if:
For Issue #172: apply on branches for some environments
.withApplyOnEnvironment('qa')

For Issue #328:
.withApplyOnBranch('master')

Given the similarity between issue #172 and #328, it feels like we should change the suggested method names in the example code above.  What if:
For Issue #172: apply on branches for some environments
.withApplyOnEnvironment('qa')

For Issue #328:
.withApplyOnBranch('master')

Issues #25 and #172 are related.  I wonder if the code examples should be changed to reflect the relationship.  Consider the following:
Issue #25 - allow apply on specific branches
ConditionalApplyPlugin.withApplyOnBranch('master')

Issue #172 - allow apply on specific branches
ConditionalApplyPlugin.withApplyOnEnvironment('qa')

Issues #25 and #172 are related.  I wonder if the code examples should be changed to reflect the relationship.  Consider the following:
Issue #25 - allow apply on specific branches
ConditionalApplyPlugin.withApplyOnBranch('master')

Issue #172 - allow apply on specific branches
ConditionalApplyPlugin.withApplyOnEnvironment('qa')


Support for aws-sdk v3

Is your feature request related to a problem? Please describe.
Dear Developers/Maintainers,
We are working on migration to aws-sdk v3 and serverless-better-credentials requires aws-sdk v2. It comes from the package.json:
  "peerDependencies": {
    "@serverless/utils": "^6.0.2",
    "aws-sdk": "^2.567.0",
    "serverless": "^2 || ^3"
  },

Because of that while updating aws-sdk in our project we are getting following error message:
/.nvm/versions/node/v20.11.1/bin/npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving<EMAIL_ADDRESS>npm WARN Found<EMAIL_ADDRESS>npm WARN node_modules/aws-sdk
npm WARN<EMAIL_ADDRESS>from the root project
npm WARN   9 more (@aws/dynamodb-auto-marshaller, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN node_modules/serverless-better-credentials
npm WARN   dev<EMAIL_ADDRESS>from the root project
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

That is blocking us from upgrade to aws-sdk v3 properly without messing up with dependencies.
Describe the solution you'd like
Could you please share if there are plans to support aws-sdk v3? And if so is there a date when we can expect it?

There are no plans to support aws-sdk v3.
It's just me here, and I mostly just keep it alive for a legacy project.
PRs welcome.


SAGE-425: fix(input): add hasPlaceholder prop to react input

Description
Allow for React input fields to be disabled and still show the label. This aligns with the behavior Rails already has in place.
Screenshots

Before - no label showing
After - label shows

Testing in sage-lib

Navigate to http://localhost:4100/?path=/docs/sage-input--default
Select "hasPlaceholder" and set to true
Inspect the input and add disabled as a property
Verify the label still shows with a lower opacity (.5)

Testing in kajabi-products

(LOW) New property to React input component. No testing in kp

Related
SAGE-425

@monkeypox8 - agreed. It's come up more than once from devs trying to locate default HTML attributes in React components. Perhaps a further conversation should happen on how we make this clear for developers? @philschanely thoughts?


outdated at 8.3.0

outdated at 8.3.0

Yeah but does it work? with the "load out of date addons" checkbox? Not a bug if it does. It is tagged for 8.2.5, and works for 8.2.5, and if it works for 8.3.0 with the box checked, it's not bugged.

Closing as it works with 9.x and is fully updated.


Unable to send image with files_upload_v2() to single user

Can't figure out the way to send image to user using files_upload_v2().
Error: slack_sdk.errors.SlackApiError: The request to the Slack API failed. (url: https://www.slack.com/api/files.completeUploadExternal) The server responded with: {'ok': False, 'error': 'invalid_arguments', 'response_metadata': {'messages': ['[ERROR] input must match regex patt ern: ^[CGDZ][A-Z0-9]{8,}$ [json-pointer:/channel_id]']}}
It seems from the error message that ChannelID must start with C, G, D or Z, whereas my UserID starts with U.
The Slack SDK version
slack-sdk==3.23.0
Python runtime version
Python 3.10.4
OS info
Ubuntu 20.04

Hi @natalevichmv! 👋  Thanks for writing in. This error is expected, as the files.completeUploadExternal endpoint expects a channel for the file to be shared in. Similar to how a normal user would experience regular external file sharing in Slack, this must occur in a channel with the intended user.
One way you can do this is supply the channel_id of the DM between your with the user. Or you can share the file in a general channel where both your app user and the target user are members.

Reopening because the 'v1' version of the upload files would allow files to be shared in a private 'chat'. The v2 API breaks this behavior.
We use this endpoint to share files privately to slack users, sending the files to channels does not work for our intended purpose.

FileUploadV2 is breaking V1 in two ways:

it does not allow uploading files to multiple channels (V1 allows to use list of channel ids https://api.slack.com/methods/files.upload)
it does not allow uploading files to personal channel by member id even if the app is added to that member channel
These two V1 features are extremely useful and their removal from V2 is stopping us from upgrading so it would be appreciated if they are added to V2.

I agree^^ this is an issue.

it does not allow uploading files to personal channel by member id even if the app is added to that member channel
These two V1 features are extremely useful and their removal from V2 is stopping us from upgrading so it would be appreciated if they are added to V2.

2 questions:

Is this clearly stated in the docs? I do not see such warnings about V2.
Why is the error simply invalid_arguments. This is not useful.

Bumping the above — a more descriptive error should be implemented especially as this is a breaking change.

Even though this update is frustrating, that's not coming from Python SDK which is this repo for but from Slack API update: https://api.slack.com/methods/files.completeUploadExternal

Even though this update is frustrating, that's not coming from Python SDK which is this repo for but from Slack API update: https://api.slack.com/methods/files.completeUploadExternal

@OlegSmirnov are you saying to give up with this issue or to post this issue somewhere where the Slack API developers will notice (e.g., the slack community forum)?

Even though this update is frustrating, that's not coming from Python SDK which is this repo for but from Slack API update: https://api.slack.com/methods/files.completeUploadExternal

@OlegSmirnov are you saying to give up with this issue or to post this issue somewhere where the Slack API developers will notice (e.g., the slack community forum)?

I am in touch with Slack people now, will post what they say here.

So the advice from Slack is to share the file with the private user conversation(^D[A-Z0-9]{8,}$) instead of the the user itself (^U[A-Z0-9]{8,}$). The private conversation can be generated either by https://api.slack.com/methods/conversations.open or simply sending a private message to ^U[A-Z0-9]{8,}$. It works just fine.


System Charger Device ID 226 - 5 x Wrong Device Class entities

Device class set as Voltage - however these are actual general text states I believe, going by the data showing in Developer Tools   States, current values for me showing as;
Charger Alarm 226 = OK
High Voltage Alarm 226 = OK
Low Voltage Alarm = OK
Error Code 226 = NONE
MPP Operation Mode = OFF
Extract from the Log;

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:980
Integration: Sensor (documentation, issues)
First occurred: 13:29:30 (86 occurrences)
Last logged: 13:29:30

Entity sensor.victron_solar_system_charger_alarm_226 (<class 'custom_components.victron.sensor.VictronSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('voltage') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.victron_solar_system_charger_alarm_lowvoltage_226 (<class 'custom_components.victron.sensor.VictronSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('voltage') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.victron_solar_system_charger_alarm_highvoltage_226 (<class 'custom_components.victron.sensor.VictronSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('voltage') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.victron_solar_system_charger_errorcode_226 (<class 'custom_components.victron.sensor.VictronSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('voltage') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Entity sensor.victron_solar_system_charger_mppoperationmode_226 (<class 'custom_components.victron.sensor.VictronSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('voltage') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Thank you for reporting this issue.
It should be solved in the next patch release.
The conditional syntax for establishing the device class was incorrect.
instead of matching the entity unit to the word "voltage" it searched for "" in the word "voltage" (always returning true).
Therefore the default unit = "" for several status entities were set to "voltage" instead of none.
Also addresses #32, #42 and #43

v0.0.8 is now released with a fix for this issue.
Please install it to resolve this issue.
For now I will be closing this issue report in favor of #22 since it has the same root cause.
Feel free to re-open if the issue isn't resolved after updating and restarting.