usePaginatedQuery sometimes returns status = loading, data = undefined after initial query

I'm updating our app to 1.x, and I've noticed an issue with usePaginatedQuery.  I'm using it within the context of a filter, as you type it re-queries, however if I really go at it on my keyboard, sometimes I get a blip of status = loading. I was able to make it disappear by adding the following check:
if (typeof latestData !== 'undefined' && status === 'success') {
  lastDataRef.current = latestData;
}

at
https://github.com/tannerlinsley/react-query/blob/b1b9ddc4961f029837ffc7b3c19af13ea3f040e1/src/usePaginatedQuery.js#L23-L25
I don't have much insight into the lib, but maybe this could help

Would you be able to show me this error in a codesandbox setup? That will help me make sure we're solving the problem in the right place.

I've setup a very minimal example here: https://codesandbox.io/s/react-queryissues169-9i7t9
It seems as if I trigger 2 uncached queries within the 1000ms window, the status returns to loading

Released!


Override advisory state with state in state change message

When an ErrataAdvisoryStateChangedEvent is generated from an advisory
state change message, override the advisory state with new state in
message. This is because when there is message delay, a message of
advisory state change to other states (QE, REL_PREP, PUSH_READY) can
arrived after an advisory has already been shipped, and rebuilds can
be triggered for multiple times.
For example, there is an advisory 101, and its state was changed as
following:

10:10:58: NEW_FILES -> QE, message A sent
10:39:52: QE -> REL_PREP, message B sent
10:45:07: REL_PREP -> PUSH_READY, message C sent
10:46:22: PUSH_READY -> IN_PUSH, message D sent
11:15:11: IN_PUSH -> SHIPPED_LIVE, message E sent

But there is something wrong on messaging, Freshmaker received the
first message A at 12:38:02, and it checked advisory state in Errata,
because at this moment, advisory 101 has been moved to "SHIPPED_LIVE",
message A will trigger image rebuilds, the other 4 messages received
after message A will also trigger rebuilds.

@qixiang I think this would conflict with the HANDLER_BUILD_ALLOWLIST configuration where you can set advisory_state as a filter. Perhaps the is_allowed method could use the state from the message rather than checking the advisory state directly.

You're right, I updated patch to override advisory state with the state in message, this only applies to freshmaker/parsers/errata/state_change.py, so other state change messages (which are not to "SHIPPED_LVIE") will not generate the faked ErrataAdvisoryRPMsSignedEvent. I didn't change is_allowed because events can be generated from other messages which doesn't include advisory state.


Allow for multiple networks in the update launch configuration GUI

The update launch configuration GUI also does not allow for specifying more than one network, despite the fact that the autoscale API does support multiple networks. Our customers often need to specify a private network when using autoscaling, often for back-end traffic between application servers in an AS group.
Would it be possible to modify the pitchfork GUI in a way such that it would allow the input of multiple networks in the update launch configuration API call?
thanks
j

This following has been added in PR #62 This affects the following calls, and has been deployed to production.
Autoscale - Create Group config
Autoscale - Replace Launch Config
Autoscale - Replace Launch Config (BFV)
Servers - Create Server
Servers - Create Server (BFV)
This does not solve groups of fields i.e. metadata, but I am looking into it to see what can be done to complete it. Will reopen Issue #8 as it is pertaining to a group of fields instead of a single field.


using pparams consistently with byron spec

The PR aims to get consistency between the two Byron Specs and the Shelley spec in how protocol parameters are handled. It's pretty minimal.

Instead of defining PParams as a new abstract type, we now reference the Byron ledger spec, so that the type is PPm |-> Value.
The section on protocol parameters now includes all the Byron parameters. I renamed two of the Shelley parameters so that they would match Byron: maxBHSize is now maxHeaderSize, and maxBBSize is now maxBlockSize.
The Shelley spec now computes the min fee like Byron, in terms of the two parameters a and b.
The protocol parameters table got too big, so I split off the helper functions off into their own table.

One thing to note is that I did not change the style of using the protocol parameters. In the Byron ledger spec, two styles are used: accessor style like foo pps is used in Figure 3 of the Byron ledger spec, and map predicates like foo |-> bar in pps are used elsewhere. I like the flexibility of being able to use either! The Shelley spec is written in the first style, and so I kept it this way.
closes #443
closes #102

@dnadales I updated the notation section in Byron to make clear the partial function notation. And then copied that description for Shelley. I also renamed "fibre" in Byron to "inverse image" (that's a change I made a while back for Shelley).


fix(sdk): do not attempt to update run telemetry in disabled mode

Description

Fixes #8157, #8112
In disabled mode, do not attempt updating the run telemetry.

[x] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?

Nothing in your changes explains why the _telemetry_obj attribute might not be present. I would at least leave a small comment there that the check is necessary as telemetry is not available when wandb is disabled.


feat: use hop in visual mode

An important feature (to me) of hop.nvim is it support be used in visual mode:
Use it with commands like v, d, c, y to visually select/delete/change/yank up to your new cursor position.

But the current map only support normal mode.
Weird thing is simply changing it to
["nv|<leader>w"] = map_cu("HopWord"):with_noremap():with_desc("jump: Goto word")

does not work.

https://github.com/ayamir/nvimdots/blob/505b25f97f9c2a2ea9e634a8c269360a6f40c528/lua/keymap/bind.lua#L55


Deployment (32%)

Deployment

Application deployed at live URL.
Application loads with no errors.
Application GitHub URL submitted.
GitHub repository that contains application code.

Hi @danrcross  I would like to know more about your issue. Is it solved or still existing.

This has been deployed!


[BLOCKED by 992] Create store finder e2e test

Test Store Finder button
Click on the “store finder icon” -> Land on “Find a store” page

Test search store
Search “Tokyo”, click on “Find Stores button”

Verify results:
1-10 from 49 stores found
First store highlighted
First store is Sapporo Sheraton Sapporo Hotel
Store image & address listed (where applicable)
A google map displayed (where applicable)
Store hours displayed
Store feature displayed

Test Pagination on the search result
Click on Next , Next, Previous

Test selecting other stores from the list

Test searching for other location, for eg “New York” and click on the “search button”

@wishfulthinkerme are you sure all of the tests in the ticket description are implemented?

Looks like we're blocked because the Walkers changed 2 endpoints
count to storescount
the other was....
this works on newer servers but modelt is out of date.

Issues found while working on e2e tests:

we no longer have a link to store finder in header (access only by url)
search returns the same results every time (#1372)
on mobile there is pagination under map view

Previous tests requirements:

[ ] 1-10 from 49 stores found (no such information on page)
[x] 20 results found (pagination set to 20 stores per page)
[ ] First store highlighted (store is not highlighted)
[x] First store is Sapporo Sheraton Sapporo Hotel (store changed)
[x] Store image & address listed (where applicable) (we don't display images)
[x] A google map displayed (where applicable)
[x] Store hours displayed (test disabled, because of outdated modelt server)
[x] Store feature displayed (test disabled, because of outdated modelt server)
[x] Test Pagination on the search result (next, previous, by number)
[x] Test selecting other stores from the list
[ ] Test searching for other location, for eg “New York” and click on the “search button” (search returns always the same list)

@Xymmer can you take a look at the above checkboxes - some of the functionalities are not there or are blocked and we don't really know if we should implement the tests or go without them

we agreed to move the 3 unfinished tests to next phase of storefinder work (styling update, bug fixes) (FR2)


Error install typing

Hi
I am having issues installing typing, I am behind a firewall and I am using ccproxy to get through it, this is the error:

typings install

typings ERR! message Unable to connect to "http://api.typings.org/entries/dt/core-js/tags/0.0.0%2B20160317120654"
typings ERR! caused by getaddrinfo ENOTFOUND api.typings.org api.typings.org:80
typings ERR! cwd C:\adobe\order-capture-aem\frontend
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\Program Files\nodejs\node.exe" "C:\adobe\order-capture-aem\frontend\node_modules\typings\dist\bin.js" "install"
typings ERR! node -v v4.4.1
typings ERR! typings -v 0.8.1
typings ERR! code EUNAVAILABLE
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.4.1
npm ERR! npm  v2.14.20
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: typings install
npm ERR! Exit status 1
any help would be greatly appreciated

Please upgrade to latest typings and try again. Likely your typings.json and typings version does not match.

Although it also can be other issues as you can't get to api.typings.org

Thanks for that, I have checked my local -typing version is 1.3.1, so I have changed my package.json to "typings":"^1.3.1", and npm install is looking good, but when I do a npm start, I have errors like:
node_modules/@angular/common/src/facade/lang.d.ts(5,17): error TS2304: Cannot find name 'Set'.
node_modules/@angular/common/src/facade/lang.d.ts(70,59): error TS2304: Cannot find name 'Map'.
node_modules/@angular/common/src/facade/promise.d.ts(2,14): error TS2304: Cannot find name 'Promise'.
I tried to do typings install --ambient --save es6-shim but it did not work for me.
I have checked my team, they typing versions are old which is 0.8.1, so I am kind of inclined to installed an old version of of typing, but not too sure how to revert to an old version? I kind of downloaded typings-0.8.1.zip but there is no executables for installation?

If you want 0.8.1 back, you can just npm i -D<EMAIL_ADDRESS>

Cheers mate, I reverted typing to 0.8.1 and install would not proceed again. so I am back to to 1.3.1 trying to resolve the issue of missing Set, Map, and Promise

Can you try again with 1.3.2? There might be a package without specifying package.json/main that causes this.

I tried to do typings install --ambient --save es6-shim but it did not work for me.

by the way, it should be typings install --global --save es6-shim

Also, when you install 1.3.2, you need to re-install the global typings. the typings.json format has changed in 1.0.
See https://github.com/typings/typings#updating-from-0x-to-10

Once it works for you, then ask your teammate to upgrade to the latest typings :smile:

thanks so my, this works like a charm!

You are welcome


Overflow when Fullscreen Window

What version of Windows are you running?

What version of Windows are you running? Sorry for the late reply.

11

What's the OS build number? You can find the build number in Settings > System > About, under "OS build".

What's the OS build number? You can find the build number in Settings > System > About, under "OS build".

Hm, 22000.1042 surprisingly does not support system backdrop types. The Mica effect was available since 22000 through an undocumented API, but the Acrylic effect was either not implemented for Win32 apps or simply never discovered, so this uses an old style of acrylic (I believe from the Windows 8 days).
Maybe try setting frame: false? Though it should be noted that this will break effects on Windows 11 Insiders builds over 22523 and the upcoming 22H2 release, so it should be behind a check or option of some sorts.

Hm, 22000.1042 surprisingly does not support system backdrop types. The Mica effect was available since 22000 through an undocumented API, but the Acrylic effect was either not implemented for Win32 apps or simply never discovered, so this uses an old style of acrylic (I believe from the Windows 8 days).
Maybe try setting frame: false? Though it should be noted that this will break effects on Windows 11 Insiders builds over 22523 and the upcoming 22H2 release, so it should be behind a check or option of some sorts.

Im using OpenAsar one which is Acrylic btw ^-^


consul docker check. (consul 0.6.0)

https://www.consul.io/docs/agent/checks.html

Closing in favor of #424. Thanks for the pr!


Limit enableOptimizedJDBCSearch optimization to username search only.

Purpose
Limit enableOptimizedJDBCSearch optimization to username search only since the no other attributes are saved in the UM_USER table.
Related PR

https://github.com/wso2/carbon-kernel/pull/3759

Related Issue

https://github.com/wso2/product-is/issues/17986

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7417544457

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7417544457
Status: success


lack of Guided Backpropogation

Hi,
in the example-pytorch.ipynb, it is said that Guided Backpropogation is implemented in the notebook, but I can't find this.

That's a typo on our part, the core/pytorch versions don't have guided backprop currently. Since the only piece needed is call_model_function, we can't make any modifications to the graph. We want to try and add more support for pytorch in the same way we have additional support for TF1, but currently the recommended method for using pytorch is to use core.

Corrected in https://github.com/PAIR-code/saliency/pull/71


rule, match, precedence and reserve syntax

This issue is to discuss the syntax of the rule, match and reserve directives
Pattern syntax is discussed in #1
Current syntax
rule
Defines a new rule
rule id: match {
   ...
}

Where id is a the identifier of the pattern - this identifier is used for referring to the rule in other matches and for setting precedence.
When 2 rules have the same id, they are matched in the order in which they are defined.
match is pattern matching syntax (see #1) which may include references to other rules which would be evaluated as a part of this rule.
The contents of the curly braces is the instructions for evaluating the rule. (That is worded badly...)
The scoping of rules needs to be discussed.
pattern
pattern name: <pat>

Defines a new pattern called name. Patterns can be referenced within other patterns/matches as described in #1. <pat> is the pattern which name is defined to be - note that rules may not be referenced here.
reserve
reserve id(n)

Reserve reserves id for a rule which yields n results. This allows matches to refer to this rule after the reserve, but before the rule definition.
precedence
Precedence will set the precedence of 1 rule relative to another. Syntax TBD.

Perhaps the syntax for setting the precedence of x relative to y could be:
precedence x before y
precedence x with y
precedence x after y

Rules shouldn't be searched for in code unless they are explicitly set to be.
The syntax for switching this could be:
enable rule x
disable rule x


Async IPC

Implemented for both pure futures (e.g. Tokio) as well as MonoIO for IO-uring support.

Still working my way through this PR, but an initial thought: Maybe not in the initial PR, but I think we will want an apples-to-apples comparison evaluating some workload against the async implementation vs the same workload against a simple synchronous implementation.
Both to sanity-check performance (we expect the async to yield higher throughput) and to compare results (make sure we aren't dropping any work). Otherwise we might be tripping over some async weirdness without knowing.


Use PerformCounter in multi-thread asynchronous codes

How to use PerformCounter in multi-thread asynchronous codes? When should I call tick() and stop()? Thanks.
Version 1.3.12
Platforms:

Windows
Linux

Presumably in the task you want to measure. Libgdx classes are not designed to be accesses from multiple threads, so you will have to lock stuff yourself.

As @piotr-j says, you're going to need to wrap this yourself. Please use the forum or the irc channel if you want assistance with it.


Routers UI

We have edge routers and transit routers exposed but not the routers service.

The Routers call is just returning the same data as the transit routers. This may be unnecessary.


[EASY] Fix script that builds the demo assets.

The recent the clean up works rename the script command build_bin to app:build.
This fixes the tool that calls the script.

@alextriana : would you be able to accept the PR? Thanks.


Verify code has been uploaded

This project was completed today(8/16/2023) and completes all work necessary for repository.  Closing this issue.


Dropdown opens automatically when default value set - only in IE browsers

Apologies if same kind of issue raised already(i skimmed the bug list but could not find the same)
When default value set to the select2(v4.0.0) component, it opens the dropdown option list automatically when the page loads. I created the plunker - http://plnkr.co/edit/wiXaWwr3DIYq8vSnRaBx?p=preview
Open the link in any version of IE browsers and it opens the dropdown automatically.
And also does not close the option list when no option selected.

Sounds like a duplicate of https://github.com/select2/select2/issues/3300.


Add ability to exclude whole table entity from encryption

Add ability to exclude whole table entity from encryption similar to columns via annotation

I guess it works on types closing


Remove completely from the DITA OT distribution the plugin for generating Eclipse Content

It seems to be something without much usability for anybody:
http://dita-ot.github.io/1.8/readme/dita2eclipsecontent.html
which was used only by the particular person/organization which added it at that time.

Probably should remove this in 3.0, which is the currently assigned target.
I know people have used this to create a form of "normalized DITA" but I think there are better solutions for that now. I do think we should ask @infotexture to document those solutions as an alternative when we remove this.

Perhaps we should consider bundling the org.dita.normalize plug-in instead.
The information contained in the ReadMe there was derived from the description of the DITA to Eclipse Content plug-in.

I like that idea - I've had a lot of people ask me about how to get this sort of output, I used to direct them to eclipsecontent with a vague explanation of the history, but org.dita.normalize does it better.

The plugin was moved to a separate repo in a45a72e, so it looks like this can be closed.


Update rust toolchain version to 1.46.0

This updates the toolchain to 1.46.0. See also fastly/cli#156.

Good catch, thank you!


Mobile linking example in the sample app

We got some developer feedback that they would appreciate mobile linking examples in the sample app.

we probably don't need any special handling by the sdk, but it could be a nice addition to the sample app as a guide for wallet developers

Let's help the devs out, and show them how to deal with mobile links in our sample app.

+1

@Svechnikov have you found a solution?


FF3-1 Tweak Length

I may be doing something incorrectly, but I think you may have a bug checking on the tweak length. I am having difficulties testing the ACVP vectors (56 bit tweak length) and am getting the error:
Exception in thread "main" java.lang.IllegalArgumentException: tweak length 7 is invalid: tweak must be 56 or 64 bits         at FF3Cipher.decrypt(FF3Cipher.java:258)         at Main.main(Main.java:33)
It looks like the issue might be here:
Line 140 on FF3Cipher.java
if ((this.tweakBytes.length != TWEAK_LEN) && (this.tweakBytes.length == TWEAK_LEN_NEW)) {             throw new IllegalArgumentException(String.format("tweak length %d is invalid: tweak must be 56 or 64 bits",                     this.tweakBytes.length));         }
I believe it should be:
if ((this.tweakBytes.length != TWEAK_LEN) && (this.tweakBytes.length != TWEAK_LEN_NEW))
I made this change here and on line 242 and the ACVP vectors are now working and are correct.
ACVP Values I used -

      "tweak": "CBD09280979564",

      "tweakLen": 56,

      "pt": "3992520240",

      "key": "2DE79D232DF5585D68CE47882AE256D6"

I received the error using
String key = "2DE79D232DF5585D68CE47882AE256D6";
String tweak = "CBD09280979564";
FF3Cipher c = new FF3Cipher(key, tweak, "0123456789");
ciphertext = c.encrypt(pt);

Yes, that indeed looks like a typo which is causing a bug.  Need to check why the unit tests didn't catch this.
Thanks for catching this! I've checked in a fix, let me know if that resolve the issue.

Works for me now.
Thanks for putting together this implementation!


New approach to function call matching

Previously the approach to detecting function calls was as follows:

Inside Tokenizer: save preceding whitespace of each token to whitespaceBefore field
Inside Parser: check if RESERVED_KEYWORD or IDENTIFIER is followed by ( and there's no whitespace between them.

This has been a great hack to format function calls without really having a knowledge of which words are function names. But this approach has the fundamental downside of it relying on the whitespace of original code to make formatting decisions, which leads to surprising behavior (see #140 and #243) where re-formatting an already formatted SQL produces a different result.
The new approach introduced in this PR goes as follows:

Inside Tokenizer: label all function names as type: RESERVED_FUNCTION_NAME tokens.
Inside Parser: check if RESERVED_FUNCTION_NAME is followed by (.

This is mostly how one would expect this to work. However there are various caveats:

A common convention is to format data types similarly to function calls e.g. DECIMAL(5, 2). For now this is solved by also including data types (that can take parameters) also to the functions list. In the future should completely separate data types from functions.
CAST is used in various forms, but as its main use is in CAST(expr AS type), it's for now listed alongside functions.
ANY and SOME can be used as aggregate functions, in which case they should be formatted as HAVING ANY(condition). But a way more common usage is as an operator: WHERE x = ANY (1, 2, 3). So I've opted to remove these from list of functions.
NULLIF and COALESCE have sometimes been listed as keywords, at other times as function names. Changed them to be function names in every dialect. That really hints of a general problem that these keyword/function-name lists need a proper review.

The major downside of this new approach is, that:

calls of a custom function like foo(1, 2) are now formatted as foo (1, 2).

But there's also a major benefit from parsing side:

this change should greatly simplify switching to a parser-generator, as the parser won't have to look at whitespace (e.g. Nearley or Jison can't really distinguish between a token with and without preceding whitespace. Unless we go and introduce separate whitespace tokens, it's a major blocker for adopting a parser generator).

So, in the end it's about tradeoffs. IMHO the sacrifices are worth the gains.

This change also paves the way for implementing separate uppercasing option for function names: #237


Grouping feature in Data Table/Grid

####proposal: Grouping feature in the table
What is the expected behaviour?
We should be able to group contents of a column by row.
Following example shows grid group by the company.
http://plnkr.co/edit/myDUiu7cdrGopQgn7t2p?p=preview
What is the current behaviour?
Not present.
What is the use-case or motivation for changing an existing behaviour?
The user wants a drill down feature on the table, where they see aggregated/group value and they can choose to drill down or not.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
5.2.4

It sounds like you may benefit more from the <mat-tree> instead of the table. It'll be out soon but you can try it out using the latest cdk/material: https://github.com/angular/material2/blob/master/src/lib/tree/tree.md

So does this tree goes with table? Because what I am looking for is not tree but a grid with groping feature. There may be many like me looking for this feature in data table. Even extjs has table grouping

Maybe I don't understand your request. You seem to be describing the functionality of a tree, which provides grouping and drilldown. Can you describe why the tree isn't a good fit?

Can you look at this link http://plnkr.co/edit/myDUiu7cdrGopQgn7t2p?p=preview this is a grouped paginated grid/table?

I have to agree with @ameya. A data table has columns. A tree does not. So to use @ameya's example we might have the columns:

Name
Gender
Salary
Org Unit

When the table is totally collapsed we would have just a list of Org Units – exactly as per a tree except that it will still have column headings across the top.
However, when we expand one of the Org Units, we will have a list of employees with the columns as above.
I could see we could potentially achieve something like this if we had a table inside each tree node, but as I envisage it just now, that seems like a lot of work. Perhaps not. I will try it out.
I can see you don't want to add unnecessary features to the table component. You want it to be unopinionated. However, we still need a way to collapse rows.

I wanted this feature too so I worked on some code here: stackblitz. This has an array of columns to group by and recursively inserts group rows into the data that are displayed differently using the matRowDef's where clause.
The tree view doesn't seem well suited for a tabular display, it seems it would be difficult to display the column headers once and still have columns efficiently fit the width of the data.
I envisage that the grouping could be inserted in the material2/src/lib/table/table-data-source.ts so the groups are added after the data is paginated but before it is rendered in _updateChangeSubscription(). Placed here the page would still show the same number of rows regardless of how many group rows were added and the total row count would not change. The grouping would be independent of filtering, pagination and sorting, although having the sort match the grouping may be a preferable experience.
@andrewseguin It's beyond my current skills to integrate this with the library and create a pull request. Hopefully, this issue can be re-opened and someone can help.

I wanted this feature too so I worked on some code here: stackblitz. This has an array of columns to group by and recursively inserts group rows into the data that are displayed differently using the matRowDef's where clause.
The tree view doesn't seem well suited for a tabular display, it seems it would be difficult to display the column headers once and still have columns efficiently fit the width of the data.
I envisage that the grouping could be inserted in the material2/src/lib/table/table-data-source.ts so the groups are added after the data is paginated but before it is rendered in _updateChangeSubscription(). Placed here the page would still show the same number of rows regardless of how many group rows were added and the total row count would not change. The grouping would be independent of filtering, pagination and sorting, although having the sort match the grouping may be a preferable experience.
@andrewseguin It's beyond my current skills to integrate this with the library and create a pull request. Hopefully, this issue can be re-opened and someone can help.

This is pretty much what we want.

We survived with prime ng table. But it is quite heavy
On Fri, 15 Mar 2019, 7:13 am Chris Curnow<EMAIL_ADDRESS>wrote:

I wanted this feature too so I worked on some code here: stackblitz
https://stackblitz.com/edit/angular-mattable-with-collapsible-groupheader.
This has an array of columns to group by and recursively inserts group rows
into the data that are displayed differently using the matRowDef's where
clause.
The tree view doesn't seem well suited for a tabular display, it seems it
would be difficult to display the column headers once and still have
columns efficiently fit the width of the data.
I envisage that the grouping could be inserted in the
material2/src/lib/table/table-data-source.ts so the groups are added after
the data is paginated but before it is rendered in
_updateChangeSubscription(). Placed here the page would still show the same
number of rows regardless of how many group rows were added and the total
row count would not change. The grouping would be independent of filtering,
pagination and sorting, although having the sort match the grouping may be
a preferable experience.
@andrewseguin https://github.com/andrewseguin It's beyond my current
skills to integrate this with the library and create a pull request.
Hopefully, this issue can be re-opened and someone can help.
This is pretty much what we want.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/material2/issues/10660#issuecomment-473127917,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF5LVz7PyjexcZWtsroHTy1rT9s44LWks5vWvrTgaJpZM4TDRVN
.

Thank you @StephenWTurner
Follow your code and made a few changes to allow change header row grouping.
Demo is here: https://stackblitz.com/edit/angular-material-table-row-grouping

I don't understand why this issue is closed. Somebody, please open it.

Needing this feature also.

+1

I don't understand why this issue is closed. Somebody, please open it.

+1

This is a necessary feature...

https://github.com/olifolkerd/tabulator
Worst case integrate this one if you can't have one.


Possibility not to display hidden files and directories in FILES menu

Description
By default, I  can see all hidden files and directories (beginning with dot) in my home directory or  subdirectories. I think, it will be useful to have some keyboard shortcut as switch  for hide and unhide those items.
Suggested solution
Implement the keyboard shortcut for hide and unhide those dot files.
Alternative
No response
Additional context
No response

I think we can add a frontend toggle in the UI to hide/show and save this state to localStorage using jotai's atomWithStorage


federateddeployment delete is stuck waiting for a missing cluster

What happened:

Deployed a FederatedDeployment to clusters c1,c2,c3
Removed cluster c1
kubectl delete federateddeployment nginx

Warning  DeleteFailed  7s (x16 over 2m1s)  federateddeployment-controller  Failed to delete FederatedDeployment "default/nginx": waiting for clusters c1 to become ready to verify that obj default/nginx has been deleted

kubectl get cluster -n kube-multicluster-public lists c2,c3
kubectl delete federateddeployment nginx --force --grace-period 0 does not work, command is stuck.

Environment:

Kubernetes version (use kubectl version)
client: v1.12.1
server: v1.11.6-gke.2

Federation version
latest

Install method (helm vs script)
script

Install configuration (namespaced vs cluster-scoped)
cluster-scoped

/kind bug

okay, so cluster is still present in federatedclusters, but I still think that --force --grace-period 0 should work?

after:
kubectl delete federatedclusters.core.federation.k8s.io c1 -n federation-system

the federateddeployment disappeard.
opened #592

This is not a bug, it is a feature (though it does likely indicate a gap in the documentation).  The sync controller adds a finalizer to all federated resources the first time it reconciles them, and that finalizer is only removed once it is confirmed that the target resource does not exist on all registered clusters (and confirmation is only possible for reachable clusters).  This is to ensure that deletion of a federated resource guarantees deletion of target resources in the member clusters.
The only way to ensure removal of a federated resource after deletion has been initiated is to have the finalizer removed.  That can be accomplished by ensuring all registered clusters are reachable so that sync controller can confirm removal of target resources and remove the finalizer, or by manually removing the finalizer from the federated resource.

Agree, but shouldn't force delete work?

@matti As per the documentation on finalizers, kubernetes only removes an object if its list of finalizers is empty:
https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#finalizers
To clear finalizers manually:
kubectl patch <resource type> <resource name> -p '{"metadata":{"finalizers":null}}'

I encourage extreme caution in removing finalizers manually.   Kubernetes controllers use finalizers to ensure resource cleanup on deletion.

While I don't think there is a technical fix for this, I do think the role of finalizers in propagation needs to be clearly documented to avoid the confusion this issue represents.

The userguide has been updated documenting the role of finalizers in deletion of federated resources: https://github.com/kubernetes-sigs/federation-v2/blob/master/docs/userguide.md#deletion-policy


Uncaught Error: Invariant Violation when using children and dynamically changing result

When I have children for some of my rows, and dynamically changing input data (result=), i.e. just filtering it for some rows, I get error

Uncaught Error: Invariant Violation: processUpdates(): Unable to find child 22 of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `.<IP_ADDRESS>.0

After which data isn't filtered and child expand link cease to work.

Hey @Firfi  -- thanks for reporting this. Do you have a repo that I can pull down to see this behavior? Thanks!

Hey @ryanlanciaux, nope doesn't have one. I forgot how to reproduce it also as decided not to use children in table for now : (

Hi @ryanlanciaux, @Firfi!
I encountered the same problem. It seems to occur when you have a mixture of rows that have subgrids and rows with no subgrids.
All I have for show right now is this screenshot:
There's a  with no reactid and within it are  with reactids. Those two  do not have subgrids.
I've tried griddles with all rows having subgrids. It worked fine.
I've tried griddles with all rows having no subgrids. It worked fine as well.
Error only occurs after you've attempted filtering a griddle whose rows are mixed with subgrids and no subgrids.
I will add code snippets that replicate the problem later.

Same here, thanks @istisiki for pointing to the . Did some tests and can also confirm that mixing standard rows with parent/child rows causes React to be sad.. :) I was wondering why that subgrid example works since it also uses not only parent rows but apparently it works because all of the initial rows have children rows.
Any suggestions how to solve this?

Is there any resolution planned for this? I couldn't get it to work with custom rows either.


SCSS snippets not working

Brackets 1.2 and Brackets Snippets 1.6.3
No snippet hints show in SCSS files, including snippets marked with the SCSS scope.

Thanks for the report, it's been fixed in 1.6.4.

I use the last version (1.7.2) and snippets not working in SCSS files.

@carobe But works in other type of files?

Yes, ii works with css, html and js files.

@carobe Could you show me the snippet content?


Suggestion: integration of calendar weeks

Thanks for your great plugin.
Is it possible to insert the calendar week? I'd like to insert such a string:
### KW10: Freitag, 08. März 2024 14:22 Uhr

To see the calendar weeks in your calendar would also be helpful.

Sorry for the late reply, and thanks for the suggestion!
I was reading your suggestion and considering how to implement it.
Here are my thoughts at this time.

Display of week number on calendar
I think this is relatively easy to provide.

Insert week number
This is a few things that need to be resolved, but I think it  i can provide.
This plugin relies on the OSS "vanillajs-datepicker, which is currently unsupported for inserting week numbers. However, I believe it's possible to include the week number if I develop it additionally. The concept of week numbers differs from region to region, and it will take time for me to get it right.

I have added the following items to the roadmap for this plugin.

Display of week number on calendar
Insert week number

The support time has not been determined yet, but please wait.


cmd: Remove all interaction

Remove all interaction in cmd/qsctl
Refactor cmd run and reset flags after execution

Implement in #310


[document] update quickstart's README for windows

In windows environment, update the way to run cmd in relative path.

Codecov Report

Merging #6860 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6860      +/-   ##
==========================================
- Coverage   39.18%   39.17%   -0.01%
==========================================
  Files        3220     3220
  Lines       95324    95324
  Branches    11891    11891
==========================================
- Hits        37352    37344       -8
- Misses      54978    54984       +6
- Partials     2994     2996       +2

Impacted Files
Coverage Δ

...rp/pinpoint/rpc/packet/ControlHandshakePacket.java
51.51% <0.00%> (-24.25%)
:arrow_down:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
57.14% <0.00%> (-8.58%)
:arrow_down:

...tor/metric/datasource/DefaultDataSourceMetric.java
75.00% <0.00%> (-3.13%)
:arrow_down:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
57.44% <0.00%> (-2.13%)
:arrow_down:

...cluster/zookeeper/ZookeeperClusterDataManager.java
52.90% <0.00%> (-1.94%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.50% <0.00%> (-1.67%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
70.77% <0.00%> (-1.63%)
:arrow_down:

...ofiler/context/monitor/metric/IntCountWrapper.java

...filer/context/monitor/metric/LongCountWrapper.java

...iler/context/monitor/metric/IntCounterWrapper.java
66.66% <0.00%> (ø)

... and 8 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 1db6b5f...e6c066d. Read the comment docs.


Expose MetricsTestKit as a product

For adopters to use MetricsTestKit it must be exposed as a product.

@swift-server-bot test this please


Add remaining resources to profile configs

There are a few resources for which we need to create profile tags in the spec repo

Resouce
Spec path
2018-03-01-hybrid   spec version
2017-03-09-profile   spec version

dnsZones
dns/resourcemanager
2016-04-01
2016-04-01

locks
resources/resourcemanager
2016-09-01
2015-01-01

policyAssignments
resources/resourcemanager
2016-12-01
2015-10-01-preview

policyDefinitions
resources/resourcemanager
2016-12-01
2015-10-01-preview

Once this is done, we need to regenerate the code for multi profile SDKs (also involves fixing code generation scripts)

Given the age of this and shift to track two management libraries, closing this out as stale.  Please feel free to reopen if this is still needed.


Alternative serialization API

Right now ActionType/MessageType require setting up specific serializers for specific fields. One can imagine an alternate API which is "globally serialize messages of type X like so" and then you don't need to manually specify serializer each time.
# module 1
register_serializer(Dataset, lambda d: {"dataset_id": d.dataset_id, ...}

# module 2
LOG_MODIFY = ActionType("dataset:modify", fields(dataset=Dataset, param=int))

# module 3
LOG_DELETE = ActionType("dataset:delete", fields(dataset=Dataset))

Currently that would require creating a Field object and module 2 and 3 would need to import it or recreate logic.

I'm finding this more necessary now that I'm using numpy with eliot. You end up with lots of unserializable numpy.int64 and the like, very annoying.

https://hynek.me/articles/serialization/ has interesting implementation idea.

bytes are another thing that can't currently be logged. Which... perhaps is legit.

@jonathanj pointed out the issues with having different libraries register different serializers. For that matter, a non-JSON destination mght want different serialization. So really this should be application specific, and destination specific:
eliot.add_destination(FileDestination(sys.stdout), adapters={numpy.integers: int})

Even better idea, just pass in custom JSONEncoder class.

@jonathanj what do you think of https://github.com/ScatterHQ/eliot/commit/b71fe842eff7d28f03015787bb78da36ce497b30#diff-ee588fba5b39cd032edff035addfe0dcR42?

I think this is a better approach than the original suggestion. 👍


Remove Shopware:REVISION

Fix Bug REVISION of undefined

hey @akucharczyk
thanks for your contribution. we changed the generation of the file hash in the core, so this does not work anymore. maybe you could adjust this here, too. I think, no hash at all would be not so nice


Intellisense Not Working on Settings JSON

VSCode Version: 1.46.0 insider
OS Version: Windows 10

Steps to Reproduce:

Update to newest Insiders build.
Open Settings (JSON)
Type in "editor."
Observe No Suggestions box appearing.
Next to text, try Control + Spacebar.
Observe No Suggestions box appearing.

Actual: Settings JSON does not prompt user with Intellisense options.
Expected: Settings JSON suggests settings based on words typed.

Does this issue occur when all extensions are disabled?: Yes

@jrieken Debugging this down, it seems the SuggestModel markes all JSON proposals as invalid:
The item is marked invalid because the insert and replace range are not the same. Not clear to me what the intend is.
https://github.com/microsoft/vscode/blob/046e3c7f0ea03489293e29c79093020d19ffce51/src/vs/editor/contrib/suggest/suggest.ts#L97
Change comes from https://github.com/microsoft/vscode/commit/425616820c7a424abf3fbfb1a0e399963d9984d5

Yeah, working on it...

This is a duplicate. Unfortunately, I don't recall the exact issue number nor its title :flushed: Anyways, searching for issues with the same labels will likely help you :point_right:
https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+label%3Abug+label%3Asuggest


Keyframes are not applied to sequences in background and "Lock interface" modes

hi,
have you tried with latest version, I think @digitalillusions  have fixed this

Yes, I downloaded the latest GitHub release. The sequence itself plays fine even in locked mode. But if you add something with keyframes on the sequence (e.g. rotate the sequence around an axis), the keyframed properties are only updated in unlocked GUI mode rendering. With locked interface it's stuck on the keyframe that was shown last in the GUI.


How can I start the server ?

Mr Dale,
I would like to create a new project using SpringBoot, TinkerPop and JanusGraph but I have trouble finding resources using both.
Your repository is the only source code I found so far and I think it could help me a lot if I can make it work.
I can build it successfully with maven:
cd /Downloads/tinkerpop-spring-boot-master
mvn clean package
But when I try to start the server as usual:
java -jar ./tinkerpop-spring-boot/target/tinkerpop-spring-boot-0.0.2-SNAPSHOT.jar
java -jar ./tinkerpop-spring-boot-sample/target/tinkerpop-spring-boot-sample-0.0.2-SNAPSHOT.jar
java -jar ./tinkerpop-spring-boot-starter/target/tinkerpop-spring-boot-starter-0.0.2-SNAPSHOT.jar
I got the following error for each jar:
no main manifest attribute, in ./tinkerpop-spring-boot/target/tinkerpop-spring-boot-0.0.2-SNAPSHOT.jar
Even when I explicitely specify the Application class:
java -cp ./tinkerpop-spring-boot-starter/target/tinkerpop-spring-boot-starter-0.0.2-SNAPSHOT.jar com.github.robertdale.spring.boot.tinkerpop.sample.TinkerpopApplication
Error: Could not find or load main class com.github.robertdale.spring.boot.tinkerpop.sample.TinkerpopApplication
Did I miss something ?
Is there any documentation/resource I can use to make it work ?
Thank you in advance,
Victor

This is just the client analogous to spring-data-*.  You need to download and start a server separately.


Entering 4 digits for the post code is not sufficient for locations sharing the same post code

Problem
Entering 4 digits for the post code is not sufficient for locations sharing the same post code.
At the line 14 of meteo.py file, the post code (plz) is filled by default with zero.
Current state
MeteoSwiss use 6 digits to define localities.
In most cases, it's the zip code followed by 2 zeros, but when towns share the same zip code, meteo swiss changes this last two digits to make the difference.
I found the correct last two digits under id in the _window._mchwebLocalforecastLocation script loaded into the MeteoSwiss weather forecast web page after chosing the correct city.
Perhaps there is a directory of locations with the id/plz from MeteoSwiss, but I haven't found it.
Exemple
The post code 4566 is used for three locality:

Kriegstetten with meteoswiss id: 456600
Halten with meteoswiss id: 456602
Oekingen with meteoswiss id: 456603
To have the forcast for the correct locality, you need to input the correct 6 digits.
In some cases, there is no locality with the two zeros added by default

Proposal
Change:
FORECAST_URL= "https://app-prod-ws.meteoswiss-app.ch/v1/plzDetail?plz={}00"
To:
FORECAST_URL= "https://app-prod-ws.meteoswiss-app.ch/v1/plzDetail?plz={:<06d}"
With this, the zip code will be filled with zeros only when necessary, and for specific locality the 6 correct digits can be entered directly.

Hello,
I'm facing the same error, 3 different locations with the same post code, but different MeteoSwissID.
Thank you for your work

I've implemented the proposal, let me know if its functional.


Pixels with zero confidence!?

For depth upsampling I would like to get rid of the prior upsampling step (linear or bilinear upsampling e.g. to get the same resolution as the target image). I tried to tackle this by setting the confidences for those inputs to zero. However, due to the following division:
// Flat initialization
y0 = self.grid.splat(xw) / w_splat
the operation fails. Any recommendations?

I would guess that you're getting a divide-by-zero issue? If that's the case then you can just clamp w_splat to be at least numerical epsilon: something like np.maximum(w_splat.max, 0.00001). Can you clarify if it's a divide-by-zero error?

Yes, it's a divide-by-zero issue. I was hoping to avoid the "numerical epsilon" as it includes (in my case) default values which are just totally wrong (-1). For zero confidence it would make sense to just incorporate the smoothness term - which would be fine if I regard equation (1) from the paper. I will go through the math and code and hope to provide a fix if anyone has the same issue.

I wouldn't worry about clamping to epsilon having the effect of letting zero-confidence pixels change the output. I believe the numerator is actually zero too for these cases, so all you're doing is fixing a divide-by-zero error.

Is there a place the Optimized Code is available to replicate the speed in the article?

No, sorry, that code is too heavily entangled with Google's code repository
for us to easily open-source it.
On Wed, Sep 5, 2018 at 12:37 AM Royi<EMAIL_ADDRESS>wrote:

Is there a place the Optimized Code is available to replicate the speed in
the article?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/poolio/bilateral_solver/issues/2#issuecomment-418630284,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2StoROj_Ro4DfqfW6SU_oscTrlYldAks5uX39GgaJpZM4KexX7
.

Could you shed light about how was the performance achieved?
As in the Python code it seems you explicitly define matrix A which in real world problem might no feasible (Too large).

I see.
I thought A would be also dense matrix.
By the way, the Python Code does use PCG to solve the problem. Though it seems you use the simpler conditioning if I got it right.


BadImage format exeception when compiling the sample bot code with other custom dlls

I am trying to build in a custom dll that needs to  be built as x64 target platform. Compilation works fine but when I  launch the sample I see this:
Exception Details: System.BadImageFormatException: Could not load file or assembly 'ENSBot' or one of its dependencies. An attempt was made to load a program with an incorrect format in the browser.
When I  switch to "Any CPU" I get the same error for my custom DLLs that I am trying to build in.
Any help will be appreciated.

You need to consistently set the architecture of your assemblies to x64 or "any cpu" and make sure that the process is also x64 as well.

I'm going to close this issue, but feel free to open a new issue for further discussions.


[WIP] StackStorm workflow for Bucket Migration

What this PR does / why we need it:
This adds the Bucket Migration Workflow for StackStorm to the opensds packs for the Orchesration Manager.

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.


Fix "as any" in merkle tree find operations

In #5355 we started adding type parameters for merkle tree leaves but this has caused compiler issues in the MerkleTrees wrapper class (the one that holds all the different state trees). This is probably due to the complex generics used for the trees.
Investigate if it's possible to remove the as any type casts in the files (look for "TODO" comments mentioning this issue).

Attempted fix in #7443


newsfeedpage

@alexjball   how does it look

This story should be the full page mock up , and use the AlertCard component for each card in the list.
@gerlinp could you work with @Tcoding12 on the newsfeed page story for a new PR?

This story should be the full page mock up , and use the AlertCard component for each card in the list.
@gerlinp could you work with @Tcoding12 on the newsfeed page story for a new PR?
Sure Ill have more time to work on it this week.


Integration Test - Release - 2022/03/15 08:52:01

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#please-close

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


Windows CMake+Ninja build warning due to duplicate basename

Building a monolithic project with CMake+Ninja (default behaviour in Visual Studio these days) that adds mimalloc via add_subdirectory:
ninja : warning : multiple rules generate lib/mimalloc-debug.lib. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]

The problem appears to be that both the shared and static versions of the library end up creating a mimalloc-static.lib file (the import library for the DLL and the static library itself). This is because both libraries set:
set_target_properties(mimalloc-static PROPERTIES OUTPUT_NAME ${mi_basename})

Which causes both the DLL's import library and the static library's name to be identical.
#############################################
# Link the shared library bin\mimalloc-debug.dll

build bin\mimalloc-debug.dll lib\mimalloc-debug.lib: C_SHARED_LIBRARY_LINKER__mimalloc
  ...stuff...
  TARGET_FILE = bin\mimalloc-debug.dll
  TARGET_IMPLIB = lib\mimalloc-debug.lib
  TARGET_PDB = bin\mimalloc-debug.pdb

#############################################
# Link the static library lib\mimalloc-debug.lib

build lib\mimalloc-debug.lib: C_STATIC_LIBRARY_LINKER__mimalloc-static
  ...stuff...
  TARGET_FILE = lib\mimalloc-debug.lib
  TARGET_PDB = lib\mimalloc-debug.pdb

Great analysis. Thanks! What would you recommend to change? Add "-imp" to the import library name or would that cause trouble at link time? Perhaps we should just not even build the static library as we already create a single static object file too.

I think this is fixed now by #22


Update bot.py

Add proxies setting for the API request

Adding a proxy is a good idea, especially considering all the IP bans recently. Right now I'm only using the _make_request method for only logging in though. I'll migrate all the API calls to the function soon though, so I'll come back to this pull request then.


improve ut case for package internal/rwmutex

Codecov Report
Base: 79.81% // Head: 79.85% // Increases project coverage by +0.04% :tada:

Coverage data is based on head (0c1d4dc) compared to base (e254b4f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2364      +/-   ##
==========================================
+ Coverage   79.81%   79.85%   +0.04%
==========================================
  Files         589      587       -2
  Lines       48803    48683     -120
==========================================
- Hits        38951    38876      -75
+ Misses       7868     7827      -41
+ Partials     1984     1980       -4

Flag
Coverage Δ

go-1.15-386
?

go-1.15-amd64
?

go-1.16-386
?

go-1.16-amd64
?

go-1.17-386
?

go-1.17-amd64
79.85% <ø> (+<0.01%)
:arrow_up:

go-1.18-386
?

go-1.18-amd64
?

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

Impacted Files
Coverage Δ

os/gcron/gcron_schedule_fix.go
87.50% <0.00%> (-12.50%)
:arrow_down:

frame/gins/gins_database.go
53.78% <0.00%> (-3.37%)
:arrow_down:

net/gtcp/gtcp_pool.go
72.22% <0.00%> (-3.34%)
:arrow_down:

os/gfsnotify/gfsnotify_watcher_loop.go
83.19% <0.00%> (-2.53%)
:arrow_down:

os/glog/glog_logger_rotate.go
61.99% <0.00%> (-1.36%)
:arrow_down:

contrib/config/kubecm/kubecm_kube.go

contrib/config/kubecm/kubecm.go

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Is the project active? or was abandoned?

Is the project active? or was abandoned?

Somewhere in between.

It seems all of the three biggest select-replacement plugins are either abandoned or just limping by: Chosen, Selectize and Select2. Is there some alternative that has popped up that I'm missing or has demand just dropped?

I'm thinking about migrate to Chosen or Selectize.
See #3116  there is more then 1 year waiting...

I can't recommend migrating to Selectize. They're looking for new maintainers: #752. Also #1299 has been present since December, which is not good at all.
If you're wanting new features, Chosen isn't the right plugin either: The latest release notes v1.7.0 says this:

From this version on, until further notice, no new features will be added, so pull requests for features will not be accepted. However, pull requests for bugfixes are still very much appreciated.

Same question here... Documentation is too bad, there are 8 pull requests pending for doc improvement, most of them from 2016. I found answer for my question in these pull requests but it is bad for community to force people to dig in pull requests instead of docs, also it discourages interest to contribute in project.

Humm..
from all my tests with chosen, select2 and selectize, selectize is still the best

🙃 Probably because most devs write web components or use the ones provided by frameworks.

More info: https://github.com/select2/select2/issues/4765

I've extended the offer quite a few times, and from time to time someone agrees to join on. Triaging tickets is a problem of scale ("many hands make light work"), maintaining the code base is a problem of time and patience.

@jakeNiemiec You're probably right. It's a crying shame though, that a long-running project such as Select2 (~3100 closed issues, ~2200 commits, ~500 merged PRs) suffers because of it. One could easily argue that it has a much more "proven" codebase than many web components and bundled framework widgets.

My guess would be that in general, jQuery is losing ground to newer, virtual-DOM based frameworks like React, Preact, and Vue.  As it is written now, Select2 has a hard dependency on jQuery.
That being said, jQuery is still extremely widespread and an automatic choice for newbie developers who don't feel they're ready for (or don't care to learn) the newer frameworks.  Not to mention, the countless existing projects that are already built with jQuery and will probably never migrate to a newer framework.
My questions would be, what are other "widget" type JS projects doing to keep up with these trends?  Is there a framework-agnostic way to rewrite something like Select2?  Would that even be useful, since it wouldn't be able to take advantage of the performance gains that you'd get with a virtual DOM?

@kevin-brown I think it's past time that we came up with a plan, as a community, for the survival of Select2.  It's a great project and I use it everywhere in my applications, but as people have pointed out the documentation is lacking, some of the new APIs are very difficult to understand, and it is unclear how it can/should fit in with newer frameworks.
With 20K+ stars I'm sure there are easily millions of projects that depend on Select2, some of which are mission-critical for their businesses and organizations.  Something this big and important needs a real community to support it and keep it alive - you cannot (and should not) be expected to do everything yourself.  In fact, I'd argue that your main role at this point should be to build and encourage community growth and guide the overall path of the project, rather than the specifics of implementation.
The problem is that you need something more than just a call-for-maintainers here and there on the issue tracker, or a contributor guide.  You need a place and format where people can interact more directly and understand that Select2 is not a product to be consumed but a community in which to participate.
You also need to make it easier for people to contribute.  This may involve giving up some control, and adding other people as official maintainers of the repo.  I see that @jpic merged a few PRs back in February, but since then there has been virtually no activity.  I myself have been wanting to contribute to the documentation, but it is so heavily disorganized and PRs seem to be ignored, so I have held off.  Things are bad indeed when Stack Overflow is the best source of documentation for a project.
I think there is hope but it is beyond the ability of any single developer to put in the time required.  Like you said, "many hands make light work."
With your blessing, I'd like to set up a public room on my own project's chat server, where we can all discuss and plan the future of Select2.

@alexweissman as @kevin-brown posted in the issue I linked:

For those interested, can you send me an email at<EMAIL_ADDRESS>and we can chat about what you're interested in helping with.

He probably won't see any of these mentions.

With your blessing, I'd like to set up a public room on my own project's chat server, where we can all discuss and plan the future of Select2.

I'd rather keep it to the public IRC channel, though I wouldn't be opposed to Gitter if we wanted public logs for that discussion.

He probably won't see any of these mentions.

Mostly accurate. My count is up to 480 by the way.

@kevin-brown the problem with Gitter is that you don't have any control over the logs, and there are several known bots that regularly scrape and re-post Gitter logs.  I fought them for a while about privacy/security concerns until I finally gave up and set up a RocketChat server.
IRC would be great in theory, but it doesn't seem to get any use.  The nice thing about a more modern solution (like RocketChat) is that it can integrate with Github, send automatic email notifications, has desktop/mobile apps, etc.

+1 for Gitter & searchable logs
On Wed, Aug 30, 2017 at 5:59 PM Alex Weissman<EMAIL_ADDRESS>wrote:

@kevin-brown https://github.com/kevin-brown the problem with Gitter is
that you don't have any control over the logs, and there are several known
bots that regularly scrape and re-post Gitter logs. I fought them for a
while about privacy/security concerns until I finally gave up and set up a
RocketChat server.
IRC would be great in theory, but it doesn't seem to get any use. The nice
thing about a more modern solution (like RocketChat) is that it can
integrate with Github, send automatic email notifications, has
desktop/mobile apps, etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/select2/select2/issues/4953#issuecomment-326142510,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQAS7_2jn8JV1q1Zm36xrtQsZ9hgQ1hgks5sdeligaJpZM4N3e-a
.

@jakeNiemiec come check out our RocketChat server - https://chat.userfrosting.com.  Could easily set one up for select2 :-D

I want to help too. Count on me

@penihel for the time being I've gone ahead and created a new room on my chat server: https://chat.userfrosting.com/channel/select2.  Come join and we can talk!

FTR, there is also https://github.com/LeaVerou/awesomplete
Also, if anybody wants write access to select2 just ask ;)
Keep up the great work :guitar:

And also I think @alexweissman really wants to become our new release artist, all in favor say YAY :dancer:

😮 release artist?

😮 release artist?

I have had great luck with: https://github.com/semantic-release/semantic-release

I meant release manager, whatever that means ^^

I'm flattered, but:

I'm not really a JS/jQuery developer, and I really have no idea how select2 works internally;
I already have my own project to manage.

My goals here are really just to improve the documentation, and help the community get back on its feet.

Gonna close this...please continue discussion about the future of Select2 on the new forums.


Please update to node20; node16 is deprecated

I just saw a new warning when running this action:
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: aws-actions/aws-codebuild-run-build@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Looks like the above PR didnt fix those warnings, so I created another one: https://github.com/aws-actions/aws-codebuild-run-build/pull/158

fixed.


A call linker for python

This PR introduce a call linker for python.
The linker links calls and methods only by their name(not full name), because it's hard to decide thier full name in a dynamic language.
Though this will result in wrong edges, it will make interprocedural data flow analysis work for the moment.

Let me resolve the conflicts

Cool, thanks.

Actually, I think this linker can also be used for js and php for the moment.
By the way, please review #1847


Automation of proto R/W in hierarchies

Something that just crossed my mind. Do we have any way to automatize this process? maybe through a standardized interface for protos? The functions read/write_state_to_proto() and write_hypers_to_proto() are really the only low-level hierarchy operation left to the user's manual implementation. It would be amazing if they didn't have to do that.

This is extremely interesting, but kind of far fetched at the moment. The problem is that a proto is only as good as its submessages, one could have a general proto like
message GeneralProto {
 map<string, double> scalarparams = 1;
 map<string, Vector> vectorparams = 2;
 map<string, Matrix> matrixparams = 3;
}

this is likely to fit all the possible states and hypers that we want to work with.
But then another problem comes along, suppose you have a simple struct like struct State {double a, b;} and want to write that struct to a GeneralProto using some call to a template function like
template<typename T>
void write_to_general_proto(const T& t, GeneralProto* out);

and here's where the fun begins: how do you do it? In Python, one can iterate through the elements of T (this is called reflection), but C++ has not such feature by default. There are some tools to add reflection (one that I know of is https://github.com/garbageslam/visit_struct) but before settling for one, I would see what is the ecosystem available.
On the other hand, we could get rid of proto, and use some other C++ based serialization library only meant for C++. This would make life for pybmix a little harder, since then one needs to fine another workaround to pass the chains back and forth, but I'm open to discussion

Yeah, I figured it all comes down to looping on a struct's fields. Python dictionaries really spoiled us huh.
Protobufs are kinda nice TBH, especially for iterfacing with Python, and I wouldn't get rid of them. Also, finding a reflection tool sounds promising. Possibly, could we outsource the writing to another programming language? Would it be too difficult, or computationally expensive?

I'm not sure what you mean by "could we outsource the writing to another programming language?"
What is it you have in mind?

Like, embedding lines of another programming language (Python?) to perform that operation. I don't have anything particular in mind, I don't even know if it's possible or efficient. Just brainstorming.

I don't see how this could work... An object is a sequence of bytes, the programming language knows how to interpret those bytes.


[ tensor ] Apply SIMD in matrix transpose

PR for issue raised in #2582
Matrix Transpose function in the latest NNTrainer (14.05.24) is implemented using for-loops.
Although current implementation is useful for general use in (b,c,h,w)-Tensor transpose, it would be a little bit naive implementation for the (h,w)-matrix transpose.
Latency measurement

TC = 20, tested on Galaxy S23, with frequently used ones

dim
prev
neon

768x768
400 mcrs
121 mcrs

1440x1440
2 ms
0.44 ms

1920x1560
4.3 ~ 1.6 ms
1.8 ~ 0.8 ms

1560x2048
4.18 ms
0.618 ms

512x2048
1.31 ms
0.18 ms

Overall, 200%~ 500% acceleration. ( Note that this method is effective for sufficiently big matrices )

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2603. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

:octocat: cibot: @skykongkong8, nntrainer/tensor/matrix_transpose_neon/matrix_transpose_kernels_neon.h does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

:octocat: cibot: @skykongkong8, nntrainer/tensor/matrix_transpose_neon/matrix_transpose_kernels_neon.h does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md


Immersive Portal crashes on Minecraft startup

Mod Name
Immersive Portal
Mod Homepage
https://modrinth.com/mod/immersiveportals
Describe the bug
Immersive Portal crashes on Minecraft startup
Steps to reproduce
No response
Logs
https://mclo.gs/LA7oEZG
Additional context
No response

a version for forge have been made but not for 1.20 https://github.com/iPortalTeam/ImmersivePortalsModForForge

Looks like the crash occurs in production only, I'll have a look

It still crashes, log file: https://mclo.gs/PxxJW8B
Mixin apply for mod (unknown) failed imm_ptl.mixins-pLHhK.json:client.interaction.MixinMultiPlayerGameMode from mod (unknown) -> net.minecraft.client.multiplayer.MultiPlayerGameMode: org.spongepowered.reloc.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Redirect annotation on redirectPlayerLevel1 could not find any targets matching 'm_233724_' in net.minecraft.client.multiplayer.MultiPlayerGameMode. Using refmap imm_ptl_core-refmap.json [PREINJECT Applicator Phase -> imm_ptl.mixins-pLHhK.json:client.interaction.MixinMultiPlayerGameMode from mod (unknown) -> Prepare Injections ->  -> redirect$zej000$redirectPlayerLevel1(Lnet/minecraft/client/player/LocalPlayer;)Lnet/minecraft/world/level/Level; -> Parse]
org.spongepowered.reloc.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Redirect annotation on redirectPlayerLevel1 could not find any targets matching 'm_233724_' in net.minecraft.client.multiplayer.MultiPlayerGameMode. Using refmap imm_ptl_core-refmap.json [PREINJECT Applicator Phase -> imm_ptl.mixins-pLHhK.json:client.interaction.MixinMultiPlayerGameMode from mod (unknown) -> Prepare Injections ->  -> redirect$zej000$redirectPlayerLevel1(Lnet/minecraft/client/player/LocalPlayer;)Lnet/minecraft/world/level/Level; -> Parse]

Did you delete your .connector folder before testing? It won't automatically delete itself if you're using the same version number, which is the case for dev builds.

Did you delete your .connector folder before testing? It won't automatically delete itself if you're using the same version number, which is the case for dev builds.

oh , fixed

I get a crash with immersive portals that looks similar to the injection failure above


[Bug]  paimon catalog IllegalArgumentException: Cannot transform unknown type: xxx (TINYINT、MAP ...)

Search before asking

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

Version
doris 2.0
What's Wrong?
Cannot transform unknown type
What You Expected?
read paimon data normally.
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

What is the specific version number of doris? doris 2.0.0 release?
We have fixed in doris 2.0.0 release: Cannot transform unknown type: TINYINT
https://github.com/apache/doris/pull/22899

I have reached errCode = 2, detailMessage = Unexpected exception: java.lang.IllegalArgumentException: Cannot transform unknown type: ROW in doris 2.0.1

we will fix it.


Jonmv/remove storage policy

@vekterli

Hmm, could probably just replace the [Content:cluster=<name>] with just <name> as well ...


How to set font size for SQL editor content

The font size of the content is too small and looks tired

You can increase the font size in preferences https://dbeaver.com/docs/dbeaver/Accessibility-Guide/#colors-and-fonts


Provisioner: Add support for Azure

Currently only supports AWS, we need to add support for Azure in order to iron out any kinks that might be left with the kismatic codebase.

Specific issues moving forward:

Azure login information is handled weirdly by Terraform. Terraform seems to expect a login token from the Azure CLI as its first priority. If this isn't set, Terraform will complain (even if the environment variables reported in the docs are set correctly). This means we either need to persist that information to disk (including the secret) to supercede this priority, or just authenticate through the azure CLI each time we want to use Terraform, which is not feasible in daemon mode.

The Azure API has numerous race conditions that cause non-deterministic behavior during creation, modification, and deletion of cluster resources. The most easily reproducible one involves issuing a delete on NICs and a subnet simultaneously (I.E. destroying a cluster). The API will attempt to delete both, but will complain about how you can't delete the subnet since a NIC is still attached. The NICs will delete just fine. Re-issuing the request will cause expected behavior, since there's no longer NICs prevent subnet destruction.

I'm not sure which/what exactly is on Terraform vs what's on the API. I believe the latter is on the Azure API since this behavior can be re-created via the web UI.
The former issue is, I think, a bug with Terraform. The workaround of persisting that information to disk is, I think, the only way to get it to work. I'm not sure which solution I hate less.

Hey @emmetthitz - I was able to use terraform with Azure without the Azure CLI by setting the appropriate environment variables as documented here:
https://www.terraform.io/docs/providers/azurerm/

Huh. Alright. I'll take another look. Thanks @alexbrand.

Make sure to remove the config in the provider in main.tf so that they are picked up from the env.

That's probably the reason why. I think aws doesn't care if that exists or not, so I assumed this would also be the case.


WIP: CloudCompare added

Cloudcompare now available on Puhti.

WIP because unsure if

[ ] separate instructions for X11/NoMachine needed?
[ ] more references needed?
[ ] Ogiir citation needed?
[ ] CSC citation needed? -> maybe link this page since it exists: https://docs.csc.fi/support/faq/how-to-cite-csc/

Also waiting for new OOD release, because of host terminal OR CloudCompare to be added as Desktop app.

This is currently on hold because needed plugins could not yet be installed.


Training code

Great work!
Thanks for your great work. I am looking forward your training code.
Best wishes!

Hello author, can you provide your pytorch training source code


fix issue 10284  Occasional consumer stucked when restart consumer whit key_shared subscription type

Fixes #10284
Master Issue: #10284
add  currentSendPositionPerKeyMap to record send success position last time.  And while do send next time , we will use its to check entries if or not be send last time. if not must be send again.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@baomingyu thanks for your contribution
I see that there are lot of formatting changes, can you please revert all of the changes that are not needed in order to fix your problem ?

@eolivelli    has done，please review this change.

@baomingyu Can we close this PR for now?


How to become a Web3 Developer

My tutorial follows the Tutorial Contribution Guidelines.

The title of the Pull Request matches the title of my tutorial (How to become a web3 developer).

I've followed the tutorial template structure.

I've proofread the tutorial for spelling and grammar mistakes.

I've thoroughly explained the topic of my tutorial with a pie chart and the necessary pictures

I've gone through the tutorial to ensure it explicitly explains how new and intermediate people can start their journey toward becoming web3 developers.

Hey @izzecode , This PR has 23 commits and 350 changes. Cannot merge this PR.
Can you follow these videos and create a new PR with just the changes you have?
Celo Sage - Part 1 (How to create your first tutorial)
Celo Sage - Part 2 (How to create a PR for your tutorial)

Closing Celo Sage PRs


Document the keyboard control for show/hide all.

This adds to the tooltip for these controls.

@cooperlab As far as I can tell, this is the only keyboard shortcut we've added other than letting escape cancel some things.  There are some keyboard controls that come with large_image, such as using the arrow keys to pan the image.  I'm not sure where we should show those.


error：when adj_mat[:n_users, n_users:] = R

adj_mat[:n_users, n_users:] = R

File "/data/anaconda2/lib/python2.7/site-packages/scipy/sparse/lil.py", line 366, in setitem
x = x.toarray()
File "/data/anaconda2/lib/python2.7/site-packages/scipy/sparse/lil.py", line 443, in toarray
d = self._process_toarray_args(order, out)
File "/data/anaconda2/lib/python2.7/site-packages/scipy/sparse/base.py", line 1130, in _process_toarray_args
return np.zeros(self.shape, dtype=self.dtype, order=order)
MemoryError
how to solve adj_mat problem when user and item is huge number ?

Hi, I have used the sparse matrix in scipy to reduce the memory. I saw the error showing x=x.toarray(), so did you convert the sparse matrix to the dense?
BTW, may I know which dataset you use?

hi,  i think it caused by R.tolil() which convert the sparse matrix to array. when use gowalla dataset it works, But it when meet real world dataset it fail. So how to solve it, or does it can be simply bypass? :)

Hi, we have tried the robustness of our model. It should be fine with the adjacency matrix with ~0.1 million nodes and ~3 million nonzero entries. One solution is to implement the model in mini-batch fashion, that is, sampling k one-hop neighbors each time, rather than the whole Laplacian matrix. Thanks.


No command like Show Process View

Updated to VS Code 1.19.0 and checked the command. I can't see it and tried to find if this is an extension but nothing.

You could've finished reading the changelog.

git clone https://github.com/weinand/vscode-processes
cd vscode-processes
npm install
npm run package

After building the extension as a VSIX with the steps from below, you have to use VS Code's "Install from VSIX..." command to install the extension.


How to validate card.

Hi guys,
I have using twitter SKD for twitter URL (my link web) to timeline.
But in Popup preview the content my web can't show (Image thumbnail), show text link only.
The same the URL above, after using link [https://cards-dev.twitter.com/validator] validate and
post again, the thumbnail has shown.
So, how to using twitter Kit API validate my URL.

There is no API for this, you need to use the card validator to validate URLs for cards directly.

@andypiper thank you so much.
Would you give me some tips?How to do it.

Enter the URL in the validator, and then the card will be OK when you Tweet the link.


fix(@schematics/angular): fix import path for generated flat modules

If the target modulePath and the importModulePath are equal,
do not add a path seperator to the resulting module import path.

Sorry @dkuerner  - this got lost when we moved back to the angular/angular-cli repo. If you still think this pull request is relevant, could you please re-base on that repo and open a new PR there? Thanks and sorry for the extra churn.


Query Selector inside iFrame not working.

The code below:
const frames = await page.frames()
  let b = frames.find(f => f.name() === 'Form_Body')
  console.log(b.$('#mendiv > table > tbody > tr:nth-child(5) > td'))

gives the following result:
Promise { <pending> }
(node:11728) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Protocol error (Runtime.callFunctionOn): Target closed.
(node:11728) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.
js process with a non-zero exit code.

It seems the last line should be
 console.log(await b.$('#mendiv > table > tbody > tr:nth-child(5) > td'))


Always log panics regardless of LOG_TARGET set

Fixes #41.

Rustfmt isn't available, but that's fine. To be fixed by #45.


in the future， Will add About textfield widget

in the future， Will add About textfield widget

@herowws Please be more verbose

Support of AutoSizeTextField feature. https://pub.dev/packages/auto_size_text_field.
Please don't use this package as dependency, What I liked about this get_widget is that it has no any external dependency and I think it continue this.


Segment does not support "middle" attachment

Segment does not support attached="middle" it throws errors

Nevermid .. for that purpose you accept attached={true}

Also, boolean attributes are true by default in React.  So these are equivalent:
<Segment attached />
<Segment attached={true} />

Cheers!


Fixed regex to show missing assets file error

Added Regex to match error message from verbos build as suggested by @stuartmorgan https://github.com/flutter/flutter/pull/98137#discussion_r810559589
Modified Windows Build Test
Fixes #97065
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Bug:

After fix:

Fixed regex by escaping pubspec\.yaml
Added new test for pubspec related error

/cc @christopherfujino as this code is in the tool.


allow to terminate declarations by id in registers

#2839

Coverage decreased (-0.03%) to 90.358% when pulling 8074d793b0629d47b73da6d43b5a39d4ce034e39 on declaration_register#2839 into 9c50d96b2b9cb3c264dfb34239af0621321929c6 on develop.


Fix youtube link

The youtube video ID changes if a live stream is restarted. Use a permanent link instead.
ping @acehreli  @andralex @WalterBright

Thanks, but it looks like the main page hasn't been updated yet. Is there anything special that needs to be done to rebuild the page? ping @acehreli

Thanks, but it looks like the main page hasn't been updated yet. Is there anything special that needs to be done to rebuild the page? ping @acehreli

That's really weird. It was deployed directly via https://travis-ci.org/dlang/dconf.org/builds/228791843

Updated by hand, rsync failed with:
rsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-51/rsync/main.c(996) [sender=2.6.9]

Looking at the rsync log:
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.alexandrescu.html.wGQKqA" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.arneaud.html.17lNhL" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.arneaud.pdf.SPjB9F" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.bright.html.sYKtWo" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.bright.pdf.3Ajtll" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.buclaw.html.dBH6EE" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.buclaw.pdf.udmNAN" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.caciulescu.html.7qpBsk" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.cojocaru.html.8e6X4c" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.dilly.html.g905lQ" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.engelen.html.DRqP88" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.hackathon1.html.oVdgAM" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.hackathon2.html.JqewCY" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.koch.html.LzlsWk" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.koch.odp.3KaktY" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.lightning.html.aPa4j2" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.marques.html.WqvD0Q" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.marques.pdf.WJVObW" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.meyers.html.5AHegj" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.nacke.html.UPMihf" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.nacke.pdf.an1y4U" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.nitu.html.deutHS" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.nitu.odp.EMaFd7" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.nunn.html.rpu6id" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.olshansky.html.KPadxE" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.panel.html.JUv0rD" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.panteleev.html.aqLj3x" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.schveighoffer.html.dbEqlA" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.sechet.html.wyiCp9" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.sechet.pdf.qgJgCz" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.staniloiu.html.uMQo98" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.veelo.html.DEUheS" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.veelo.pdf.0985o0" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.watson.html.yhh8Aj" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.wilson.html.RmYTdx" failed: Permission denied (13)
rsync: mkstemp "/usr/local/www/dconf.org/data/2017/talks/.wilson.pptx.BOhUM1" failed: Permission denied (13)

More permission problems... I think that we can't have both auto-deploy and people updating things live. One will break the other.

I'll fix it

@andralex Could you please run ssh<EMAIL_ADDRESS>"chmod -R g+w /usr/local/www/dconf.org/data"


changed kubernetes/org link

Signed-off-by: Ayushman<EMAIL_ADDRESS>issue #253 changed Link from https://github.com/org to https://github.com/kubernetes/org on Line 222 of content/en/resources/services.md

/lgtm

/assign @castrojo

/approve


[SPARK-24256][SQL] SPARK-24256: ExpressionEncoder should support user-defined types as fields of Scala case class and tuple

What changes were proposed in this pull request?
Right now, ExpressionEncoder supports ser/de of primitive types, as well as scala case class, tuple and java bean class. Spark's Dataset natively supports these mentioned types, but we find Dataset is not flexible for other user-defined types and encoders.
For example, spark-avro has an AvroEncoder for ser/de Avro types in Dataset. Although we can use AvroEncoder to define Dataset with types being the Avro Generic or Specific Record, using such Avro typed Dataset has many limitations:

We can not use joinWith on this Dataset since the result is a tuple, but Avro types cannot be the field of this tuple.
We can not use some type-safe aggregation methods on this Dataset, such as KeyValueGroupedDataset's reduceGroups, since the result is also a tuple.
We cannot augment an Avro SpecificRecord with additional primitive fields together in a case class, which we find is a very common use case.

The limitation is that ExpressionEncoder does not support serde of Scala case class/tuple with subfields being any other user-defined type with its own Encoder for serde.
To address this issue, we propose a trait as a contract(between ExpressionEncoder and any other user-defined Encoder) to enable case class/tuple/java bean to support user-defined types.
With this proposed patch and our minor modification in AvroEncoder, we remove above-mentioned limitations with cluster-default conf spark.expressionencoder.org.apache.avro.specific.SpecificRecord = com.databricks.spark.avro.AvroEncoder$
This is a patch we have implemented internally and has been used for a few quarters. We want to propose to upstream as we think this is a useful feature to make Dataset more flexible to user types.
How was this patch tested?
I have tested this patch internally. Did not write unit test since the user-defined Encoder(AvroEncoder) is defined outside Spark.
I look for suggestions on how to write unit tests for this patch.

You need to add tests first. Could you?

I will investigate how can we add test for this. thoughts are welcomed

@viirya  @cloud-fan before I add test, could you guys take a look and advise if the approach taken in this patch is acceptable?

I will take a look later today.

I'm not sure if I look into correct project. But seems spark-avro project doesn't have AvroEncoder yet. The PR going to add AvroEncoder looks like this one https://github.com/databricks/spark-avro/pull/217.

@viirya  thanks for the feedback. We internally customized the AvroEncoder based on the open source PR, since it never gets merged into spark-avro. we propose this feature since it should apply to every user-defined Encoder, not limited to AvroEncoder.

Can one of the admins verify this patch?

@fangshil, Avro was now in Spark. How does it relate to this PR? Should we go forward?

@fangshil also can you point me out the PR not merged into spark-avro please so that I can check when I have some time.

@HyukjinKwon  thanks for the update. What do you mean by "Avro was now in Spark"?  The PR I mentioned is https://github.com/databricks/spark-avro/pull/215/files. I have been maintaining this PR internally for a while in my company with Spark 2.3

I think this PR is blocked by adding UDT officially(it's currently internal). Maybe we can start a thread about UDT in the dev list.

Can one of the admins verify this patch?

There's PR pending to add support for Dataset of Avro here: https://github.com/apache/spark/pull/22878

As @fangshil points out, due to the fact that Spark's encoder-generating facilities found in ScalaReflection and JavaTypeInference cannot be made aware of a user-defined Encoder[T], it is fairly inconvenient to work with a Dataset[T] for which such an encoder has been defined. He mentions two reasons:

Common operations like joins and aggregations require the ability to encode a Dataset[(T, S)] or the like, which Spark will not recognize how to encode -- precisely because the encoder-generating facilities in ScalaReflection cannot see the custom user-defined Encoder[T].

The perfectly reasonable desire to create a case class or Java bean containing a member of type T is thwarted, again because the encoder-generating facilities in ScalaReflection and JavaTypeInference cannot see the custom Encoder[T].

Now, the first problem can perhaps be worked around, for example by implicitly defining an Encoder[(T, S)] whenever there is an implicit Encoder[T] and Encoder[S]. However, the second problem remains. And that is precisely what the present PR sets out to solve.
I understand if the Spark community would prefer to take another approach to solving this problem, but then I'd like to find out what that approach is.
For instance, is the consensus that the best approach is to create a UserDefinedType[T] and register it through the currently private UDTRegistration API? If so, could someone please point me to a thread in the Spark dev list that can shed light on the justification behind this choice, and on the timeline for making that API public?
Finally, I'd like to ask why, even if the UserDefinedType[T] approach is preferred, the work in the present PR isn't being considered as a supplementary enhancement -- one which many Spark users would find very convenient.

FWIW I am aware of this thread in the Spark dev list.


API endpoints needed for wallet creation/overview

API endpoints needed for wallet creation/overview so devs using LNBits as part of their stack can create wallets on behalf of their users. ie a games developer might want to use LNbits to manage the wallets of its users.
I propose two endpoints to be added to the wallet main page api info:
Create a wallet
Fetch transaction history
Along with the other endpoints this should be enough

I have given this a little thought and it will be best achieved as an extension, that way the developer can manage their user base.
I will start work on an extension that can generate users, and wallets associated with users, which will include api endpoints for the functions

The extension is available for review (you will need to remove the .example from json.config)
One issue that needs fixing is getting the user AND wallet table to update when a user/initial wallet is created, or a user (and its wallets) are deleted - so currently requires a page refresh.
https://github.com/lnbits/lnbits/tree/master/lnbits/extensions/usermanager

The extension seems to work fine and it ticks the functionality needed


Read environmental variables from .env files

Is your feature request related to a problem? Please describe.
Most of the time we have a .env file in our directory that contains all the secret. Right now, there is no way to directly use this file to resolve the env keys in the mustache statement.
Describe the solution you'd like
It would be nice to automatically detect and parse all environment variables in our mustache templates, rather than having to explicitely specifying them in our runtime environment.
Usage:
If we have a .env file with the following content in it,
API_ENDPOINT=myapi.com

Then, this block should work by default.
type Query {
  users: [User]! @http(baseUrl: "{{env.API_ENDPOINT}}", path: "/users")
}

Agree. I suggested it when working on #790, but it was outside that issue's scope.

/bounty 120$

/attempt

Hi @tusharmath, Can I give it a shot? Can you assign the issue to me.

I'd like to work on this one as I implemented part of the env thing already

I started working on it, and I'll use env-file-reader to read the env.
one question: Do we want a new operator or a new field on an existing operator?
IMO, we could add an env_file, env_path, or something like that on the @server operator or create an @env operator.
e.g.:
# new field on server operator
@server(env_path: ".env.something")

# OR

# new env operator
@env(path: ".env.something")

what do you think @tusharmath?

As discussed on Discord, we'll use @link for that, so we're blocked until #886 be resolved.

is this closed? I still this issue as open in algora

It's really open @Bhavyajain21. I'm assigned to this one but feel free to give it a shot if you want to

fixed in https://github.com/tailcallhq/tailcall/pull/1523


create install script for linux

Installing this module will become a lot easier, the user just has to run this script and start using the module!
Signed-off-by: Dhruva Gole<EMAIL_ADDRESS>

@DhruvaG2000 I tested out the updates to the install script and everything LGTM!


changed 'arguments' to 'args' to work with tsc 1.5

Hi @teddyward, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

er - someone else already did this
https://github.com/Microsoft/vso-agent/pull/42

?merged

From: Teddy Ward<EMAIL_ADDRESS>Sent: Tuesday, August 04, 2015 2:15 PM
To: Microsoft/vso-agent
Cc: Bryan MacFarlane
Subject: Re: [vso-agent] changed 'arguments' to 'args' to work with tsc 1.5 (#48)
er - someone else already did this
#42https://github.com/Microsoft/vso-agent/pull/42

Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/vso-agent/pull/48#issuecomment-127697706.


Apply datePickerModeAndroid prop to TimePickerAndroid.

Currently, the datePickerModeAndroid prop is only apply to DatePickerAndroid not the TimePickerAndroid. This PR make it apply to TimePickerAndroid too. So, when user setmode as  time or datetime the TimePickerAndroid will display correctly and consistently with DatePickerAndroid.

Merged, thank you @0angelic0 !
I guess the prop name now is a bit misleading though...

Thanks for merging !
I think the name is still okay :)

Landed in v5.0.0


Added setPitch(float) option to change pitch of the sound in Android

… Also added getSpeed() and getPitch().

Here default pitch is 1. Value of pitch between 0 & 1 produces low pitch of the given sound and above 1 produces high pitch of the given sound.
Works on API 23 and above in android.

Hi Ketn. Is it possible to map the pitch to these frequencies somehow? http://pages.mtu.edu/~suits/notefreqs.html

This is fantastic. Please merge this in someone! @DavidCow I think keeping setPitch simple like it is here would be better, since to make the output match a certain note, you would need to know the pitch of the original sample.

No merge?

Any plans on changing pitch on iOS too?

Any plans on changing pitch on iOS too?

I'm looking for the same feature, what do you are ended up using?

@xbaldiq did you manage to solve it?

any updates to having an option to tweak the pitch? anyone has a solution to this? i need to change pitch on my notes?