[JavaScript] TypeError: Cannot read property 'registerType' of undefined using adaptivecard-fabric

Platform

JavaScript

Version of SDK
latest
Details
I was trying to style my adaptive cards using module adaptivecards-fabric as mentioned in the repo by using
    ACFabric.useFabricComponents();

but Iam getting the following error
TypeError: Cannot read property 'registerType' of undefined
I checked the AdaptiveCard class definition in node modules and could not find any property elementTypeRegistry.
Can someone help me with this issue? Or can someone tell me if there is any other way to style adaptive cards using fabric ui?
Here is the whole stack trace:
    at Object.t.useFabricComponents (Fabric.js:17)
    at t.componentDidMount (ImmersiveIframe.tsx:32)
    at us (react-dom.production.min.js:212)
    at Tl (react-dom.production.min.js:255)
    at t.unstable_runWithPriority (scheduler.production.min.js:19)
    at Go (react-dom.production.min.js:122)
    at wl (react-dom.production.min.js:248)
    at pl (react-dom.production.min.js:239)
    at react-dom.production.min.js:123
    at t.unstable_runWithPriority (scheduler.production.min.js:19)

@sadviramana for now the Fabric integration is only compatible with the AC SDK v1.1.x or earlier. It will not work with v1.2 and later. We do know this is a problem and are working to find the right people to update the Fabric integration library.

Met the same issue, looking forward to have you fix

@futurechallenger You can try using the adaptive cards version 1.2.6. The problem is with the latest version v2.0.

@dclaux  any luck with this issue?

Addressing this issue is not currently on our roadmap, so closing. Please feel free to continue the conversation in this issue for future consideration.

Any updates on the issue?


Enhancement: Maximum Points

Under either the song difficulty (Easy, Normal, Hard) or under the best score you have gotten add a section where it shows maximum points.

maximum points as in highest possible score for that level's chart? or the score limit?


Using mixed-precision with hub models

Hi folks. When using mixed precision to perform transfer learning with any hub model I run into the following error:
ValueError: Could not find matching function to call loaded from the SavedModel. Got:
      Positional arguments (2 total):
        * Tensor("x:0", shape=(None, 224, 224, 3), dtype=float16)
        * False
      Keyword arguments: {}

    Expected these arguments to match one of the following 4 option(s):

    Option 1:
      Positional arguments (2 total):
        * TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='input_1')
        * True
      Keyword arguments: {}

    Option 2:
      Positional arguments (2 total):
        * TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='x')
        * False
      Keyword arguments: {}

    Option 3:
      Positional arguments (2 total):
        * TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='input_1')
        * False
      Keyword arguments: {}

    Option 4:
      Positional arguments (2 total):
        * TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='x')
        * True
      Keyword arguments: {}

Is it a known issue? To reproduce this, just take this official example: Transfer learning with TensorFlow Hub and add the following lines of code in the library imports:
from tensorflow.keras import mixed_precision
policy = mixed_precision.Policy('mixed_float16')
mixed_precision.set_global_policy(policy)

The data type of the last layer of the classifier should be float32. This is to prevent numeric instabilities, though. Also, to perform mixed-precision the compute capability of your GPU should be at least 7 or higher. V100 is a good example of this.

@sayakpaul , please go through the below links for more information regarding implementation of mixed precision policies with hub.KerasLayer -

link1
2)link2


[4.2] SILGen: Handle reabstraction in attempted +0 argument peephole.

Explanation: A peephole in SILGen for class let properties would fail in the case where a reabstraction was necessary.
Scope: Regression from 4.1
Issue: rdar://problem/41056468
Risk: Low, small bug fix.
Testing: Swift CI, test case from radar, compatibility suite
Reviewed by: @gottesmm

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 2617649d20d2b278c91bb3e2330b72284c43bf00

Build failed
Swift Test OS X Platform
Git Sha - 2617649d20d2b278c91bb3e2330b72284c43bf00

@swift-ci Please test

@swift-ci Please nominate


Error after trying to Refresh Relationship and Power States

On freshly added provider, I'm getting error message 'The selected provider is not in the current region' after trying to 'Refresh Relationship and Power States'.

I've checked, and the region is not different, and the provider wasn't in the DB before.
The bug seems to be comming from:
From: /home/rblanco/devel/manageiq-ui-classic/app/controllers/application_controller.rb @ line 1433 ApplicationController#filter_ids_in_region:

    1431: def filter_ids_in_region(ids, label) # ids: ["10000000000024"], label: "Provider"
    1432:   binding.pry
 => 1433:   in_reg, out_reg = ApplicationRecord.partition_ids_by_remote_region(ids)
    1434:   if ids.length == 1
    1435:     add_flash(_("The selected %{label} is not in the current region") % {:label => label}, :error) if in_reg.empty?
    1436:   elsif in_reg.empty?
    1437:     add_flash(_("All selected %{labels} are not in the current region") % {:labels => label.pluralize}, :error)
    1438:   else
    1439:     unless out_reg.empty?
    1440:       add_flash(
    1441:         n_("%{label} is not in the current region and will be skipped",
    1442:            "%{label} are not in the current region and will be skipped", out_reg.length) %
    1443:           {:label => pluralize(out_reg.length, label)}, :error
    1444:       )
    1445:     end
    1446:   end
    1447:   return in_reg, out_reg
    1448: end

method defined in https://github.com/ManageIQ/activerecord-id_regions/blob/6f3875a3dd2396b2a528171a497a0a5bf671539e/lib/active_record/id_regions.rb#L119
/cc @himdel @martinpovolny

@romanblanco this is probably not enough info...
Do you have a REGION file? If so, what does it contain?
Do you have ENV['REGION'] instead?
What does region_number_from_sequence return?
Which of those gets used for my_region_number?

myREGION file contains 0.
ENV['REGION'] is nil.

From: /home/rblanco/devel/manageiq-ui-classic/app/controllers/application_controller.rb @ line 1433 ApplicationController#filter_ids_in_region:

    1431: def filter_ids_in_region(ids, label) # ids: ["10000000000024"], label: "Provider"
    1432:   binding.pry
 => 1433:   in_reg, out_reg = ApplicationRecord.partition_ids_by_remote_region(ids)
    1434:   if ids.length == 1
    1435:     add_flash(_("The selected %{label} is not in the current region") % {:label => label}, :error) if in_reg.empty?
    1436:   elsif in_reg.empty?
    1437:     add_flash(_("All selected %{labels} are not in the current region") % {:labels => label.pluralize}, :error)
    1438:   else
    1439:     unless out_reg.empty?
    1440:       add_flash(
    1441:         n_("%{label} is not in the current region and will be skipped",
    1442:            "%{label} are not in the current region and will be skipped", out_reg.length) %
    1443:           {:label => pluralize(out_reg.length, label)}, :error
    1444:       )
    1445:     end
    1446:   end
    1447:   return in_reg, out_reg
    1448: end

[1] pry(#<EmsInfraController>)> ApplicationRecord.my_region_number
=> 0
[2] pry(#<EmsInfraController>)> ApplicationRecord.region_number_from_sequence
D, [2017-09-20T16:06:27.831913 #31905] DEBUG -- :    (0.8ms)  SELECT relname FROM pg_class WHERE relkind = 'S' LIMIT 1
D, [2017-09-20T16:06:27.837446 #31905] DEBUG -- :    (3.7ms)  SELECT last_value FROM accounts_id_seq
=> 10
[3] pry(#<EmsInfraController>)> ApplicationRecord.rails_sequence_factor
=><PHONE_NUMBER>000
[4] pry(#<EmsInfraController>)> ApplicationRecord.partition_ids_by_remote_region(ids)
=> [[], ["10000000000024"]]

Ah, that would explain it :)
The REGION file doesn't have to be there (and then region_number_from_sequence gets used, giving you the right region), or it needs to have the right value (0 != 10).

@himdel Without REGION file you get error
/home/rblanco/devel/manageiq/app/models/miq_region.rb:108:in `seed': Region [10] does not match the database's region [0] (Exception)

with 10 in REGION, I'm getting the same error:
• ~/devel/manageiq/ master bundle exec rails s -b [::] -p 3000
** override_gem: manageiq-ui-classic, [{:path=>"/home/rblanco/devel/manageiq-ui-classic"}], caller: /home/rblanco/devel/manageiq/bundler.d/development.rb
** override_gem: manageiq-api, [{:path=>"/home/rblanco/devel/manageiq-api"}], caller: /home/rblanco/devel/manageiq/bundler.d/development.rb
** override_gem: manageiq-ui-classic, [{:path=>"/home/rblanco/devel/manageiq-ui-classic"}], caller: /home/rblanco/devel/manageiq/bundler.d/development.rb
** override_gem: manageiq-api, [{:path=>"/home/rblanco/devel/manageiq-api"}], caller: /home/rblanco/devel/manageiq/bundler.d/development.rb
=> Booting Puma
=> Rails 5.0.6 application starting in development on http://[::]:3000
=> Run `rails server -h` for more startup options
** Using session_store: ActionDispatch::Session::MemCacheStore
Exiting
/home/rblanco/devel/manageiq/app/models/miq_region.rb:108:in `seed': Region [10] does not match the database's region [0] (Exception)
        from /home/rblanco/devel/manageiq/lib/evm_database.rb:80:in `block (2 levels) in seed'
        from /home/rblanco/devel/manageiq/lib/evm_database.rb:69:in `each'
        from /home/rblanco/devel/manageiq/lib/evm_database.rb:69:in `block in seed'
        from /home/rblanco/devel/manageiq/lib/extensions/ar_table_lock.rb:21:in `block (2 levels) in with_lock'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/2.4.0/timeout.rb:33:in `block in catch'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/2.4.0/timeout.rb:33:in `catch'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/2.4.0/timeout.rb:33:in `catch'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/2.4.0/timeout.rb:108:in `timeout'
        from /home/rblanco/devel/manageiq/lib/extensions/ar_table_lock.rb:21:in `block in with_lock'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `block in transaction'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/transaction.rb:189:in `within_new_transaction'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.0.6/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
        from /home/rblanco/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.0.6/lib/active_record/transactions.rb:211:in `transaction'
        from /home/rblanco/devel/manageiq/lib/extensions/ar_table_lock.rb:15:in `with_lock'
        from /home/rblanco/devel/manageiq/lib/evm_database.rb:68:in `seed'
        from /home/rblanco/devel/manageiq/lib/evm_database.rb:50:in `seed_primordial'
        from /home/rblanco/devel/manageiq/lib/vmdb/initializer.rb:11:in `init'
        from /home/rblanco/devel/manageiq/config/application.rb:149:in `block in <class:Application>'

db = MiqDatabase.first
db.region_id = 10
db.save!

Should help :)

That said, this still means that activerecord-id_regions uses a different approach to determining regions than MiqRegion does .. Cc @Fryguy

@miq-bot assign @himdel

@miq-bot close_issue
This was indeed a case of REGION file saying something different than the DB.
I guess we can close now.


[proposal] add support to show the other seasons for an entry

Use case:

Add Anime X season 2 to my MAL
Go to stremio and find it
Clicking on the season menu doesn't show you the rest of the seasons and it always show as "Season 1".

Proposal:
Add a way for that to be flexible.

I'm not sure I understand. Is the anime called "Anime X"? Episode information comes from the kitsu addon so that depends on what the kitsu addon returns. Some shows are returned as having one season, instead of being split.

I'm not sure I understand. Is the anime called "Anime X"? Episode information comes from the kitsu addon so that depends on what the kitsu addon returns. Some shows are returned as having one season, instead of being split.

Anime X refers to an example, but I think my problem is because I was missing the Kitsu addon from my stremio, that's why I couldn't see the rest of the seasons. I will test it and let you know.

I confirm that this issue is persistent even with the kitsu addon. Just to explain the issue again...
I have re:zero season 3 on my MAL list. However, it shows that we are on season 1 while we are on season 3... and I can't click on the dropdown to select the other seasons, it forces me to go and find them separately.
Disadvantages:

Stremio won't notify me when there is a new season.
I won't be able to see all the seasons of the same anime in the same entry.

The issue here is that MyAnimeList and Kitsu's APIs return uncategorized episodes for some shows like One Piece, or Naruto (Usually long running shows). Other shows are handled differently, treating seasons as different entries in MAL/Kitsu's database, so that's why some shows; for example, "The Time I Got Re-incarnated as a Slime" have seasons being treated as different shows. Unfortunately, that is something I can't really handle properly for all shows, sorry.
If there's nothing else, can I close this issue?

I see, thank you.


Incorrect error handling?

After the attack paras were found exploit freezes and  aborts if the connection is interrupted
2019/10/25 11:02:48 Using attack params --qsl 1740 --pisos 7 --skip-detect
2019/10/25 11:02:48 Performing attack using php.ini settings...
2019/10/26 10:24:16 Attack returned error: Get https://server.tld/index.php/PHP_VALUE%0Aauto_prepend_file=a;;;;?a=/bin/sh+-c+'which+which'&QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Hi @geosphere,
What is the expected behaviour in case of network problems?

The matter is not about termination because of connection error. Pay attention to timing. I am confused about the program running for 12 hours with no visible result. I've checked this several times with similar configuration

Agree, that's confusing. Sorry I didn't notice the timing first.
Internally, the exploit tries to modify the environment of the php-fpm workers trough the bug (and by modifying the environment I mean setting PHP_VALUE options from here: https://github.com/neex/phuip-fpizdam/blob/master/attack.go#L10). It may take a long time as each try success with fairly low probability.
Maybe the exploit should exit with failure if no success achieved in some fixed number of tries? Or just print the number of requests made?

Maybe both options are useful. Print the number of requests - by default. And for automation - fixed tries from command-line key?


Bug: URL_ENCODED route handlers trim trailing zeroes from numerical values even when declared as string

Description
Route handlers with their media type set to RequestEncodingType.URL_ENCODED will trim trailing zeroes from float-like numbers, even if the field is declared as str
URL to code causing the issue
No response
MCVE
from dataclasses import dataclass

from starlite import Body, RequestEncodingType, Starlite, post
from starlite.testing import TestClient

@dataclass
class URLEncodedExample:
    amount_as_str: str
    amount_as_float: float

@post()
async def test_handler(data: URLEncodedExample = Body(media_type=RequestEncodingType.URL_ENCODED)) -> dict:
    return data

app = Starlite(route_handlers=[test_handler])

with TestClient(app=app) as client:
    response = client.post(
        "/",
        data="amount_as_str=2.50&amount_as_float=-3.50",
        headers={"Content-Type": "application/x-www-form-urlencoded"},
    )
    assert response.json() == {"amount_as_str": "2.50", "amount_as_float": -3.5}

Steps to reproduce
No response
Screenshots
"![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"

Logs
No response
Litestar Version
1.51.12
Platform

[X] Linux
[ ] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

the reason for this is that we are doing the parsing in rust - without actually knowing the expected types at all. we are then modifing the result as required in python. Im afraid there is not way for us to do this at present otherwise.


problem for tripletloss

Is there some problem in forward of tripletloss?
Is it possible as listed as below?

Hi. I'm also have problems understanding this implementation of triplet loss
Can you explain the logic of L.reshape
dist has shape of [BatchSIze x BatchSIze], so what is the shape of ap_dist & an_dist after applying L.reshape(dist, (0, 0, 1)) L.reshape(dist, (1, 0, -1)) respectively? I'm confused with paddle and don't know what 0 and -1 mean in L.reshape

Hello. I am not an author, but I think I can share this.
You can check it out here.
0 is the same shape as before, -1 is the new axis.
And ap and an calculate distance in every case, respectively, but as you can see in the code, they are transposed.
These two matrices are later combined for all combinations of the 3 vectors.
@amsturdy @Podidiving

I got it, the tripletloss implemention of the author is very efficient, the author compute apn loss, while pan loss computed in the picture uploaded by me, So, the similar result achieved.

I got it, the tripletloss implemention of the author is very efficient, the author compute apn loss, while pan loss computed in the picture uploaded by me, So, the similar result achieved.

The author computed "ap - an" distance firstly, but selected "pan" examples later, I think "apn" examples should be selected.
In the uploaded picture, "pa - an" distance computed firstly, and "pan" examples selected later.


Make Health Check Name Configurable

New configuration option: spring.cloud.consul.discovery.health-check-name
Checks are being named as: Service 'your-project-name' check and this cannot be set by configuration.
In the discovery configuration options you may set health-check path, url, ... why not adding the name? This can be useful when using the Consul REST API to query services' status or when you want to distinguish your own created Check from others. Also, the the current name could be tricky due to the quotes in it.

PRs welcome


Issue with useMediaQuery({minWidth: , maxWidth: })

const isLaptop = useMediaQuery({ minWidth: 992, maxWidth: 1199});

const isDesktop = useMediaQuery({ minWidth: 1200, maxWidth: 1919 });

console.log('laptop', isLaptop, 'desktop', isDesktop);

This will log laptop false desktop false  in screensize 1199;
Expected output : laptop true desktop false

Is this on the 8.x.x branch or the 9.x.x beta?

As an aside - we're just generating CSS media queries so your issue is likely the inclusivity of them being confusing: https://stackoverflow.com/questions/13241531/what-are-the-rules-for-css-media-query-overlap

This might be on 8.x.x as I installed it like 2 weeks ago.
By doing what I mentioned above, it breaks responsive design on 1199px . It works fine for other resolution below that though. But it breaks on exactly 1px below the breaking point. i.e. 1200px.
Inorder to avoid breaking design at 1199px, I overlapped media queries like:
const isLaptop = useMediaQuery({ minWidth: 992, maxWidth: 1199});

const isDesktop = useMediaQuery({ minWidth: 1199, maxWidth: 1919 });

But the problem with this is, media query for isDesktop is included in both 1199px and 1200px.
I think the issue is with maxWidth property.

maxWidth: 1199px is not including 1199px.

@tacmoktan My question (and why I linked the previous stackoverflow post) - have you tried this using a plain CSS media query, and is the result the same? If so - the issue is not this library, it is just how CSS media queries work - you need to overlap them sometimes for breakpoints like this (see the StackOverflow post for more info).

Ok. I tried it. Seems like that's how CSS media query works. My bad. Thank you for your response.


Angular JS ng-grid rendering issue

Hi All,
I am new to Angular JS, I tried an client side app using angular js. I have used the ng-grid for forming table structure which is an effective one. But still I face some problems in ng-grid.
I am using the ng-grid version ng-grid-1.3.2.js and  AngularJS v1.2.19.
I face some problem while the grid rendering. The data gets retrieved from the server, but it doesn't bind to the grid. It shows empty grid or displays the hidden fields in the grid with the hash key. Please make a solution.
Thanks in advance.

It sounds like you haven't correctly set the data in the gridoptions.  Some suggestions:

ng-grid is less well supported, the new 3.0 version (ui-grid) is better supported.  If you're doing this for the purposes of learning, then you may find better support with ui-grid
have you followed the tutorials closely?  Perhaps one of the learning tutorials like https://technpol.wordpress.com/category/technology-2/tutorials/rails-4-and-angular/ might help you?
failing all that, could you provide a plunker so we can see your code and assist.

Thanks PaulL....
But the issues in ng-grid is fixed when the Grid is refreshed. I don't know, how it was fixed.. But I have to refresh the whole page where the grid is sited..

@vigneshkumarj7 ng-grid 1.3.2 is 3 years old. I would at LEAST try to update to the latest in the 2.x series and see what that gets you.

No response in 2 weeks. Closing.


[R] Move gc data protection to R side

ref https://github.com/dmlc/xgboost/issues/9810
ref https://github.com/dmlc/xgboost/pull/11092#issuecomment-2543526600
This PR moves the logic for protection of R data from the garbage collector towards the R side.
I'm not sure whether data holding fields of the DMatrix also needs to be kept protected after setting it in the proxy dmatrix, but this PR does so just in case.

Let me try to create a prototype for the https://github.com/dmlc/xgboost/issues/11088 and see how this should work. I need to store the categories somewhere.

Should we revert https://github.com/dmlc/xgboost/pull/11092 before applying this PR? The previous one seems redundant now.

Should we revert #11092 before applying this PR? The previous one seems redundant now.

It is undoing the changes from it already.
But it leaves me wondering: what's the difference between xgb.ExtMemDMatrix and xgb.QuantileDMatrix.from_iterator? Both of them seem to apply exclusively to histogram-based models, and both of them seem to access the data the same amount of times.
Is xgb.ExtMemDMatrix perhaps meant to leave the iterator alive throughout the call to xgb.train?

The xgb.ExtMemDMatrix stores a cache on disk, whereas the QDM.from_iterator concatenates everything in memory and saves memory by using the compressed histogram bin index instead of raw input.
In addition, the former applies to both approx and hist, while the latter is hist only.
https://github.com/dmlc/xgboost/blob/master/doc/tutorials/external_memory.rst#compared-to-the-quantiledmatrix

I'm not sure whether data holding fields of the DMatrix

If you meant things like labels and weights, no, they don't need any protection.

I'm not sure whether data holding fields of the DMatrix

If you meant things like labels and weights, no, they don't need any protection.

Thanks, modified the PR to not keep those protected after setting them.

Will take a deeper look tomorrow.


Is Python 3 supported for this plugin?

I've gotten it working with python2.7, successfully POSTing to Testrail.
But on Python3, it doesn't seem to work - the same code ends up forever hanging at the "collecting items" stage.
Am I missing something?

Hi @yishan-lin, Yes it should work with Python 3 (I use it with Python 3 :)
Are you able to run pytest with --collect-only option?
Maybe it's a problem with pytest version => I use Pytest 3.0.7

Hey @apallier, thanks for the speedy response.  I'm using Pytest 3.4.2, but let me revisit and get back to you.

Hi @yishan-lin,
Your code look a little bit "recursive", isn't it? :)
I try your example and have the same behavior as you...
I advice to call pytest outside our module code. In Python when you just import a module (file), all the code will be executed, except the code inside block if __name__ == '__main__'.
It seems that our code creates an infinite loop if our module test is imported by pytest (assumption).
This code works for me, but I advice you, if you can, to call pytest from a shell and not in subprocess.call:
import pytest
import subprocess
import time

from pytest_testrail.plugin import testrail, pytestrail

@pytestrail.case('C1')
def test_func1():
    time.sleep(0.1)

@pytestrail.case('C2')
def test_func2():
    time.sleep(0.1)

@pytestrail.case('C3')
def test_func3():
    time.sleep(0.1)

if __name__ == '__main__':

    # subprocess.call('pip3 install pytest-testrail', shell=True)
    subprocess.call('pytest --testrail --tr-config=testrail.cfg --tr-version=<IP_ADDRESS> \
    --tr-plan-id=xxx test_issue_42.py'.split(), shell=True)


Cannot hide from task bar

I am using Mattermost Desktop v4.2.1 from https://aur.archlinux.org/packages/mattermost-desktop/ with Manjaro and Cinnamon as my DE.
Running the program produces a tray icon as well as the program showing up in my task bar, where it creates needless clutter. When I minimize or close the Mattermost window, it does not hide to tray but instead gets minimized so that the tray icon and the taskbar item both remain. I could not find any setting that changes this behavior.
Could you please make Mattermost minimize to tray (hide task bar item) when close is clicked, as is common with many similar apps?

Hi @Yournished, would you like to upvote this feature request: https://mattermost.uservoice.com/forums/306457-general/suggestions/36819994-desktop-app-minimize-to-tray-when-clicking-on-the? If it doesn't quite describe what you're looking for, please feel free to open a new feature request or let me know if I can help open one.

@amyblais That seems to be the same as what I'm asking, but I would not like to upvote it because it looks like making an account will be a gigantic pain.

Hi @Yournished, no worries, I just added an upvote on it on your behalf. I'll close this issue here for now so that we can follow this request on the forum,

Hi @amyblais - I think what @Yournished is reporting is different than the request you're pointing to.
I just upgraded my ubuntu to 20.04 and installed mattermost desktop 4.4.2 - and the behavior described by @Yournished appeared.
The thing is - even when I close the desktop application, the icon on my sidebar doesn't hide, and now I have two permanent mattermost icons in my screen - the icon at the sidebar, and the icon at the systray.
The key here is closing the window doesn't hide the sidebar - AFAIK it was working fine in ubuntu 18.04
In the meantime I'm considering to move to the browser version of mattermost.
Question, is it possible to reopen this?   Or must I open a new one?
Regards,
Carlos Ruiz

@globalqss is this stock gnome? or using a different DE? I can't see this happening on either unity or gnome.

Thanks @Willyfrog - this is stock ubuntu 20.04 freshly installed (not upgraded).
It seems by default gnome is installed using snap:
$ snap list
Nombre             Versión             Rev   Seguimiento      Editor      Notas
core               16-2.44.3           9066  latest/stable    canonical✓  core
core18             20200427            1754  latest/stable    canonical✓  base
gnome-3-34-1804    0+git.3009fc7       33    latest/stable/…  canonical✓  -
gtk-common-themes  0.1-36-gc75f853     1506  latest/stable/…  canonical✓  -
snap-store         3.36.0-80-g208fd61  454   latest/stable/…  canonical✓  -
snapd              2.44.3              7264  latest/stable    canonical✓  snapd

Regards,
Carlos Ruiz

Hello, I gave a second try to the desktop app in my ubuntu 20.04 and found a solution for this:

@globalqss thank you for the hint!
However on my Ubuntu 18.04 +XFCE after taking the same actions I have tray icon and taskbar icon. Still have no idea how to hide it from taskbar

Closing as inactive. We have an open JIRA ticket to deal with Linux window behaviour that will address this.


Segfault when loading libtensorflow_cc.so for a second time

See
https://stackoverflow.com/questions/52683649/libtensorflow-cc-so-initialised-a-second-time-causes-segfault
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

@samhodge Installing and executing multiple plugins may incur complexity down the road such as memory and resources issues, to name a few. Currently this is not supported by TensorFlow.

It seems like a perfectly valid use case

If it a true Singleton pattern there should be methods for making sure you are using the one and only class.

I do not think loading tensorflow libraries twice is a supported usecase from our end. To the best of my knowledge, we have not verified if this works.
cc @skye @asimshankar @allenlavoie

Why not link both plugins against libtensorflow_cc.so normally, so that they share the same instance?

What do you mean?
The plugin architecture defines how the dynamic libraries are loaded.
http://openeffects.org/documentation/guide/
Currently I have made it work by putting each of the plugins into one binary so they share the same instance. But if i want to ship two products seperately or if another vendor want to make use of tensorflow under the OpenFX framework we will end up that the first plugin to load will work, but after that it will result in a segfault.

I would be happy with static linking, in fact this is what I am doing under windows, I just do not have that working under OSX and Linux.
Thanks for your help, I will see what i can do, but I thought it was worth reporting if anybody else has  a similar issue.

Hi this is preventing me to get my Plugin working in Autodesk Flame.
The error message I get is as follows:
2019-04-23 21:52:58.662294: F tensorflow/stream_executor/host/host_platform.cc:94] Non-OK-status: MultiPlatformManager::RegisterPlatform(std::move(platform)) status: Internal: platform is already registered with name: "Host"

I'm not familiar with OpenFX, but by "normal" dynamic linking I mean several shared objects (/plugins) each reference a "libtensorflow_cc.so" by name. When the second plugin shared object is loaded it sees that "libtensorflow_cc.so" is already loaded and re-uses it rather than running its static initializers again. Trying to load a shared object twice in the same program seems very strange to me.
The other option is to statically link TensorFlow into each plugin, which should be doable.
I don't see why an intermediate option between fully dynamic/shared and fully static would be useful, but please let me know if you disagree.

Here is a stacktrace of the problem I am having
found non-cached binary /Library/OFX/Plugins/rotobot.ofx.bundle/Contents/MacOS-x86-64/rotobot.ofx
2019-04-24 17:22:40.792677: F tensorflow/stream_executor/host/host_platform.cc:94] Non-OK-status: MultiPlatformManager::RegisterPlatform(std::move(platform)) status: Internal: platform is already registered with name: "Host"
Process 73411 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff5b8a7b66 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff5b8a7b66 <+10>: jae    0x7fff5b8a7b70            ; <+20>
    0x7fff5b8a7b68 <+12>: movq   %rax, %rdi
    0x7fff5b8a7b6b <+15>: jmp    0x7fff5b89eae9            ; cerror_nocancel
    0x7fff5b8a7b70 <+20>: retq
Target 0: (flame) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff5b8a7b66 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff5ba72080 libsystem_pthread.dylib`pthread_kill + 333
    frame #2: 0x00007fff5b8031ae libsystem_c.dylib`abort + 127
    frame #3: 0x00000002ebb3fb30 libtensorflow_framework.so`tensorflow::internal::LogMessageFatal::~LogMessageFatal() + 32
    frame #4: 0x00000002ebb3fb40 libtensorflow_framework.so`tensorflow::internal::LogMessageFatal::~LogMessageFatal() + 16
    frame #5: 0x00000002ebdc780a libtensorflow_framework.so`_GLOBAL__sub_I_host_platform.cc + 314
    frame #6: 0x0000000109fb0ac6 dyld`ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 420
    frame #7: 0x0000000109fb0cf6 dyld`ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
    frame #8: 0x0000000109fac218 dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 330
    frame #9: 0x0000000109fac1ab dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
    frame #10: 0x0000000109fac1ab dyld`ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 221
    frame #11: 0x0000000109fab34e dyld`ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 134
    frame #12: 0x0000000109fab3e2 dyld`ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 74
    frame #13: 0x0000000109f9f3e5 dyld`dyld::runInitializers(ImageLoader*) + 82
    frame #14: 0x0000000109fa80a8 dyld`dlopen + 527
    frame #15: 0x00007fff5b758d86 libdyld.dylib`dlopen + 86
    frame #16: 0x000000010619d730 flame`___lldb_unnamed_symbol224514$$flame + 48
    frame #17: 0x000000010619d8b8 flame`___lldb_unnamed_symbol224517$$flame + 24
    frame #18: 0x00000001061b20b1 flame`___lldb_unnamed_symbol224758$$flame + 81
    frame #19: 0x00000001061b6503 flame`___lldb_unnamed_symbol224790$$flame + 131
    frame #20: 0x00000001061b39e0 flame`___lldb_unnamed_symbol224775$$flame + 1712
    frame #21: 0x00000001061b3faa flame`___lldb_unnamed_symbol224777$$flame + 138
    frame #22: 0x0000000101987288 flame`___lldb_unnamed_symbol89425$$flame + 488
    frame #23: 0x0000000101987080 flame`___lldb_unnamed_symbol89424$$flame + 288
    frame #24: 0x00000001006d6696 flame`___lldb_unnamed_symbol23438$$flame + 2678
    frame #25: 0x0000000100d6a73c flame`___lldb_unnamed_symbol47787$$flame + 60
    frame #26: 0x0000000100d6bf68 flame`___lldb_unnamed_symbol47838$$flame + 56
    frame #27: 0x00000001000233a5 flame`___lldb_unnamed_symbol97$$flame + 1189
    frame #28: 0x000000010017770c flame`___lldb_unnamed_symbol3661$$flame + 13244
    frame #29: 0x00007fff5b757015 libdyld.dylib`start + 1

see:
https://opensource.apple.com/source/dyld/dyld-43/src/ImageLoader.h.auto.html
So what were you suggesting?
sam

Here is me requesting static linking
https://github.com/bazelbuild/bazel/issues/1920#issuecomment-381360017

Hi @samhodge ! We are checking to see whether you still need help with this issue. Have you checked in 2.8 version yet?

No I have not I can spend some time if you want me to. I have been static linking under Linux as a workaround

Ok @kognat-docs ! Please give us an update after testing in the 2.8 version. Thank you!


Add dataset.export() to TFRecords

Fixes https://github.com/huggingface/nlp/issues/337
Some design decisions:

Simplified the function API to not handle sharding. It writes the entire dataset as a single TFRecord file. This simplifies the function logic and users can use other functions (select, shard, etc) to handle custom sharding or splitting.
Use from_generator() instead of from_tensor_slices() to address the memory issues discussed in https://github.com/huggingface/nlp/issues/315 and https://github.com/huggingface/nlp/issues/193.
Performs introspection using the values from dataset.set_format() to identify the TF datatypes. Currently it supports string, float, and int. If this should be extended for other datatypes, let me know.
There are quite a few helper functions required within the export() method. If these are better placed in a utils file somewhere, let me know.

Also, I noticed that
dataset = dataset.select(indices)
dataset.set_format("tensorflow")
# dataset._format_type is "tensorflow"

gives a different output than
dataset.set_format("tensorflow")
dataset = dataset.select(indices)
# dataset._format_type is None

The latter loses the format of its parent dataset. Is there interest in making set_format a functional method that returns itself (can be chained), and that derived datasets maintain the format of their parent?

Really cool @jarednielsen !
Do you think we can make it work with dataset with nested features like squad ?
I just did a PR to fix .set_format for datasets with nested features, but as soon as it's merged we could try to make the conversion work on a dataset like squad.

For datasets with nested features we have to aspects to take into account:

There can be nested dict of features. What is done in tensorflow_datasets to make things work is to flatten the dictionaries to end up with one single dictionary. A dict like {"column1": {"subfeature": ...}} is converted to {"column1/subfeature":...}
There can be ragged tensors, i.e. lists of objects with non-fixed shapes. For example in squad there are often multiple possible answers per question. Whar is done in tensorflow_datasets to make things work is to concatenate everything and add ragged attributes (cf serialization code here)

Note that we have flatten method in ArrowDataset

I added support for nested dictionaries. A few more design decisions popped up:
Should we serialize from NumPy arrays or from tf.Tensors?

The tfds example serializer works from NumPy arrays.
Calling dset.set_format("tensorflow") makes __getitem__ return a tf.Tensor. So serializing from NumPy arrays would mean calling dset.export() before setting the format, which is confusing.
NumPy arrays can be serialized as their underlying datatype (int, float), while tf.Tensors must be converted to strings before serialization. This adds another step when serializing and deserializing, and removes the static-typing advantages of the TFRecord format.

I think we should export directly from the underlying NumPy arrays into TFRecords, rather than using an intermediate step of tf.Tensor.
Should we serialize lists of dictionaries?

The test_format_nested() test creates a list of dictionaries: https://github.com/huggingface/nlp/blob/911d5596f9b500e39af8642fe3d1b891758999c7/tests/test_arrow_dataset.py#L278-L288
This is difficult to serialize effectively, and I'm not aware of any dataset that has this format. SQuAD has a dictionary of lists, such as the answers key. Is this necessary?

Thanks @thomwolf, used dset.flatten() to simplify. That handles the case of nested dictionaries, and then lists can be read into a tf.io.RaggedFeature in the case of something like squad answers.

@jarednielsen I just checked and indeed we don't have lists of dicts, we can just focus on the squad format as a reference then :) I'll change the test to remove this format that's not supposed to happen

Actually I realised that flatten also handles nested things like pyarrow's list so it's fine :D
This is so cool !
Could you also add a test with a squad-like dataset ? As soon as we have that I think we'll be good to merge @jarednielsen  :)
Good job !

Great, done! I think this could be a great canonical way to generate a dataset.

I tried to match the format of Dataset.sort() and Dataset.shuffle() with the docstring. What difference are you referring to specifically?

Oh my bad they're fine actually (I was thinking of the backticks that we don't use in the docstrings of the transformers repo for argument names)

One final thing: now that we have a brand new documentation, could you just add export to the list of documented methods in docs/source/package_reference/main_classes.rst (so that it will appear in the docs here) ?

Done

Cool thanks :)

Since #403 (it just got merged), we return python objects and not numpy arrays anymore (unless format="numpy" is specified).
Do you think it can break the export method ? Could you try to rebase from master to run the CI to make sure it's fine ?

Good catch. I fixed it up so it works with the new format. By the way, when dset.format == "numpy", it now returns single items (like 0) as a 0-dimensional NumPy array. Not sure if that is desired.

I played a little bit with the code and it works quite well :)
I found two cases for which it doesn't work though:

if the features dict depth is >= 2 (ex: wikisql), because flatten only flattens the first level of nesting (it can be fixed by calling flatten several times in a row, see here)
Or if there are 2d features (ex: wikisql, table.rows is a sequence of sequences of strings), because tf.train.Features only support 1-d lists. That's why tensorflow-datasets flattens these 2-d features to 1-d and adds ragged features that are the shapes of the arrays, so that they can be reconstructed.

I think we can ignore the 2d stuff right now (some work is being done in #363 ), but I'd like to see the flatten issue fixed soon

That seems like a bug in pyarrow, or at least in flatten(). Looks like it should be a separate PR.

I made .flatten work on our side (it calls pyarrow's flatten several times until it's really flat).
The only datasets that won't work are those with lists of lists of features, which is a rare case. Hopefully we can make this work with the multi-dimensional arrays changes we're also doing.
I think we can merge now :) cc @thomwolf


change repository owner

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@4778855). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #144   +/-   ##
=======================================
  Coverage        ?   82.16%
=======================================
  Files           ?       44
  Lines           ?     5530
  Branches        ?        0
=======================================
  Hits            ?     4544
  Misses          ?      775
  Partials        ?      211

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix camel proxy policy config example, minor copy edits

https_proxy and http_proxy config examples should use http and not https.

Thanks, will merge!


Update the 3-minute video tutorial

The current video tutorial is deprecated and doesn't show the way Monokle looks and behaves now. We should update that accordingly!

For reference, Can I get the deprecated video? Then, I can try working on it.


Added navigation section with return home

Added navigation section with return home link in all existing exercises. See Issue #6 . Also added subsection header in reading/Tuples.

Thank you for resolving this! I'll ask the beta testers for feedback but I think this will make back navigation more intuitive.


Fix the test suite to run against latest Guard.

The test suite works fine with Guard 2.1, but fails with Guard 2.13.
The failure comes from heavy refactoring in recent version of Guard,
where static initialization is expected by the runtime. The init just
does not happen when running the test suite.
guard-compat seems to address the problem, but it was not updated for a
year at time of writing, and this commit is pretty simple in the end.
The tests remain untouched and all pass.

@ic - see: https://github.com/yujinakayama/guard-rubocop/pull/19
(This isn't the official fork of guard-rubocop - sorry for the confusion).

@e2 Thank you for the pointer. I'll submit there, then. And perhaps you'll have some things to say about this request :-)


GENAI-2794 update to ColBERT main as of 26 Sep 2023

Closing in favor of https://github.com/c3-e/ColBERT/pull/5, since all the c3generativeAi tests pass with that newer version.


fix the superset username and password in the blueprint template

Due to this bug, Superset will not startup after the installation when you configured a different password than the default.
The PR fixes this Bug.

wow, thanks for this!

wow, thanks for this!

thx for the merge ... finally :)
( I thought already HWX/HDP ansible deployment gets no more love .. maybe with focus moving to CDH/SCM deployment ?!
ps: @alexandruanghel I wish you were involved in that repo too. Look just today I contributed back some of my recent changes: https://github.com/cloudera/cloudera-playbook/pulls , even mentioned we/they should re-use logic from your repo here 👍 )

hehe, nice work there :)
but yes, not involved yet, I'm not even in the cloudera github org yet...
haven't touched Cloudera manager since 3 years ago: https://github.com/alexandruanghel/cloudera_ansible but I liked back then that Cloudera already provided python bindings...
on the other hand, things could change in the next CDP release so probably I won't spend too much time on ansible-{hdp|cdh} for the moment...


Controlled Position not working

Describe the bug
As i am trying to control the position of a draggable element, it does not seem to work properly. I tried everything i could imagine, read through the source code of the example etc. but i can not get it to work.
To Reproduce
Steps to reproduce the behavior:

Use this code:

(Also not working without any style or classes)
Run it
Click on the "I can be clicked" box.
Watch as nothing will happen.

Expected behavior
When clicking the "I can be clicked" box, the "I can be dragged" Box should change its position.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 105.0.5195.127

Additional context
Im using nuxt, this is my draggable plugin:

Sorry I am a little busy right now but I will get back to you as soon as I can :)
Just to make sure: You're using Vue2 right?

Yes, i am :)

Sorry for the very late update, I have been super busy with different projects but I will take a look into this problem now 👍

I can't seem to properly reproduce this issue, could you provide me with a sandbox for this? @CubE135

I can't seem to properly reproduce this issue, could you provide me with a sandbox for this? @CubE135

Sure, here you go: https://codesandbox.io/p/sandbox/draggable-c3jxkw

Alright so after a lot of debugging and having forgotten this issue: Can you try replacing the controlledPosition object completely instead of mutating it's x and y value?
So instead of this
controlledPosition.x = 100

Do this
controlledPosition = { ...controlledPosition, x: 100 }

Then it should work as expected 😅

Hey :)
As time has gone by, i was able to find a different solution for my problem.
But anyways, im glad to hear that you got the issue resolved :)


.antispamignore is not permission locked.

As stated, anyone can use .antispamignore to deactivate or activate .antispam. regaurdless of their own permissions. I assume, like .antispam, it is intended to only be available to users with the manage messages permission.
Exploitable.

Just pushed a fix. It's administrator btw, not manage messages. for all anti* commands


Images transmitted as text/html

I was trying to use images in the seed project and had put some images in the assets/images folder and referenced them in my view html page as: src="/assets/images/test.png"
When I view my page in the browser I see a 404 error for the image as well as in the Network Tab for the Chrome I am finding out that its calling images with MIME Type : text/html
I am not sure what the issue is

Had to put dist before. That fixed it!


✨ Publish can't access Dagger services

What are you trying to do?
Coming from: https://discord.com/channels/707636530424053791/1276185558166671431
func (it *PfTools) Publish(
    ctx context.Context,
    registry *dagger.Service,
) (string, error) {

    addr, err := registry.Endpoint(ctx)
    if err != nil {
        return "", err
    }

    prodImage := dag.Container().
        From("alpine").
        // WithServiceBinding("registry", registry).
        WithExec([]string{"apk", "add", "curl"})

    _ = prodImage

    // publish to ttl.sh registry
    pubaddr, err := prodImage.Publish(ctx, fmt.Sprintf("http://%s/app/tools:latest", addr))
    if err != nil {
        return "", err
    }

    return pubaddr, nil
}

dagger call publish --registry=tcp://localhost:5000
^ this will fail as Publish doesn't have the ability to resolve service hostnames.
Why is this important to you?
Similarly to other engine operations like Git and Http that do support service resolution, it'd be nice to extend this to Publish as well
How are you currently working around this?
N/A

Did you try with an ExposedPort in case Publish can reach the host?

This is actually a part of:

https://github.com/dagger/dagger/issues/6411

Duplicate of https://github.com/dagger/dagger/issues/6411


How to access a projects wiki

Is there a way to access the wiki content using this library?
https://docs.gitlab.com/ce/api/wikis.html

Hi, not yet, PR's are welcome for this

I'm already working on it. I'll send you a pull request when i'm done.


Buildkite runs not reporting back to GitHub

Buildkite status line is pending and just reads "buildkite/chef-mixlib-cli-main-verify Expected — Waiting for status to be reported" when a community member opens a PR.
@sean-simmons-progress

Should be good to go, the repo has been added to the list for buildkite.


Not filling all the white space

Simply put, it will draw like 90% but miss many streaks of horizontal white lines, as if it doesn't know where the entire grid is.
Please fix ;-;

I hope it does

I'm telling you, its not.
Literally, 50% of the draw area is not being properly drawn, literally
every other line is just whitespace! Why is it doing that, and how can I
fix it? Reinstalling the plugin isn't seen to fix it.
On Thu, Dec 26, 2024, 9:07 PM Robotboy13 @.***> wrote:

I hope it does
—
Reply to this email directly, view it on GitHub
https://github.com/galehouse5/skribbl-io-autodraw/issues/62#issuecomment-2563322267,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKK3OV7MADBFZIH4DUSISNT2HTOAXAVCNFSM6AAAAABQWI3RUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGMZDEMRWG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Stop building with verbose mode

This flag makes the build output 80k lines per build. This makes it
extremely hard to debug. I have wasted a lot of time as a result of this
one small flag.
The verbose flag turns on the debug tracing for the go compiler, which
is a bit excessive.
Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
5608d765bfb5f7ba671cd37c68ee7898403d1f45
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
5608d765bfb5f7ba671cd37c68ee7898403d1f45
link
/test unit-tests_istio

release-test_istio
5608d765bfb5f7ba671cd37c68ee7898403d1f45
link
/test release-test_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Github: missing template for Swiper Element issues

Clear and concise description of the problem
Currently when trying to create an issue at the swiper github project, only the given bug templates are provided:

New feature proposal
🐞 Swiper Core Issue
🐞 Swiper React Issue
🐞 Swiper Vue Issue
🙏 Open Collective
📃 Documentation Issue

Therefore, a template for a Swiper Element Issue is missing.
Suggested solution
A 🐞 Swiper Element Issue template needs to be defined and added to the list of available templates
Alternative
Currently people are just opening Swiper Element - related issues using random issue templates (personally I've used Swiper Core issue template).
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[ ] I'm willing to open a PR

Issues that should have used a Swiper Element template:

#6940
#6938

https://github.com/nolimits4web/swiper/pull/6941


Admin page to view the logging table

Currently have to view log entries manually.

@wasade do you still feel that we need a command to retrieve this? I think is not needed cause if you have access to the terminal, you also have access to the db and could run commands in there.

When debugging a critical system failure, the difference between these two scenarios is monumental:
$ qiita log | more

and
$ psql -d qiita
> \d foo
> \d bar
> --- look at about 20 tables to figure out what you need to join
> select asdfasdfasdfasd  -- screw up about 20 times getting the query right

See your point.


MWPW-146963: OST to support Annual template

This PR includes 2 changes to OST:
https://git.corp.adobe.com/wcms/tacocat.js/pull/611
https://git.corp.adobe.com/wcms/tacocat.js/pull/614
First is a new 'P3Y' plantype. Second is a new 'Annual' template for ABM prices.
How to test
To test OST on the branch follow these instructions: https://git.corp.adobe.com/wcms/tacocat.js/wiki/Testing-OST-Milo
Resolves:
https://jira.corp.adobe.com/browse/MWPW-146963
https://jira.corp.adobe.com/browse/MWPW-147541
Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/mariia/pr/price-cta?martech=off
After: https://ost-annual--milo--adobecom.hlx.page/drafts/mariia/pr/price-cta?martech=off

one known issue for P3Y is that plantype is not displayed on a product yet.

this is because https://www.stage.adobe.com/special/tacocat/products.js is not updated yet, the automatic job will regenerate it.
"PA-989":{"name":"Adobe Acrobat Classic","arrangement_code":"PA-989","icon":"https://mcs.odin.adobe.com/content/dam/mcs/en/icons/raw/svg/acrobat_pro_appicon_256.svg","planTypes":{"undefined":true}

@afmicka , i've just updated PR to include this revert https://git.corp.adobe.com/wcms/tacocat.js/pull/619
for price labels. but could you please double-check on the test page that it works as expected?


Allow to configure Component/BundleDisabler via Configuration Factories

This allows them to be no longer singletons.
Migrate to OSGi DS/Metatype annotations.
Cleanup of Javadoc.
This closes #6042

I am still in clarification if a component should be usable both through factory configurations and regular configurations (for backwards-compatibility reasons): https://github.com/bndtools/bnd/issues/6042.

But why do you need a factory.pid and a pid?
Just use a normal pid and make the conponent required. Will work same.
You can use every pid in configadmin to make a factory pid fron it.

You can use every pid in configadmin to make a factory pid fron it.

This is about the metatype being created. If it doesn't have both delegate for factory and non factory PID it won't be exposed correctly in Felix Web Console UI.

But isnt that a Missing Feature of webconsole.
There should also be normal pids be configurable .


Add an option to save related files before build

Tested with VS Code 1.0, I turn on save on focus changed. In the past, it will save my file before compiling for focus has changed to output window. But now, it doesn't. So I think we need an option to save related files before build and compiling without saving files seems useless.

I would also appreciate this feature.
Which files do you think should be considered related? All from "src" folder of Cargo project or maybe all Rust source files currently opened?
I think auto save could be added before all cargo calls which would simplify implementation and should not break anything.

I think all the files belongs to current project should be considered as related, no mater whether it's located in src folder.

I looked into implementing this feature and noticed that it conflicts with the checkOnSave feature, given my naive implementation. If checkOnSave is enabled another cargo run is triggered when invoking vscode.workspace.saveAll().
Any ideas how to work around this conflict elegantly?

Perhaps that option needs to become a trinity state: off, check, build.

@W4RH4WK disable checkOnSave if saveOnBuild enabled ? And show information message.

@Gordon-F would be a possibility, I'll try that later on if I find the time.

@W4RH4WK i think i can send PR today later.


Feature Request: Multiple outputs for Shipwright builds 🚢

If I want to push a container image to multiple registries, I currently have to define and execute multiple Build blueprints. However, it would be nice to have the ability to specify an array of destinations / outputs under the output property, rather than being limited to just a single output.

@pcgeek86 we discussed this in the community meeting on Monday. Supporting multiple tags to the same container registry makes sense, and is potentially feasible after the implementation of #1041 (managed image push).
Pushing to multiple registries presents a challenge wrt managing credentials. Can you please explain what you are trying to do pushing to multiple container registries?

Hi,
as for our discussion in https://ibm-cloudplatform.slack.com/archives/CPH7ES7PT/p1670503726945639.
I want to add another use-case here.
Our setup is one repository, using regular Github versioned releases.
We build the image using Code Engine and store the image in our Container registry.
There, we want to keep the last few versions.
Then, the image is used for 20+ jobs to be execute.
This looks like this:

As you can see, we want every image to be tagged with both the version (better said, the branch name it was build from) and the latest image should also contain the latest tag.
The latest tag is important, as we do not want to change all the 20+ jobs upon building a new image.
Currently, we do have to manually set the latest tag within the container registry.
I do ask for a way to automatically add the latest tag for the latest image or to be able to specify multiple tags upon building with CE.
Thanks!


Update CartoAssets to 0.1.20

This PR also updates the CartoIcon names (removes the extra dash)
cc: @xavijam

It seems that the package 0.1.20 is not accesible yet, and the build has failed. I'll retest it later.

retest this please

@xavijam: all yours.

Change makes sense, have you tested it?

Tested, it works like a charm \o/, dancer. :dancer:


Issue with k8s.io/docs/tutorials/kubernetes-basics/explore/explore-interactive/

This is a Bug Report
Problem:
Can not run this command:
curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/
it returns this: Error trying to reach service: 'dial tcp <IP_ADDRESS>:80: connect: connection refused'
Step to reproduce:
I follow the instruction from this website: https://kubernetes.io/docs/tutorials/kubernetes-basics/
However, instead of using the simulator, i build up the environment in my computer. Everything is running fine (all commands from "Creating a Cluster" and "Deploy an App" executed perfectly). But when I try to run  curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/ I got the above mentioned error.
There is one thing I could see when run: "kubectl describe pods" is that the Hostport and Port are none. which is different to the simulation (Port: 0 and HostPort: 8080).
Please kindly advise.

One of the steps asks you to run:
echo -e "\n\n\n\e[92mStarting Proxy. After starting it will not output a response. Please click the first Terminal Tab\n";
kubectl proxy

Did that go OK? You need to leave that proxy running; maybe the page should make that clearer for any reader following along from home.

What's the environment that you're running minikube on @vietnguyen1254 ?

Thanks for the answer @sftim
Yes, I leave the proxy running. It can return a json when I call: curl http://localhost:8001/version. But when I call the pod, then, it returns: Error trying to reach service: 'dial tcp <IP_ADDRESS>:80: connect: connection refused'
I am running in CentOS 8 in Vsphere.
I don't know but i think the issue is with the port??.
When I try to call server.js with bash session inside the container, it runs smoothly.

I'm wondering what kind of CNI you have installed into your cluster @vietnguyen1254
I think the documentation is accurate though. These guides assume you used Minikube to set up your cluster.
/triage support

I got the same issue using Ubuntu 18.04 64bits with local install. I also keep the proxy running. I didn't installed anything in particular for CNI (wasn't aware of it before reading this thread)

@sftim Sorry for the late response.
I have not installed any CNI... And I was not aware of it as well...

Hmm, this sounds like there might be an issue with the advice on the page.
Just in case:
/remove-triage support

OK. Got a clue but need some more feedback to solve the issue.
When I connect to the pod with
kubectl exec -ti $POD_NAME bash

then I run curl localhost:8080 and it's fine.
Then, I change within the pod the call to use
export $POD_NAME="mypodname" # Fake, use your own and do
curl http://<IP_ADDRESS>:8080/api/v1/namespaces/default/pods/$POD_NAME/proxy/

Then, I read again the feedback from the error when calling from the proxy (so outside the kubernetes network) dial tcp <IP_ADDRESS>:80: connect: connection refused
So, I do
curl http://<IP_ADDRESS>:80/api/v1/namespaces/default/pods/$POD_NAME/proxy/

Then, I get the same error:

Failed to connect to <IP_ADDRESS> port 80: Connection refused

The conclusion is that the kubectl proxy matches external port 8001 to internal port 80 of the pod instead of matching port 8080, hence the error.
So, now what I need to know is how can I change the behavior so kubectl proxy matches correctly port 8001 to port 8080. Is it within the application, at pod level, at kubectl proxy level or elsewhere.
Thanks

Ok. I've solved the issue by using http://localhost:8001/api/v1/namespaces/default/pods/kubernetes-bootcamp-69fbc6f4cf-tfmfs:8080/proxy/ instead of the official recommended URL

@ThomasG77  thanks for your share, exactly the same here, and solved by what you said, specify the 8080 port explicitly.
Still wondering, it works inside the tutorial terminal but fails on my Mac.

I also had the same issue on Windows10.
I have been struggling for two days until I reached the solution from @ThomasG77 (thank you).
It is really frustrating when you want to learn something from the official manual and it is simply just wrong/incomplete. And it has been in this state for a while, this ticket has been opened several months ago.
I think the manual should say that in some circumstances the port also needs to be given. Or, just replace the example in the tutorial so that others don't waste days with this issue.

I think the issue is that while creating the deployment we haven't specified the port. So I tried with
kubectl run kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 --port 8080

and then
http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/

works

Alternatively, you can use kubectl edit deployment/kubernetes-bootcamp after running kubectl create deployment and add this to the containers spec:
        ports:
        - containerPort: 8080
          protocol: TCP

After adding this, the container spec should look like so:
    spec:
      containers:
      - image: gcr.io/google-samples/kubernetes-bootcamp:v1
        imagePullPolicy: IfNotPresent
        name: kubernetes-bootcamp
        ports:
        - containerPort: 8080
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File

@ryangsteele - I was able to edit the port config on the container spec, and after my pods reloaded, the cURL statement works fine.
Note to others - after editing your container spec you will need to re-query for your pod name and re-export the env variable for the curl command to work correctly.
export POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')

in fact, if you use
"kubectl edit deployment/kubernetes-bootcamp"
which opens a vim with the deployment description , you see in fact that:
ports:
  - containerPort: 8080<
     protocol: TCP

is set

Ok. I've solved the issue by using http://localhost:8001/api/v1/namespaces/default/pods/kubernetes-bootcamp-69fbc6f4cf-tfmfs:8080/proxy/ instead of the official recommended URL.
Although "it works", I have no clue why I have to change the recipe compared to the official recipe. Only possible hypothesis (untested) could be about instanciating a kubernetes cluster with port already use on the host machine may change behavior.

before
http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/proxy/
after
http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/

all you have to do is to append the port number 8080 after then $POD_NAME

Would that be issue the app itself, container exposes port 8080 instead of 80 which is expected as a default http port?
For my understanding kubectl proxy forwards to port 80, but there is no response from the pod on that port.
I don't know yet the relation between pod and container ports.
ryangsteele  comment https://github.com/kubernetes/website/issues/18079#issuecomment-622011285
points that it is missing for the container port definition, so it points to the container having 8080 instead of 80.
It works in the kubernetes emulator on the website using the same deployment image, so this is a bit strange.

Funny enough the tutorial points further to server.js and the right port once you get into the container bash.
curl localhost:8080
But, I started to investigate it as I have been running it on localhost in minikube.

curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/

curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME:8080/proxy/

Wow, it's unbelievable that it has been almost three years and the tutorial still has not been corrected.
Thanks @ThomasG77 for the solution.


[stable/fluentd] Add per port nodePort (#12413)

Add the ability to set per port nodePort for the
fluentd service.
Fix Issue: #12413
Signed-off-by: Geoffroy Doucet<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #12413

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Variables are documented in the README.md

Don't we need an example in values.yaml for that?

I don't think so, this is really a bug fix, the way it was done was wrong because even if it was an array of ports only the first element would work. Also their was no documentation of the settings the README.md, which I have added.

Can you rebase on latest master and resolve conflicts?

No problem, just rebase.

/ok-to-test

@gdoucet can you rebase on latest master to resolve merge conflicts?

@Miouge1 I just rebase, let me know if everything is ok.


Sample project relicensing

I've sort of just realized we never decided on a license for the sample projects, so they've been GPLv3'd this entire time as that's the default for things in this repository. That's a problem as we want these to be something people can base their projects on, but they are unknowingly being subject to the GPL's virality clauses. Not ideal.
My proposal is that we relicense them under CC-BY 4.0 https://creativecommons.org/licenses/by/4.0/:

GPLv3 compatible
credit required (we can add comments inside the sample projects)
no GPL virality or share-alike clause, commercial use allowed
standard code licenses don't apply well to things like images/sounds/etc. inside the sample projects
matches how people are actually going to use them anyways

@LilyMakesThings @DNin01 @Xeltalliv @David-Orangemoon
You contributed sample projects so this would require your consent

I consent

Ok

Yeah, I think a Creative Commons license is a better fit for them. I'd be fine with CC-BY 4.0.
Does that apply to the assets they re-use from other sources? Most of mine just use TurboWarp-logo-related things, the Dango from Twemoji, and some simple shapes and icons, but one of them uses Turbo Robot, which was made for TurboWarp by a Scratch user. Do we need to add any notes/credits there?

It would be a good idea to credit things appropriately

this is fine


ValidateFileisWritable test fails after first run

I guess it should just delete the file if it exists prior to running the test or something like that

Test Name:	ValidatesFileIsWritable
Test FullName:	Project2015To2017Tests.ProjectWriterTest.ValidatesFileIsWritable
Test Source:	C:\Users\mark\source\repos\CsprojToVs2017\Project2015To2017Tests\ProjectWriterTest.cs : line 21
Test Outcome:	Failed
Test Duration:	0:00:00.0627415

Result StackTrace:
at System.IO.Win32FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName)
at Project2015To2017Tests.ProjectWriterTest.ValidatesFileIsWritable() in C:\Users\mark\source\repos\CsprojToVs2017\Project2015To2017Tests\ProjectWriterTest.cs:line 32
Result Message:
Test method Project2015To2017Tests.ProjectWriterTest.ValidatesFileIsWritable threw exception:
System.IO.IOException: The file 'C:\Users\mark\source\repos\CsprojToVs2017\Project2015To2017Tests\bin\Debug\netcoreapp2.0\TestFiles\OtherTestProjects\ValidatesFileIsWritable.readonly' already exists.

That only happens on failing tests as far as I know. A clean and then build will fix that. The setup is not ideal but given that what we're doing is so linked to files being on disk I guess this is something to 'deal with'.
The only real solution that I can see is to abstract away file access so we can mock that but that seems like overkill to me.

I reckon I can fix it, by deleting the file at the start of the test if if already exists. Busy week at work this week (just back from hols), so probably at weekend for this and trying to tidy up other issues I've raised


No option to set the content type in this updated version

Hi friends,
I have used this Rest Client of 2 months.
Last week, after the update, i didnt find place to change the Content Type. Older versions had that option below the Payload tab. now its missing.

You have to type it by hands now.

Thanks my friend..
can you please give sample for the same..

Here is it:

It doesn't keep the content type value after a ; though - try putting
Content-Type: application/json;charset=UTF-8
Anything after the ; is dropped silently by this new version, was never a problem previously.

When you switch to the method that carry a payload a default C-T header will be put in the headers field. You have autofill and suggestions. Basically its even faster than earlier.
See http://restforchrome.blogspot.co.uk/2016/01/encoding-drop-down-removal-from-app.html for more explanations.
So in this matter the issue is invalid. However @getmeben mentioned that there's an issue with headers and ";" character. I tried to reproduce the problem but I couldn't. The app works as expected. Can you give me more details?

The truncation after ; is fixed if you turn off codemirror it seems...

I'll see what I can do. It's basically the same value and there's no transformation between CodeMirror and regular text. I have to check if there's an issue with the CodeMirror.


Revisit Inspect

Currently we have Inspect on

IEnumerable via Extension function
Option as a member function

Probably we want that functionality in Either and Result.
I thought a bit about the naming while looking at this: https://fsharpforfunandprofit.com/rop/
The method here is for a Result Monad, he calls it Tee, but obviously Tap seems also be a common name for it.

Naming

[ ] Inspect (InspectLeft, InspectError)
[ ] Tee (TeeLeft, TeeError)
[ ] Tap (TapLeft, TapError)

On what Monad would it be useful?

We certainly should add it to Result and Either, I am not sure if it useful to the Reader-Monad.
HKT's misisng :D but I think all implementations should be implemented as an extension.
public TMonad<TItem> Inspect(this TMonad<TItem> monad, Action<TItem> action)
{
  monad.Select(action);  // Select must be eager
  return monad;
}

We stay with Inspect and can implement it for Either and Result.

While I see the reasoning behind wanting an extension method, I still think it's better to do it as an inherent method.
One of the downsides of extension methods is that consumers need a using where as with
inherent methods, this is not needed.


Can not read some hindi font pdfs

Hi sir,
I am using your library for reading pdfs.
Client tells an issue.
Here is an link that is an hindi font pdf, library can not read it properly, fonts are misbehaved in app.
https://www.flexiprep.com/d/pdf/c1cdb1e0/NCERT-Hindi-Class-9-Hindi-Part-4.pdf

I don't know hindi so I don't know where it is incorrectly rendered.
Are these hindi fonts embedded in pdf document?

Closing due to no response from author


No records during NAS/FTP online state

Here I have a lot of electrical failures (storm season) but my NAS have an UPS to protect the disks.
unfortunately, I got one power failure of that takes more time than my UPS can handle. and my NAS had turned off.
the camera is connected to a "non-ups energy source", and it turned off when the energy powers down, but when it comes online again, the camera has started very first before the NAS.
so my issue, is that all my recorded videos is not uploaded on NAS, because the connections has not stabilished between NAS and camera I guess and, all videos recorded on camera wasn't on SD Card and NAS.
what could be the issue?
does the camera still records videos inside SDcard and upload after the connection with FTP? or it tries to upload, and without success, delete the videos?

The script checks the return code of the upload and deletes the file only if the status is ok.
And the cam tries to connect to the ftp server every time the script is executed.
So, this problem shouldn't occur (if there are no bugs).

Ok, thanks for the clarification.
Em qua., 29 de nov. de 2023 às 12:12, roleo @.***>
escreveu:

The script checks the return code of the upload and deletes the file only
if the status is ok.
And the cam tries to connect to the ftp server every time the script is
executed.
So, this problem shouldn't occur (if there are no bugs).
—
Reply to this email directly, view it on GitHub
https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/761#issuecomment-1832087273,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFIQOOIFBHGM2PSEISHJORDYG5GG5AVCNFSM6AAAAAA73CELCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGA4DOMRXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Yarn 3 Migration Changes

This migrates the Demo to use Yarn 3

Thanks for approving and merging @freben 👍


gnu(11250)=375

Constructed a list of length 374
It contains 373 groups and 1 sublists
Length of sublists are [ 2 ]
374<=gnu(11250)<=375
Runtime of this construction: 228818 ms (3.8 min)
Now checking non-isomorphism of groups in sublists ...
Success! All pairs contain non-isomorphic groups
gnu(11250)=375
GAP      4.8.3
GrpConst 2.5
Runtime of ConstructAllGroups: 228818 ms (3.8 min)
Returned a list of length 374 containing 373 groups and 1 sublists
Length of sublists : [ 2 ]
Runtime to check non-isomorphism of groups in pairs: 126441 ms (2.1 min)
To maintainers: for new results, add to data/gnudata.g this line:
GNU_SAVE( 11250, 375, WITH_GC );

gap>
System : Windows Vista

Thank you for submitting new gnu(n). We will recalculate it and add to the database if we get the same result.
Checklist for the reviewer:

[ ] checked and assigned labels "new (n<50000)" or "recomputation", if needed
[ ] set "replication needed" label (unless it starts immediately)
[ ] changed it to "replication in progress" label when the replication has been started
[ ] changed it to "replicated" after successful replication review
[ ] reproducible value of gnu(n)
[ ] no essential runtime differences
[ ] sufficient level of technical details

Checklist for the maintainer:

[ ] correct arguments of command to store data
[ ] correct location of new line in the data file
[ ] mention submitter and reviewer in the commit message
[ ] Close corresponding issue from the commit message

gnu(11250)=375
GAP      4.8.4
GrpConst 2.5
Runtime of ConstructAllGroups: 136714 ms (2.27 min)
Returned a list of length 374 containing 373 groups and 1 sublists
Length of sublists : [ 2 ]
Runtime to check non-isomorphism of groups in pairs: 76034 ms (1.27 min)
Replicated by @alex-konovalov on Ubuntu 16.04 on Azure cloud standard DS3 v2 instance (4 cores, 14 GB RAM)
To maintainers: for new results, add to data/gnudata.g this line:
GNU_SAVE( 11250, 375, WITH_GC );


updating link with new docs

Hey @kentcdodds, I hope all is well. The Remix-CLA-bot links are hitting 404. What shall I do?

Hey @kentcdodds, I hope all is well. The Remix-CLA-bot links are hitting 404. What shall I do?

ahh, looks like you already have a repo on your account named remix, the 2 links are actually https://github.com/AhmedEldessouki/remix-1/blob/main/docs/contributing.md and https://github.com/AhmedEldessouki/remix-1/blob/main/contributors.yml
I'll fix our bot 🙏

The Remix-CLA-bot links are hitting 404. What shall I do?

ahhhh! sorry @AhmedEldessouki, looks like you already have a repo on your account named remix, the 2 links are actually https://github.com/AhmedEldessouki/remix-1/blob/main/docs/contributing.md and https://github.com/AhmedEldessouki/remix-1/blob/main/contributors.yml
I'll fix our bot 🙏

Thanks @mcansh

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/


nuget升级到<IP_ADDRESS>后的样式资源问题

Describe the bug
使用nuget更新到<IP_ADDRESS>后使用GlowWindow窗体，运行时就提示找不到WindowWin10的静态资源样式了？？

3.0 也有这个问题。

@GF-Huang  You do not need to set the style

@GF-Huang You do not need to set the style

It's generated by the HandyControl project template 😭

@GF-Huang You do not need to set the style

It's generated by the HandyControl project template 😭

template is outdated
use my vsix  It is always up to date😅

@GF-Huang You do not need to set the style

It's generated by the HandyControl project template 😭

template is outdated
use my vsix It is always up to date😅

Could you give me a link? Thanks.

@GF-Huang You do not need to set the style

It's generated by the HandyControl project template 😭

template is outdated
use my vsix It is always up to date😅

Could you give me a link? Thanks.

first  remove old
then install it
https://marketplace.visualstudio.com/items?itemName=MahdiHosseini.HandyControls


bpfman: in memory db setup + oci_utils conversion

Prep for using sled as the in memory db for all state persistence so that we no longer have to write directly to disk.
Add some error handling fixes.
Convert to using sled for the OCI image store. This ensures that no data is written to the filesystem directly and that everything goes through our sled db instance.
Works towards finishing https://github.com/bpfman/bpfman/issues/860
TODO convert all BpfManager state management to use sled as well.

@dave-tucker This should be mostly there (I think I still have an int test flake or two I'm tracking down)
Decided to break this up a bit over two PRs one for the image manager ^^ and the other for the BpfManager


lnurlp returned as text instead of json?

in this case it appears that its text...
https://lntxbot.com/.well-known/lnurlp/fiatjaf?amount=150000

closed
issue was actually assuming that 'status' only returned on error without 'pr'
https://github.com/bitkarrot/sendsats/commit/a6ed6bf443ea25774e81fbec6bdf329df580883a


Deployement Frequency to be viewed as Daily or weekly as well

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case
As a DevOps Engineer I would like to be able to track my Deployment frequency on a daily or weekly basis
Description
the proposed solution is to be able to change the DF from monthly to weekly or even daily in Grafana
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Afig08 Thanks for your issues.

you can edit the board.

And rewrite the SQL of it as you like.


The installer doesn't currently work

The install command returns 404 error, because of missing v before the version number. If I fix it:
url "https://github.com/gravitl/homebrew-netclient/releases/download/v#{version}/netclient.tgz"

It still fails to find the directory and I'm not sure why:
> brew install netclient
==> Downloading https://github.com/gravitl/homebrew-netclient/releases/download/v0.14.0/netclient.tgz
Already downloaded: /Users/xxx/Library/Caches/Homebrew/downloads/f53fd9f8f7bd6272cb3265cbc321a700245cfbcd1abca4c79459f009185d9ba8--netclient.tgz
All formula dependencies satisfied.
==> Installing Cask netclient
==> Running installer script '/opt/homebrew/Caskroom/netclient/0.14.0/install.sh'
Password:
env: /opt/homebrew/Caskroom/netclient/0.14.0/install.sh: No such file or directory
==> Purging files for version 0.14.0 of Cask netclient
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/opt/homebrew/Library/Homebrew/shims/shared:/usr/bin:/bin:/usr/sbin:/sbin /opt/homebrew/Caskroom/netclient/0.14.0/install.sh` exited with 127. Here's the output:
env: /opt/homebrew/Caskroom/netclient/0.14.0/install.sh: No such file or directory

It seems there is also only a x86 binary in the tgz archive now and install.sh doesn't handle M1 installations (/opt/homebrew instead of /usr/local).

thanks will update

PR #2  updates version in netclient.rb
tested on Darwin 21.4.0
working on a multi-arch version ---not quite there yet

Thanks, it seems installation fails only on M1 then (it still outputs No such file or directory now)? I don't have an Intel mac, so I couldn't check.

I will do some more investigation on how to do M1 --- maybe it would be easier to have a netclient-M1 cask... would you be willing to test it?

Of course, no problem.

could the No such file or directory  error be the result of #!/usr/local/bin/bash in the install script?

could the No such file or directory error be the result of #!/usr/local/bin/bash in the install script?

Probably. I don't have bash at this path at all. Maybe it will be better to use something like #!/usr/bin/env bash and $(brew --prefix) to figure out where homebrew is installed?

still not sure how to put two binaries netclient-darwin and netclient-darwin-arm64  in a single cask

You can try to build 2 tgz archives with each architecture with github workflows and then point to the corresponding archive in the cask file. Here is an example of how to check which architecture is used: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/ivpn.rb

You can try to build 2 tgz archives with each architecture with github workflows and then point to the corresponding archive in the cask file. Here is an example of how to check which architecture is used: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/ivpn.rb

OK,  I think I get it... On the todo list for tomorrow

Still fails now because of brew-prefix in install.sh, it should be brew --prefix.

There is still an issue while installing netclient:
> brew install netclient
Error: Cask 'netclient' is unreadable: /opt/homebrew/Library/Taps/gravitl/homebrew-netclient/Casks/netclient.rb:6: syntax error, unexpected tIDENTIFIER, expecting end
...5e074d4a53e48b4c1586d8b2007f26f
...^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/Library/Taps/gravitl/homebrew-netclient/Casks/netclient.rb:8: syntax error, unexpected tIDENTIFIER, expecting end
...f58e09813839685dc5c43542f3ec97c
...^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It happens because sha256 hashes aren't escaped in the formula. If I fix it manually on my installation, it works fine now. Thanks!


EvictNS performance

Hi,
I did some profiling of go-ethereum yesterday (unfortunately I don't have the graphs on this machine). During a full block import, when it's busy crunching through blocks as, it turned out that one of the main timesinks was EvictNS
Doing some further investigation, I could see that it often would call EvictNS hundreds of times, in a sequence with different ns namespaces. Each such invocation would iterate through a linked list of ~10K items.

I'm wondering if this interpretation correct: The lru cache keeps tab on data from various database-files, and tags pieces of data with the file descriptor as namespace. Whenever the database wants to close a file, it tells the cache to forcably evict all the data-items that are associated with the file in question?

If the EvictNS is turned into a no-op, which I tested, I did not hit upon any obvious errors. So I wonder if there are any possible data corruptions/races etc that could happen due to not evicting the data (and instead simply rely on the lru cache to organically evict it in due time).

If 2) is not 'safe', I saw that there are a couple of other options for eviction that could be used. One would be to collect eviction ids during EvictNS, and then call EvictNSFinalize after all deletions have been performed, to evict multiple namespaces on the same iteration.

I'm also wondering if it wouldn't be better to use a different LRU with more direct namespace support, to evict namespaces without all the iteration. Or maybe there are some other configuration options that we should look into?

Yes that's correct, the idea is to get rid of removed files caches as it no longer needed. Unfortunately the performance implication escape me when I'm implementing this, nice finding btw :)
Yes, making EvictNS no-op is safe actually
I agree, I think maps is good enough for this and add options to disable this, or probably remove  EvictNS altogether

Great to hear! I dug up the graph and added it here, in case you are interested:https://github.com/ethereum/go-ethereum/issues/18181

@holiman Thanks!
EvictNS now disabled by default.


Variables not in scope error inside codegen

To reproduce, download the files in vars-not-in-scope.zip and run:
gcc -c -o json.o json.c
ar rcs libjsonparser.a json.o
LIBRARY_PATH="." INCLUDE_PATH="." $LEGION_DIR/language/regent.py vars-not-in-scope.rg -fflow 0 -fopenmp 1

Here's what I get on my local machine:
src/terralib.lua:1113: Errors reported during typechecking.
/home/manolis/sw/legion/language/src/regent/codegen.t:2765: definition of variable with symbol $runtime is not in scope in this context
          [cx.runtime], [cx.context], [launcher])
            ^
/home/manolis/sw/legion/language/src/regent/codegen.t:2765: definition of variable with symbol $context is not in scope in this context
          [cx.runtime], [cx.context], [launcher])
                          ^
/home/manolis/sw/legion/language/src/regent/codegen.t:2765: definition of variable with symbol $runtime is not in scope in this context
          [cx.runtime], [cx.context], [launcher])
            ^
/home/manolis/sw/legion/language/src/regent/codegen.t:2765: definition of variable with symbol $context is not in scope in this context
          [cx.runtime], [cx.context], [launcher])
                          ^
/home/manolis/sw/legion/language/src/regent/codegen.t:2765: definition of variable with symbol $runtime is not in scope in this context
          [cx.runtime], [cx.context], [launcher])
            ^
/home/manolis/sw/legion/language/src/regent/codegen.t:2765: definition of variable with symbol $context is not in scope in this context
          [cx.runtime], [cx.context], [launcher])
                          ^

stack traceback:
	[C]: in function 'error'
	src/terralib.lua:388: in function 'finishandabortiferrors'
	src/terralib.lua:3304: in function 'typecheck'
	src/terralib.lua:1113: in function 'defineobjects'
	/home/manolis/sw/legion/language/src/regent/codegen.t:7096: in function 'fn'
	src/asdl.lua:18: in function 'block'
	/home/manolis/sw/legion/language/src/regent/codegen.t:8878: in function 'thunk'
	/home/manolis/sw/legion/language/src/regent/std_base.t:1069: in function 'complete'
	/home/manolis/sw/legion/language/src/regent/std_base.t:697: in function 'get_config_options'
	/home/manolis/sw/legion/language/src/regent/std.t:3312: in function 'fn'
	src/asdl.lua:18: in function 'map'
	/home/manolis/sw/legion/language/src/regent/std.t:3308: in function 'setup'
	/home/manolis/sw/legion/language/src/regent/std.t:3481: in function </home/manolis/sw/legion/language/src/regent/std.t:3479>
	non-inlined-run1/soleil.rg:8023: in main chunk

I think the current parallelizability checker detects and reports this case nicely, so closing this issue.


Make Camera.flyHome duration optional

Since flyHome is implemented using flyTo, the duration can be omitted.

@gberaudo, thanks for the pull request! Maintainers, we have a signed CLA from @gberaudo, so you can review this at any time.
:warning: I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Thanks @gberaudo!

Thanks @hpinkos for your quick review.


Mistake with convert USD to AED

Hi everybody,
I tried to convert USD to AED and AED to USD :

http://api.fixer.io/latest?symbols=USD&base=AED
http://api.fixer.io/latest?symbols=AED&base=USD

The twice returns is : {"error":"Invalid base"}.
Can you help me ?

The European Central Bank doesn't provide data for AED. Try Open Exchange Rates.

thx


Instruction and portal image too old

Could you please update instruction and portal image?
Current Portal

Old UI

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

ID: 9d098f17-7f58-4304-0634-0f57d1d3300a
Version Independent ID: 5624ffea-22c6-8f02-e9fe-a3be3a7cced5
Content: Configure VPN gateway transit for virtual network peering - Azure VPN Gateway
Content Source: articles/vpn-gateway/vpn-gateway-peering-gateway-transit.md
Service: vpn-gateway
GitHub Login: @yushwang
Microsoft Alias: yushwang

@ShuheiUda , thank you for your feedback and you are correct that the instruction and portal image are old in the doc. We have assigned this issue to the author for updating the doc with the current portal image and instruction.
@yushwang , Could you please review this and update the doc accordingly?

I'll take a doc bug on this. Thanks! #please-close


Fix! Footer area of the website

Here is the output of the section.

after fix it kindly make it responsive

please assign me this issue


Fixes #2775. Something in 1.13 broke centering child windows.

Fixes #2775 - Application.Begin always call LayoutSubviews but when a view is added after the app is running all the views that overridden Redraw's method must call it explicitly.
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[ ] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

https://github.com/gui-cs/Terminal.Gui/assets/13117724/3dd68285-8a85-49d8-b1e6-d98415e4a819

I resolved the conflicts but I can't run it neither the develop branch. See https://github.com/gui-cs/Terminal.Gui/issues/2815#issuecomment-1699333755.

I resolved the conflicts but I can't run it neither the develop branch. See #2815 (comment).

Done. Now it's working.

Nice change set. Fixed a couple of things I thought were my fault in another application.
And of course I'm certainly happy about the fix for #2775 being part of this PR 😅
Thanks for your efforts. 👍


Standardize global tools as GNU in both Linux and macOS

Required since https://github.com/kachick/dotfiles/issues/150