Ordering by nested relationships with Eloquent as a Service

I'm using the service based DataTables, and pulling the data directly from Eloquent. The only problem I'm having is with an orders table that displays the name of a customer, via the relationship Order > Customer > User.
Everything displays correctly, but if you try to search, or sort by the customer's name, it doesn't work correctly. Sort seems to be fairly random, and searching doesn't return any results regardless of what's entered.
I'm pretty sure I should be using orderColumn() to configure how this column should be ordered, but everything I've tried so far results in errors because it doesn't recognise the customer.user.name notation.
Code snippet of problem
Simplified Schema
order
-----
id
customer_id

customer
--------
id
user_id

user
----
name

OrderDataTable.php (skeleton code)
    public function ajax()
    {
        return $this->datatables
            ->eloquent($this->query())
            ->editColumn('subtotal', '{{ $subtotal->asCurrency() }}')
            ->editColumn('tax', '{{ $tax->asCurrency() }}')
            ->editColumn('total', '{{ $total->asCurrency() }}')
            ->editColumn('created_at', function($row) { return $row->created_at->diffForHumans(); })
            ->addColumn('action', function($order) {
                return $this->renderActions($order->id, 'admin.orders.show');
            })
            ->make(true);
    }

    public function query()
    {
        $orders = Order::query()->with(['payment', 'customer.user'])->select(['orders.id', 'orders.subtotal', 'orders.tax', 'orders.total', 'orders.customer_id', 'orders.created_at']);

        return $this->applyScopes($orders);
    }

    protected function getColumns()
    {
        return [
            'id',
            [
                "data" => "customer.user.name",
                "title" => "Customer",
            ],
            'subtotal',
            'tax',
            'total',
            [
                "data" => "payment.type",
                "title" => "Payment",
            ],
            [
                "data" => "created_at",
                "title" => "Ordered",
            ],
        ];
    }

System details

Operating System Ubuntu 14.04.4 LTS
PHP Version 7.0.5-3
Laravel Version 5.3.29
Laravel-Datatables: 6.24.2

I think the problem here is on your column declaration. Try adding the name:
'id',
            [
                "data" => "customer.user.name",
                "name" => "customer.user.name",
                "title" => "Customer",
            ],

BTW, please note that sorting on nested relationship is not yet stable and have a pending PR that I need to review further. #850 #965

If I set the name to customer.user.name I get the following error when sorting (it still displays the names correctly):
Call to undefined relationship [customer.user] on model [App\Models\Orders\Order].
Is this likely a problem with sorting nested relationships?

@rossbearman yes, that's the problem with nested relationship. Sorting is currently supported only on the first level of relationship.

Okay, thanks for the clarification and all your work on the module. I'll subscribe to those PRs for updates.


Tests errors: runeint_test.go:7:3: Errorf format %d has arg string(IntToRune(0)) of wrong type string

The following errors are happening with Go 1.15 on Fedora Rawhide:
github.com/boombuler/barcode/utils
# github.com/boombuler/barcode/utils
./runeint_test.go:7:3: Errorf format %d has arg string(IntToRune(0)) of wrong type string
./runeint_test.go:16:3: Error call has possible formatting directive %d
./runeint_test.go:19:3: Error call has possible formatting directive %d
./runeint_test.go:22:3: Error call has possible formatting directive %d
FAIL	github.com/boombuler/barcode/utils [build failed]

I think this has been fixed in 8a3bb0c01cb040714e80c6783033c3f7c885c1b7
So if you are using v1.0.0 it didn't contain the fix, but I guess v1.0.1 should work. At least I don't get this error on the current head version. If the issue still occurs please let me know

I think this has been fixed in 8a3bb0c01cb040714e80c6783033c3f7c885c1b7
So if you are using v1.0.0 it didn't contain the fix, but I guess v1.0.1 should work. At least I don't get this error on the current head version. If the issue still occurs please let me know


Moar free metamagic choices (integrations)

In TabletopTweaks Base there are some newly added metamagic feats which do the following:

Burning Spell (Metamagic)
The acid or fire effects of the affected spell adhere to the creature, causing more damage the next round. When a creature takes acid or fire damage from the affected spell, that creature takes damage equal to 2x the spell’s actual level at the start of its next turn. The damage is acid or fire, as determined by the spell’s descriptor.

Encouraging Spell (Metamagic)
Any morale bonus granted by an encouraging spell is increased by 1.

Flaring Spell (Metamagic)
The electricity, fire, or light effects of the affected spell create a flaring that dazzles creatures that take damage from the spell. A flare spell causes a creature that takes fire or electricity damage from the affected spell to become dazzled for a number of rounds equal to the actual level of the spell. A flaring spell only affects spells with a fire, light, or electricity descriptor.

Intensified Spell (Metamagic)
An intensified spell increases the maximum number of damage dice by 5 levels. You must actually have sufficient caster levels to surpass the maximum in order to benefit from this feat. No other variables of the spell are affected, and spells that inflict damage that is not modified by caster level are not affected by this feat.

Piercing Spell (Metamagic)
When you cast a piercing spell against a target with spell resistance, it treats the spell resistance of the target as 5 lower than its actual SR.

Rime Spell (Metamagic)
The frost of your cold spell clings to the target, impeding it for a short time. A rime spell causes creatures that takes cold damage from the spell to become entangled for a number of rounds equal to the original level of the spell.

Solid Shadows (Metamagic)
When casting a shadow spell, that spell is 20% more real than normal.

Elemental Spell (Metamagic)
Choose one energy type: acid, cold, electricity, or fire. You may replace a spell’s normal damage with that energy type "or split the spell’s damage, so that half is of that energy type and half is of its normal type.

Please add some of these as automatic feats, since the elemental spell one really complements the other ones it would be ideal if even just the elemental ones get added

Also wanted to mention that this mod has become somewhat essential to my enjoyment of the game lol, and it's still active development means the world to me

I'll think about it. It depends on how hard something like this would be to implement. I would not want to make TabletopTweaks-Base a dependency because unlike TabletopTweaks-Core which has a bunch useful utility methods, TabletopTweaks-Base introduces alot of changes to the game itself.

I'm wondering if it might be easier to make an ability that reduces all spell level increases from metamagic? Then the player has to pick the metamagic feats themselves, but still get the benefits of not having the increase? With the Favored Metamagic ability as a reference, maybe.

There are some mechanics in the game that are hardcoded as enums and Favorite Metamagic is one of them. Adding a new favorite metamagic would require me to edit the game mechanics which I have no idea how. All metamagics are basically handled as enums.
I see that TabletopTweaks-Core has a list of CustomMetamagic enums that lists the metamagics from TabletopTweaks-Base which seems very promising. It might be possible to implement without having TabletopTweaks-Base as a dependency.

Ooh! Fingers crossed for the mounting excitement of this development.

The little QoL of Auto metamagic is also to not have multiple variations of the same spells.
As a spontaneous spell caster with already a quite long spell list that would be a very crowed spell tab !
The "reduce level of all metamagic feats" basically already exists in game with the Trickster Completly normal spell no?

I tested some of them and they seem to work. There's quite alot of OP abilities now.

<(꒪▿꒪)>
So much power for my next Villain...


Retrieve access token from the Spotify API

About this Issue
For this app we are using the Spotify API. As establish on this page it is necessary, in the flow of work of this API as first step, to retrieve an access token from the Spotify API to start making some other requests.
Now here you can see how to retrieve this token. Actually you need to follow this:

make a POST request with the user session-token, remember we are using jwt for this app's authentication managment. You can learn more about it here and here
use the correct body object for the POST request

--header "Authorization: Bearer session-token"

handle correctly the retrievement of this token

/api/spotify/accessToken
This endpoint is created in the app to make all of the previous process in the backend. Bringing security and correct handling to sensitive data.
Important

When the token is successfully retrieved; It needs to be securely stored in the new SpotifyContext so that the rest of the app has access to it, see ticket #7 and its respective PR.
When the token is already securely stored in the Context. It's very important that every time the token is request in any part of the app, a verification of the value is made to make sure we have a valid token, otherwise it must request other one with the /api/spotify/accessToken path

Test
To test that the POST request to Spotify API and the accessToken storage are working as expected.
The solution should test this with the 'Save this in Spotify' Button, printing the new accessToken value to the console.
Since this is going to be the first thing this Button is going to need to do.

Closed for resolution in #22 pull request


Re-convert image tags to emoji for inputs.

Hello,
Thanks for your good job. I want to ask you that how can i convert back image tags to emoji for editing databases values in form inputs?
I insert the emojis to database; but when a user wants to edit it; input text show <img src=emoji/1fe2n.png .... > etc. I have to show emojis in the form input.
What is your suggestion for this?
Thanks.

Only convert emojis on presentation (views) but store the emojis as they are into the DB


TreehouseComposeView should not wrap content in a Column

Removing should give Box-like behavior of stacking children on the Z axis.

Didn't auto close because it was merged into a non-trunk branch erroneously. But is done!


How to reset the date in Angular 4

HTML CODE :---
<ng2-flatpickr [config]="exampleOptions">
Script Code :---
exampleOptions: FlatpickrOptions = {
mode: "range",
dateFormat: "d-m-y",
"onChange": (selectedDates, dateStr, instance) =>{
}
};

Hi @akashkoul,
We would need a little bit more information about what you want to achieve. Also, it might be better if you ask directly in the ng2-flatpickr repo: https://github.com/mezoistvan/ng2-flatpickr

Closing due to inactivity and not enough info for a repro given


MWPW-135672 analytics

Add impression tracking to the main element so that all its content automatically sends impression-tracking
Add default link tracking to all links and buttons (even when not in a block) while not overriding custom tracking added by a block
export decorateDefaultLinkAnalytics for use in blocks in case it's needed during decoration
Add a section number link header to sections that are direct children of the main element
Add a block number link header to each block
Add default link tracking to all links and buttons
All milo core blocks checked for and updated to not need decorateBlockAnalytics and decorateLinkAnalytics.  Functions left in until blocks in other servers can be updated
Tested against all library pages in Milo core. See here for a summary: https://adobe.sharepoint.com/:x:/r/sites/adobecom/_layouts/15/Doc.aspx?sourcedoc={0CB55C19-EB88-4562-955B-FDECD21C9849}&file=impression-tracking-summary.xlsx&action=default&mobileredirect=true

Resolves: https://jira.corp.adobe.com/browse/MWPW-135672
Summary of analytics of Milo blocks
Test URLs:

Before: https://main--milo--adobecom.hlx.page/docs/library/blocks/marquee?martech=off
After: https://mwpw-135672-analytics--milo--adobecom.hlx.page/docs/library/blocks/marquee?martech=off

Thanks for raising the PR for analytics @vivgoodrich . Could you please look at the unit test and lint failures. Also please add a relevant label to the PR.

Thanks for addressing the changes requested @vgoodric . Everything looks good. However I am not completely familiar with changes done in personalization.js Tagging @chrischrischris to take a look at that once.

Should content/not a block be marked with the b identifier? On the after page posted the first content div is getting that ID

Should content/not a block be marked with the b identifier? On the after page posted the first content div is getting that ID

@rgclayton I did that very purposely.  Here is my reasoning:

every button and link should be tracked even if outside of blocks
if they are tracked, they need to match the taxonomy of their counterparts inside blocks. And that means having a block number and name etc.

@vivgoodrich : One question on media blocks present z-pattern
will daa-lh attribute stay for media blocks present in  z-pattern ( below image) or no

@vivgoodrich : One question on media blocks present z-pattern
will daa-lh attribute stay for media blocks present in z-pattern ( below image) or no

no, they are removed. Please refer to the z-pattern tab in the comparison spreadsheet: https://adobe.sharepoint.com/:x:/r/sites/adobecom/_layouts/15/Doc.aspx?sourcedoc=%7B0CB55C19-EB88-4562-955B-FDECD21C9849%7D&file=impression-tracking-summary.xlsx&action=default&mobileredirect=true&CID=059E64F1-53E8-446B-999D-1006EE37A219&wdLOR=c8EA57F8F-424F-467B-ACE5-38F3083768A5
Here is a screenshot of the 2nd z-pattern button:

Each button/link is properly numbered.  In the old version, they were all listed as "1"


my startup is so slow

Hi Purcell
Today My emacs starts so slow
When I start my emacs in terminal(emacs -nw),  emacs showing the message 'cleaning up the recentf list'  so long, and finally show the error 'command-line-1: Unknown option `-''
Why? below is the message
Loading /Users/binlai/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
ad-handle-definition: find-function-search-for-symbol' got redefined Checking whether Dash is installed Loading /Users/binlai/.emacs.d/custom.el (source)...done init completed in 77951.22ms Loading /Users/binlai/.emacs.d/.session...done Desktop: 569.06ms to restore nil Desktop: 335.26ms to restore ~/.emacs.d/lisp/init-local.el Wrote /Users/binlai/.emacs.d/.emacs.desktop.lock Desktop: 1 frame, 2 buffers restored. Desktop restored in 912.80ms For information about GNU Emacs and the GNU system, type C-h C-a. command-line-1: Unknown option -'

What changed today? Did you change or update code, or your system?

I delete one folder files in Mac Finder which is opened in emacs, and I found emacs crash in terminal
and I restart my emacs , the problem occured
I delete the file recentf in .emacs.d , it seems ok now


Add flag on the State to allow for a full search of the stack if wanted

Based on discussions in Discord @
https://discordapp.com/channels/691052431525675048/742884593551802431/829733048002150461 and https://discordapp.com/channels/691052431525675048/749335865876021248/829738449333649489.
This PR adds a flag on the State resource, which when flipped by calling its new run_full_search() method, makes the on_in_stack_update and on_inactive_update run criteria do a full search of the state stack for their predicate rather than relying on the cached state from when the state transitioned. This allows for relying on said run criteria even in Stages where the transition didn't take place. (Or in my case, using those run criteria with the State in an entirely different Schedule than the one in App.)

Lazy question for @bevyengine/ecs-team and @TheRawMeatball: how does this relate to https://github.com/bevyengine/rfcs/pull/45? Should we allow our users to adopt the pattern in this PR?

Stageless completely removes the existing stack model, but I think this PR could be useful as an intermediate solution.

I don't think we should be spending review time adding new features to the current State. My preference would be to move the current state stack approach to an external plugin, so current users would have a migration path once stateless lands.

I don't think we should be spending review time adding new features to the current State. My preference would be to move the current state stack approach to an external plugin, so current users would have a migration path once stateless lands.

I'm in favor of this.
This PR is good functionality for the state stack though.

Closing this out in favor of the reworked state design in #4391.


How to appear cursor object

Hi
I use holotoolkit in my unity hololens project.
But my cursor object do not appear at my gaze position.
I use prefab inputmanager, hololenscmera, cursorwithfeedback.

@stwktw - We need much more information to help with this.  It might be better addressed in the forums.
If you prefer to keep the conversation here, please let us know what version of Unity, what version of the HoloToolkit-Unity you are using, if you are getting any errors, and exactly what behavior you are seeing.  Screenshots would be supremely helpful, of the inspectors for each of the items you mention above, as well as of your project hierarchy.

hm
i using holotoolkit in my project.
But i have question.
Look at the next screen capture.
ex _ 1)
prefab - InputManager, HoloLensCamera, BasicCursor.
issue - I can't see basicCursor.

ex _ 2)
prefab - InputManager, HoloLensCamera, Cursor.
I can see Cursor, in center, as camera position.

ex _ 3)
prefab - InputManager, HoloLensCamera, CursorWithFeedback.
issue - I can't see normal cursor. but i can see hand feedback to click gesture.

ex _ 4)
prefab - InputManager, HoloLensCamera, DefaultCursor.

ex _ 5) HoloToolKit ColorPicker
I can see ColorPicker scene 's BasicCursor.

Why in my project can't see cursor?
HoloToolKit ColorPicker project is good cursor.
To test the cursors, i dragged the prefabs and added them to Scene.
Do I have more to do? I don't know.
Env
Unity - 5.6.2f1
OS - Windows 10
Device - HoloLens
Screen Capture Device - Unity game play screen

HI .
I find solution. I mistake.
my object don't have collider component.
I add collider for my object. then my cursor is papered.
Thankyou.


[CT-2254] dbt debug for connection testing

Much older issue in the same vein: https://github.com/dbt-labs/dbt-core/issues/3735
It should be possible to use dbt debug for connection testing. Currently, debug also includes checks for:

Valid profiles.yml file
Valid dbt_project.yml file
git as an installed dependency (for deps)
dbt can connect and submit a "debug" query to the selected profile

Of those checks, we really only need the last one for connection testing. Ideally, we'd be able to skip the other checks (perhaps by passing a flag?) and return success/error (programmatically & as CLI exit code) on the basis of the "debug" query only.
If we had to hack this today, it would be sorta possible by examining the structured events (DebugCmdOut) returned from the debug command, but this hardly feels like a stable interface.
Why dbt debug?
Why not just an interactive query (new preview command) with the query hard-coded to select 1 as id? Reasons to prefer:

leveraging an adapter method, debug_query
it's part of dbt-core's top-level API, and clearly the intent of debug

Questions

How should the profile be provided? In profiles.yml, or could it be provided as a Python data structure?
Could we avoid the need to have a dbt_project.yml? Just use a "dummy"/empty dbt_project.yml?

Acceptance criteria

Given the contents of a profile only, validate that profile via dbt debug, and return success/error

An alternative suggestion would be to add a command
dbt test_connection that would use the selected profile. I can open a separate issue to surface this alternative way.

Just going by what we see here, I would say we communicate that dbt debug exists to support and validation of a dbt environment. Having a flag that skipped those validation steps would mirror the `git commit --no-verify` workflow. Basically, just validate that the connection makes sense. I worry that if we create a new command which under the hood is leveraging the same code invites unclear interfaces at the executable level

With the merge of #7741 , the workflow for this in 1.6 and on will be dbt debug --connection.
Other flag skips/features may be added. See this issue.


balena: Add support for mounting rootfs from a custom path in mobynit

This patch bumps the balena version in meta-resin.
Tested on a nuc image running on a VM

Contributor checklist

[x] Changes have been tested
[x] Change-type present on at least one commit
[x] Signed-off-by is present
[x] The PR complies with the Open Embedded Commit Patch Message Guidelines

Reviewer Guidelines

When submitting a review, please pick:

'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

@resin-ci retest


Add test case for PositionedCryptoInputStream

Thanks @colinmjj for contributing the patch.
We add PositionedChannelInput, there are several problems.

first SeekableByteChannel is only available at JDK7 which makes the library only usable by JDK7 or later. We recently removed the constraint.
The PositionedChannelInput is NOT possibly implemented by SeekableByteChannel. if there is no position read method provided. positioned read is different from seek. positioned read means it can keep multiple read on different position but not interference each other.
Trivially, readFully is implemented wrong.

Overally, the patch code somewhat deviated from the target of "add test case for PositionedCryptoInputStream". I suggest that we can write a test Input which support positioned read based on memory buffers and simply use it to test PositionedChannelInput.

@jerrychenhf , thanks for the comments. I'll write the test Input and test PositionedCryptoInputStream with it.

Per latest discussion in the Apache Commons community, we don't have to stick on JDK6. JDK7 or later is OK for us. While SeekableByteChannel  is still not the right option here:)

@jerrychenhf , @winningsix , thanks for the comments, the patch is updated for review.

Thanks @colinmjj for updating the patch.
I have reviewed and made some comments. And there are some critical bugs there. You may need to check the test cases for whether the test cases are properly constructed.

Thanks @colinmjj for updating the patch.
I made a few of further comments. And one additional suggest is we need to test the case that when there are multiple positioned read actions and there is one read action and they are not interfere each other.

@jerrychenhf , thanks for your all comments, and the patch is updated according to the comments.

Thanks @colinmjj. Ready to go after addressing my last comment on the read(ByteBuffer) method.

@jerrychenhf , patch is updated, thanks for the review.

Thanks @colinmjj for contributing!
LGTM.


Cannot seed dynamodb

Actual Behaviour
In my serverless.yml, I enabled the seeding option and I provided the path to my json file. But I get an error when I try to run serverless offline start.
The only plugins I use are serverless-dynamodb-local and serverless-offline.
Expected Behaviour
The plugin should be able to seed dynamodb based on the documentation : https://github.com/99xt/serverless-dynamodb-local#seeding-sls-dynamodb-seed
Steps to reproduce it
A snippet of my serverless.yml:
plugins:
  - serverless-dynamodb-local
  - serverless-offline

custom:
  dynamodb:
    start:
      port: 8000
      inMemory: true
      migrate: true
      seed: true
    migration:
      dir: offline/migrations
    seed:
      test:
        - table: ${self:provider.environment.DYNAMODB_TABLE}
          sources: [./offline/seed/sample-awesome-facts.json]
    stages:
      - dev

resources:
  Resources:
    TodosDynamoDbTable:
      Type: 'AWS::DynamoDB::Table'
      DeletionPolicy: Retain
      Properties:
        AttributeDefinitions:
          - AttributeName: uuid
            AttributeType: S
        KeySchema:
          - AttributeName: uuid
            KeyType: HASH
        BillingMode: PAY_PER_REQUEST
        TableName: ${self:provider.environment.DYNAMODB_TABLE}

Run the command serverless offline start --migrate
LogCat for the issue
TypeError: Cannot read property 'table' of undefined
      at /mnt/f/Workspace/Github/tonytangdev/wow-awesome-serverless/lambda/node_modules/serverless-dynamodb-local/index.js:206:29
  From previous event:
      at PluginManager.invoke (/usr/lib/node_modules/serverless/lib/classes/PluginManager.js:490:22)
      at /usr/lib/node_modules/serverless/lib/classes/PluginManager.js:525:24
  From previous event:
      at PluginManager.run (/usr/lib/node_modules/serverless/lib/classes/PluginManager.js:525:8)
      at /usr/lib/node_modules/serverless/lib/Serverless.js:133:33
      at processImmediate (internal/timers.js:456:21)
      at process.topLevelDomainCallback (domain.js:137:15)
  From previous event:
      at Serverless.run (/usr/lib/node_modules/serverless/lib/Serverless.js:120:74)
      at /usr/lib/node_modules/serverless/bin/serverless.js:82:30
      at /usr/lib/node_modules/serverless/node_modules/graceful-fs/graceful-fs.js:136:16
      at /usr/lib/node_modules/serverless/node_modules/graceful-fs/graceful-fs.js:57:14
      at FSReqCallback.oncomplete (fs.js:154:23)
  From previous event:
      at /usr/lib/node_modules/serverless/bin/serverless.js:82:8
      at processImmediate (internal/timers.js:456:21)
      at process.topLevelDomainCallback (domain.js:137:15)
  From previous event:
      at Object.<anonymous> (/usr/lib/node_modules/serverless/bin/serverless.js:71:4)
      at Module._compile (internal/modules/cjs/loader.js:1151:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
      at Module.load (internal/modules/cjs/loader.js:1000:32)
      at Function.Module._load (internal/modules/cjs/loader.js:899:14)
      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
      at internal/main/run_main_module.js:17:47

Would you like to work on the issue?
In index.js, line 323 : const sourcesByCategory = categories.map((category) => seedConfig[category].sources);
We are trying to get sources from seedConfig[category] but it doesn't exist as seedConfig[category] is an array that looks like :
[
  {
    table: 'awesome-facts-dev',
    sources: [ './offline/seed/sample-awesome-facts.json' ]
  }
]

I already worked on it and I'm going to create a pull request.

Turns out I just configuration is wrong.
custom:
  dynamodb:
    start:
      port: 8000
      inMemory: true
      migrate: true
      seed: true
    migration:
      dir: offline/migrations
    seed:
      test:
        sources:  # I forgot this one
          - table: ${self:provider.environment.DYNAMODB_TABLE}
            sources: [./offline/seed/sample-awesome-facts.json]
    stages:
      - dev


The issue of changing the protein families from default (PG) to PLFams still problematic

Several times I have changed to PLFams on Protein family page at taxon level (working on Lactobacillus casei).  I change from the default, which is PGFams, to PLFams.  The spinning wheel comes up, and although on the filter it says PLFams, in the table they are still PGFams.

Rebecca, I am trying to reproduce this problem, but was not successful so far.
In case, once the spinning wheel comes up, the main grid changes to "Loading..." and changed to pgfam or plfam accordingly.
Does it happen to you or you see a little bit different behavior? I am using chrome (55.0).
https://www.patricbrc.org/view/Taxonomy/1582#view_tab=proteinFamilies

#1393

Hmm!  When I followed your link it worked fine.  I will keep an eye on it today and see what happens in the workshop.  they have us in a computer room with windows machines.  All have chrome installed, but I don't know the version.
Fingers crossed that this goes well!
----- Original Message -----
From: "hyoo"<EMAIL_ADDRESS>To: "PATRIC3"<EMAIL_ADDRESS>Cc: "Rebecca Wattam"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: Thursday, December 22, 2016 3:53:25 AM
Subject: Re: [PATRIC3/patric3_website] The issue of changing the protein families from default (PG) to PLFams still problematic (#1395)
Rebecca, I am trying to reproduce this problem, but was not successful so far.
In case, once the spinning wheel comes up, the main grid changes to "Loading..." and changed to pgfam or plfam accordingly.
Does it happen to you or you see a little bit different behavior? I am using chrome (55.0).
https://www.patricbrc.org/view/Taxonomy/1582#view_tab=proteinFamilies

--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/PATRIC3/patric3_website/issues/1395#issuecomment-268636453

here is an instruction for updating chrome. you can ask participants to do. this is what I did in the Florida workshop.
https://support.google.com/chrome/answer/95414?co=GENIE.Platform=Desktop&hl=en

Haven't heard after 5 months. closing.


Edit README.md

The code snippets should be American spelling. Can we rewrite the code so that works?
Do we want the build status to show?

@Raynos

do you we really have to rename licence to license :(

everything else lgtm.

:(
How many minutes would it take?
I'm thinking the rename will save time in the long run, since it'll be a
bit more intuitive (for most engineers) and match the documentation. But if
it's a huge project of rewriting, that might not be true.
On Tue, Nov 17, 2015 at 5:39 PM, Jake Verbaten<EMAIL_ADDRESS>wrote:

everything else lgtm.
—
Reply to this email directly or view it on GitHub
https://github.com/uber/uber-licence/pull/9#issuecomment-157569670.

+1
we are in SF

@Raynos hi! I just saw this is still open 😈
@macalinao I'm going to close this—not sure who still works on this—but hope someone with write access carries the license torch. 🔥

@Lupie thanks for cleanup. Hello from Seoul.

Seoul! Wonderful, hello!
I need to hit you up about some Node project too. 🤓


requesting two indicators

Hi
can i request two indicators? one is called halftrend and if you are familiar with pinescript, you can find it on tradingview.com, even if you are not familiar with pine script, the code should be strait forward, here is a link
TRADING VIEW INDICATOR LINK
For the half trend, we don't need to have the  upper and lower band atr calculations, the main thing there is the super trend like moving average itself
the other one is super trend, again you sholuld be able to find open source code in trading view, if you need any help with pinescript, I can help you
SUPER TREND CALCULATION
SUPER TREND CODE
thanks

also, it would be nice to have something similar to this library for pattern recongnition
https://github.com/mrjbq7/ta-lib


Fixed popover menu positioning. Tighter assumed bound for popover height now.

NOTE: This commit partially fixes #3741 :warning:
As discussed in this comment, this commit fixes the first problem by:

Fixing the ypos parameter to actually give the correct height of the element from the viewport top.
Presenting a tighter bound for height of the popover (200 instead of 300).

Recent change-sets seem to have mitigated the second problem to some extent. However for unreasonably small viewports, scrolling the element automatically is still required to make sure the ypos changes sufficiently to provide correct positioning to the popover so that it fits.
Tested on Google Chrome v56.0.2924.87 (Official Build) (64-bit). Works well for me. Let me know if something doesn't check out. Till then, cheers! :tada:

Automated message from Dropbox CLA bot
@babhishek21, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

Automated message from Dropbox CLA bot
@babhishek21, thanks for signing the CLA!

@babhishek21 can you add a comment explaining the math so that others can follow the logic if we need to update this in the future?

@timabbott The math is essentially the same as before the changes. Two things stand out:

The spooky (undocumented, undefined) behaviour of elt.offset().top made me change line 212. (see this comment)
Line 214 has the same logic as before the changes. Essentially if I find the position of the popover caret element ( :arrow_down_small: ) too close to the bottom, I position the popover as top. Else the popover positions as bottom (as is natural for most people). The only significant change in this line, logically, is that the bounds for checking how close I let the caret element be to the bottom of the viewport, to still position the popover as bottom, has been tightened from 300px to 200px (this is because the popover element, on average, had a height of about 170px.)

I guess it makes sense to write a comment for the first point. As I said, since it is undocumented, undefined behaviour, other people need to test it vigorously.

I'll be AFK for a week (returning on 19th of March :sweat_smile: ). I won't have access to my dev box in the mean time. I could probably make small changes. If there are heavy changes required, I guess it'll have to wait a bit. Sorry about that. :cry:

Tweaked and merged as 81359e19784eb6328c32cfbddd54854cee8347d9, thanks @babhishek21!
Nice work debugging this.

BTW there's obviously a similar issue for the users popovers, but I think @hackerkid has been fixing that as part of #3787


Investigate generating this client

What problem are you facing?
New resources will take developer time to research and implement, creating a delay between provider innovations and the user's ability to consume new features and services.

How could the Equinix Metal Crossplane Provider help solve your problem?
By generating the client, or portions thereof, delivery time should be reduced.
This issue is similar in spirit to https://github.com/packethost/packngo/issues/215 and any pitfalls or revelations on that issue may impact or enable this issue.

Closing for #69
https://github.com/crossplane-contrib/provider-jet-equinix is generated


Cow: Watch honista.one

Cow requests the watch of the watch_keyword honista\.one. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

honista\.one has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


How to detect a hyperlink run and extract the URL?

I am trying to get functionality such that when I go over the runs of a paragraph I can extract the text from a hyperlink but also the URL. Currently, a hyperlink run is totally omitted and not at all caught by python-docx. Digging through the issues I have found the following code snippet here
`from docx.oxml.shared import qn
def GetParagraphRuns(paragraph):
def _get(node, parent):
for child in node:
if child.tag == qn('w:r'):
yield Run(child, parent)
if child.tag == qn('w:hyperlink'):
yield from _get(child, parent)
return list(_get(paragraph._element, paragraph))
Paragraph.runs = property(lambda self: GetParagraphRuns(self))`
However, this simply converts the hyperlink into plain text and I lose the URL. Is there any way to extract the hyperlink text and URL and return it in a run with my own html tags surrounding the extracted hyperlink?
For example:
hyperlink run
would be extracted to
hyperlink run
The use case for this is for a news website where authors submit their articles as .docx files and the articles then have any HTML markdown added to it before being pushed to the website.

Hey,
So each hyperlink run has a r:id attribute on the <w:hyperlink> element. That r:id element appears in document.xml.rels (which defines all the different relationships for the document). You can access that list of relationships with doc._part.rels (it's a dictionary).
The following snippet will enumerate the relationship id and target (URL) of all hyperlink relationships:
from docx.opc.constants import RELATIONSHIP_TYPE as RT

for relId, rel in doc._part.rels.items():
	if rel.rel_type == RT.HYPERLINK:
		print(relId)
		print(rel._target)

On the actual runs/hyperlink elements, you'll need to access to r:id. The library doesn't have proxy for <w:hyperlink> implemented, so we can get a little janky with lxml/xpath and friends:
for para in doc.paragraphs:
	for link in para._element.xpath(".//w:hyperlink"):
		inner_run = link.xpath("w:r", namespaces=link.nsmap)[0]
		# print link text
		print(inner_run.text)
		# print link relationship id
		rId = link.get("{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id")
		print(rId)
		# print link URL
		print(doc._part.rels[rId]._target)

This code makes a bunch of assumptions:

Your hyperlink contains a single run that contains the link text you want
All your hyperlinks have r:id attribute. I think various internal links (like table of contents) don't have r:id, so you may need some error catching in that case

This functionality is added in v1.0.0 released circa Oct 1, 2023.
There are two approaches depending on whether you care about where the hyperlink is in the paragraph or not.
The simplest is this:
for paragraph in document.paragraphs:
    if not paragraph.hyperlinks:
        continue
    for hyperlink in paragraph.hyperlinks:
        print(hyperlink.address)

If you need to know where they fit in with the runs of the paragraph:
for paragraph in document.paragraphs:
    if not paragraph.hyperlinks:
        continue
    for item in paragraph.iter_inner_content():
        if isinstance(item, Run):
            ... do the run thing ...
        elif isinstance(item, Hyperlink):
            ... do the hyperlink thing ...


Handle cases where a binding is not defined in a scope

Fixes https://github.com/babel/preset-modules/issues/19
I'm not able to create a test for this, since I'm not sure exactly when it happens. I think it has to do with other plugins generating code. It's a relatively innocent addition though.

I updated the version of preset-env so that the optional chaining can be compiled. We could do it without optional chaining too of course.

What's the way forward here? Do we need more approvals? :)

I'd like an :heavy_check_mark: from @developit (who is the author of this repository) before merging.

I saw the note about preset-env that was added by https://github.com/babel/preset-modules/pull/17 and decided to try switching over from preset-modules to preset-env:
-          "@babel/preset-modules",
+          "@babel/preset-env",
           {
-            "loose": true
+            "loose": true,
+
+            // https://babeljs.io/docs/en/babel-preset-env#modules
+            "modules": false,
+
+            // https://babeljs.io/docs/en/babel-preset-env#bugfixes
+            "bugfixes": true,
+
+            "targets": {
+              "esmodules": true
+            },
+
+            "exclude": [
+              "transform-async-to-generator",
+              "transform-regenerator"
+            ]

Unfortunately, I ran into the error that this fixes. So I'm wondering if you would have time to publish a new version soon?
Also, since this is the only change I'm making, I'm actually a little surprised that it would trigger this error. Using preset-env 7.9.6 at the moment, so maybe something has improved in 7.10? If not, it seems that maybe there are some unaccounted differences between preset-env with esmodules targets and preset-modules that might be worth auditing. (Or maybe I botched the config in some way)

Hi @developit, the latest release of preset-modules was on Feb 10, i.e. before this fix got merged. When do you plan to publish a release with this fix?

My apologies, this slipped through the cracks. I'll get it out this week.

Published as 0.1.4.


WebUI System Notices does not show timestamp

Feature Description
First off, im not sure if this is a feature request or a bug.
Searched to see if this was reported/requests, but did not find any existing posts.
The "System Notices" section in the "Site Administration" section of the webGUI does not show timestamp, only date.
I think it would be helpfull to also show the time of the error occuring.
Screenshots

It now shows the full timestamp on click

Is that enough or would you like the full timestamp as part of the table?

The full timestamp is even shown on hover over the created date.
So, I think this can be closed.
Please wait for the release of 1.20.


Specify a MSRV

Adding a field for your Minimum Supported Rust Version can be handy for people who wish to package your application for a linux distribution.
The field name in your Cargo.toml file under the [package] section is rust-version.

Added in this commit using the cargo-msrv tool


make sizeof, alignof, offsetof and other type calculations available for use in constants

Currently, the standard library offers functions like size_of, but they are not available for use in constant expressions. It would be useful to be able to call such functions from constants, but it raises some interesting questions. For example:

only the backend can faithfully compute the size of a type, but sometimes the front-end may need to know the actual value of a constant to decide (e.g.) if two constants are equal. (Some of these issues also arise with associated constants.)
do we want keywords for these computations (like C), or should we try to adapt functions (perhaps via const fn)?
etc

Related RFCs and comments:

https://github.com/rust-lang/rfcs/pull/591 -- add sizeof, alignof, offsetof intrinsics, etc
This comment by @eddyb, which sketches out how associated constants and some compiler magic could be used instead of keywords.
https://github.com/rust-lang/rfcs/pull/1062 -- constants that depend on type parameters in generic code

For consistency, I'd be in favor of these being const fn instead of actual keywords.

There is a compromise we can make to avoid going the static structural reflection route:
Allow dereferencing raw pointers which were cast from an integer, and produce an internal AddressLvalue(addr) constant value, equivalent to *(addr as *const _) in an unsafe context.
Only operations which are arithmetic on addr are accepted, e.g. field access, indexing, .offset.
Taking a reference to such lvalue results in Ref(AddressLvalue(addr)), which can be coerced to *const T, producing addr as *const, which can, in turn, be cast back to an integer type to retrieve addr.
At the API "membrane" level, constants (global/associated/generic const and const fn arguments/returns, maybe excluding intrinsics) have to be pure, which means no AddressLvalue present anywhere in them, and the origin of raw pointers cannot be assumed to be a safe reference, nor an integer address, so both dereferencing and casting back to integers is disallowed at that point.
This is enough to implement the "traditional" offsetof macro, with the representation logic lifted up from trans/LLVM to rustc proper.

:+1: was just reminded that some of my code would really benefit from this.

In rust-lang/rust#32021, @huonw wrote

Unfortunately, the feature has some (possibly) surprising subtleties that make it trickier than one might hope.

I'm not sure what kind of subtleties are there in making mem::size_of (not size_of_val) a const fn. It doesn't involve any kind of AddressLvalue AFAICT.

@kennytm FWIW I was talking about offsetof.

For size_of and align_of, I'd like to see them as functions, not keywords.  offset_of seems like it requires a macro, to accept a field name.

Is there an issue with making these associated constants?
As an aside, I noticed the associated constants i16::MIN and i16::MAX are painful to access, while min_value() and max_value() remain easy.

Could be made accessible through a trait so you can be generic over integers with different reaches.

Is there any update on the status of offsetof? I would love to have access to it for the purpose of kernel internal linked lists.

would be great to have constant variant of mem::size_of_val() for macros that  allocate  byte-array on stack  depending on size of macro-parameter: see https://crates.io/crates/releasetag
right now compiler-plugin is required to request size of b-string during compile time.

I'd love an associated type and/or macro that provided a type-level type_of.  It would help track interface churn without without creating and importing numerous type aliases.  I've no compelling overly syntax suggestions but maybe :
enum Foo {
    Foo1(FooType),
}
struct AltFoo(type_of!<Foo::Foo1::0>, ..);

struct Bar { field: BarType }
struct AltBar { field: type_of!<Bar::field>, ... }

It's not as useful as say a ::LENGTH associated constant for fixed length arrays, or perhaps [S; size_of::<ArrayOfT>() / size_of::<T>], but still pretty handy.

@burdges We have the typeof keyword reserved for if and the compiler has "accidentally" grown an almost full implementation of it - in that it's not a hard problem in the design we're moving towards - the same design that can evaluate size_of even early on.
All of these features have been ready for an ah-hoc implementation for a few months, but someone needs to write the RFCs.

What do you mean with "someone needs to write the RFCs"? No such RFC for size_of/typeof existing so far?? Can you give me a short  sample, how the ad-hoc impl would be used practice?

@frehberg If a RFC has been done, it has been postponed. RFCs don't stay open waiting for the technology to arrive AFAIK. The functions would be ad-hoc in the compiler but they'd be used like at runtime - just some calls to std::mem::{size_of, align_of}.
typeof if trickier because you need to come up with the syntax for it, but say, typeof(f()) would get you the type returned by calling f with no arguments.
Type-checking can proceed just as it does in regular constants/functions, but the code would never be executed or required to obey e.g. constant-checking/borrow-checking rules.

size_of and align_of are const fn since a few months.

I'm going to close this issue, MIRI will be fully merged in rustc very soon and after that making specific functions or features constexpr is better tracked by separate issues in rust-lang/rust repo.

@petrochenkov did you open equivalent issues in rust-lang/rust after closing this one? I didn't find any in my cursory search. I'm happy to create them if not.

did you open equivalent issues in rust-lang/rust after closing this one?

No, I didn't, IIRC.
I'm not sure what here requires opening an issue given that sizeof/alignof are stable, and offsetof is an early phase RFC material.

I was actually interested in offsetof specifically, I wasn't sure if there was any development on that front yet.

Worth mentioning that I found this issue via a link from the original RFC discussion for adding offsetof, which suggested continuing the discussion here. If there's no other place currently tracking the addition of offsetof, I might at least make an issue in the RFCs repo here.

@bstrie
Some recent discussions:
https://internals.rust-lang.org/t/idea-pointer-to-field/10061
https://internals.rust-lang.org/t/pre-rfc-add-a-new-offset-of-macro-to-core-mem/9273
https://github.com/rust-lang/rfcs/pull/2708


Read only: No corresponding table column

System information:

Operating system (distribution) and version - MacOS 12.4
DBeaver version - 22.1.1
Additional extensions

Connection specification:

Database name and version - MariaDB 10.6
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)? SSH

Describe the problem you're observing:
This bug appears to have returned in some form in version 22.1.1. After adding several columns in one SQL editor, I switched to another editor and ran a "select * from table" query, and the columns came up as "Read only: no corresponding table column". After trying different things, I quit dBeaver and restarted and that fixed the issue.
Steps to reproduce, if exist:
Steps to reproduce:
ran the following queries in one editor:
ALTER TABLE mytable ADD latitude decimal(9,7) DEFAULT NULL AFTER zip_code;
ALTER TABLE mytableADD longitude decimal(10,7) DEFAULT NULL AFTER latitude;
ALTER TABLE mytable ADD geofence_radius decimal(6,2) DEFAULT 250 NULL AFTER longitude;
switch to second edior and run:
SELECT * from mytable order by id;
Include any warning/errors/backtraces from the logs

Hello, @rotorboy! Updating table in navigator should solve the problem. You need to click on the table or database in the navigator view and press F5 before executing select statement.
Does it help?

Elizabeth;
Humm.. right clicked on result set and refreshed, but didn’t think to right click on table/DB and refresh…will try that next time; or alternatively, DBeaver can auto-refresh after executing such “refreshable” commands...

On Jun 30, 2022, at 2:23 PM, Elizabeth @.***> wrote:
Hello, @rotorboy https://github.com/rotorboy! Updating table in navigator should solve the problem. You need to click on the table or database in the navigator view and press F5 before executing select statement.
Does it help?
—
Reply to this email directly, view it on GitHub https://github.com/dbeaver/dbeaver/issues/16928#issuecomment-1171538065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJ4HKDXP4AUZHN6QEQTDH3VRXQZDANCNFSM52JETP5Q.
You are receiving this because you were mentioned.

Refresh improvements will be done in the scope of #6398.
Close this issue as a duplicate.
Anyway, thanks for the report


bundle update stuck at resolve dependencies

Hi, I recently decided to update my ruby gems and bundler is stuck at resolving dependencies.
Here is my gem file :
source 'https://rubygems.org'

gem 'rails'
gem 'pg'
gem 'puma'
gem 'rack-cors', :require => 'rack/cors'

gem 'carrierwave'
gem 'carrierwave-base64'
gem 'carrierwave-i18n'
gem 'image_size'
gem 'froala-editor-sdk'
gem 'activerecord'
gem 'activerecord-import'

gem 'zip-zip'
gem 'rubyzip', '< 1.2.2'
gem 'axlsx', '~> 2.0'
gem 'axlsx_rails'

gem 'jwt'

group :development, :beta, :test do
  gem 'rspec-rails'
  gem 'rspec_junit_formatter'
  gem 'rubocop-rspec'
  gem 'factory_bot_rails'
  gem 'capybara'
  gem 'capybara-screenshot'
  gem 'selenium-webdriver'
  gem 'chromedriver-helper'
  gem 'poltergeist'
  gem 'webrick'
  gem 'tiny_tds'
end

group :development, :beta do
  gem 'listen'
  gem 'spring'
  gem 'spring-watcher-listen'
end

group :development do
  gem 'rb-readline'
  gem 'ruby-debug-ide'
  gem 'debase'
end

group :test do
  gem 'shoulda-matchers'
  gem 'cucumber-rails', require: false
  gem 'database_cleaner'
end

I read on forums i can use DEBUG-RESOLVER=1 but really not sure how to read this information and how to deal with it.
Thank you

Hi! I installed your Gemfile and was able to resolve the dependencies within a few seconds using Bundler 2.0.2
$ time bundle lock
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies......
Writing lockfile to Gemfile.lock

bundle lock  2.52s user 0.43s system 99% cpu 2.952 total

Is this still a problem? And can you paste the output from bundler env.

Hi, thank you for the response. I think i still use bundler 1.7.3 as there was a conflict keeping me from updating bundler.
I just did another "bundle update" and it worked with bundler 1.7.3.
Maybe one of the gem got updated in the last week and fixed the dependencies ?

I understand this is solved and so we can close this issue.


feat: If data migration from V1 is OK, remove old data

Now that migration seems to be OK from V1 (Android & iOS apps), we can remove all data.
This PR allows this behavior and will fix #2296
Two cases:

The previous migration was succesful -> will only remove content
No migration before -> will try to migrate + remove content

Codecov Report

Merging #2310 (0163c4a) into develop (2ea0da3) will decrease coverage by 1.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2310      +/-   ##
==========================================
- Coverage     8.86%   7.54%   -1.32%
==========================================
  Files          161     185      +24
  Lines         6623    9339    +2716
==========================================
+ Hits           587     705     +118
- Misses        6036    8634    +2598

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
60.00% <0.00%> (-22.98%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.47% <0.00%> (-18.74%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
26.47% <0.00%> (-4.96%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

packages/smooth_app/lib/main.dart
15.74% <0.00%> (-2.16%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

...smooth_app/lib/pages/product/new_product_page.dart
0.00% <0.00%> (-0.88%)
:arrow_down:

... and 174 more

Continue to review full report at Codecov.

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


Infinite searching for parameters.

Describe the bug
When searching the LZW45 for parameters, the system enters an infinite loop.  It cycles all parameters indefinitely, adding megabytes of text in the log every minute.  This could be a firmware issue on the LZW45, however the system should have a safeguard against this.
The bug is one or the other:

When an unknown parameter is met, the system restarts at parameter 1.  I don't know if this is true, but the logs indicate this might be the case.

or

If a device incorrectly tells the system that the next parameter is the first parameter, the system should not start over at the first parameter.

Here's a snippit of the area in the log:
07:12:30.304 CNTRLR Â» [Node 003] querying parameter #51 information...
07:12:30.307 DRIVER Â» [Node 003] [REQ] [SendData]
                      â”‚ transmit options: 0x25
                      â”‚ callback id:      78
                      â””â”€[ConfigurationCCPropertiesGet]
                          parameter #: 51
07:12:30.315 DRIVER Â« [RES] [SendData]
                        was sent: true
07:12:30.328 DRIVER Â« [REQ] [SendData]
                        callback id:     78
                        transmit status: OK
07:12:30.340 DRIVER Â« [Node 003] [REQ] [ApplicationCommand]
                      â””â”€[ConfigurationCCPropertiesReport]
                          parameter #:         51
                          next param #:        240
                          value size:          1
                          value format:        UnsignedInteger
                          min value:           0
                          max value:           1
                          default value:       1
                          alters capabilities: false
                          readonly:            false
                          advanced:            false
                          bulk support:        false
07:12:30.345 DRIVER Â» [Node 003] [REQ] [SendData]
                      â”‚ transmit options: 0x25
                      â”‚ callback id:      79
                      â””â”€[ConfigurationCCNameGet]
                          parameter #: 51
07:12:30.355 DRIVER Â« [RES] [SendData]
                        was sent: true
07:12:30.367 DRIVER Â« [REQ] [SendData]
                        callback id:     79
                        transmit status: OK
07:12:30.379 DRIVER Â« [Node 003] [REQ] [ApplicationCommand]
                      â””â”€[ConfigurationCCNameReport]
                          parameter #:       51
                          name:              Button Delay
                          reports to follow: 0
07:12:30.383 DRIVER Â» [Node 003] [REQ] [SendData]
                      â”‚ transmit options: 0x25
                      â”‚ callback id:      80
                      â””â”€[ConfigurationCCInfoGet]
                          parameter #: 51
07:12:30.391 DRIVER Â« [RES] [SendData]
                        was sent: true
07:12:30.404 DRIVER Â« [REQ] [SendData]
                        callback id:     80
                        transmit status: OK
07:12:30.416 DRIVER Â« [Node 003] [REQ] [ApplicationCommand]
                      â””â”€[ConfigurationCCInfoReport]
                          parameter #:       51
                          info:              Button Delay
                          reports to follow: 0
07:12:30.418 CNTRLR Â« [Node 003] received information for parameter #51:
                      parameter name:      Button Delay
                      value format:        UnsignedInteger
                      value size:          1 bytes
                      min value:           0
                      max value:           1
                      default value:       1
                      is read-only:        false
                      is advanced (UI):    false
                      has bulk support:    false
                      alters capabilities: false
07:12:30.419 CNTRLR Â» [Node 003] querying parameter #240 information...
07:12:30.422 DRIVER Â» [Node 003] [REQ] [SendData]
                      â”‚ transmit options: 0x25
                      â”‚ callback id:      81
                      â””â”€[ConfigurationCCPropertiesGet]
                          parameter #: 240
07:12:30.430 DRIVER Â« [RES] [SendData]
                        was sent: true
07:12:30.443 DRIVER Â« [REQ] [SendData]
                        callback id:     81
                        transmit status: OK
07:12:30.454 DRIVER Â« [Node 003] [REQ] [ApplicationCommand]
                      â””â”€[ConfigurationCCPropertiesReport]
                          parameter #:         240
                          next param #:        1
                          value size:          0
                          value format:        SignedInteger
                          alters capabilities: false
                          readonly:            false
                          advanced:            false
                          bulk support:        true
07:12:30.455 CNTRLR Â« [Node 003] Parameter #240 is unsupported. Next parameter: 1
07:12:30.456 CNTRLR Â» [Node 003] querying parameter #1 information...
07:12:30.459 DRIVER Â» [Node 003] [REQ] [SendData]
                      â”‚ transmit options: 0x25
                      â”‚ callback id:      82
                      â””â”€[ConfigurationCCPropertiesGet]
                          parameter #: 1
07:12:30.467 DRIVER Â« [RES] [SendData]
                        was sent: true
07:12:30.479 DRIVER Â« [REQ] [SendData]
                        callback id:     82
                        transmit status: OK
07:12:30.491 DRIVER Â« [Node 003] [REQ] [ApplicationCommand]
                      â””â”€[ConfigurationCCPropertiesReport]
                          parameter #:         1
                          next param #:        2
                          value size:          1
                          value format:        UnsignedInteger
                          min value:           0
                          max value:           130
                          default value:       0
                          alters capabilities: false
                          readonly:            false
                          advanced:            false
                          bulk support:        false
07:12:30.500 DRIVER Â» [Node 003] [REQ] [SendData]
                      â”‚ transmit options: 0x25
                      â”‚ callback id:      83
                      â””â”€[ConfigurationCCNameGet]
                          parameter #: 1
07:12:30.512 DRIVER Â« [RES] [SendData]
                        was sent: true
07:12:30.526 DRIVER Â« [REQ] [SendData]
                        callback id:     83
                        transmit status: OK
07:12:30.537 DRIVER Â« [Node 003] [REQ] [ApplicationCommand]
                      â””â”€[ConfigurationCCNameReport]
                          parameter #:       1
                          name:              Number of Pixels
                          reports to follow: 0
07:12:30.541 DRIVER Â» [Node 003] [REQ] [SendData]
                      â”‚ transmit options: 0x25
                      â”‚ callback id:      84
                      â””â”€[ConfigurationCCInfoGet]
                          parameter #: 1
07:12:30.549 DRIVER Â« [RES] [SendData]
                        was sent: true
07:12:30.562 DRIVER Â« [REQ] [SendData]
                        callback id:     84
                        transmit status: OK
07:12:30.575 DRIVER Â« [Node 003] [REQ] [ApplicationCommand]
                      â””â”€[ConfigurationCCInfoReport]
                          parameter #:       1
                          info:              Number of Pixels
                          reports to follow: 0
07:12:30.576 CNTRLR Â« [Node 003] received information for parameter #1:
                      parameter name:      Number of Pixels
                      value format:        UnsignedInteger
                      value size:          1 bytes
                      min value:           0
                      max value:           130
                      default value:       0
                      is read-only:        false
                      is advanced (UI):    false
                      has bulk support:    false
                      alters capabilities: false
[zwave-1628.log](https://github.com/zwave-js/node-zwave-js/files/5958052/zwave-1628.log)

Device information
Which device(s) is/are affected (make/model)?
LZW45, Possibly LZW36
What are the node IDs?
3 - LZW45.  I don't own an LZW36, but it seems like this has the issue as well.
Last Known Working Configuration

[x] New device

[ ] Previously working device (node-zwave-js)

Which library version/docker image/adapter version?
Have you made any recent configuration changes to the device? Describe.

[ ] Previously working device (other platform)

Which platform?
Have you made any recent configuration changes to the device? Describe.

Installation information
How did you install node-zwave-js?
I've verified this on all installations, so I'll check every box.

[ ] zwavejs2mqtt (latest) docker image
[ ] zwavejs2mqtt (dev) docker image
[ ] ioBroker.zwave2 adapter
[ ] Pkg
[] Manual Docker build

node-zwave-js branch:
zwavejs2mqtt branch:

[x] Manually built (as described in the docs)
[ ] Other:

To Reproduce
Start any zwave js network with an included LZW45.  Or include an LZW45 on your network.
Additional context
Add any other context about the problem here.
Logfile:
zwave-1628.log

Possible fixes:

Create a list of known parameters while searching, if we reach the same param twice, break.

Create a dictionary of parameters with a count for each parameter.  When the count of each one reaches 5, we know we are in an infinite loop, break

create a timeout for each node, something like 2 minutes.  (personally not in favor of this one)

Fix up at #1692. Instead of only checking for nextParam === 0, we now also check for next param < current param to stop the loop.

I'll update my stream tonight and give this a whirl.


Readiness checks: support TCP/Command

Right now, readiness checks supports only HTTP.
For non-HTTP processes it would be interesting to support the same feature as for healthchecks, meaning TCP and COMMAND methods.
I guess that it also implies some work on https://issues.apache.org/jira/browse/MESOS-6171 since these checks are specific to the executor and do not prevent the task to be considered as healthy from all points of view.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-4728. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Add Pragma enum instance for secure_delete pragma - fixes #289

Merged. Thanks for helping me to catch up with these new PRAGMAs :)


Custom Blocks Translations

Hello,
thank you for the plugin. However i have a problem. The Plugin isn't
translating custom blocks for me.
sections:
     main:
        width: 2/3
        fields:
          text:
            type: text
          blocks:
            type: blocks
            fieldsets:
              - heroBlock
              - sliderBlock
              - tableBlock
              - textBlock
              - interviewsBlock
              - tabsBlock
              - sponsorsBlock
      right:
        width: 1/3
        sections:
          contentTranslator:
            type: content-translator
            syncableFields:
              - text
              - blocks
            translatableFields:
              - text
              - blocks
            translatableBlocks:
              heroBlock:
                - preheadline
                - headline
                - text

But when i click on translate, the fields are not translated.
Thank you in advance for your help.

Can be closed. I don't know why but the reason was that i name the blocks like heroBlock, faqBlock etc. when i name it hero or faq, it works.


Update README to reflect new changes of the monorepo structure.

Update auro-form README to document new changes as they relate to the monorepo structure of the repository.

Waiting for PR #19 to be merged to get a clear view of the updated monorepo structure. Will write documentation after that to ensure accuracy and consistency.


If the blacklist app is enabled mark rotated refresh tokens as outstanding

The token blacklisting itself works without this (the OutstandingToken
object will be created when adding a token to the blacklist), but the list
of outstanding tokens would very quickly get out of date in the presence of
refresh token rotation, and be unusable for any other purpose (for example
being able to tell which users have valid outstanding tokens).

Just came across this because I believe I have the same issue. When a token is initially created, it is added to the OutstandingToken table. However, when that same token is refreshed, the new refresh token isn't added to the new OutstandingToken table, causing it to then be rejected when there is an attempt to use it to refresh.
Is that right @vainu-arto?

Just came across this because I believe I have the same issue. When a token is initially created, it is added to the OutstandingToken table. However, when that same token is refreshed, the new refresh token isn't added to the new OutstandingToken table, causing it to then be rejected when there is an attempt to use it to refresh.

In my case refreshing tokens succeeds. At least the version of this lib I'm running doesn't require that the token exists in OutstandingToken before allowing it to be refreshed.


HELP! remove - Build your first Word task pane add-in

I used https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/word-quickstart?tabs=visualstudio to create my first add-in.  Now, I can't seem to make it stop.  Every time I open up a Word Doc, I have "This text was added by using code.This text was added by using code.This text was added by using code." across the page.
The add-in is not on my add-in list in the Developer tab.  Microsoft's only answer was to completely uninstall Office and reinstall.  That seems kind of burn the whole house down to me.  Does anyone have any suggestions on how to stop this?

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

ID: 77e380a7-6e2e-ada8-d297-3fd5018a1958
Version Independent ID: f23490e8-6eeb-f2d5-6c94-69e3c9ed83f4
Content: Build your first Word task pane add-in - Office Add-ins
Content Source: docs/quickstarts/word-quickstart.md
Product: word
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

It sounds like your server is still running on localhost. Did you use Visual Studio or Visual Studio Code?

I just now saw the response above.  I used, I THINK Visual Studio, not code.  All new blank documents now create with those lines on them.

@Kindyr In addition to @Rick-Kirkham's comment, can you try clearing the cache?
Thanks.

Where would I go to remove the cache for this or to turn off the localhost to stop the server running?  I've rebooted this machine dozens of times since removing the add-in and there is still lines from teh add-in on every new document.

@Kindyr For guidance on how to clear the cache, take a look at this article: https://docs.microsoft.com/office/dev/add-ins/testing/clear-cache.
Thanks.

Cleared that folder, rebooted, still getting the add-in line.

@Kindyr Thanks for trying these out and getting back to us.
@Rick-Kirkham Any other suggestions?
Thanks.

I keep forgetting the issue is there since most of the documents I work with are not created by me, so the line isn't on there when I open them.  I have this feeling it is something SUPER simple that someone who knows more about add-ins could just look at my computer and go "Oh, this is what's wrong", click three times and fix it.

@Kindyr In that case, it may help for you to respond with a short video or screenshots.

What would you like screenshots of?  I am happy to provide them, but my smartarse thought, "A screenshot of a blank Word doc with just a few lines of text aren't' going to help too much, she must want real things."
Let's see.. the top of the doc:

I'm not sure if the png will show.  Will look and see after I hit comment.

Using this document, Browsers used by Office Web Add-ins, which browser is being used? Can you clear the browser's cache and see if that helps?

Looks like most likely Edge. Let me go test.

That didn't seem to help. I cleared cookies and browsing history et cetera.

I'm going to move this to the office-js repo since its not really a doc issue.
@sumurthy This is a variation of a phenomenon that we've seen before. In the other cases, the developer could not clear out old code. The developer would clear the browser cache, clear the Office cache, and even reboot the machine and the old version of the JavaScript in the add-in would still run when the developer launched the add-in. In this user's case, the add-in is actually running when he creates a new blank document.
The fact that the problem survives even a reboot makes me think that the code is not just cached, but actually persisted on disk somewhere, and it is not being persisted in the Office or browser caches. Can you help find someone on the team who can find where Office persists add-in code?


Honor use_orig with videos

So far use_orig is totally ignored for the case of videos.
But giving that lot of times we have a big amount of videos that we don't want to process because it is expensive, or they are already web-friendly.
This set of commits makes use_orig to be respected in case of videos.
I was doubting between following this, or adding a new video_use_orig (and video_orig_link). But at the end I decided to use the same property for both cases.

Thanks for this PR, it is indeed something that was missing (as other feature like mp4/multiple format support).

Hi @jasuarez ,
I'm thinking about releasing a new version, any chance to get this in it ?

i'm bit busy these weeks, but I'll try to address your comments this weekend

@saimn Re-created the PR addressing your comments, plus rebasing against latest master.

Thanks @jasuarez ! Could you just revert the change in test_video as it should no more be necessary ?

Also please add yourself to AUTHORS ;)

@saimn I need to push the change in test_video because otherwise I'm breaking the tests.

Thanks, merged in 2f90da571361d588eb6b502e5aff37fd7d6fdc53

I need to push the change in test_video because otherwise I'm breaking the tests.
No, before all tests shared the settings dict, but since a recent change on master there is a settings doct for each test.


newbie help

i saw this project while looking for spoofing in pogo isa thisa app working ? if yes how to install guide please i,m nt a techie

I saw this a mins ago ,I'm interested I needed guide on how to use


New Dropbox OAuth requires scoped access

Describe the bug
Dropbox changed their permissions settings to now require all permissions to have scoped access (whether to the full Dropbox account or just one folder). The new API is here: https://www.dropbox.com/developers/documentation
When I try to upload and then read from an item, this is the error I see:
GuzzleHttp\Exception\ClientException: Client error: `POST https://api.dropboxapi.com/2/files/get_temporary_link` resulted in a `401 Unauthorized` response:
{"error_summary": "missing_scope/", "error": {".tag": "missing_scope", "required_scope": "files.content.read"}}

To Reproduce
Steps to reproduce the behavior:

Set Dropbox as the backend
Upload an item
Navigate to 'Items'
See error

Expected behavior
Initially the screen just displayed "Omeka S encountered an error", and I enabled development mode to see the error.
Desktop (please complete the following information):

OS: Ubuntu 20.04
Version 2.1.2

Thank you for your work! My plan for a workaround is to use the legacy v2 permissions. Technically it's deprecated but Dropbox is still offering it as a solution

I think the latest versions have fixed this problem. I'll keep this open for a bit but will close if I don't hear otherwise.


[Feature Request] Media converting

Hello,
First of all, thank you for being so responsive and keeping improving this package.
This is the best package for image selection for who uses Expo to build apps.
Thank you for adding the selection limit. :)
I have been running some tests with this package and others and I notice there is one thing that can be improved.
When a user selects a really big picture (let's say a picture of 108MP) with more than 20MB, I believe there should be option to convert the picture to a specific format (PNG, JPG) and respective quality to reduce the file size to the minimum possible while retaining the quality. There could be a set of options to define the final output size.
This is specially important because while uploading images for a server, besides occupies a lot of storage and increase the costs, makes the user experience more poor by taking additional time to upload the images.
I believe once you implement the feature above, this package is now covering all the use cases 👍
Good luck and keep doing the great job you are doing!

Hi
Thanks for the feedback!
Is a good idea, meanwhile the picker returns the local URI of the image. I think if you want optimize the image, you need fetch the images first and after process them before upload to server
Probably the only thing what i can do is optimize the render of the image for better user experience

Hi! what's up

Hi there,
Sorry the delay, I have been really busy with my job.
I've been thinking how to tackle the problem I mentioned above, and I think I found a easy solution that requires an external library from Expo.
Here is the implementation I did to reduce the size of the images:
`import { manipulateAsync, SaveFormat } from "expo-image-manipulator";
const handleOnSavePressed = async (assets) => {
//takes id and uri from the original array and creates a new one
setPictures(assets);
//convert assets uri to smaller size and return another uri
const picturesMap = await Promise.all(
  pictures.map(async ({ id, uri }) => {
    console.log(id, uri);
    const resizedUri = await manipulateAsync(
      uri, //original uri from assets
      [{ resize: { width: 500 } }], //resize to 500px width
      { compress: 0.5, format: SaveFormat.JPEG }
    ); //compress to 50% and save as jpeg
    return {
      id,
      uri: resizedUri.uri, //new uri
    };
  })
);

`
Hope it helps :)


SA1119 Suggests to eliminate meaningful parentheses in pattern

The following code:
    !(item is null) && SomePredicate(item.Property)

triggers SA1119 with the proposed change:
    !item is null && SomePredicate(item.Property)

which is has the wrong semantics.
SA1119 should not trigger in this case.

❓ What version of StyleCop Analyzers are you using? I would expect this to be fixed along with #2372 for release 1.1.0-beta004.

Updating to release 1.1.0-beta004 removes StyleCop from the available analyzers. How do I set it up?

What version of Visual Studio are you using? 1.1.x require Visual Studio 2015 Update 2.

Community 2017 15.3.3

Thanks. Can you try this?

Uninstall StyleCop Analyzers
Save everything and close Visual Studio
Open Visual Studio again, install StyleCop Analyzers 1.1.0-beta004
Save everything and restart Visual Studio again

See if we can't "kick it back into working order"

Weird heinsenbug. Had already tried, but know it worked.
All is in working order. Thank you very much.


Fixing the gradient for cyclic ranges

The gradient operation wraps the gradient when the input has a cyclic range see #238

I've made one comment but other than that, this PR looks fine to me.

Jean-Luc's suggestion sounds good.  The code looks good to me, but it sure would be nice to see test cases. :-)

I just did some test, there are some fundamental problems. I prefer that if a gradient is zero, it should stay zero, no matter what wrapping is done!

Zero gradient stays zero, and small steps are preferred above large ones.

Do we think this is now ready to merge?

This PR makes that the gradient operator works again, and is ready to merge. Extra tweaks should be proposed in additional PRs.

Looks fine to me. Happy to merge.


SRAM Simulation Codes

Hi, I was simulating my design and I realized there might be a mismatch between verilog simulation code and the description in OpenRAM paper.

According to this figure, read and write data are available one cycle after the operation, like most of the synchronous RAMs do.

In verilog simulation, read data is available two cycles after the read. I think the last always block below causes this in verilog code.
  // All inputs are registers
  always @(posedge clk0)
  begin
    csb0_reg = csb0;
    web0_reg = web0;
    wmask0_reg = wmask0;
    addr0_reg = addr0;
    din0_reg = din0;
    #(T_HOLD) dout0 = 32'bx;
    if ( !csb0_reg && web0_reg && VERBOSE )
      $display($time," Reading %m addr0=%b dout0=%b",addr0_reg,mem[addr0_reg]);
    if ( !csb0_reg && !web0_reg && VERBOSE )
      $display($time," Writing %m addr0=%b din0=%b wmask0=%b",addr0_reg,din0_reg,wmask0_reg);
  end

  // Memory Write Block Port 0
  // Write Operation : When web0 = 0, csb0 = 0
  always @ (negedge clk0)
  begin : MEM_WRITE0
    if ( !csb0_reg && !web0_reg ) begin
        if (wmask0_reg[0])
                mem[addr0_reg][7:0] = din0_reg[7:0];
        if (wmask0_reg[1])
                mem[addr0_reg][15:8] = din0_reg[15:8];
        if (wmask0_reg[2])
                mem[addr0_reg][23:16] = din0_reg[23:16];
        if (wmask0_reg[3])
                mem[addr0_reg][31:24] = din0_reg[31:24];
    end
  end

  // Memory Read Block Port 0
  // Read Operation : When web0 = 1, csb0 = 0
  always @ (negedge clk0)
  begin : MEM_READ0
    if (!csb0_reg && web0_reg)
       dout0 <= #(DELAY) mem[addr0_reg]; // THE ISSUE IS HERE!!!
  end

I think unblocking assignment causes the simulation to wait an additional cycle which causes a mismatch. I am probably missing something, maybe not driving some signals properly, but I need to use SRAM macros like described in OpenRAM paper. How can I fix this?

The paper is outdated and we don't have a way to update it since it was published. Please look at the documentation presentation in the README.md which should be more up to date.
The simulation model is accurate to the expected behavior.

Also, it is available at the end of a cycle, not "two cycles"... It uses the second half for the operation, so it requires two edges but not cycles.

In the documentation, at the first positive edge csb is low, at the next positive edge the data is fetched. It really requires two edges. But in the simulation, at the first positive edge csb is low, at the next positive edge there is no data, the data is fetched a positive edge later. Thus I said "two cycles". So I still think something is wrong with my simulation.

You need the csb, web, address, and data asserted before the positive edge.
In your simulation it is at the positive edge which will result in a
Verilog race condition. In this case, it doesn't receive it before the
edge. Hope that helps.
Matt
On Tue, May 31, 2022, 16:06 BYCakar @.***> wrote:

In the documentation, at the first positive edge csb is low, at the next
positive edge the data is fetched. It really requires two edges. But in the
simulation, at the first positive edge csb is low, at the next positive
edge there is no data, the data is fetched a positive edge later. Thus I
said "two cycles". So I still think something is wrong with my simulation.
—
Reply to this email directly, view it on GitHub
https://github.com/VLSIDA/OpenRAM/issues/144#issuecomment-1142718976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC67SLYIQJWSZVORUOYXXHTVM2LPPANCNFSM5XO4ANDA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Charting Component

[ ] validate props
[ ]  add tests

[ ] add a dev only page that shows various applications of chart as simple e2e test
[ ] unit test and integration test

[ ] break it down, modularize, and refactor

[ ] handle errors better than just throw a string

[ ] if plottable is not reviewing pull request fast enough, publish forked plottable to npm and use that instead
[ ] there are multiple places on update where we need to decide if passing null/undefined serves as removal or noop
[ ] add tickGenerator for scales
[ ] add render to canvas option for supported plots
[ ] calculate dataset color using fill/stroke for different type of plots
[ ] add tooltip
[ ] auto populate domain/range for legend's colorscale given a PlotGroup
[ ] better comparison on updates to improve performance
[ ] detach/destroy components/listeners on componentWillUnmount

currently have a minimal working component at #66 and an application #67

I will review the PR this weekend, need to kill some issues and features planned before. In case this is not reviewed and merge, we talk again on Monday.


Improve advanced configuration example in README.md

I fixed the syntax of the example configuration given in the "Advanced Configuration" section in the README.md. Also I added a comment that clarifies that the name of the non-default clients in clientConfigs is arbitrary.
Maybe there should also be an example that shows how to access the non-default clients. When I started using apollo-module I had to find out by trial-and-error. Tell me, if I should add it to this PR.
Cheers :v:

Just wanted to say, that this isn't meant as spam. Seeing all those spam PRs during Hacktober is sad. Just wanted to make the example more understandable, however I am okay if you mark this one as invalid.
Sorry for the inconvinience.

thanks


Azure Web App deploy fails, Error Code: ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER

Environment: VSTS

Account: digitalsolutionsllc

Project: Quanta

Build Def: QuantaWebAPI_Dev_BuildDefinition

Build Number: 877

Agent - Hosted VS2017

Issue Description
Receiving intermediate deployment failures from Azure App Service Deploy, revolving around deleting a file "dotnete-aspnet-codegeneratore-design.exe".
I'm using  version 3.*, and I have enabled the following:
-"Take app Offline"

Publihs using Web Deploy
Remove additional files at destination
Exclude files from App_Data folder
Rename locked files

"Remove additional files at destination" was enabled because of migrating from .Net Core 1.0 to 2.0 resulted in a process failure without first cleaning the directory.
Shutting down the Web App allows the tasks to complete.
I also have the "MSDEPLOY_RENAME_LOCKED_FILES = 1" app setting configured on this Azure Web app.
Error logs
2018-02-01T20:27:12.4010464Z ##[section]Starting: Azure App Service Deploy: QuantaWebAPI
2018-02-01T20:27:12.4024281Z ==============================================================================
2018-02-01T20:27:12.4024820Z Task         : Azure App Service Deploy
2018-02-01T20:27:12.4025425Z Description  : Update Azure WebApp Services On Windows, Web App On Linux with built-in images or docker containers, ASP.NET, .NET Core, PHP, Python or Node based Web applications, Function Apps, Mobile Apps, Api applications, Web Jobs using Web Deploy / Kudu REST APIs
2018-02-01T20:27:12.4026011Z Version      : 3.3.32
2018-02-01T20:27:12.4026348Z Author       : Microsoft Corporation
2018-02-01T20:27:12.4026736Z Help         : [More Information](https://aka.ms/azurermwebdeployreadme)
2018-02-01T20:27:12.4027149Z ==============================================================================
2018-02-01T20:27:15.0309618Z Got connection details for Azure App Service:'QuantaWebAPI'
2018-02-01T20:27:15.4392326Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='d:\a\1\a\Quanta.API.zip' -dest:auto,ComputerName='https://******.scm.azurewebsites.net:443/msdeploy.axd?site=QuantaWebAPI',UserName='********',Password='********',AuthType='Basic' -setParam:name='IIS Web Application Name',value='QuantaWebAPI' -enableRule:AppOffline -skip:Directory=App_Data -userAgent:VSTS_b78395c7-912b-46e3-88c3-d6d71fc3cbe4_build_12_875
2018-02-01T20:27:16.3598343Z Info: Using ID '1a29e029-b84c-463f-95a5-6c33bb4060a4' for connections to the remote server.
2018-02-01T20:27:18.5279202Z Info: Object dirPath (QuantaWebAPI\App_Data) skipped due to skip directive 'CommandLineSkipDirective 1'.
2018-02-01T20:27:18.5280470Z Info: Deleting file (QuantaWebAPI\Quanta.ReportingAPI\dotnet-aspnet-codegenerator-design.exe).
2018-02-01T20:27:18.6031615Z ##[error]Failed to deploy web package to App Service.
2018-02-01T20:27:18.6035151Z ##[warning]Try to deploy app service again with Take application offline option selected.
2018-02-01T20:27:18.6041846Z ##[error]Error Code: ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER
More Information: Unable to perform the operation ("Delete File")  for the specified directory ("D:\home\site\wwwroot\Quanta.ReportingAPI\dotnet-aspnet-codegenerator-design.exe"). This can occur if the server administrator has not authorized this operation for the user credentials you are using.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER.
Error: The error code was 0x80070005.
Error: Access to the path 'D:\home\site\wwwroot\Quanta.ReportingAPI\dotnet-aspnet-codegenerator-design.exe' is denied.
   at Microsoft.Web.Deployment.NativeMethods.RaiseIOExceptionFromErrorCode(Win32ErrorCode errorCode, String maybeFullPath)
   at Microsoft.Web.Deployment.FileEx.Delete(String path)
   at Microsoft.Web.Deployment.FilePathProviderBase.Delete(Boolean whatIf)
Error count: 1.

2018-02-01T20:27:18.6046312Z ##[error]Error: C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code:<PHONE_NUMBER>
2018-02-01T20:27:19.2184426Z Adding release annotation for the Application Insights resource 'Quanta.Api.Insight.Dev'
2018-02-01T20:27:20.5718309Z Successfully added release annotation to the Application Insight : Quanta.Api.Insight.Dev
2018-02-01T20:27:21.9273552Z Successfully updated deployment History at https://quantawebapi-dev.scm.azurewebsites.net/api/deployments/8751517516840572
2018-02-01T20:27:21.9383299Z ##[section]Finishing: Azure App Service Deploy: QuantaWebAPI

``

Thanks

@elmalakai , Can you please try the steps provided here to find out the reason behind locked file?

@elmalakai , closing the issue. Feel free to re-open the thread or create a new one, if the link provided above doesn't solve the issue.


Introduce date property filtering function

Draft PR to support property filtering for date properties.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #12 (3b54ed1) into main (3286ac7) will decrease coverage by 7.16%.
The diff coverage is 71.08%.

:exclamation: Current head 3b54ed1 differs from pull request most recent head 2417005. Consider uploading reports for the commit 2417005 to get more accurate results

@@             Coverage Diff             @@
##              main      #12      +/-   ##
===========================================
- Coverage   100.00%   92.83%   -7.17%
===========================================
  Files           10       12       +2
  Lines          256      335      +79
  Branches        92      125      +33
===========================================
+ Hits           256      311      +55
- Misses           0       24      +24

Impacted Files
Coverage Δ

src/property-filter-functions.ts
0.00% <0.00%> (ø)

src/operations/date-utils.ts
73.01% <73.01%> (ø)

src/operations/property-filter.ts
96.96% <77.77%> (-3.04%)
:arrow_down:

src/operations.ts
100.00% <100.00%> (ø)

src/operations/index.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Closed in favour of https://github.com/cloudscape-design/collection-hooks/pull/18


[BUG] [Dev Setup] Assertion failure while restoring an index from a remote store

Describe the bug
While restoring an index from remote store, following exception is thrown.
» Exception in thread "Attach Listener" Agent failed to start!
»  fatal error in thread [opensearch[runTask-0][clusterManagerService#updateTask][T#1]], exiting
»  java.lang.AssertionError: remote store recovery [r22xEsBpRZeDFT6ZK-N1KA]
»       at org.opensearch.cluster.routing.allocation.IndexMetadataUpdater.updateInSyncAllocations(IndexMetadataUpdater.java:205)
»       at org.opensearch.cluster.routing.allocation.IndexMetadataUpdater.applyChanges(IndexMetadataUpdater.java:145)
»       at org.opensearch.cluster.routing.allocation.RoutingAllocation.updateMetadataWithRoutingChanges(RoutingAllocation.java:269)
»       at org.opensearch.cluster.routing.allocation.AllocationService.buildResult(AllocationService.java:178)
»       at org.opensearch.cluster.routing.allocation.AllocationService.buildResultAndLogHealthChange(AllocationService.java:167)
»       at org.opensearch.cluster.routing.allocation.AllocationService.reroute(AllocationService.java:511)
»       at org.opensearch.snapshots.RestoreService$1.execute(RestoreService.java:277)
»       at org.opensearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:65)
»       at org.opensearch.cluster.service.MasterService.executeTasks(MasterService.java:867)
»       at org.opensearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:424)
»       at org.opensearch.cluster.service.MasterService.runTasks(MasterService.java:295)
»       at org.opensearch.cluster.service.MasterService$Batcher.run(MasterService.java:206)
»       at org.opensearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:190)
»       at org.opensearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:228)
»       at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:747)
»       at org.opensearch.common.util.concurrent.PrioritizedOpenSearchThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedOpenSearchThreadPoolExecutor.java:282)
»       at org.opensearch.common.util.concurrent.PrioritizedOpenSearchThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedOpenSearchThreadPoolExecutor.java:245)
»       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
»       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
»       at java.base/java.lang.Thread.run(Thread.java:829)

Assert statement which leads to exeception
assert recoverySource instanceof RecoverySource.SnapshotRecoverySource : recoverySource;

To Reproduce
Steps to reproduce the behavior:

Follow this guide to create an index with remote store enabled - https://opensearch.org/docs/latest/opensearch/remote
When you restore the index from remote store, you get the above exception

Expected behavior
No exception should be raised and index restore should be successful.

From initial analysis, the instance of recoverySource is of type RemoteStoreRecoverySource, we should be able to fix this just by adding a OR condition for RemoteStoreRecoverySource in the assert.

Thanks @linuxpi for reporting this.

Fixed as part of https://github.com/opensearch-project/OpenSearch/pull/6067