Dynamic Price ( Price method POST )

How ,i can send parameter qty , price and packaging.
And Price is depends by packaging
Example.
$id = $model->id
$product = MBarang::findOne($id);
$price = $model->price
$packaging = $model->packaging
$qty = $model->qty

Hi, this package doesn't provide any HTTP controllers, you need to create your own action class with your custom logic.

Thx to reply igor,
I create my own controller, with post method.
$id = $model->id
$price = $model->price
$product = Product::findOne($id)
$cart->add($product);
so how, i can post the price like $cart->price($price).
Can you give me a idea..
thx..

I think you don't need to post the price because cart object retrieves this information from your model. For example in this widget:
<?php echo \yii2mod\cart\widgets\CartGrid::widget([
    // Some widget property maybe need to change.
    'cartColumns' => [
        'id',
        'label',
        'price'
    ]
]); ?>

Hi,
But unfortunately... The price is depends by User choice.
Example user can choice small pack or big pack. Small or Big pack have diferent price.
That why i need to post the price.
There is solution,

Post the price, or
post the packaging

Ok, Also you can try this package https://github.com/omnilight/yii2-shopping-cart

Maybe it's more flexible solution for your case

Hi.. thx Igor..
Im already using that ext, but still confuse  using it when post the price.


Style utilities : Width overlaping  on TOC

The examples which showed is in the width box like W_100, MIN_W_100, VW_75, VW_100, MIN_VW_75, MIN_VW_100 are overlaping on the TOC.

Duplicate issue exsit in #16
Current status of the issue : Transfered to issue no. #16
App Info :

Key
Value

Fronend URL
http://wrappid.framework.s3-website.ap-south-1.amazonaws.com/

Fronend Version
0.0.5

Desktop :

Key
Value

OS
Windows 11

Browser
Google Chrome

Version
120.0.6099.225 (Official Build) (64-bit)


Fastnlight: Watch<PHONE_NUMBER>

Fastnlight requests the watch of the watch_number<PHONE_NUMBER>. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Spevacus in Charcoal HQ


Movement Analysis Web Dashboard not released

id:b307eca9bf9d4c0e8881d64b031f0002
This is used in the NSEC demo.
My guess is this got missed during release review.
Assigning to @lfunkhouser

Item released by DemoIntelligence

Verified.


Updater does not start when program is running "for a long time"

If the program is left running "for a long time" (usually more than a day), the updater does not start when a restart requiring an update is requested. This is possibly due to the updater being removed by the cleanup process. The update process probably "just" needs to check the expected updater exists and replaces it if it is not there.

This appears to be fixed with updates to weave library

This appears to be fixed with updates to weave library


fix: do not lowercase table arg in db list

We were lowercasing the table argument in reth db list but matching it to the actual names of the tables (all of which are pascal case)

Codecov Report

Merging #606 (8dc68bc) into main (3a07eb9) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #606      +/-   ##
==========================================
- Coverage   71.89%   71.86%   -0.03%
==========================================
  Files         251      251
  Lines       25478    25478
==========================================
- Hits        18318    18311       -7
- Misses       7160     7167       +7

Flag
Coverage Δ

unit-tests
71.86% <0.00%> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

bin/reth/src/db/mod.rs
0.00% <0.00%> (ø)

crates/stages/src/stages/bodies.rs
91.58% <0.00%> (-2.11%)
:arrow_down:

crates/net/discv4/src/lib.rs
51.57% <0.00%> (-0.10%)
:arrow_down:

crates/stages/src/stages/sender_recovery.rs
94.22% <0.00%> (+1.77%)
:arrow_up:

crates/net/network/src/listener.rs
83.72% <0.00%> (+2.32%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


error: ‘IOV_MAX’ undeclared (first use in this function)

OS: debian7
src/os/unix/ngx_files.c: In function ‘ngx_write_chain_to_file’:
src/os/unix/ngx_files.c:294:34: error: ‘IOV_MAX’ undeclared (first use in this function)
src/os/unix/ngx_files.c:294:34: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1
make[1]: Leaving directory `/usr/local/src/tengine-2.2.0'
make: *** [build] Error 2

It works on Debian8, but all my prod servers are Debian7 ......what is the problem?

Resolved by upgrading gcc and libc. Close this issue.

Resolved by upgrading gcc and libc. Close this issue.


[10.x] Add possibility to "supplement" class for make:model command

This feature allows developers to "supplement" (update) the class. For now its considered to work only for make:model` command, however potentially it may be used for another commands in the future.
The idea is that if developer didn't add for some reason some options during make:model command, one is forced then to execute separately, for instance, make:request , make:migration, make:seeder etc., which is pretty annoying.
Explanation:
So, if you have previously created model called Something, you are unable to execute make:model for this model and generate all related stuff anymore. This PR makes you feel free to do it (obviously, without touching the code inside model).
Example
Before

After

My opinion
This is a small but pretty nice feature I`d personally love to have and use. I hope someone else will find it useful :)

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


DB2 : infinite load schema statistics

Description
Hi
Each time I start DBeaver, when I double click on a DB2 table it tries to read schema statistics for an infinite time. I have to kill the task in order to get table infos.

DBeaver Version
Community Edition 23.1.5
Operating System
Windows 11
Database and driver
DB2 v11.5
Driver Db2 for LUW
Steps to reproduce

completely close dbeaver
start dbeaver
double clic on a table in the browser

Additional context
No response

Please, provide the log files. You can find instructions here https://dbeaver.com/docs/wiki/Log-files/.
Also we need thread dump to understand what's happening. You can find a way to do it here https://dbeaver.com/docs/dbeaver/Making-a-thread-dump/

see attached files
dbeaver.log
thread-dump.txt

What's the driver version? You can see it by performing a connection test on the connection page.

IBM Data Server Driver for JDBC and SQLJ 4.31.10

Hello @grrosminet
I can't reproduce it with the driver version 4.31.10 and the latest DBeaver.
Could you please check the latest DBeaver version?

Still the same on 23.2.1 (no update available)
It hangs on :
SELECT TABNAME, SUM(DATA_OBJECT_P_SIZE + INDEX_OBJECT_P_SIZE + LONG_OBJECT_P_SIZE + LOB_OBJECT_P_SIZE + XML_OBJECT_P_SIZE) AS TOTAL_SIZE_IN_KB FROM SYSIBMADM.ADMINTABINFO WHERE TABSCHEMA=? GROUP BY TABNAME
5 octobre 2023 12:22 "Anastasiya" @.*** @.@.>)> a écrit:
Hello @grrosminet (https://github.com/grrosminet)
I can't reproduce it with the driver version 4.31.10 and the latest DBeaver.

Could you please check the latest DBeaver version (https://dbeaver.io/download/)?
—

Reply to this email directly, view it on GitHub (https://github.com/dbeaver/dbeaver/issues/21216#issuecomment-1748609598), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAXQUK2PA66VQQ3VFWQVZSLX52C7LAVCNFSM6AAAAAA4YCGSKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYGYYDSNJZHA).
You are receiving this because you were mentioned.Message ID: @.***>

Could you execute this query (with added parameters) in the SQL Editor? Does it work correctly?

no it doesn't work, even from DB2 CLI

instead, you should use this request :
SELECT     TABNAME,     SUM(DATA_OBJECT_P_SIZE + INDEX_OBJECT_P_SIZE + LONG_OBJECT_P_SIZE + LOB_OBJECT_P_SIZE + XML_OBJECT_P_SIZE) AS TOTAL_SIZE_IN_KB FROM  table(ADMIN_GET_TAB_INFO('MYSCHEMA','')) GROUP BY TABNAME
this will avoid loading data for the whole DB whereas we are only interested in 1 schema
The best would be to load this data only when requested : when I double clic on a table, most of the time I only need to see the structure and/or the datas, not disk usage statistics. And with the provided request you even can get stats on 1 table (second argument)

But the documentation says that:
The ADMINTABINFO administrative view and the ADMIN_GET_TAB_INFO table function provide methods to retrieve table size and state information that is not currently available in the catalog views.
And the original query also has the condition for the schema - WHERE TABSCHEMA=?
Also, if you do not want to see the complete statistics for all schemas - you can turn off the setting:

And check table statistics in the special Statistics tab.

ADMINTABINFO is a view on ADMIN_GET_TAB_INFO('','') ==> so it fill gather statistics for every table on the whole database ( 5To in my case ) and then apply your filter. That's why you should consider using the workaround I suggested
I'll disable statistics info

Ok, we will investigate this case and do some performance tests.

Ok, I checked, and your query is faster. We can change it.


Updating the Readme: Node is now beta

This works towards issue #224.
The client is ready for Beta.  This PR updates the readme.

There's also a badge at the top of the README that needs to be changed to beta :)

@JustinBeckwith: thanks!  I updated the badge

I caught it here as well: https://github.com/googleapis/nodejs-bigtable/blob/443ba9b2bf33de7de6cf49b3a1feb231eda88375/.cloud-repo-tools.json

Thanks for finding All The Places.  This will likely be one of my most satisfying "Squash and merge" presses.


mergeDateSpans() incorrect when DateSpan objects not sorted

Observed Behaviour
Array of DateSpans is created which are assorted by descending Begin date/time i.e. array[0] has a begin date after array[3]. None of the DateSpans in the array are overlapping.
Pass array to mergeDateSpans() function. Only one DateSpan object is returned in the array which is returned by the function.
Expected Behaviour
mergeDateSpans() should return 4 un-merged DateSpan objects.
Steps to Reproduce
Unit test case created by modifying the test case "Merge list of two sorted non-intersecting date-spans" in unit-datespan.js.
System Configuration
caltime version: 1.2.0
Node.js version: 8.9.1
NPM version: 5.6.0
lodash version: 4.17.14
moment-timezone version: 0.5.14

Function mergeDateSpans() is OK when the array of DateSpan objects is pre-sorted by behaves badly when the objects are not sorted by their Begin date/time.
Root cause: Bug in DateSpan#mergeSpans() where lodash orderBy() function is passed an incorrect argument. This causes the array of DateSpan objects to not be sorted correctly before the function iterates through them.

Bug fixed in commit 79039f591a065ad1540f2b19ac94129b82f78117 and will be present in v1.3.0 release.

Version 1.3.0 of CalTime released via NPM includes the fix for this bug.
Closing issue.


blob.acl.reload(): 403 Insufficient Permission

I cannot explain this error.
>>> client = storage.Client('project') # project edited
>>> bucket = client.get_bucket('cdn.project') # likewise
>>> blob = bucket.blob('file.txt')
>>> blob.content_type = 'text/plain'
>>> blob.upload_from_string('text')
>>> blob.reload()
>>> blob.acl.reload()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/user/.local/lib/python2.7/site-packages/gcloud/storage/acl.py", line 383, in reload
    found = client.connection.api_request(method='GET', path=path)
  File "/home/user/.local/lib/python2.7/site-packages/gcloud/connection.py", line 337, in api_request
    error_info=method + ' ' + url)
gcloud.exceptions.Forbidden: 403 Insufficient Permission (GET https://www.googleapis.com/storage/v1/b/cdn.project/o/file.txt/acl)

With the same account, gsutil acl get gs://cdn.project/file.txt works fine.

How are you confirming it is the same account?

How can I confirm it? There's only one account set-up through gcloud, which both gsutil and gcloud-python infer their credentials from.

import json
client = storage.Client('project')
print type(client.connection.credentials)

If you've got a service account as your credentials you should verify it's the right one. If you've got a user account (which can come from gcloud) then you can check which user account by inspecting an access token at https://developers.google.com/apis-explorer/#p/oauth2/v2/oauth2.tokeninfo (You won't have an access token until your client makes a request, but once it does you can get it via client.connection.credentials.access_token.)

It's a user account, with the following rights.
https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/appengine.admin
https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/plus.me

I have a suspicion what might be causing the problem.
>>> for scope in client.connection.SCOPE:
...   print scope
...
https://www.googleapis.com/auth/devstorage.full_control
https://www.googleapis.com/auth/devstorage.read_only
https://www.googleapis.com/auth/devstorage.read_write

According to the docs, cloud-platform is equivalent to devstorage.full_control.

First check the credentials to make sure it was the correct user. Then we can investigate if the scopes are not correct. As you pointed out, the devstorage.* scopes should be sufficient.

Yes it's the correct user.

OK then. That is unfortunate / interesting as an issue.
For user accounts, the scopes on Connection don't matter. It's the original scopes used when the user refresh token was minted. So that (theoretically) means it should work the same from CLI and from the library. The mystery gets murkier.
Can you inspect an access token with the APIs explorer link I sent to check which scopes it has attached to it?

Yes that's what I did and posted! :)

Ah I see. More mystery. Have you added the logging flags to gcloud CLI to see what is being sent when you make a request?

I think you mean gsutil and I didn't know it had such extensive debug output. What I've confirmed from Bearer set by gsutil and client.connection.credentials.access_token used by gcloud-python is that both use the same account.
The link seems to be different. gsutil uses the following link.
https://www.googleapis.com/storage/v1/b/cdn.project/o/file.txt?fields=name%2Cacl&alt=json&projection=full

And has this selfLink in the response object.
https://www.googleapis.com/storage/v1/b/cdn.project/o/file.txt/acl/user-0123456789abcdef

I meant gcloud, I was under the impression that gsutil had been folded into the gcloud CLI, but it seems I was wrong.
The selfLink is probably in the ACL itself rather than in the object. The /b/.../o/... paths are for getting objects directly.
What other headers seem to be different? I can send you a patch to check what is being sent from gcloud-python as well.

Please do!

So I am just about to teach and this isn't exactly a patch, but just modify the Connection._do_request method. Either print out the values in
        return self.http.request(uri=url, method=method, headers=headers,
                                 body=data)

or add a statement like
import ipdb
ipdb.set_trace()

and inspect the objects manually.

I'm about to reproduce this and I've filed an internal bug. I'll keep this updated.
In the meantime, it seems that using service account credentials should work.

First of all I printed out the exact error message as returned in the www-authenticate response header.
Bearer realm="https://accounts.google.com/", error=insufficient_scope, scope="https://www.googleapis.com/auth/devstorage.full_control"

The request with gsutil.
GET: https://www.googleapis.com/storage/v1/b/cdn.project/o/file.txt?fields=name%2Cacl&alt=json&projection=full
Headers: {'accept': 'application/json', 'accept-encoding': 'gzip, deflate', 'content-length': '0', 'user-agent': 'apitools gsutil/4.15 Python/2.7.6 (linux2) Cloud SDK Command Line Tool 0.9.83'}

And with gcloud-python.
GET: https://www.googleapis.com/storage/v1/b/cdn.project/o/file.txt/acl
Headers: {'Content-Length': 0, 'Accept-Encoding': 'gzip', 'User-Agent': 'gcloud-python/0.8.0'}

Thanks @pdknsk and @jonparrott! Sorry this issue came up @pdknsk!
@jonparrott what is the difference between the two requests and how can we mitigate? It's especially strange to me because I thought we were using an identical refresh token that gsutil is using.

Honestly, I don't know. I have the internal stack trace from the API client request that basically indicates that the devstorage.full_control internal scope isn't satisfied by cloud-platform. No idea why gsutil works.

Could it be that we are querying the ACL resource directly, while gsutil is fetching it via a full query on the bucket / object instead?  E.g., blob.acl.reload() ends up making a GET request to /storage/v1/b/<bucketname>/o/<objecctname>/acl, rather than to /storage/v1/b/<bucketname>/o/<objecctname>.

Maybe, either way, the API should respect the cloud-platform scope and allow the token to be used to change ACLs on storage blobs.

It's definitely an internal scope error. I tried the Explorer with scope devstorage.full_control granted – works, but not with cloud-platform.
https://cloud.google.com/storage/docs/json_api/v1/objectAccessControls/list
This wouldn't be a problem if the user account could somehow acquire that scope, but it can't because gcloud doesn't want it.

Thanks for thoroughly testing all of this, @pdknsk. Let me know if I can do anything to help you get up and running while we wait for the bug to be fixed.

I think I was mistaken with the last sentence of my previous comment. gcloud does request and get that scope. I can see in the account security under Connected Apps that Google Cloud SDK has many scopes listed, among them this one: Manage your data and permissions in Google Cloud Storage. I have confirmed through API Explorer that this is devstorage.full_control.

Thanks a lot for this guys

What I did was assign allUsers 'reader' access using the web console. This helped me to use the storage api link to access objects outside of the application.
Would it be possible to get something similar to get_serving_url in app engine (https://cloud.google.com/appengine/docs/python/refdocs/google.appengine.api.images#google.appengine.api.images.get_serving_url) using this library as well? Should I file this as a different issue?
Thanks.

Please file a new issue.

Filed as #1295

This is fixed on the backend. I confirmed with gcloud and in the Explorer.

@pdknsk thanks for the follow-up!

I am running into this issue still today.
In [1]: from google.cloud import storage

In [2]: client = storage.Client()
Making request: GET http://<IP_ADDRESS>
Making request: GET http://metadata.google.internal/computeMetadata/v1/project/project-id
Making request: GET http://<IP_ADDRESS>
Making request: GET http://metadata.google.internal/computeMetadata/v1/project/project-id

In [3]: client
Out[3]: <google.cloud.storage.client.Client at 0x7f1aed7e1f60>

In [4]: bucket = client.get_bucket('3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0')
Making request: GET http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/?recursive=true
Making request: GET<EMAIL_ADDRESS>
In [5]: bucket
Out[5]: <Bucket: 3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0>

In [6]: blob = bucket.blob('test-file')

In [7]: blob
Out[7]: <Blob: 3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0, test-file>

In [8]: blob.content_type = 'text/plain'

In [9]: blob.upload_from_string('foobar')

In [10]: blob
Out[10]: <Blob: 3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0, test-file>

In [11]: blob.acl.save_predefined('projectPrivate')
---------------------------------------------------------------------------
Forbidden                                 Traceback (most recent call last)
<ipython-input-11-273451c05731> in <module>()
----> 1 blob.acl.save_predefined('projectPrivate')

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in save_predefined(self, predefined, client)
    496             raise ValueError("Invalid predefined ACL: %s" % (predefined,))
    497
--> 498         self._save(None, predefined, client)
    499
    500     def clear(self, client=None):

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in _save(self, acl, predefined, client)
    449             path=path,
    450             data={self._URL_PATH_ELEM: list(acl)},
--> 451             query_params=query_params)
    452         self.entities.clear()
    453         for entry in result.get(self._URL_PATH_ELEM, ()):

/usr/local/lib/python3.5/site-packages/google/cloud/_http.py in api_request(self, method, path, query_params, data, content_type, headers, api_base_url, api_version, expect_json, _target_object)
    333         if not 200 <= response.status < 300:
    334             raise make_exception(response, content,
--> 335                                  error_info=method + ' ' + url)
    336
    337         string_or_bytes = (six.binary_type, six.text_type)

Forbidden: 403 Insufficient Permission (PATCH https://www.googleapis.com/storage/v1/b/3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0/o/test-file?projection=full&predefinedAcl=projectPrivate)

In [16]: blob.acl
Out[16]: <google.cloud.storage.acl.ObjectACL at 0x7f1aec93a2e8>

In [17]: blob.acl.all()
---------------------------------------------------------------------------
Forbidden                                 Traceback (most recent call last)
<ipython-input-17-eb070d80f676> in <module>()
----> 1 blob.acl.all()

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in all(self)
    364         :returns: An entity representing all users.
    365         """
--> 366         return self.entity('allUsers')
    367
    368     def all_authenticated(self):

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in entity(self, entity_type, identifier)
    319         """
    320         entity = _ACLEntity(entity_type=entity_type, identifier=identifier)
--> 321         if self.has_entity(entity):
    322             entity = self.get_entity(entity)
    323         else:

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in has_entity(self, entity)
    270         :returns: True of the entity exists in the ACL.
    271         """
--> 272         self._ensure_loaded()
    273         return str(entity) in self.entities
    274

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in _ensure_loaded(self)
    213         """Load if not already loaded."""
    214         if not self.loaded:
--> 215             self.reload()
    216
    217     def reset(self):

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in reload(self, client)
    416         self.entities.clear()
    417
--> 418         found = client._connection.api_request(method='GET', path=path)
    419         self.loaded = True
    420         for entry in found.get('items', ()):

/usr/local/lib/python3.5/site-packages/google/cloud/_http.py in api_request(self, method, path, query_params, data, content_type, headers, api_base_url, api_version, expect_json, _target_object)
    333         if not 200 <= response.status < 300:
    334             raise make_exception(response, content,
--> 335                                  error_info=method + ' ' + url)
    336
    337         string_or_bytes = (six.binary_type, six.text_type)

Forbidden: 403 Insufficient Permission (GET https://www.googleapis.com/storage/v1/b/3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0/o/test-file/acl)

In [18]: blob.acl.reload()
---------------------------------------------------------------------------
Forbidden                                 Traceback (most recent call last)
<ipython-input-18-284fd543edf4> in <module>()
----> 1 blob.acl.reload()

/usr/local/lib/python3.5/site-packages/google/cloud/storage/acl.py in reload(self, client)
    416         self.entities.clear()
    417
--> 418         found = client._connection.api_request(method='GET', path=path)
    419         self.loaded = True
    420         for entry in found.get('items', ()):

/usr/local/lib/python3.5/site-packages/google/cloud/_http.py in api_request(self, method, path, query_params, data, content_type, headers, api_base_url, api_version, expect_json, _target_object)
    333         if not 200 <= response.status < 300:
    334             raise make_exception(response, content,
--> 335                                  error_info=method + ' ' + url)
    336
    337         string_or_bytes = (six.binary_type, six.text_type)

Forbidden: 403 Insufficient Permission (GET https://www.googleapis.com/storage/v1/b/3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0/o/test-file/acl)

$ gsutil acl get gs://3e31f033-bc2c-4aa4-a2b7-bb0c550ea3f0/test-file
[
  {
    "entity": "project-owners-920123456789",
    "projectTeam": {
      "projectNumber": "920123456789",
      "team": "owners"
    },
    "role": "OWNER"
  },
  {
    "entity": "project-editors-920123456789",
    "projectTeam": {
      "projectNumber": "920123456789",
      "team": "editors"
    },
    "role": "OWNER"
  },
  {
    "entity": "project-viewers-920123456789",
    "projectTeam": {
      "projectNumber": "920123456789",
      "team": "viewers"
    },
    "role": "READER"
  },
  {
    "entity": "user-00b4903a97b759d775f7fad56bd472a7b7418f0a13de0e27fa8ae72f86d8c8a2",
    "entityId": "00b4903a97b759d775f7fad56bd472a7b7418f0a13de0e27fa8ae72f86d8c8a2",
    "role": "OWNER"
  }
]

Is this a new issue or perhaps my default service account's scope wasn't setup properly? If so, how do I fix it?


The inconsistency of Router between V1 and V2

TL;DR. Next V2 will switch entire page instead of re-rendering current page when routeChange, which is inconsistent with Next V1.
I have elaborated this issue under https://github.com/zeit/nextgram/issues/8.

This is something we need to investigate.
I'll use nextgram for this.

@arunoda Nice.
FWIW, I have forked a<EMAIL_ADDRESS>version of nextgram at https://github.com/Huxpro/nextgram/tree/next-2.0. Which have updated package.json and have migrated from next/css to styled-jsx, should reduce some time.

Okay. Here's what going on here.
On nextgram it uses a .push() method of props. That API's was wrong and we re-wrote it.
By going through the nextgram, it seems like we need to bring back the functionality of that API again. But, I don't know whether it's a good idea to bring it back?
/ cc @rauchg @nkzawa
Basically, here's what's happening in that API.

We change the URL of the route via push state
But it doesn't render the component assign to that URL
But render the current component
And pass query params of the current URL into that.

I smell bad for such an API.
Let's see how to fix this in a different way.

Okay, here next 2 style version of nextgram.
Live: https://nextgram-ivveyxguig.now.sh
Repo : https://github.com/arunoda/nextgram
PR: https://github.com/zeit/nextgram/pull/9

@arunoda I think it should keep the original behavior which shows a modal over the list when you click a link, but doesn't show the list on SSR.

@nkzawa okay. That's possible. Let's do that.

Done.

@Huxpro could you send me a PR with the updated styled-jsx syntax.

@huxpro can you confirm the API now behaves as intended?

Please check https://github.com/zeit/nextgram/pull/9

@nkzawa @arunoda @rauchg
Thx guys I found @nkzawa have updated style-jsx part. So basically @arunoda uses push(url, as=url) to achieve 'universal routing' without changing code in Next, kinda cheating on <Page> with a crafted url. How clever! Glad to see such flexibility.
so I just removed all react imports to make it more 'next smell' since react is a implementation details, and replaced imperatively router call to <Link>. Please check out https://github.com/zeit/nextgram/pull/11
BTW, I am still concerning about how to do nestedly or partially re-rendering between Page to Page in Next. Well, that is an enhancement and not related to this issue.

Yep as is one of the neatest things out there. Massive simplification

BTW: I need to thank @nkzawa for showing me this simplest solution. I was using a custom server, but it's not needed in this way.


vagrant plugin install vagrant-vbguest fails

I get this error message:
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

An error occurred while installing nokogiri (<IP_ADDRESS>), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '<IP_ADDRESS>'` succeeds before bundling.

This is some kind of trap, as I can successfully install the specified version of nokogiri as exptecte, yet I keep getting the same error.
Any ideas?

Quick fix!
I run VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1 vagrant plugin install vagrant-vbguest as a temporary solution.
Let me know if it works.

Quick fix!
I run VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1 vagrant plugin install vagrant-vbguest as a temporary solution.
Let me know if it works.

No same error again


Cannot disable hearth checkboxes component

Describe the bug
The checkboxes component does not pass down the disabled property to the individual checkbox inputs. It would probably be good to take in disabled which would disable all checkboxes or an array which checkboxes should be disabled; similar to how checked works.
To reproduce
Steps to reproduce the behavior:

create a checkboxes component with disabled <x-hearth-checkboxes disabled />
None of the checkboxes are disabled

Expected behavior
The checkboxes should be disabled

Closing as it was related to a bug in my own code that wasn't setting the disabled state correct. If there is need to disable individual checkboxes in the future, a new issue can be filed.

Also for future reference, Blade directives aren't supported in Blade components.
https://github.com/laravel/framework/issues/32045


middleware: caching

a caching middleware

Should we cache RRset or complete messages? The former is how you should do it, but what it that leads to a partial answer? Then you need to get fetch it from somewhere.. do you then invoke the next middleware? That could work.
Or you could cache complete answers, but then there is a problem of multiple clients with different buffer sizes (or even transport), i.e. you can't re-use a TCP message when a client comes asking via UDP.
The first approach makes most sense, it's RFC compliant, and if you find that answer incomplete just hand off to the next middleware.

question still is... when is an answer incomplete.... In this example it can be detected. www.miek.nl is a cname to a.miek.nl:
;; ANSWER SECTION:
www.miek.nl.		1800	IN	CNAME	a.miek.nl.
a.miek.nl.		1765	IN	A	<IP_ADDRESS>

So if I have the CNAME, but not the target, which is inbaliwick I should just hand hand off...?


bam2cns

Hi  -
I'm trying to follow the directions I found on this thread: https://www.biostars.org/p/155236/
However, I'm getting the following error and I have no idea how to fix it.
Fastq::Parser::new: broken_assembly.oneLine.fa.masked.fa, No such file or directory at /gscratch/leache/rbharris/bin/proovread/bin/../lib//Fastq/Parser.pm line 229, <SAM> line 18529.
Use of uninitialized value in numeric eq (==) at /gscratch/leache/rbharris/bin/proovread/bin/../lib//Fastq/Parser.pm line 694, <SAM> line 18529.
        (in cleanup) Can't use an undefined value as a symbol reference at /gscratch/leache/rbharris/bin/proovread/bin/../lib//Fastq/Parser.pm line 246, <SAM> line 18529.

Thanks!

Hi Rebecca,
I think that this is the important part of the error:
broken_assembly.oneLine.fa.masked.fa, No such file or directory
The parser fails to open that fasta file. Are you sure it is typed
correctly? Try to specify the complete
/path/to/broken_assembly.oneLine.fa.masked.fa
Cheers
Thomas
On 04/14/2017 07:30 AM, Rebecca Harris wrote:

Hi -
I'm trying to follow the directions I found on this thread:
https://www.biostars.org/p/155236/
However, I'm getting the following error and I have no idea how to fix it.
|Fastq::Parser::new: broken_assembly.oneLine.fa.masked.fa, No such file
or directory at
/gscratch/leache/rbharris/bin/proovread/bin/../lib//Fastq/Parser.pm line
229,  line 18529. Use of uninitialized value in numeric eq (==) at
/gscratch/leache/rbharris/bin/proovread/bin/../lib//Fastq/Parser.pm line
694,  line 18529. (in cleanup) Can't use an undefined value as a
symbol reference at
/gscratch/leache/rbharris/bin/proovread/bin/../lib//Fastq/Parser.pm line
246,  line 18529. |
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BioInf-Wuerzburg/proovread/issues/100, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AI7ejxiyfq5QpiIaQG9I5kZT6dIVCqznks5rv1i-gaJpZM4M9rLB.

Hi again -
I'm getting a new error "[06:35:28] Unknown format of reference file". It's a fasta file and I don't see any flag to specify input format. Thanks for the help + quick response!

Sorry, I somehow missed your second message. Unknown format should mean it's neither fasta nor fastq. Can you send me the first lines of the file<EMAIL_ADDRESS>


disableClearable typescript problem

There is a problem with field disableClearable. It has wrong type and TS shows error:
TS2322: Type 'true' is not assignable to type 'undefined'.
https://github.com/mui-org/material-ui/blob/a4972c5931e637611f6421ed2a5cc3f78207cbb2/packages/material-ui-lab/src/Autocomplete/Autocomplete.js#L593

Please provide a minimal reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!


Merge Nvidia Changes

Add ResNet18 version notebooks and TensorRT live notebook for Collision Avoidance
Commit from Nvidia fork: https://github.com/NVIDIA-AI-IOT/jetbot/commit/4135b94362c6715023e826aa41bfcbc8eed1625c

Originally set up to merge pull request #230 from tokk-nv/dev-trt
Not reviewed in time. I will try to break up into separate pull requests.


Fix issue #460 Jest Cleave snapshot testing throws error

Fixes: Issue #460
Changes: Cleave.react.js

Return if owner.element is null

Thanks, nice one.


Update pngjs to 5.0.0 and jpeg-js to 0.3.7

This looks safe to me - the changes in pngjs that require a major version are mostly dropping old Nodes: https://github.com/lukeapage/pngjs#changelog
@mathiasbynens would you agree this is OK?

Hey @p01, nice to see you here :) Thanks for the patch!


Multiuser support

Thanks for the great work.
I installed llama-gpt on a VM in my home lab and would love to give other access. Does this work as a multi-user system?
Thanks

All the data is stored client side in the browser, so multiple users can use the app and get their own isolated data. However currently only one instance of the LLM can run at the same time, so if two users where using the app at the same time, one user submitting a query would kill the other users query if it was still in progress.

I guess we can manage with that for the moment. Thank you.


fix: add mdapi:deploy:cancel command, refactor base classes to support MDAPI and SOURCE stash keys

What does this PR do?
moves mdapi:deploy:cancel command and messages
extends plugin-source base classes correctly
updates base classes to support MDAPI_DEPLOY stash key
adds UTs
adds NUTs
What issues does this PR fix or reference?
@W-9603715@

QA notes:
👎🏻  run --help
There's some odd indentation stuff happening.  Compare ./bin/run force:mdapi:deploy:cancel --help to ./bin/run force:source:deploy:cancel --help to see the difference
✅  run without a username (good error)
❌ run without a jobid on an org with no stash yields
ERROR running force:mdapi:deploy:cancel:  Cannot read property 'jobid' of undefined

vs toolbelt
ERROR running force:mdapi:deploy:cancel:  A required parameter [jobid] is missing.

👎🏻  ask to cancel a jobId that doesn't exist.  Toolbelt is similarly bad.
ERROR running force:mdapi:deploy:cancel:  INVALID_CROSS_REFERENCE_KEY: invalid cross reference id

✅  cancel a job that already succeeded fails with ERROR running force:mdapi:deploy:cancel:  The cancel command failed due to: INVALID_ID_FIELD: Deployment already completed
👎🏻  cancel a jobid that is a CustomObject's id fails with ERROR running force:mdapi:deploy:cancel:  The cancel command failed due to: UNKNOWN_EXCEPTION: unexpected metadata [yet we know what the prefix has to be 0Af and could validate the ID is of the correct type before even making an API call)
👎🏻  cancel a job, then cancel it again fails with ERROR running force:mdapi:deploy:cancel:  INVALID_ID_FIELD: Deployment already completed (kinda true, I guess?)

👎🏻   json output of toolbelt had a nicer named error

     "name": "CancelFailed",
     "message": "The cancel command failed due to: INVALID_ID_FIELD: Deployment already completed",

that's changed to
      "name": "sf:INVALID_ID_FIELD",
      "message": "INVALID_ID_FIELD: Deployment already completed",

✅  delete stash.json and then run without an id fails with ERROR running force:mdapi:deploy:cancel:  No deploy ID was provided or found in deploy history
✅  json output of successful cancel matches between toolbelt and plugin


Separate DLL files for different Powershell versions

Currently there is one DLL file containing the cmdlet in the most compatible form, that with Powershell standard library 5.1.
This not only limits us to netstandard2.0, but it also means that anything that was introduced after Powershell 5.1 is not present in the API.
With some things we can make do with a simple branching function (throttling), but other times we may ahve to use dynamic objects (checking view type). Also, constantly checking the version of host is inelegant and prone to typos.
What we could do is, having one module, which would be distributed with multiple DLLs. The module manifest (or associated psm file) would then decide, which DLL to load based on the user's version. When it comes to which powershell version should have a dedicated DLL,:

Powershell 5.1 and lower
Powershell 6.0 and higher (throttling introduced)
Powershell 7.2 and higher (minimal view introduced)

But more can be added.

Separating into DLLs will require building multiple projects and merging them into a single package. The only benefit would be the ability to skip version checks with preprocessor directive (which would speed the first calls to objects introduced after PS 5.1, as we would not need to use dynamic, but the speed up would be negligible).
Until they are more version dependent features to check, DLL separation is not needed.


Added pagination options to CSV widget

Added option for group pagination to csv, this way a query for a chart can be converted to a csv file with the same results. The group pagination flag determines whether or not data sets should be limited/offset by series or data points.

Coverage increased (+0.04%) to 89.099% when pulling dfb6c0c2271a83bd93bdd9f1a97e34d508ac198c on add_group_pagination_option_to_csv into 7b4d4645b1dd403cfef423a68b8dbac56423e6b3 on master.


[dask] Updates to "Iris Load with dask" section

Ignoring the noise of the notebook diff, this PR makes the review changes suggested to #107. These are a few minor changes to some bits of text and code content. This PR does not address the more complex questions about ordering of content or delaying the merge operation.

Checked coverage of comments on previous -- all good, + this fixes all :+1:
Todo : review overall, coming up ...

Nice work @dkillick LGTM

I think "that comment" is still outstanding though :
To reiterate : what does delaying a merge achieve; is this is good example or is it confusing; can we modify this to show something with real performance benefit ?

@pp-mo IMO this contentious bit is a nice example of adding arbitrary processing to the task graph using delayed. Not everything we show needs to be there purely for efficiency reasons – in fact, we already know that in common use-cases none of the examples here make Iris any faster. What we want to do is teach people how they can use dask with Iris, and I still think that this section has value in demonstrating how to add arbitrary Iris processing to a task graph. In this case you can defer the entire process of files --> bag --> cubelist --> single merged cube, which I think has benefit.
We could make it more clear that this is offered as an example of using delayed, by modifying the last sentence here to say something like:
This is an example of using `delayed` to integrate arbitrary Iris processing into our task graph:

@pp-mo I second @dkillick's opinion. The current example is good for demonstrating how to add an arbitrary process to a task graph (even if in this case there is no performance benefit). I see this section of the workbook much more about introducing the user how to use dask with iris in as clear a manner as possible.
Something which needs to be considered later are examples of dask+iris patterns which do add performance benefits, something I was not able to tackle with this addition to the notebook.


NASDAQ logo

Make NASDAQ logo white. Add more media references?

Actually, forget it, let's make all media logos 41B6E6 as well, it will provide more balance.

I think it is better to keep it white, it feels better, thoughts @xsttx ?

Closing via b038ef5


Support for AddAnyPortMapping

Hello,
Thanks for this great library!
I'm using it create port mappings, and I don't particularly care about what external port is used.
Right now I'm using a random port and hoping it isn't already take :P
I just found about AddAnyPortMapping, which takes care of port allocation automatically. Would it be possible to support that?
Thanks!

Nevermind, I see that get_next_mapping does that :man_facepalming:


incompatibility with sqla doc example on "Context-sensitive default functions"

This might be a no-op, but I didn't see an existing thread on it.
I was curious about context-sensitive (Column-) default functions but noticed Flask-Admin's handling of default functions isn't compatible with the example function listed there. Flask-Admin runs a callable default with a None argument, so the example function will fail with an AttributeError.
Here's an SO thread I found grappling with the same issue: https://stackoverflow.com/questions/51075096/flask-admin-create-view-with-sqlalchemy-context-sensitive-functions
I'm not really sure what the correct behavior should be here.

I too got hit by that today. It's going to be pretty hard to build a context object, because it's supposed to contain the value of other fields, and flask-admin doesn't know that at the stage of form building.
I would suggest catching the AttributeError that will be raised when the default function tries to access context.engine or context.connection or others, and just not pre-fill the form field in that case.


Keeping CollectionView at bottom when inserting any new message.

First off, Hats off for this amazing layout, I have always struggled with chat layouts due to weird bugs and unknown issues that happen during the development, but this layout has made my life 100x easier.
What I'm trying to achieve is to always keep the CollectionView at bottom when a new message is inserted.
I tried this code snippet
                self.collectionView.reload(using: stagedChangeSet) { messages in
                    self.messages = messages
                    self.collectionView.scrollToItem(at: IndexPath(item: messages.count - 1, section: 0), at: .bottom, animated: true)
                }

But it looks like it's not working and throwing this error
[UICollectionView] Warning: Invalid IndexPath <NSIndexPath: 0x9ece669de5d637ba> {length = 2, path = 0 - 6} specified - will use a contentOffset of {0,0} as a fallback value. <UICollectionView: 0x7fb7fd072400; frame = (0 0; 375 529); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x600001007720>; layer = <CALayer: 0x6000018633a0>; contentOffset: {0, 0}; contentSize: {374.99990000000003, 1412}; adjustedContentInset: {0, 0, 0, 0}; layout: <ChatLayout: 0x7fb7fcc25140>; dataSource: <ChatBotViewController: 0x7fb7faf35b20>>

Any idea what I'm doing wrong ?

@tareksabry1337 Hi. Thank you very much.
Back to your issue. The example app keeps the layout at the bottom without any scrolling required.
Also, you can not do scrollToItem at that place because insertion animation is in progress and that index path does not exists at that moment.

Yes I'm trying to scroll to the bottom when a new message appears even if the user is not at the bottom of the conversation. I achieved "keeping at bottom" always by using keepContentOffsetAtBottomOnBatchUpdates but I'd like to keep it always at bottom no matter what.

@tareksabry1337 . Thank you. I see. keepContentOffsetAtBottomOnBatchUpdates is the flag that changes the behaviour of the scrolling. But not every batch update is a "new message". You may reload cell or delete a cell. Or typing indicator or read/delivered labels are not exactly a "new message". So you need to detect when exactly you want to scroll to the bottom and use self.collectionView.scrollToItem(at: IndexPath(item: messages.count - 1, section: 0), at: .bottom, animated: true) after the the batch process is finished. Like in completion method. You can not do that during the batch update itself. That is the reason why you are getting that warning. That index path was not physically inserted yet.

As a demo you can achieve it in the example app by adding  self.collectionView.scrollToItem(at: IndexPath(item: sections.first!.elements.count - 1, section: 0), at: .bottom, animated: true) to the completion block at func process().

@tareksabry1337 Keep in mind that scrollToItem(at: does not include the desired offset from the bottom and it also just calculates the offset of the item at the beginning of the animation, so if there are some uncalculated items in between it may not scroll you exactly to the desired place. So better try to use restoreContentOffset(with:)

I was able to achieve it using
                self.collectionView.reload(using: stagedChangeSet, completion: { [weak self] _ in
                    guard let self = self else { return }
                    let positionSnapshot = ChatLayoutPositionSnapshot(indexPath: IndexPath(item: self.messages.count - 1, section: 0), kind: .cell, edge: .bottom)
                    self.layout.restoreContentOffset(with: positionSnapshot)
                }, setData: { messages in
                    self.messages = messages
                })

But my question here, is it possible to animate "restoreContentOffset" ?
Thanks

@tareksabry1337 Of course, use UIView.animate(withDuration:...):
                                      UIView.animate(withDuration: 0.25, animations: {
                                          let positionSnapshot = ChatLayoutPositionSnapshot(indexPath: IndexPath(item: 0, section: 0), kind: .footer, edge: .bottom)
                                          self.chatLayout.restoreContentOffset(with: positionSnapshot)
                                      }, completion: { _ in
                                          completion?()
                                      })

@tareksabry1337 Just keep in mind that you should not do batch updates during the animation as it can lead to the UI glitches

This worked perfectly, Thanks for your effort !

@tareksabry1337 My pleasure. Good luck


ReadReport() memory leak

Great library Mike, thanks a lot for this huge work.
The problem is when I want to fill InputReport with data:
InputReport = device.ReadReport();
where InputReport is:
HidLibrary.HidReport InputReport = new HidLibrary.HidReport(device.Capabilities.InputReportByteLength);
It's a very large of leak memory, specially when I read reports in async mode from device (for eg. 100 times for a second). In few minutes it can takes hundreds of megabytes.
I'm beginner in c# programming and didn't find solution for problem desrcibed above ;(
greetings!

Finally I had to fix this issue and I share what I found

First of all, every single Read/Write methods in library check if device is connected what costs a lot of performance because IsConnected method calls each time EnumerateHidDevices(). In practice, when I send big package of data from the device, PC Host is slower than HID device and some packets are lost due to limited ring buffer (32reports by default, can be extended to 512 but it's not final solution).
ps. you can extend your ring buffer from 32 to max 512 reports calling:
NativeMethods .HidD_SetNumInputBuffers((int )utcomp.ReadHandle, 512); //It will work for XP and later.
Secondly, in EnumerateHidDevices() is HUGE memory leak due to "yield return devicePath;" in line 69 and NativeMethods.SetupDiDestroyDeviceInfoList(deviceInfoSet); will never be called.

My solution:

Do not call IsConnected every Read/Write. Make additional isConnected variable in HidDevice:
public bool isConnected;
Set variable to true after successful connect (e.g. in your Connect() function):
device.isConnected = true;
Update it in every DeviceEventMonitorInserted() and DeviceEventMonitorRemoved() events, eg:
if (Inserted != null ) Inserted();
replace with:
if (Inserted != null )
{
isConnected = true;
Inserted();
}
and:
if (Removed != null ) Removed();
replace with:
if (Removed != null )
{
isConnected = false ;
Removed();
}
Than check this variable every Read/Write call function:
if (isConnected) instead of if (IsConnected)
Every time you need to check if device is connected, check state of public variable isConnected. It works for me - 0-1% processor usage instead of 10-20% for read thread.

in HidDevice.cs line #69 delete:
//yield return devicePath;
It will allow to NativeMethods .SetupDiDestroyDeviceInfoList(deviceInfoSet); be called propetly.
Next, after NativeMethods .SetupDiDestroyDeviceInfoList(deviceInfoSet) add:
foreach (string devicePath in devices)
yield return devicePath;
It will fix HUGE memory leak (about 256MB for each 1MB received data in my case)

Hope it heps.

awesome, thanks for your hints, kaczart!!!

Here is my suggested workaround for the performance issue that kaczart (and I) noticed:
https://github.com/macaba/HidLibrary/commit/8f1864e1351ccca4772d5bbc18a0f94d7ba07fe7
Usage is along the lines of:
device.ConnectionCheckOverride = device.IsConnected;
methodRequiringFasterUSBReadWrite();
device.ConnectionCheckOverride = false;
This reduced my bulk USB transfer test case execution time from 159 seconds to 47 seconds.
I wasn't keen on kaczart's solution simply because the IsConnected property is used in HidDeviceEventMonitor, so needed to retain the original functionality of enumerating currently connected USB devices. Simply put; I don't think the Inserted and Removed events will ever be called in kaczart's code (from a brief look through it).

Checking for a device connection on every read and write is a major performance bottleneck in high-frequency applications. In my particular case it was 30x faster to assume the device was connected rather than re-checking for a device connection; round trips dropped from about 70ms to 2ms.

So I just wrote a couple extension methods to handle my own IO for rapid pooling usage:
        [DllImport("hid.dll", SetLastError = true)]
        static internal extern bool HidD_SetOutputReport(IntPtr hidDeviceObject, byte[] lpReportBuffer, int reportBufferLength);

        [DllImport("kernel32.dll", SetLastError = true)]
        static internal extern bool ReadFile(IntPtr hFile, [Out] byte[] lpBuffer, uint nNumberOfBytesToRead, out uint lpNumberOfBytesRead, IntPtr lpOverlapped);
        public static bool FastWrite(this HidLibrary.HidDevice device, byte[] outputBuffer)
        {
            try
            {
                if (NativeMethods.HidD_SetOutputReport(device.Handle, outputBuffer, outputBuffer.Length))
                    return true;
                else
                    return false;
            }
            catch
            {
                return false;
            }
        }
        public static ReadStatus FastRead(this HidLibrary.HidDevice device, byte[] inputBuffer)
        {
            try
            {
                uint bytesRead;
                if (NativeMethods.ReadFile(device.Handle, inputBuffer, (uint)inputBuffer.Length, out bytesRead, IntPtr.Zero))
                {
                    return ReadStatus.Success;
                }
                else
                {
                    return ReadStatus.NoDataRead;
                }
            }
            catch (Exception)
            {
                return ReadStatus.ReadError;
            }
        }


[jvm-packagaes] Freeze spark to 3.4.1 for now.

The newer spark version for CPU conflicts with the more conservative version used by rapids.
We need JSON support for JVM packages for passing various XGBoost parameters in https://github.com/dmlc/xgboost/pull/10112  . However, different spark versions require different jackson versions. This creates conflicts between packages.

cc @wbo4958 .


Update knx to 2.0.24

https://github.com/ioBroker/ioBroker.knx/issues/303#issuecomment-1869103036

2.0.24 created 24.11.2023
OK


Revert "Add demos for <amp-fx='fade-in-scroll'> (#1241)"

This reverts commit d5a43728226c27a44d85359f587dddb2e934edb1 which isn't working as expected on the live site.

thanks for the quick response


Runc Permission Problem

I am trying to run a Google Chrome container with runc and am getting what superficially look like permission errors (I can run other GUI type of containers like Firefox and Icedove, and non GUI ones like Cups successfully).  I believe that the latest versions of chrome sandboxing cause older docker files to fail, and that utilizing name spaces is necessary.  I am using a .json file generated by Jess Frazelle which I believe works for her (she posts that she uses custom kernels so my set up is not identical).  Note I am using her config.json from:  https://github.com/jfrazelle/containers/blob/master/chrome/config.json#L223 (it contains args and mounts that appear to be the ones used to start chome per her older instructions).  I  believe in part this issue has to do with userns, and attempting to utilize that capability (I believe my kernel supports user name spaces and user cloning).
Output of docker version:
Client:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   b9f10c9
 Built:        Wed Jun  1 21:30:35 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   b9f10c9
 Built:        Wed Jun  1 21:30:35 2016
 OS/Arch:      linux/amd64

Output of docker info:
docker info
Containers: 2
 Running: 0
 Paused: 0
 Stopped: 2
Images: 13
Server Version: 1.11.2
Storage Driver: devicemapper
 Pool Name: docker-8:1-3016557-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: ext4
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 1.808 GB
 Data Space Total: 107.4 GB
 Data Space Available: 43.82 GB
 Metadata Space Used: 2.191 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.145 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.127 (2016-06-11)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.6.0-1-amd64
Operating System: Debian GNU/Linux stretch/sid
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.958 GiB
Name: debian
ID: NYPZ:5UJA:LOJO:GYT7:PEBJ:MZ2U:S2VX:IPXK:3VDH:D6T2:NWXY:YUZM
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support

Additional environment details (AWS, VirtualBox, physical, etc.):
Debian Stretch kernel 4.6.0-1 on VirtualBox Version 5.0.24 r108355 on Windows 10 on Dell Latitude E6430
go version (I believe I needed to install "go" for runc, and my go version is different than what's shown in Docker Info - not sure that matters?):
go version go1.6.2 linux/amd64
I installed go with:
apt-get install -y golang
apt-get install -y golang-github-seccomp-libseccomp-golang-dev
...and set env variables in my .basrc as:
export PATH=$PATH:/usr/lib/go/bin
export GOPATH=$HOME/work
Simple go "hello world" test functions correctly.
Steps to reproduce the issue:

start docker chrome container "traditional" way using  "--no-sandbox", starts with warning that sandboxing is off ("You are using an unsupported command-line flag:  --no-sandbox.  Stability and security will suffer."):
docker run -it  --cpuset-cpus 0 --memory 512mb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v $HOME/Downloads:/root/Downloads -v $HOME/.config/google-chrome/:/data --device /dev/snd -v /dev/shm:/dev/shm --name chrome jess/chrome --user-data-dir=/data --no-sandbox

start container without --no-sandbox and get:
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted

Try with "runc".... mkdir /dockerchrome
cd /dockerchrome
mkdir rootfs
docker export $(docker create jess/chrome) | tar -C rootfs -xvf -
runc spec
runc start 47d70bd3f838 or runc run 47d70bd3f838
these results get me to shell # as expected
replace config.json with one from https://github.com/jfrazelle/containers/blob/master/chrome/config.json#L223
runc start 47d70bd3f838 or runc run 47d70bd3f838 and get errors, container doesn't start and errors result.

I have tried these tests with and without:
make BUILDTAGS='seccomp apparmor'
Describe the results you received:

try to run container traditional way without --no-sandbox flag:
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted

Try with Runc:
a) runc start 47d70bd3f838
open /run/runc/47d70bd3f838/state.json: no such file or directory

is "state.json" error significant?

b) runc run 47d70bd3f838
rootfs_linux.go:53: mounting "/root/Downloads" to rootfs "/dockerchrome/rootfs" caused "lstat /dockerchrome/rootfs/root/Downloads: permission denied"
c) docker-runc start 47d70bd3f838
could not synchronise with container process: lstat /dockerchrome/rootfs/root/Downloads: permission denied
I've tried pulling the /root mounts out of the .json and re-running with no joy.
Describe the results you expected:
I expect the container to start with a Chrome instance.
Additional information you deem important (e.g. issue happens only occasionally):
Results happen consistently.

Hi, can you raise runc issues on the runc repo not here, as this is not a docker issue https://github.com/opencontainers/runc
That file allows clone and unshare which should be ok. Generally the easiest thing to do is to also allow ptrace (both the syscall in seccomp and SYS_PTRACE in capabilities) and see what is failing.
I am going to close this here as it is not a docker issue, but you can continue here or open on runc repo...

Thanks Justin, sorry for my confusion.  If OK, I'll try your suggestions and probably re-post on https://github.com/opencontainers/runc.
Q:  part of what's led me down this path is trying to get chrome to run in Docker, so in some regards I think of that as a Docker issue if my attempts don't utilize "runc" (which is where I started).  Is it OK to post a "docker only" version on the docker issues location?  I.e., do with running "docker run -it --cpuset-cpus 0 --memory 512mb -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v $HOME/Downloads:/root/Downloads -v $HOME/.config/google-chrome/:/data --device /dev/snd -v /dev/shm:/dev/shm --name chrome jess/chrome --user-data-dir=/data"  without the "--no-sandbox" option?
Thanks,
--
Ted Barnes
Soholistic Networks
www.soholistic.net
(508) 277 9666
--------- Original Message --------- Subject: Re: [docker/docker] Runc Permission Problem (#24368)
From: "Justin Cormack"<EMAIL_ADDRESS>Date: 7/6/16 10:05 am
To: "docker/docker"<EMAIL_ADDRESS>Cc: "senrabdet"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Hi, can you raise runc issues on the runc repo not here, as this is not a docker issue https://github.com/opencontainers/runc
That file allows clone and unshare which should be ok. Generally the easiest thing to do is to also allow ptrace (both the syscall in seccomp and SYS_PTRACE in capabilities) and see what is failing.
I am going to close this here as it is not a docker issue, but you can continue here or open on runc repo...
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh if you are trying to get it to run in Docker, sure. You can just reopen this issue with how you were trying in docker and change the title thats fine...

I think you may need to strace the startup. I think you will find it may work with --cap-add SYS_ADMIN which allows creating namespaces, but I would think it should create the user namespace first, which is an unprivileged operation, so it is a bit odd.
It doesnt seem to be seccomp related as adding --security-opt seccomp=unconfined makes no difference.


how to use

Hi
I am using host Windows 10
and vmware workstation 12 Guest Windows 7

Generate script from host
Is it available on Windows 10?

Setup VM
The VMware option does not display this feature.
Can I ignore it?

I am a very beginner.
Can you tell me more about how to use it?

Hi,

The script needs to be run from Linux host to generate the template (it might be possible given that you have the template to apply it from a Windows host, I don't use Windows much so I have not tried, but feel free to explore this option if you have the time)

At time moment the template can only be applied to VirtualBox guests


issue in fetching emails data

the messages list method in gmail api can only fetch the id's of the emails even though the message representation in the doc represents many other data

We can only really expose the API endpoints as they exist :)  Reading this doc:
https://developers.google.com/gmail/api/v1/reference/users/messages/list
It looks like you'll have to make an individual get call for each id:
https://developers.google.com/gmail/api/v1/reference/users/messages/get
Hope this helps!

yes i already did that and everything works but if i may i would like to
know the best way to send email with attachment in node gmail ,how the mime
should be constructed and do i have to do a function for each file type ?
anyhelp would be appreciated
2018-03-11 4:39 GMT+01:00 Justin Beckwith<EMAIL_ADDRESS>
Closed #930
https://github.com/google/google-api-nodejs-client/issues/930.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/google-api-nodejs-client/issues/930#event-1514893426,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZHKJDijJbKzKhLw6fuFOiWmQ81-Pe9Xks5tdJx0gaJpZM4RfSQ7
.

--
envoyé depuis moxched ;)


Remove parboiled_2.10 source

If we're dropping scala-2.10, we don't need its parboiled2 source anymore.

Effective immediately, all reviews must include at least four lines of poetry.


In rails 4.2.0.beta1 NoMethodError: undefined method `primary='

NoMethodError: undefined method `primary=' for #<ActiveRecord::ConnectionAdapters::MSSQLColumn:0x4f9e9c21>
	from arjdbc/jdbc/RubyJdbcConnection.java:1098:in `columns'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-jdbc-adapter-1.3.9/lib/arjdbc/jdbc/adapter.rb:322:in `columns'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-jdbc-adapter-1.3.9/lib/arjdbc/mssql/adapter.rb:540:in `columns'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/attributes.rb:85:in `columns'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/model_schema.rb:260:in `column_names'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/relation/calculations.rb:226:in `aggregate_column'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/relation/calculations.rb:252:in `execute_simple_calculation'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/relation/calculations.rb:221:in `perform_calculation'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/relation/calculations.rb:127:in `calculate'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/relation/calculations.rb:42:in `count'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/activerecord-4.2.0.beta1/lib/active_record/querying.rb:13:in `count'
	from (irb):1:in `evaluate'
	from org/jruby/RubyKernel.java:1101:in `eval'
	from org/jruby/RubyKernel.java:1501:in `loop'
	from org/jruby/RubyKernel.java:1264:in `catch'
	from org/jruby/RubyKernel.java:1264:in `catch'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/railties-4.2.0.beta1/lib/rails/commands/console.rb:110:in `start'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/railties-4.2.0.beta1/lib/rails/commands/console.rb:9:in `start'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/railties-4.2.0.beta1/lib/rails/commands/commands_tasks.rb:68:in `console'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/railties-4.2.0.beta1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /Users/kwando/projects/work/sdf_gateway/vendor/bundle/jruby/1.9/gems/railties-4.2.0.beta1/lib/rails/commands.rb:17:in `(root)'
	from org/jruby/RubyKernel.java:1065:in `require'
	from /Users/kwando/projects/work/sdf_gateway/bin/rails:1:in `(root)'
	from org/jruby/RubyKernel.java:1081:in `load'
	from -e:1:in `(root)'

rails 4.2.0.beta1
gem 'rails', '4.2.0.beta1'
gem 'activerecord-jdbcmssql-adapter', '~> 1.3'
gem 'jdbc-mssql-azure', '0.0.2'

there was another report for the same issue at #609 ... we do have this one fixed and will be in 1.3.14


ClassTable Inheritance

I have a BaseClass Company and from it, there is a ClassTable Inheritance to Supplier
If i set an state_machine on the Company Class it throws an exception (undefinied index for the Supplier Class).
So i have to use a state_machine for each Inheritated class even if they share the same state maschine.
is there some way around it?
see https://github.com/K-Phoen/DoctrineStateMachineBehavior/blob/master/src/KPhoen/DoctrineStateMachineBehavior/Listener/PersistenceListener.php#L52
Its only checking the class of the entity, but not an eventual present parent class.

i submitted a PR solving this issue:
https://github.com/K-Phoen/DoctrineStateMachineBehavior/pull/9

Fixed by #9


[UX Test]: Investigate prominence and length of description

Issue Name
Investigate prominence and length of description
Test Purpose
To investigate the value of increasing the prominence of the description in the record view. ~To determine the ideal length of a description which would balance out the real estate of the description relative to its value~. Having a wall of text may be potentially be less useful to a user evaluating a record than having a short description. At what point is a description so long that it is no longer useful?
This test is to determine HOW to include the AI-generated summary in the record view. See https://github.com/NIAID-Data-Ecosystem/nde-crawlers/issues/159 for additional details on the purpose.
The Ask:

We would like to know which one the designs, NIAID team would like to see in Staging. The designs can be viewed in the Lyssna study here: https://app.lyssna.com/do/a484c01b55d1/7069, and the NIAID/ODSET team is welcome to provide feedback on the designs using the Lyssna platform.
Alternatively, if NIAID/ODSET prefers, we can also run the study on the Lyssna platform and collect results from users either via:

convenience sampling (no cost, but takes longer to get participants),
or via paid sampling (likely to cost $50-$100, but will take only a day to get enough participants).

Test Approach
See the test
Test Cost
Depends on sampling method. $0 (convenience sampling) - $100 (paid sampling)
Test Time
Depends on sampling method 1 day (paid sampling) - 1.5 weeks (convenience sampling)
Writeup URL
https://app.lyssna.com/do/a484c01b55d1/7069
Related WBS task
No response
For internal use only. Assignee, please select the status of this issue

[ ] Not yet started
[ ] In progress
[ ] Blocked
[ ] Will not address

Status Description
No response
Test status check list

[X] This test has yet to be discussed between NIAID, Scripps, Leidos
[x] This test has been discussed/reported between NIAID, Scripps, Leidos
[x] This test has been scoped out
[x] This test has been drafted in the platform in which it will be conducted
[x] This test has been conducted
[ ] The results of this test have been analyzed

The Lyssna test to determine the best design for the AI-generated summary has been created:

Hi @harwickma, @lisa-mml, @rshabman, @sudvenk,
Per our discussion on 2024.09.24, we have generated a few mock-ups to display AI-generated summaries of datasets for records that have excessively lengthy descriptions.
The Ask:

We would like to know which one the designs, NIAID team would like to see in Staging. The designs can be viewed in the Lyssna study here: https://app.lyssna.com/do/a484c01b55d1/7069, and the NIAID/ODSET team is welcome to provide feedback on the designs using the Lyssna platform.
Alternatively, if NIAID/ODSET prefers, we can also run the study on the Lyssna platform and collect results from users either via:

convenience sampling (no cost, but takes longer to get participants),
or via paid sampling (likely to cost $50-$100, but will take only a day to get enough participants).

We are also in the process of augmenting this summary metadata to ClinEpiDB records. We selected ClinEpiDB for an example augmentation for the following reasons:

It will be easier to find and view a summary-augmented record if we augment by repository (allowing filtering by source)
ClinEpiDB is a small enough repository (<70 records), of which the majority have very long descriptions

We will move these augmented records to staging once the display of the record has been selected

We are running the Lyssna study ($50) to help inform the decision on the selection of the design to move forward

We have completed the Lyssna study and implemented the winning design to Staging
The results of the study will be posted to this issue next week.

Results of Study 1 (1 bottom design vs 3 top designs): https://docs.google.com/presentation/d/1J6qb1tHO5VP_zAXYTl8CXZvcgzUazWhbuI4uZ7GpMQU/edit#slide=id.g1f804f59111_0_3
14 votes for one of the 3 top designs, 11 votes for the bottom design. Some comments indicating confusion as to what the summary actually represents
Results of study 2 (1 top design, 1 bottom design): https://docs.google.com/presentation/d/15wZNVZQyl0ehNJxvkbF3JqBX7r4-ARWffC7xRmO-OGQ/edit#slide=id.g30a76808019_0_72

Hi @gtsueng, following up on discussion from 15Oct2024, please draft an email for the ClinEpiDB to provide an overview of the process/motivation to develop AI generated summaries, and ask for their input feedback on the results. NIAID will provide inut and the inquiry will be sent from the Ecosystem email. Thank you.

Hi @hartwickma , @sudvenk,
We are working on the draft email and will create a separate issue for it once it has been drafted.

As the study has been completed, I am marking this issue as pending close out


Implement support for Google Optimize

Support for Google Optimize (https://optimize.google.com/) which is implemented as a Google Analytics plugin.
Implementation simply requires the addition of a container to the Google Analytics code. The corresponding tests have also been included in this pull request. Thanks!
ga('require', 'GTM-123456');

Wow! Thank you for the implementation. 🍻


add hdevtools to IDE tools section

I find hdevtools pretty useful i.e. integrated into vim - maybe worth mentioning :-)

Yeah, great suggestion!  Thank you


BuildStepsExecutionException when running jibDockerBuild

Environment:

Jib version: 3.2.1 (jib-gradle)
Build tool: gradle 7.5
OS: Windows 10 x64
JDK: temurin-jdk-17.0.4+8

Description of the issue:
When running the following command ./gradlew jibDockerBuild, it throws the following error
BuildStepsExecutionException: unable to move: %APPDATA%\Local\Google\Jib\Cache\tmp\12345 to %APPDATA%\Local\Google\Jib\Cache\layers\54321; such failures are often caused by interference from antivirus (#3127), or rarely if the operation is not supported by the file system (for example: special non-local file system)

Expected behavior:
Running the command should build a local image using the local Docker Daemon
Steps to reproduce:

run ./gradlew jibDockerBuild

jib-gradle-plugin Configuration:
jib {
  from {
    image = 'eclipse-temurin:17.0.4_8-jdk'
  }
  to {
    image = 'my-image/built-with-jib'
    tags = ['tag2', 'latest']
  }
  container {
    jvmFlags = ['-Xms512m', '-Xdebug']
    ports = ['8080']
  }
}

Log output:
Additional Information:
The error message points me to this https://github.com/GoogleContainerTools/jib/issues/1635#issuecomment-484199610 where it did mentioned about anti-virus affecting it. My research also brings me to #3127 and #1438, similarly, my machine is installed with mcafee endpoint security 10.7 but I have no control over it.
I have tried to run with the following command ./gradlew jibDockerBuild -Djib.applicationCache=D:\cache -Djib.seralize=true based on some suggestion I saw over the different issues, but it does not seem to work as well.
Note: I should probably also mention that it used to work when I last ran it a few months back. I did a trace, but I don't see any major upgrade in between this period for gradle/jib but I'm not sure about anti-virus though.
I am unable to provide a full log as I'm working on an air-gapped environment. Let me know if anything else is required, and I will try to provide
Thanks

The problematic directory (%APPDATA%\Local\Google\Jib\Cache\tmp\12345) is not an application cache directory. (An application cache is local and exclusive to your single project and resides under your Gradle build output directory (<Gradle project root>/build).) Therefore, setting -Djib.applicationCache won't make a difference.
The directory in question is the central base image cache shared across Jib projects on the same machine, so try -Djib.baseImageCache=... for testing. However, remember that this is changing the shared cache, so if you decide to do this for a short-term solution, you'll want to set this for all Jib runs across projects to benefit the cache.
I bet you won't need -Djib.seralize=true.

If I understand you correctly, the issue is with the central base image cache, and thus, by changing the directory, would probably solve my issue, right?

However, remember that this is changing the shared cache, so if you decide to do this for a short-term solution, you'll want to set this for all Jib runs across projects to benefit the cache.

I don't quite understand this portion, so is there a long term solution for this? Is the issue caused by AV, and thus, unless I disable or switch AV, the only way out is to change the base image cache directory?

If I understand you correctly, the issue is with the central base image cache, and thus, by changing the directory, would probably solve my issue, right?

Yes. The assumption is that AV is opening and holding the directory newly created by Jib (maybe for scanning) for a while and preventing Jib from atomically moving (renaming) the directory. This issue is only specific to the Windows OS with some AV.

is there a long term solution for this? Is the issue caused by AV, and thus, unless I disable or switch AV, the only way out is to change the base image cache directory?

Hopefully, you can change the settings of your AV to exclude the Jib base image cache from its scanning scope so that you don't have to keep setting -Djib.baseImageCache=... in the mean time. Disabling or switching AV is obviously an option, but yeah, if that's not possible, the only way out I can think of is to keep setting -Djib.baseImageCache=... for all your Jib executions.

The assumption is that AV is opening and holding the directory newly created by Jib

Jib creates new directory every time?

Hopefully, you can change the settings of your AV to exclude the Jib base image cache

Jib default base image cache directory is %APPDATA%\Local\Google\Jib\?
I will try out your suggestion, and report back if it works. Although, I can't quite get it why it worked previously, and not now. I can't tell anything major changes, unless it's AV version, which I am not aware of the version when it was working.

The base image cache is to cache images, which is comprised of layers (tar files in reality) and some metadata files. So, whenever it needs to download and save new images or layers, those will be created under the cache directory with some hierarchy. A lot of directories and files will be created in that cache, as you keep downloading new images.

Jib default base image cache directory is %APPDATA%\Local\Google\Jib\?

Basically, %LOCALAPPDATA%\Google\Jib\Cache, by default.

** The default base image cache is in the following locations on each platform:
...
Windows: [cache root]\Google\Jib\Cache, where [cache root] is %XDG_CACHE_HOME% (%LOCALAPPDATA% if not set)

This is out of Jib's control. It means any Java program on your JDK just cannot establish SSL connections to your server. See the following issues for some ideas to debug your environment:

https://github.com/GoogleContainerTools/jib/issues/2458#issuecomment-625839215
#2482
https://github.com/GoogleContainerTools/jib/issues/1966#issuecomment-529662786

Note it's an unrelated issue.

I don't think httpTimeout helps for anything. The issue is that your system is blocking you from moving a file on your local disk. No network connection is involved.

It may be that your AV is also monitoring D:\Jib. The error message is what it is saying: for some reason, a trivial I/O operation to rename a directory is failing. Here, a user reported that

I set the path under the c drive where I keep tooling caches such as the local maven repo
I can't turn off the antivirus as I do not have rights :(
the new location is potentially not treated the same by the antivirus software

Yup, it is an unrelated issue to this, but not sure why it thinks so though. I am using the same JDK for other various purpose, and it is running as it should. I will try to figure out again, don't want to pollute this issue with unrelated issue.
I wasn't clear about it, it was because I didn't want the GET request to retry so long (20sec), so I tried to set a lower value but it didn't seem to take effect. Not sure if I understand the arg wrongly.
I guess I can only see if there's a way to temp disable the AV, or set to ignore certain directory to be able to test properly if it works and if the root cause is really the AV

I will not be able to test until a week or so later, will report back my findings again.
Thanks for helping out! Appreciate it

Yup, it is an unrelated issue to this, but not sure why it thinks so though.

Just to make it sure, "it" here is the SSL layer on your JDK, not Jib.
jib.httpTimeout is for connection and read timeout. Jib does exponential back-off waiting on retying on I/O exception in the hope that it's a transient error that may go away at some point. BTW, your error is not a recoverable one, so no matter how long Jib waits or how many times it retries, it will never succeed.
I wonder if %SYSTEM%\WINDOWS\TEMP or %LOCALAPPDATA%\Temp is worth trying.

Yup, that's correct on the SSL part.
That's a great idea to try on those directories, I shall do that and report back a week later.
Thanks!

So it seems to worked by disabling On-Access Scan on my McAfee Endpoint Security
However, it did not work the first time when I used the exclusion feature. I ran using gradlew jibDockerBuild -Djib.baseImageCache=D:\Jib\Cache -Djib.console=plain -Djib.allowInsecureRegistries=true
The test I did was

Exclude D:\Jib > run jibDockerBuild > didn't work
Disable on access scan > run jibDockerBuild > work
Enabled on access scan > didn't have any exclusion > run jibDockerBuild > work!

I also tried excluding %LOCALAPPDATA%\Jib and ran the command without specifying baseImageCache and the result is the same as above.
So it seems to me that once it has cached the first time for jib, it won't copy any files anymore? Thus, won't trigger the on access scan because no files are being copied?
I'm not sure why the exclusion didn't work, but is there other directory I should try excluding to test?

Yes. Once Jib downloaded and cached images, Jib will not download them again, for the obvious reason.

is there other directory I should try excluding to test?

If you remember, the exception message already shows the path in question.

If you remember, the exception message already shows the path in question.

Yup, I added the directories as mentioned, but the exclusion didn't work. So was wondering if it could have other directory that I did not include. But if those are the only ones, then it might be something wrong with the exclusion feature from the AV, and I will treat it as such.
Otherwise, I think we can close this issue, and thank you so much for your assistance. Appreciate it!


Token implementation /2

cpplint complained about a line too long. I split it, but left a single space at the end of the resulting lines ==> cpplint failed again. Argh.


Booking an appointment does not respect the schedule configured for the resource

I have the following setup in dayschedule with a single account:

Resource A and Resource B
Schedule 1 and Schedule 2 with Schedule 1 being marked as default
Resource A is configured with Schedule 1 and Resource B is configured with Schedule 2

Since each resource is configured with its own schedule, I assume bookings for each resource will have different schedules, however, it seems that both are using the same schedule that has been marked as default, and not with the one that has been configured.
P.S. I have confirmed the resources do have their respective schedule with GET api /v1/resources.  I have also tried to use the GET api /v1/bookings to see if the bookings have a schedule_id, but unfortunately schedule_id isn't a field in the response.

It is my misunderstanding of how to set up default schedules for resources.  I have verified in daySchedule dashboard that the schedules do work as designed, hence this issue should be closed.


fix(connector): [noon] Create psync struct from webhook resource object

Type of Change

[X] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

create psync struct from webhook resource object, so that when source is verified and HandleResponse on the incomingWebhook is called it is able to deserialise from the Psync Handle Response
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

#2
How did you test it?

Checklist

[X] I formatted the code cargo +nightly fmt --all
[X] I addressed lints thrown by cargo clippy
[X] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

#2330


Now scala-polars  not contain  dataframe all operation

Hi,
for dataframe  most important is groupby  agg  pivot  concat split   stack join , but I can not found  these operation ,why ? please add these function ,then I think maybe it will popular in scala  , and  I will try use scala-polars will pytorch  in scala

scala-polars is good rust-jni-scala project, even best  rust-jni-scala  framework  ,please write more rust polars mirror func code to scala, thanks

use polars::*;
use polars::prelude::pivot::pivot;
use polars::prelude::group_by_windows;

add these declear import thing ,try to do some thing

Thanks for raising this!
I'm currently refactoring data sources to support the cloud. This should be done by the first week of January. After that, I'll publish it to Maven, which will help users. Then, I'll start on more expressions and functionality.

Thanks for raising this! I'm currently refactoring data sources to support the cloud. This should be done by the first week of January. After that, I'll publish it to Maven, which will help users. Then, I'll start on more expressions and functionality.

wow ,thanks, very will , happy new year!


Integrate io_uring transport into 4.2

Motivation:
We should include our io_uring transport as part of 4.2
Modifications:
Add io_uring transport based on our incubator version and main version
Result:
Fixes https://github.com/netty/netty/issues/14010

This "version" is a combination of what we had in netty-incubator-transport-native-io_uring and our main branch.
You might wonder why not pick one or the other, the reason is that both had its pros and cons and so I tried to merge these to also work with our new IoHandler design.
The good news is that with this implementation it should be trivial to support things like file IO, as all it would take is to write a FileIoHandle that you can register and then use the returned IOUringIoRegistration to submit the relevant IOUringIoOps and react to the IOUringIoEvent.
Beside this I also want to take another stab on the IOUringDatagramChannel implementation and use a blocking fd there as well with fastpoll. I will work on this while already give you some chance to have a look at the code.
We should also remove all the methods on the SubmissionQueue that are now not used anymore as Channel implementations are using the IOUringIoRegistration to submit work to the SubmissionQueue.

Also in the future we should look into using provided buffers: https://github.com/axboe/liburing/wiki/io_uring-and-networking-in-2023#provided-buffers

And I think we also should move from IOUring* to IoUring* for class / interface names. This is more inline with others like Nio etc.

And before I forget shout out to @axboe for all the help in answering my questions and also for working on future changes for io_uring based on some of my feedback. OSS rocks :)

First round seems ok, but wanna run it and see if I am convinced the same :P

For sure :) Keep me posted.

Related the dead code, that's why is not yet approved: need to delete quite a few no longer used methods!

Yes will do more cleanup etc. Just wanted to show something first

Need to investigate why I see some AssertionError on the CI while I never see it here...

Need to investigate why I see some AssertionError on the CI while I never see it here...

Nevermind I did mess up while cleanup ... should be fixed now

@franz1981 @chrisvest I think this is ready to go now.

I will rename everything from IOUring* to IoUring* before pulling it in. I just wanted to keep the name like it is for now to make it  easier to compare to main and the incubator version.

It's a lot to review, but I'm having a look now.

Had some comments. Mostly small stuff.

@chrisvest addressed and also did some more simplification... PTAL again


Can't use vue/webpack devServer proxy

Description
I can't configure devServer.proxy with Gridsome.
Steps to reproduce
With a normal vue project, you can create a vue.config.js and put in as follows:
module.exports = {
  devServer: {
    proxy: 'http://localhost:4000'
  }
}

This adds a fallback for http://localhost:4000 for failing requests.
However, this does not work in Gridsome, and I can't find another way.
This is similar to #472 and I don't understand why it was closed, as only a workaround was suggested and not an actual fix.

Libs:
- gridsome version: v0.6.9
- @gridsome/cli version: v0.2.1

For Tooling issues:
- Node version: v12.8.1
- Platform: Linux

Running into the same issue. Did you manage to get around this?

+1

I suppose it wouldn't be too difficult. http-proxy-middleware works very nicely with the Gridsome Server API.

Neither api.configureWebpack nor api.configureServer work for me. I'm trying to use the source-wordpress plugin and I keep getting Error 400 - wp/v2/types.
This is the config function:
api.configureWebpack({
    devServer: {
        proxy: {
            '/': {
                target: 'http://secureyourinbox.test',
                changeOrigin: true,
                secure: false,
            }
        }
    }
})

On my laptop I'm using a test domain where I installed wordpress using composer. The URL for the wordpress installation is http://secureyourinbox.test/wordpress and the rest api is that url + /wp-json. At this rate I'm just going to have to plug the data in manually.

Neither api.configureWebpack nor api.configureServer work for me. I'm trying to use the source-wordpress plugin and I keep getting Error 400 - wp/v2/types.
This is the config function:
api.configureWebpack({
    devServer: {
        proxy: {
            '/': {
                target: 'http://secureyourinbox.test',
                changeOrigin: true,
                secure: false,
            }
        }
    }
})

On my laptop I'm using a test domain where I installed wordpress using composer. The URL for the wordpress installation is http://secureyourinbox.test/wordpress and the rest api is that url + /wp-json. At this rate I'm just going to have to plug the data in manually.


Ability to choose language

It would be great if we could use language variable to use other language than set in HA.
Thanks for great work.

Why are language settings not fully applied?

Why are language settings not fully applied?

You are correct , will have a look to it and correct it in a next version.


Release 0.3.2 to pypi

@tannewt can you do this as a one-off please?

Done as 0.3.3: https://pypi.org/project/cascadetoml/


Adding rtt plotter and test

This adds the rtt debug test app in the tests directory. Verification can be done by confirming seeing a repeating linear pattern, and a sinusoidal on the plotter gui when that is run.

Closing pull request for one that has the newest merges


Added the features page

Sir i have added the features page and linked to footer also . please check it . Here is a ss . I am a beginner so just tried what i knew . Let me know if anything

If everything is fine pls assign appropriate level and accept

@vedhcet-07, please sync your fork with the latest changes from the main repository. I've resolved the backtracking-questions.md error at line 56.
Here's what you need to do:

Fetch the latest updates from the main repository:git fetch upstream
git merge upstream/main

Push the merged changes to your fork:git push origin your-branch

After syncing, resolve any remaining issues.

Please don't hesitate to let me know if you encounter any problems.

sir i updated this thing . synced it . pls check . Sir level 2 if possible !

sir i updated this thing . synced it . pls check

The code should be written in a file named index.tsx in the src/pages/features directory, not features.html in the src/pages/Features directory.


[VMware] Fix service offerings listing on appliances deployment options

Description
This PR fixes the listing of service offerings on VMware deployment options

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1847

@nvazquez can you please elaborate what behaviour this PR fixes

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 1850

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1852

@blueorangutan test centos7 vmware-67u3

@blueorangutan test centos7 vmware-67u3

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

Trillian test result (tid-2637)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34127 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5752-t2637-vmware-67u3.zip
Smoke tests completed. 91 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Input component multiline does not auto resize if rows is defined

The problem
If input component has property rows defined as number (PropType is number), the text area height is fixed to it and overflowing text will add scroll bar to it. If the property is defined as a string (e.g. "2"), the text area will auto-resize to lines. The problem with this is, that the prop type is defined as a number and the string value is not allowed there.
Solution
Add prop autoResize to manage auto-resizing. If its value is true, text area increase and decrease its height. Otherwise height is fixed. Default value is true

Please correct me it I'm mistaken but you can omit the rows property and achieve the same result without an additional property. By default a text area increases its size adjusting to the text height


Add podspec

Makes the iOS integration a bit easier and gives you control of the AppsFlyerFramework dependency version.
Changed a bit in the README to make the install procedure a bit clearer I hope, have a look and change if needed.

@af-fess please have a look at this when you have time 😊

@adbl why do you want to put react-native-appsflyer into  react-native-appsflyer.podspec, its react-native plugin that should be installed through npm

Ooops react-native-smooch was a copy/paste error 😅 fixed.
The stuff from package.json into the podspec is just so the file is a valid podspec. It is not for publishing on CocoaPods. Having a separate podspec like this is common for RN bridges that depends on a native Pod, it makes the install simpler and safer.

@af-fess is there anything else I should explain regarding this PR?

@af-fess hello?

@adbl hi, i need to test it first. Nee to find time for that. But it makes sense.

@af-fess ping, another month has gone by ...

@adbl In order for us to provide optimal support, we would kindly ask you to submit any issues to<EMAIL_ADDRESS>Please mention me by name (Benjamin) so I can take this on for you.
When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , production steps, logs, code snippets and any additional relevant information.

Eh, ok I've sent an email @BenjaminAF

@af-fess while upgrading libraries for our project I notice this still hasn't been merged. I have now updated the PR to the current AppsFlyerFramework pod. If you don't want this documented then I can remove the README instructions? I just want this to get merged...

This would really help!

We need this! Please use a podspec for this library @af-fess

@af-fess can you please take 15 minutes to look at this and either merge it (or close it if you don't want to keep it)? I don't think ignoring a PR for many months is a nice way to treat a contributor and even less a paying customer.
cc @BenjaminAF
Btw, here is a benefit to using this PR. In the README, it's stated that the RN bridge is built for AppsFlyer iOS SDK v4.7.11, however when installing according to the instructions, you end up with the currently latest version, (4.8.1 which I have put in the podspec and seem to work just fine btw). You want to lock the dependency version, which is possible with the podspec, you will update the podspec only when you have tested a new version. So, no users will come here and complain about some issue because they ended up with a new incompatible version, which may well happen otherwise.

Here are some other bridges which have a podspec:
https://github.com/davodesign84/react-native-mixpanel
https://github.com/smooch/react-native-smooch

Hi @adbl , I didnt merge this pull because of small conflicts, I took your updates (etc) and generated this commit: https://github.com/AppsFlyerSDK/react-native-appsflyer/commit/f3a048ddd785ce2685c1355e28101b7199f9bb3e

@adbl to be fair with you for your huge patience, I prefer to take your pull request and merge it instead my commit. Let me know if its makes sense :)

@af-fess excellent! I did rebase my branch on current master today, so there where no merge conflicts, but I can see you made some other changes to demo etc. This is fine 👍


Add final missing editor emoji and check in the new .glitch-assets file

Somehow I had already uploaded these emoji, but missed them from the Icon.js file; fixing that here.

:rocket: PR was released in v0.19.0 :rocket: