Update to Polymer 0.9

I'll be the first to say that if y'all weren't planning on moving flatiron-director to 0.9, I won't be taken aback by a "no thanks." :smile: I'm not all that familiar with git just yet (I'm moving to using git primarily from a background of working with SVN) so I don't know if there's a way to submit a pull request for a new branch.. or if I'm doing it right by submitting this PR as-is. (I created a 0.9 branch on my fork when working on the element).
Now, about the actual changes:

Converted element to Polymer 0.9
Reorganized directory structure/files to match the rest of the 0.9 series elements from the Polymer team
Updated Polymer project copyright notice header to latest version present in other element repos
Updated version in bower.json to 0.9.0
Added unit tests (currently passes all tests in Safari 8, Chrome 42, Firefox 37 on OS X)
Updated Flatiron Director to 1.2.6 from 1.2.2
Modified global variable behaviour to be a tad more solid
Added basic documentation (adapted from Polymer 0.5 SPA tutorial)

Cheers! :beers:

This appears to be a bit more comprehensive of a port compared to #9 and includes tests. Unfortunately it's still using 0.9 rather than 1.0. Are you interested in updating this PR? If so, we can go ahead here. If not, we can close and focus on the 1.0 port that doesn't include tests. Any interest?

I'd be more than glad to update this for 1.0. Shouldn't take very long!

@addyosmani I updated it to 1.0, and fixed a few things I hadn't noticed before. Hope it's looking good now!

Sounds like a merge to me. Patch releases are of little concern. ^0.7.0 out to do it, right @addyosmani?

Sounds good to me, anyone can merge this please?

+1 :+1:

@addyosmani looks good to me and is working (:

LGTM. Apologies for the delay on this one.


Import does not seem to work with relative path

I have the plugin configured to match css/site.less. In site.less, I import another file in the same folder with
@import "colors";

It crashes with this error:
{ type: 'File',
  message: '\'colors.less\' wasn\'t found',
  filename: 'input',
  index: 0,
  line: 1,
  callLine: NaN,
  callExtract: undefined,
  column: 0,
  extract: [ undefined, '@import "colors";', '' ] }

The import work with
@import "/src/css/colors";

Is this a configuration problem somewhere on my end? I'd like to include Bootstrap less files but it would be rather tedious to have to change them all to use absolute paths.

The options get passed directly to LESS, so whatever you can do with LESS proper you can do with this plugin. I suspect your paths are not quite right. Take a look at this test: https://github.com/christophercliff/metalsmith-less/blob/master/test/index.js#L17-L30
And the source directory: https://github.com/christophercliff/metalsmith-less/tree/master/test/fixtures/import/src

Thank you, that worked. My use of the plugin now looks like this:
.use(less({
	pattern: 'css/site.less',
	parse: { paths: ['src/css'] }
}))

I guess I assumed that LESS would look for files relative to where the file is that it's currently processing. And this is how it seems to me that other less parsers work. What's especially inelegant here is that the  pattern uses a different root (i.e. /src/) than the parse path (i.e. /).
Is it possible to pre-configure the parser to always include the current file's directory in the paths?
Either way, it would be super helpful if you could add the paths as an example to the main plugin documentation. I didn't know that this is where I would specify the path and it didn't even occur to me to search there.

I think it's best for a wrapper plugin to expose the underlying library as directly as possible. Otherwise you end up with different flavors of the same technology. This is a problem in the Grunt ecosystem, where you often need to re-learn the plugin API when you already know the library API.
I noticed they released LESS v2 recently, with a simpler API and better docs. Will update to make things clearer https://github.com/christophercliff/metalsmith-less/issues/13.

Great, thank you!


feat(mria_lb): add incompatibility reasons to custom compatibility check

Fixes EMQX-12103

I think this compatibility error can be checked and reported entirely in EMQX application code. No need to cross multiple API levels to report a warning. Since EMQX owns and implements the version check, there's nothing preventing it, architecture-wise, from making an RPC to check version of its peer.


Want to connect to a specific device

Hi everybody. I'm implementing flutter blue on my project. In my app I just would like to connect to a specific device and, like in this comment https://github.com/pauldemarco/flutter_blue/issues/125#issuecomment-432684180 , i could put a control on the device name.
Unfortunately, in the main.dart i don't find the method _startScan().
Somebody has any idea???
Thank you

I know how to show the specific devices.You can find the codes on flutter blue widget.

Thank u. I already found a solution


Use CleanPath instead of path.Clean

As title.

I was unable to create a backport for 1.19, please send one manually. :tea:

There are many issues with this PR. In many places the previous code absolutely ensured that a path could not start with a "/" which is this PR will no longer protect against.

I was unable to create a backport for 1.19, please send one manually. :tea:


VSCode not show Not all code paths return a value.(7030)  bug

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

VS Code Version: 1.75.0
OS Version:  macOS 13.1 (22C65)

Version: 1.75.0
Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164
Date: 2023-02-01T15:24:42.903Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.2.0
Sandboxed: No

Steps to Reproduce:

open vscode
create test.ts with belows codes

type Arr = number[][];

const arr: Arr = [[-1,0,1],[-1,-1,2]];

function test(arr: Arr) {
  arr.sort((a, b) => {
    if(a[0] !== b[0]) {
      return a[0] - b[0] > 0 ? 1 : -1
    } else if(a[0] === b[0] && a[1] !== b[1]) {
      return a[1] - b[1] > 0 ? 1 : -1
    } else if(a[0] === b[0] && a[1] === b[1]) {
      return a[2] - b[2] > 0 ? 1 : -1;
    }
    // fix: Not all code paths return a value.(7030) ❌
    // return a[2] - b[2] > 0 ? 1 : -1;
  });
  return arr;
}

test(arr);

env
$ npx ts-node -vvv
ts-node v10.9.1 /Users/xgqfrms-mm/.npm/_npx/1bf7c3c15bf47d04/node_modules/ts-node
node v18.12.0
compiler v4.9.4 /Users/xgqfrms-mm/.npm/_npx/1bf7c3c15bf47d04/node_modules/typescript/lib/typescript.js

compare screenshots
vscode ❌

playground ✅

https://www.typescriptlang.org/play

This is because you have different tsconfig settings between VS Code and the playground, specifically the noImplicitReturns setting

After I enabled noImplicitReturns, it still does not work.

https://www.typescriptlang.org/tsconfig#noImplicitReturns

Your file likely isn't part of that tsconfig project then.. Try running TypeScript: go to project configuration from the open file to check

@mjbvz Thanks for your time!
I'm very Sorry for that, it's my config problem.
solution

including the src folder in the tsconfig.json file

{
  "include": [
    // include folder ✅
    "src/**/*",
    "test/**/*"
  ],
}


ModuleError: Failed to resolve dependencies of 'z2ui5/ExportSpreadsheet.js'

I get this error on S/4HANA 2022.

Any idea?

There seems to be a problem with the Spreadsheet Custom Control. When i test the isolated spreadsheet control sample Z2UI5_CL_DEMO_APP_077, i get the same problem:

@choper725 did you change anything in this area?

try pass the column config binded as a propery in spread sheet export xml.

Ah no!😅 seems we are both on openUI5. @christianguenter2 change the bootstrapping to the normal version and try again.

this sql version is different from demo 77 as this one got the columns binded as a table to the export spreadsheet control.
plus, now you can use this control in every view type

nice, cool stuff! 👍
need to find a way to display somehow a better error message (if openUI5 is used). also planned to make this repo openUI5 compatible, maybe something like: if openUI5 is active, the excel function is not active (instead of throwing an error) might be possible. but i can check this on my side.

Ah no!😅 seems we are both on openUI5. @christianguenter2 change the bootstrapping to the normal version and try again.

Yeah ;-) that was the problem. Works now. Amazing thx.

need to find a way to display somehow a better error message (if openUI5 is used). also planned to make this repo openUI5 compatible, maybe something like: if openUI5 is active, the excel function is not active (instead of throwing an error) might be possible. but i can check this on my side.

That would be very convenient.

check spreadsheet CC with openui5 sdk loaded,
not the button should be disabled with tooltip indicating openui5 is not supported for this control


Storage extensions shut down before execution serializer is shutdown

Storage extensions are shut down before the execution serializer which means storage extensions that override cloud.orbit.lifecycle.Startable#stop and shut down connection pools etc. may cause problems for Actors which invoke writeState() inside deactivateAsync.

Do you see any reason we can't just move this later in the shutdown procedure? Nothing comes to mind so I'll do that assuming no objections.

After shutting down executionSerializer? or did you have something else in mind?

I think after executionSerializer is probably fine. I'll need to test it out.

Fix applied. Let me know if you have any further issues.


Kernels fail to start because they can't create stderr files in non-ascii accounts on Windows

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Anaconda2\lib\site-packages\spyder\plugins_init_.py", line 511, in
toggled=lambda checked: self.toggle_view(checked),
File "C:\Anaconda2\lib\site-packages\spyder\plugins\ipythonconsole.py", line 695, in toggle_view
self.create_new_client(give_focus=False)
File "C:\Anaconda2\lib\site-packages\spyder\plugins\ipythonconsole.py", line 974, in create_new_client
self.connect_client_to_kernel(client)
File "C:\Anaconda2\lib\site-packages\spyder\plugins\ipythonconsole.py", line 995, in connect_client_to_kernel
stderr_file)
File "C:\Anaconda2\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1384, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr)
File "C:\Anaconda2\lib\site-packages\jupyter_client\manager.py", line 243, in start_kernel
**kw)
File "C:\Anaconda2\lib\site-packages\jupyter_client\manager.py", line 189, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Anaconda2\lib\site-packages\jupyter_client\launcher.py", line 123, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Anaconda2\lib\subprocess.py", line 390, in init
errread, errwrite)
File "C:\Anaconda2\lib\sub

It seems there's content missing in your error report. Please post the entire error.

This is probably a duplicate of issue #4816. So I'm closing this issue for now.

On a second thought, this maybe is caused because you have a user name with non-ascii characters.
We'll take a look at it in a future release.

@dalthviz, please work on this one.

I think the idea is (as a test) make the directory where stderr files are created a non-ascii one and see if IPython consoles can start or not using Python 2 (I think they will fail).
Then you need to fix this error.

@ccordoba12  after testing no error appear for the console. It starts normally.
A screenshot of the path for some of the stderr files of the consoles I created while testing:

Ok, then please add a test for this please. For the test, please a non-ascii dir with Chinese and Arabic characters.


Metadata to log

The entire settings report can be a <pre> block at the bottom of status page. But how often to update?

hourly: Best case for display, because matches data update frequency, but hard to save hourly because requires tabulation.
daily: Pretty slow for display but easier to handle daily settings report files since data is already daily binned.
in between: update hourly, but only retain most recent file as the daily (e.g. 23:00 report)

Which params make sense to highlight up front?:

Serial Number
Location
RealTime Period
Conc Type
Background
PM Inlet type

And to make into statistics for plotting?:

Location?
Data Average?
RealTime Period?
K?
Background
Usw?
Audit span
Time Zone, as UTC hour offset? (requires separate numeric parser)
slope/offset values from sensor table at the end

Example settings report (w/ checksums)
E-BAM PLUS Settings Report*02227                                                                                [1/1490]
2019-06-18 14:39:02*00956

      Firmware, 82102, R1.1.3*01749
          CPLD, 81699, R1.0.0*01355
       Display, 82451, R1.0*01587
 Digital Sen 1, 597, 10503-01, R01.0.0*02292
*02612
 Serial Number, W15096*01713
      Location, 1*01142
     Baud Rate, 9600*01251
Ethernet FlowControl, NONE*02388
        AIRSIS, OFF*01010
  Data Average, 1 HR*01484
RealTime Period, 15*01608
   Tape Period, 1 HR*01444
 Tape Pressure, 250*01542
 Standard Temp, 25 C*01565
 PM Inlet Type, PM2.5*01561
     Conc Type, STANDARD*01666
             K, 1.012*00809
    Background, 0.0010*01515
           Usw, 0.325*00995
    Audit Span, 0.771*01394
    Conc Units, ug/m3*01581
      USB Days, 120*01082
     USB Files, USER*01320
Analog Range 1, 0-5.0 V*01634
Analog Range 2, 0-5.0 V*01635
     Conc Span, 1000 ug/m3*01709
   Conc Offset, 0 ug/m3*01713
Hourly Timestamp, ENDING*02136
  FT Set Point, 45.0*01379
     FT P-Gain, 0.500*01173
     FT I-Gain, 0.300*01164
RealTime Alpha, 0.2316*01679
RealTime Gamma, 0.1500*01670
   Beep Volume, 10*01313
ModBus Address, 1*01453
    Byte Order, 512*01300
  Factory Mode, OFF*01508
 Flow 1 P-Gain, 10000.000*01568
 Flow 1 I-Gain, 5000.000*01517
 Flow 2 P-Gain, 10000.000*01569
 Flow 2 I-Gain, 5000.000*01518
   Cloud Modem, NONE*01509
     Time Zone, UTC -08:00*01650
    Clock Sync, NONE*01445

  Name, Offset,  Slope*01763
 FLOW1, -0.153,  1.030*01111
 FLOW2, -0.255,  0.991*01130
    AT,  0.940*00636
    BP, -0.220*00637
    FT,  0.037*00638
 UPPER, -0.889*00812
 LOWER, -1.279*00803
   FRH,  0.000*00666
*00000

     DAC Cal 1, 0.0,21,5.0,52729*01606
     DAC Cal 2, 0.0,-21,5.0,52732*01646
*00000

Deciding to just concatenate reports into long daily files for storage and to keep latest report only for consumers.

Which params make sense to highlight up front?:

[x] Serial Number
[x] Location
[x] RealTime Period
[ ] Conc Type viewable in reports
[ ] Background added to rpimonitor stats only
[ ] PM Inlet type viewable in reports

And to make into statistics for plotting?:

[x] Location?
[ ] Data Average? can review reports
[x] RealTime Period?
[ ] K? " "
[x] Background
[ ] Usw? cannot find documentation
[x] Audit span
[ ] Time Zone, as UTC hour offset? (requires separate numeric parser) text is enough
[ ] slope/offset values from sensor table at the end maybe later
[x] filter temperature setpoint


Bot framework integration with Cisco Webex teams bot

Hi all,
The description provided for webex as a channel is not sufficient to fully integrate the bot framework with Webex bot. Where I can get fully described information for bot framework integration with Cisco Webex teams bot.

Hi @Bradrajkumar By description, are you referring to this documentation?:
https://docs.microsoft.com/en-us/azure/bot-service/bot-service-adapter-connect-webex?view=azure-bot-service-4.0

hi @dmvtech ,
yes i am using the same link which you have added here.

Thank you. Investigating. I'll let you know what I find.

Hi @Bradrajkumar, did you make sure your both was running per this section?.

To do this your bot must be running, so that Webex can verify the URL to the endpoint is valid.

Yes , I did this part but I haven't published but I am running it locally.
There is a "put" method recommended for connection but it's not worth it
using and instead I used "post" and it's working ok for establishing the
connection.
On Thu, 28 May 2020, 11:11 pm Dana V<EMAIL_ADDRESS>wrote:

Hi @Bradrajkumar https://github.com/Bradrajkumar, did you make sure
your both was running per this section
https://docs.microsoft.com/en-us/azure/bot-service/bot-service-adapter-connect-webex?view=azure-bot-service-4.0#create-and-update-a-webex-webhook
?.
To do this your bot must be running, so that Webex can verify the URL to
the endpoint is valid.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/BotFramework-Services/issues/215#issuecomment-635495222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIGGCXFYCSH4MDVS6WT56LTRT2O3DANCNFSM4NIBNBDQ
.


Download Report

Feature Request
Context
Story
As a people allocator
I want to have an easy way to see my reports
So I can view or share them

Acceptance Criteria
Given I'm in my space
When I click the "Download Report" button
Then my report automatically downloads as a csv file
Notes
https://www.figma.com/file/S4XKeovlQqeRk64k2qzhf8gL/PeopleMover?node-id=2942%3A0
User should be able to collect the same data points that were collected in the reporting function in PROD1.

report columns:

remove boardName
reorder: [a] productName, [b] personRole, [c] personName

personName should come before personRole (we can discuss more about this with John and the team)
productName should be in alpathetical order

There are two Download Report Buttons - just need one :)


Add license text

Add MIT license text for this repository

I added a license file into the root folder. Not sure, if this is sufficient or what action has to be run further.


Unable to scrape data: 'NoneType' object has no attribute 'select_one'

Hey 👋 I'm having some issues scraping some basic data
Unable to scrape data: 'NoneType' object has no attribute 'select_one'. Consider using debug logging and log_response for further investigation.
Contents of multiscrape.yaml:

resource: https://ironforge.pro/api/servers/classic
scan_interval: 86400
log_response: true
sensor:

unique_id: nethergarde_keep_realm_players
name: Nethergarde keep players
select: "#content > div.content-main > div.response-info > pre"

Part of the contents of page_response_body.txt:
{"date":1663135200000,"week":68,"values":[{"name":"Benediction","realmType":"PvP","locale":"US","language":"East","total":32820,"alliance":32820,"horde":0,"active":true,"fcm":false,"locked":true}`
So it seems like the call got executed but still something failed and no soup file got created

The response is in JSON format, which you cannot scrape with CSS selectors. Try a JSON template like this:
multiscrape:
  - name: nethergarde
    resource: https://ironforge.pro/api/servers/classic
    scan_interval: 86400
    log_response: true
    sensor:
      - unique_id: nethergarde_keep_realm_players
        name: Nethergarde keep players
        value_template: "{{ value_json['values'][0]['total'] }}"

I will improve logging though.


implement async api to use in offline mode

added firestore async api

@thoutbeckers I was thinking on the async { } wrappers in order not to update the api, however I couldn't think of an elegant way to release a reference to the data that is being saved


update golang-ci to 1.46.2

I think this PR duplicates #5870

oh, I did not noticed that when I opened this one :-(
But it looks like https://github.com/redhat-developer/odo/pull/5870 was closed. @anandrkskd, are you planning to reopen your PR? I don't mind closing this one in favor of #5870

@anandrkskd, are you planning to reopen your PR? I don't mind closing this one in favor of https://github.com/redhat-developer/odo/pull/5870

That PR won't fix the issue we encountered on our tests. Instead, I have this PR opened for fixing the unit test, and I am using the same version as before. i.e 1.37.0 for the tests.
I think the main question would be, do we want to use the new version 1.46.2 ?

I think the main question would be, do we want to use the new version 1.46.2 ?

I think that we do ;-) We should regularly update  our tools

/close
in favor of https://github.com/redhat-developer/odo/pull/5934


improve stack trace of autogenerated ViewerModel.add_xxxx methods

References and relevant issues
The problem is visible in stacktrace from here https://github.com/napari/napari/issues/6789#issue-2214508767
Description
Instead of using a string template and passing source file name, create template file and pass the path to it to compile function.
On main:
Traceback (most recent call last):
  File "/home/czaki/Projekty/napari/examples/add_points.py", line 22, in <module>
    viewer.add_points(points, size=size)
  File "/home/czaki/Projekty/napari/napari/components/viewer_model.py", line 7, in add_points
    from collections.abc import Iterator, Sequence
                ^^^^^^^^^^^^^^^^
  File "/home/czaki/Projekty/napari/napari/layers/base/base.py", line 112, in __call__
    raise ValueError("sample exception")
ValueError: sample exception

with this PR:
Traceback (most recent call last):
  File "/home/czaki/Projekty/napari/examples/add_points.py", line 22, in <module>
    viewer.add_points(points, size=size)
  File "/home/czaki/Projekty/napari/napari/utils/add_layer.py_tmpl", line 7, in add_points
    layer = {cls_name}(**kwargs)
            ^^^^^^^^^^^^^^^^
  File "/home/czaki/Projekty/napari/napari/layers/base/base.py", line 112, in __call__
    raise ValueError("sample exception")
ValueError: sample exception

You can see that before this change, from collections.abc import Iterator, Sequence points to an incorrect line of code regarding the source of the error.

@brisvag could you check now?

if long-term we could compile and write-out actual Python files at import-time

It may be a problem if napari is installed in read only location. It should be generated during wheel build.


Need a customized.tpl file which includes all the template Execute variables.

The model code generated by go-zero currently performs full-field queries and updates.
I want to add some generated code to enable querying and updating of specific fields.
I need a customized.tpl file for developers, which includes all the template Execute variables.

fixed by #4086


fix: generic identifier in ComposerLockAnalyzer

Fixes Issue
Description of Change
Change the generic identifier prefix from "cocoapod" to "composer".
Have test cases been added to cover the new functionality?
no

@jeremylong any plans for further 7.4.x releases? Or would this go into 8.0.0?

@aikebah I've been having issues with https://github.com/dependency-check/dependency-check-gradle/issues/283 - which really should be part of the 8.0 release. I'll spend another round on it this weekend. That being said, I have no issue releasing another 7.4.x.

Then I'll assign it for now to a new 7.4.4 milestone. Should the gradle plugin turn out to be suddenly clear and easy to implement it can always be re-targeted to 8.0.0.


Initial value does get set but not displayed as selected option

I set initial value (id!) of multiple options flexdatalist with ajax url as source (searchable url, no complete list). I have two autocomplete fields with two different source urls. Both working the same way, searching for keyword submitted on enter and only responding a filtered result list. Result list is something like:
{
"data": [
{
"name": "Computer & Netzwerksicherheit",
"uuid": "1bcc3ea5-12b2-44fb-9f8d-c59504b37974"
},
{
"name": "Computer Hardware",
"uuid": "70c9e83a-1815-4994-9d70-02dbbb59493e"
},
{
"name": "Computer Networking",
"uuid": "712fc2d6-76ed-4a98-b794-dd6f03363f44"
},
{
"name": "Computer Software",
"uuid": "d225fe3e-60eb-46fb-b767-c2a161448d9e"
},
{
"name": "Computerspiele",
"uuid": "12c8aa8a-c932-4434-b651-b69eef4761ae"
}
]
}

First input field will display initial value. Value is "uuid" of source data, displayed text is "name" of source data. Second input field will not dispaly initial value but have set the "uuid" as value in source code.
Why is that? And I can not see how it will even be possible to display text ("name") of id ("uuid") without doing a ajax request. How can the first input field be displayed?

Okay, now I see how it works and why it is not working in the second case:

The Ajax URL must return ALL values if no keyword is submitted.
Initial value is checked in ALL value reponse.
My second list does return nothing if keyword is not submitted because it is a huge list of options.

Would be nice if initial value could be searched by second parameter (if text <> value).

So this case is closed.


Programmatic API

For loading serve inside an app

That would be really cool 👍

Hi everyone. I want to work on this.
Going through the code, I see that when using the CLI, we determine the args and the directory by line 43 in bin/serve.js.
A high-level solution, I think, would be to extract the rest of the file into a function that accepts flags and directory as arguments. We could then just export that function as the API.
What are your thoughts on this?

@dar5hak Great idea! Maybe we can even keep the CLI like it is and just let the programmatic API run the CLI as a command using child_process.spawn or child_process.exec + setting the flags by setting process.argv. 🤔

@leo Oh yes! That would be simpler. I'll send a pull request tonight (UTC+0530).
Would you prefer an index.js at the project root, or inside lib/?

@dar5hak A file named api.js inside lib/... 😊


Finish the imports spec

Add support for Table imports, I'm exposing a simplified API for defining the table to the user.
A possible improvement in the future will be to enable referencing imported functions by name instead of using the underlying index but this is enough to pass a few more tests.

@bhelx this is ready for review, this finalizes the work on imports.

Looks good to me. I'm assuming since it's green it's good to merge!


Filter label will turn blue after address search is performed

Per Filter Change Call on 3/23/2015
The ‘Filters’ label will turn blue after an address search is performed and the filter options panel will auto expand to display available filter options.

Verified in v1.4.


🐛 [Bug report]: The page refresh give 404 on sub routes

Descrcibe the bug?
When you refresh the page on ReactPlay subroutes, it gives page not found error.
Steps to reproduce the bug?

Go to Play Page
Now Refresh the page
You should see a 404

Please note: This is reproducible on:

Any sub routes like ideas, leaderboard, etc
Always on Incognito mode
On non-incognito, please clear the application data and reproduce it. You can clear the app data from here

Expected behavior
The Refresh should get us the correct page we are on.
Desktop (Please provide your system information)
All
Mobile (Please provide your device information)
All
Screenshot / Screenshare
No response
Relevant log output
No response
Code of Conduct

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

I will try


Very slow after capturing PhantomJS.

% time ./node_modules/karma/bin/karma start node/tests/karma.conf.js
DEBUG [plugin]: Loading plugin karma-phantomjs-launcher.
DEBUG [plugin]: Loading plugin karma-mocha.
DEBUG [plugin]: Loading plugin karma-webpack.
DEBUG [plugin]: Loading plugin karma-sinon-chai.
DEBUG [plugin]: Loading plugin karma-coverage.
INFO [karma]: Karma v0.12.31 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
DEBUG [temp-dir]: Creating temp dir at /var/folders/14/x0syn_lj3nb1vg42h0wsl7lc4lm37t/T/karma-39250125
DEBUG [launcher]: /Users/sgr29/Projects/code/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs /var/folders/14/x0syn_lj3nb1vg42h0wsl7lc4lm37t/T/karma-39250125/capture.js
DEBUG [web-server]: serving: /Users/sgr29/Projects/code/node_modules/karma/static/client.html
DEBUG [web-server]: serving: /Users/sgr29/Projects/code/node_modules/karma/static/karma.js
DEBUG [web-server]: upgrade /socket.io/1/websocket/Ffsp3XoyzM4WqKJbzu14
DEBUG [proxy]: NOT upgrading proxyWebSocketRequest /socket.io/1/websocket/Ffsp3XoyzM4WqKJbzu14
DEBUG [karma]: A browser has connected on socket Ffsp3XoyzM4WqKJbzu14
INFO [PhantomJS 1.9.8 (Mac OS X)]: Connected on socket Ffsp3XoyzM4WqKJbzu14 with id 39250125
DEBUG [launcher]: PhantomJS (id 39250125) captured in 2.53 secs

<<< ~40s delay here >>>

DEBUG [watcher]: Resolved files:
	/Users/sgr29/Projects/code/node_modules/chai/chai.js
	/Users/sgr29/Projects/code/node_modules/sinon/pkg/sinon.js
	/Users/sgr29/Projects/code/node_modules/mocha/mocha.js
etc ...

After Karma has captured PhantomJS it pauses for about ~40s while it does something, I'm not sure what, I thought webpack but run on it's own it doesn't take 40s.
What's Karma doing after it's captured PhantomJS?

I'm having the same problem, I was just talking to a co-worker of mine who is suffering from that exact problem too.  I don't know how to vote for an issue, but here's my details from package.json:
"karma": "^0.13.16",
"karma-chrome-launcher": "^0.2.0",
"karma-coverage": "^0.5.2",
"karma-firefox-launcher": "^0.1.6",
"karma-jasmine": "^0.3.6",
"karma-phantomjs-launcher": "^0.2.2",
"karma-sourcemap-loader": "^0.3.5",
"karma-webpack": "^1.7.0",
"phantomjs": "^1.9.19",
"phantomjs-polyfill": "0.0.1",


Archetypes templating

Aren't we able to template archetypes atm? For instance, in this way:
+++
title: ""
description: ""
url: "/post/{{ .Slug }}"
+++

No. And please use https://discuss.gohugo.io/ for questions.

This is not a question, but a feature request, what's wrong with it?

To me it looked very much like a question.

I was just wondering if we could implement any templating on archetypes, it makes so much sense. Btw, #452 seems to be related as well.


docs(CONTRIBUTING): fix grammar

Same ones I made in the Concerto project.
Signed-off-by: Kewbish<EMAIL_ADDRESS>Issue - none -
I made some changes in CONTRIBUTING.md in the Concerto library, and I figured I should do the same here.
Changes

Commas deleted
'seperate' changed to 'separate'
Grammar and spelling

Flags

none, should be just a text change

Related Issues

none

Done :)
This signoff is new to me, and I'm pretty much a newbie with git as opposed to the GitHub GUI so thanks for mentioning it :)


Warning: npm 5 is not supported yet!

Your development environment

weex-toolkit verison v1.3.5
platform Mac

when typing weed -v, then hint this message，but
注意: 在weex-toolkit1.0.8版本后添加了npm5规范的npm-shrinkwrap.json用于锁定包依赖，故npm版本<5的用户需要通过npm i npm@latest -g更新一下npm的版本，使用前请确认版本是否正确。
should i ignore ？
Warning: npm 5 is not supported yet!
It looks like you're using npm 5 which was recently released.
Weex Toolkit doesn't work well with npm 5 yet, unfortunately.
We recommend using npm 4 until some bugs are resolved.
To install npm 4, you can just run npm i npm@4 -g or use n to manage your npm version with node.
You can follow the known issues with npm 5 at https://github.com/npm/npm/issues/16991

npm -v 5.6.0
node -v 9.8.0

@cccisbug The npm@5 may cause may upgrade issue while you using weex-toolkit, and npm@4 is a better version to use, you should follow the tip from the command line, and I will change the document on the website.
Thanks.


Responsive Landing Page and Navbar

Home page is not optimised for mobile view. Please assign this issue to me so I can work on making it responsive across screen sizes.
Also, please add hacktoberfest and gssoc labels.

Sure Home page is not optimised for mobile view. Please assign this issue to me so I can work on making it responsive across screen sizes. Also, please add hacktoberfest and gssoc labels.

Sure, go ahead


support for HTML download

Downloaded the facebook data in HTML format long back. cannot find any tools for adding the meta data back. Do we have any options to support this data format ?

If your'e up for diving through history and some crappy code then yes.
This repo used to be written (all be it terribly) to work with various versions of the older HTML dumps.
There were a few different versions, so you success  might be hit or miss.
Try https://github.com/addshore/facebook-data-image-exif/tree/fced9a656204c18dbd87a5a31a9b2176dbce330a
Just after this commit the code in this repo was switched to JSON only dumps.

Thanks it did work. just make sure to point to the photos folder

I was wrong :) It did not work. the meta data did not get update

Been stale for over 6 months so closing


Fix monitoring mixin examples

This PR synchronizes the monitoring mixin examples from the readme and from the jsonnet files. It also adds a missing plus on the final summary.
Signed-off-by: Juraci Paixão Kröhling<EMAIL_ADDRESS>

@albertteoh, could you give your stamp once again? I rebased and force-pushed, which caused your previous review to be discarded.


Fix code actions that add files to the workspace

Fixes https://github.com/OmniSharp/omnisharp-vscode/issues/975
This PR cleans up a lot of the code for running code actions. It also tries to add some defensive code around a strange interaction in the '/v2/runcodeaction' end point. Essentially, this end point can either go ahead apply the code action to the workspace or supply the file edits needed to apply the code action. However, in the cases of code actions that add files, this is weird.
When file edits are requested for a code action that adds files, we add an empty file with that name to the workspace. This is very weird and could potentially leave the workspace in a bad state where an empty file was added if the editor host requesting the file edits never actually applies them. This needs revisiting in the future, but doing so now would potentially break editors.
History aside, the actual bug is that the endpoint tried to remove the document from the workspace before adding it. This throws an exception if the document doesn't already exist, which causes the end point fail. This code has been in OmniSharp for a long time, so this either didn't already work or the exception was added to Roslyn at some point. Now, we no longer try to remove it as that doesn't really make sense since a document is being added.

Thanks!

History aside, the actual bug is that the endpoint tried to remove the document from the workspace before adding it. This throws an exception if the document doesn't already exist, which causes the end point fail. This code has been in OmniSharp for a long time, so this either didn't already work or the exception was added to Roslyn at some point.

looks like it has never worked in OmniSharp properly 😄  https://github.com/dotnet/roslyn/blob/version-1.0.0/src/Workspaces/Core/Portable/Workspace/Workspace.cs#L648


Add column_formatters

Closes #131

Hey, thanks for the review!
I wanted to add proper description to PR and maybe add couple more examples in docs, like with datetime in linked issue.
But got caught up in work and stuff.
Also was thinking maybe we should pass more information/context to formatter function, but I guess it can be added later if needed without breaking compatibility.
So if this already looks good to you I'm all in for merging as is :)


[stable/postgresql] Add support for extra init containers

Signed-off-by: Rostyslav Sotnychenko<EMAIL_ADDRESS>What this PR does / why we need it:
There are cases when one needs to execute some code that requires additional binaries before database initialization.
extraInitContainers is a (de-facto) standard for Helm charts and it was missing for the PostgreSQL chart.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @tompizmor

ping @prydonius @sameersbn @javsalgar @desaintmartin @miguelaeh

Changes LGTM, please, can you resolve the conflicts?

/ok-to-test

@carrodher thanks, I've resolved the conflicts

/retest

/hold

/unhold
Got a false-negative on CI, everything is okay with the changes and the PR can be safely merged.

/lgtm


Deploy Multicall on Syndicate Frame Chain

Chain Name
Syndicate Frame Chain
Chain ID
5101
RPC URL
https://rpc-frame.syndicate.io
Block Explorer URL
https://explorer-frame.syndicate.io/
Deployment Funds
Yes

Done, thanks!


Slow Image Load Time

Slow Image Load Time
Upon opening /blog.html, images take a considerable time to load. Consider possibilities to optimize images and consider caching/preview image functions/plugins.
Potential Options
jekyll-speed

I have a plugin I use here for resizing
https://github.com/MichaelCurrin/jekyll-resize

I list some alternatives in the README too.

Fixed inadvertently in #50, images are no longer previewed on blog page with new UI layout

Fixed inadvertently in #50, images are no longer previewed on blog page with new UI layout


HWKAPM-865 Ensure incoming hawkular apm header names are capitalised …

…otherwise they don't get recognised

@jpkrohling Could you review please?

@jpkrohling Updated based on the referenced PR.

LGTM, I know it fixes the Spring Boot problem I had back then. If it also handles the concern you had[1] back then, you can close two JIRAs :)
1 - https://github.com/hawkular/hawkular-apm/pull/727#issuecomment-270121266

@jpkrohling Thanks!


 Not working with non-standard react-redux

<ConnectedRouter> Not working with non-standard react-redux <Provider>, specifically for me <ApolloProvider> from react-apollo.
I wouldn't mind submitting a PR if someone point me in the right direction.
Version
4.2.0
Steps to reproduce
import { ApolloProvider } from 'react-apollo'

<ApolloProvider
  client={client}
  store={store}
>
  <ConnectedRouter history={history}>

Expected Behavior
ConnectedRouter should be able to find parent <ApolloProvider> instead of only a <Provider>.
Actual Behavior
JS Crash and nothing works.
_this.store is undefined in ConnectedRouter here:
function ConnectedRouter() {
    var _temp, _this, _ret;

    _classCallCheck(this, ConnectedRouter);

    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.handleLocationChange = function (location) {
      _this.store.dispatch({ // HERE
        type: _reducer.LOCATION_CHANGE,
        payload: location
      });
    }, _temp), _possibleConstructorReturn(_this, _ret);
  }

Uncaught TypeError: Cannot read property 'dispatch' of undefined
    at ConnectedRouter._this.handleLocationChange (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:617), <anonymous>:38:19)
    at ConnectedRouter.componentWillMount (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:617), <anonymous>:51:10)
    at callComponentWillMount (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:6357:14)
    at mountClassInstance (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:6413:7)
    at updateClassComponent (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:7869:9)
    at beginWork (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:8253:16)
    at performUnitOfWork (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:10244:16)
    at workLoop (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:10308:26)
    at HTMLUnknownElement.callCallback (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:540:14)
    at Object.invokeGuardedCallbackDev (eval at <anonymous> (dashboard_2.70b191588b577ba24fda.js:746), <anonymous>:579:16)

ConnectedRouter._this.handleLocationChange | @ | ConnectedRouter.js?e9f6:38
-- | -- | --
  | componentWillMount | @ | ConnectedRouter.js?e9f6:51
  | callComponentWillMount | @ | react-dom.development.js?6fb0:6357
  | mountClassInstance | @ | react-dom.development.js?6fb0:6413
  | updateClassComponent | @ | react-dom.development.js?6fb0:7869
  | beginWork | @ | react-dom.development.js?6fb0:8253
  | performUnitOfWork | @ | react-dom.development.js?6fb0:10244
  | workLoop | @ | react-dom.development.js?6fb0:10308
  | callCallback | @ | react-dom.development.js?6fb0:540
  | invokeGuardedCallbackDev | @ | react-dom.development.js?6fb0:579
  | invokeGuardedCallback | @ | react-dom.development.js?6fb0:436
  | renderRoot | @ | react-dom.development.js?6fb0:10386
  | performWorkOnRoot | @ | react-dom.development.js?6fb0:11000
  | performWork | @ | react-dom.development.js?6fb0:10952
  | requestWork | @ | react-dom.development.js?6fb0:10861
  | scheduleWorkImpl | @ | react-dom.development.js?6fb0:10744
  | scheduleWork | @ | react-dom.development.js?6fb0:10706
  | scheduleTopLevelUpdate | @ | react-dom.development.js?6fb0:11177
  | updateContainer | @ | react-dom.development.js?6fb0:11215
  | (anonymous) | @ | react-dom.development.js?6fb0:15232
  | unbatchedUpdates | @ | react-dom.development.js?6fb0:11086
  | renderSubtreeIntoContainer | @ | react-dom.development.js?6fb0:15231
  | render | @ | react-dom.development.js?6fb0:15296
  | (anonymous) | @ | dashboard_2.js?f16b:38
  | ready | @ | document-ready.js?3445:24

The above error occurred in the <ConnectedRouter> component:
    in ConnectedRouter
    in QueryRecyclerProvider (created by ApolloProvider)
    in ApolloProvider

ApolloProvider doesn't take in a store prop: https://github.com/apollographql/react-apollo/blob/master/src/ApolloProvider.tsx
Just put a Provider above that in your tree.

@timdorr it does tho, and it is documented: https://github.com/apollographql/react-apollo#usage
Next you will want to add a [<ApolloProvider/>][] component to the root of your React component tree. This component works almost the same as the [<Provider/> component in react-redux][]. In fact if you pass a store prop into [<ApolloProvider/>][] it will also serve as a provider for react-redux! To use an [<ApolloProvider/>][] with your newly constructed client see the following:

That's not what the code does: https://github.com/apollographql/react-apollo/blob/master/src/ApolloProvider.tsx#L37-L41

I was hit by the same issue as @TSMMark. I'm going to file a bug in https://github.com/apollographql/react-apollo because the documentation clearly states to pass a store prop but @timdorr is right that this doesn't actually seem to be implemented.


Layout via Native CSS Grid Layout?

Is a css grid based layout a want?
Simpler to specify layouts and helps with accessibility as there is a lot less extra html markup.
I haven't looked into the html as yet.
looks fairly simple though, just take time to figure it out, something I'm keen to work on.
Thought I'd ask first as there might already be things in motion etc

Is a css grid based layout a want?

Not well supported by evergreen browsers yet (and not even remotely by IE11), so I'd vote no on it right now.
Unless a fallback was written.  But even then I don't think any browser has full support for the CSS Grid spec yet (most of it in chrome though)?

What @OvermindDL1 said. I'd love to be able to use grid but don't feel comfortable with it for at least another few months. It's so close though.


feat(containerdisk): Add CentOS Stream 10 containerdisk

What this PR does / why we need it:
It adds support for the CentOS Stream 10 image.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes # CNV-43152
Special notes for your reviewer:
Release note:

Enabled CentOS Steam 10 containerdisk

Ah, could you also add tests to artifacts/centosstream/centos-stream_test.go?

Ah, could you also add tests to artifacts/centosstream/centos-stream_test.go?

Added.


build(deps): bump type-fest from 3.8.0 to 3.9.0 (#138)

Bumps type-fest from 3.8.0 to 3.9.0.

Release notes
Commits

updated-dependencies:

dependency-name: type-fest dependency-type: direct:production update-type: version-update:semver-minor ...

:tada: This PR is included in version 6.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[composer] Wrong EOL date for 2.2

The blog post says "at least the end of 2023".
12-12 is a typo I made while writing https://github.com/endoflife-date/endoflife.date/pull/815.

opps sorry i forget to fix commit's title to [composer] .......


Task 292 Feature Request: Allow configuration of initContainer resource requests and limits

Description

Allow configuration of initContainer resource requests and limits
Dependent PR in cmd-admission-webhook-k8s: https://github.com/networkservicemesh/cmd-admission-webhook-k8s/pull/321
Issue link

https://github.com/networkservicemesh/cmd-admission-webhook-k8s/issues/292
How Has This Been Tested?

[ ] Added unit testing to cover
[x] Tested manually
[ ] Tested by integration testing
[ ] Have not tested

Types of changes

[ ] Bug fix
[x] New functionality
[ ] Documentation
[ ] Refactoring
[ ] CI

Tested locally with alpine pod using kernel-to-kernel example:


add direct dependency on simple-get

To address dependabot alert
Signed-off-by: Sally MacFarlane<EMAIL_ADDRESS>

There's a really big diff in yarn.lock, is this expected from one dependency change?

yeah sometimes that happens

one thing that has changed is

"graphql-tag" "^2.12.3"
"hoist-non-react-statics" "^3.3.2"
"optimism" "^0.16.1"
"prop-types" "^15.7.2"
"symbol-observable" "^4.0.0"
"ts-invariant" "^0.9.4"
"tslib" "^2.3.0"
"zen-observable-ts" "^1.2.0"

graphql-tag "^2.12.3"
hoist-non-react-statics "^3.3.2"
optimism "^0.16.1"
prop-types "^15.7.2"
symbol-observable "^4.0.0"
ts-invariant "^0.9.4"
tslib "^2.3.0"
zen-observable-ts "^1.2.0"

yarn -v
1.22.10

but the function of yarn.lock is just so that anyone else will get the same versions of dependencies so it doesn't really matter about the formatting

I think I don't have reviewer rights on this repo haha


OpenZFS 2.2-RC3 - ZPool Upgrade?

Hey,
Just curious if the current version of ZFS Boot Menu supports a Zpool Upgrade on OpenZFS 2.2-RC3?
Thanks,
Jake

ZFS 2.2.0 introduces a few new pool features, one of which breaks read-only imports with 2.1.2. We'll publish new EFI binaries once ZFS 2.2.0 is tagged - which is hopefully 'soon'.


Refresh button in log reverts number selected to default.

No existing report open.
Describe the bug
In System: Diagnostics: Activity
When changing the default log count value from 10 to any other value, the amount selected will change back to 10 when selecting refresh.
Revert is not possible as current version is 21.1.
To Reproduce
Steps to reproduce the behavior:
1 Go to page System: Diagnostics: Activity
2 Change log amount from 10 to anything else.
3. Click on refresh button at the bottom right.
4. Log refresh displaying only 10 entries.
Expected behavior
After step 3 (above) Log should display amount selected in step 2.
Describe alternatives you considered
Only other option is to manually change every time after refresh.
Screenshots
N/A
Relevant log files
N/A
Additional context
None
Environment
Software version used and hardware type if relevant, e.g.:
Versions | OPNsense 21.1-amd64FreeBSD 12.1-RELEASE-p12-HBSD

https://github.com/opnsense/core/commit/d641c00528e95e44bd74f7ed232ec2858f6358bf should keep the grid in shape during reloads of content.


x/exp/cmd/gorelease: check that proposed prerelease sorts above pseudo-versions

For example, v0.0.0-2020-02-07 would sort below v0.0.0-20200207183749-b753a1ba74fa.

(working on this! =) )


[CXF-5052] Classpath references should be understood using wsdlRoot batch processing options in cxf-codegen

First proposal for a classpath replacement of local file url in generated class file.
A wsdlPath set in defaultOptions beginning with classpath; replaces the file url "file:/path/to/package1/package2/myfile.wsdl" with "classpath:/package1/package2/myfile.wsdl".
Just the first idea on how to achieve this, I am very open for different ideas.

Thanks for your PR. Could you please add a testcase to the src/it folder? There are already two testcases so just copy and adapt one of them...

@deki I added a testcase, but I am not sure, how it should be executed. Nevertheless: When I run mvn generate-sources in the folder src/it/wsdl-classpath-resolution the example generates classes with classpath URLs.

@oli-ver this could be part of the 3.2.5 release. are you able to finish it?

@deki Sorry for my contiously late answers. What is the due date for 3.2.5? Are you ok with the solution I suggested here, when the tests do work? I personally think it is better to have a special XML node for this, but I would have to figure out how to create new ones first and find time to implement it. Sorry, at the moment there are too many other things going on :)

The release is planned for today.
Regarding your solution: Why not using classpath: instead of classpath;?

I did not want the expression to look like a classpath, because it‘s only a replacement string. Do you think classpath: would be a better syntax?

Ah ok got it. I this case a separate tag would be cleaner to avoid confusion.


Add additional data to summary endpoint or create a new endpoint with the new requested data

https://stats.testchain.xyz:8080/api/v1/summary
Example:
[
{
"trading_pair": "BTC-BEP20_USDT-BEP20",
"last_price": "0.0000000000",
"lowest_ask": "0.0000000000",
"highest_bid": "0.0000000000",
"base_currency": "BTC-BEP20",
"base_volume": "0.0000000000",
"quote_currency": "USDT-BEP20",
"quote_volume": "0.0000000000",
"price_change_percent_24h": "0.0000000000",
"highest_price_24h": "0.0000000000",
"lowest_price_24h": "0.0000000000"
},
{}]

Add key-values that give:

last_swap : timestamp of latest successful swap for the pair in utc. epoch format may be good
no_of_trades : no. of trades in the last 24H for this pair

these details can be used in the markets tab of markets.atomicdex.io

stats.testchain.xyz:8080/api/v1/trades/KMD_MCL/1
can be used. but, using it means the frontend will have to send 100 requests to display 100 rows on the same page. getting all the data in a single request will be optimal imo

got it 👍
sure, will add it to this RPC call since it's needed for all pairs on the same screen

@gcharang added new keys to https://stats.testchain.xyz:8080/api/v1/summary
e.g. "trades_24h":1,"last_swap_timestamp":1624137500


pychromecast.get_chromecasts() failing and not connecting

hi there,
i am not sure when this broke, but this used to work, not sure which update or change broke this.
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> import pychromecast
>>> chromecasts = pychromecast.get_chromecasts()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/__init__.py", line 75, in get_chromecasts
    blocking=blocking))
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/__init__.py", line 42, in _get_chromecast_from_host
    blocking=blocking)
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/__init__.py", line 169, in __init__
    blocking=blocking)
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/socket_client.py", line 208, in __init__
    self.initialize_connection()
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/socket_client.py", line 244, in initialize_connection
    self.socket.connect((self.host, self.port))
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.timeout: timed out
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> import pychromecast
>>> chromecasts = pychromecast.get_chromecasts()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/__init__.py", line 75, in get_chromecasts
    blocking=blocking))
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/__init__.py", line 42, in _get_chromecast_from_host
    blocking=blocking)
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/__init__.py", line 169, in __init__
    blocking=blocking)
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/socket_client.py", line 208, in __init__
    self.initialize_connection()
  File "/usr/local/lib/python2.7/dist-packages/pychromecast/socket_client.py", line 244, in initialize_connection
    self.socket.connect((self.host, self.port))
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.timeout: timed out

duplicate, think I clicked the create button early.


perf: optimizing functions

Before:
isUint8Array x 163,847,715 ops/sec ±0.28% (101 runs sampled)
concatUint8Arrays with 2 arrays x 1,215,412 ops/sec ±2.88% (87 runs sampled)
concatUint8Arrays with 3 arrays x 989,505 ops/sec ±3.35% (53 runs sampled)
concatUint8Arrays with 4 arrays x 879,122 ops/sec ±2.66% (76 runs sampled)
uint8ArrayToString x 481,612 ops/sec ±0.16% (100 runs sampled)
stringToUint8Array x 505,583 ops/sec ±1.52% (90 runs sampled)
uint8ArrayToBase64 x 110,822 ops/sec ±0.68% (94 runs sampled)
stringToBase64 x 50,018 ops/sec ±0.83% (99 runs sampled)
base64ToString x 4,518 ops/sec ±0.36% (99 runs sampled)
uint8ArrayToHex x 240,268 ops/sec ±0.30% (99 runs sampled)
hexToUint8Array x 65,200 ops/sec ±0.26% (101 runs sampled)

Now:
isUint8Array x 30,363,475 ops/sec ±0.66% (94 runs sampled)
concatUint8Arrays with 2 arrays x 924,747 ops/sec ±3.68% (81 runs sampled)
concatUint8Arrays with 3 arrays x 1,013,699 ops/sec ±2.39% (81 runs sampled)
concatUint8Arrays with 4 arrays x 585,091 ops/sec ±3.45% (69 runs sampled)
uint8ArrayToString x 435,613 ops/sec ±0.29% (100 runs sampled)
stringToUint8Array x 484,873 ops/sec ±2.08% (87 runs sampled)
uint8ArrayToBase64 x 38,943 ops/sec ±0.38% (98 runs sampled)
stringToBase64 x 18,168 ops/sec ±0.48% (94 runs sampled)
base64ToString x 4,468 ops/sec ±0.48% (98 runs sampled)
uint8ArrayToHex x 231,242 ops/sec ±0.52% (94 runs sampled)
hexToUint8Array x 64,751 ops/sec ±0.62% (100 runs sampled)

I added benchmark for all the functions but I didn't necessarily optimize all of them.
The only optimization that I'm not sure might be problematic is the first one on isUint8Array, the other ones is very safe to accept.

I think you switched the benchmark results, as otherwise, everything got slower.

Thank you :)


Error on Rails6

An error occurs when searching with RedMica and Redmine (trunk) in Rails6 environment.
The situation does not change with either arrow-libs 2.0 / 3.0 / 4.0
There is no error in redmine 4.2 of Rails5.
Environment
Environment:
  Redmine version                4.2.1.devel.20978
  Ruby version                   2.6.3-p62 (2019-04-16) [x86_64-linux]
  Rails version                  <IP_ADDRESS>
  Environment                    production
  Database adapter               PostgreSQL
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.10.2
  Git                            2.27.0
  Filesystem
Redmine plugins:
  alm                            1.7.4
  full_text_search               1.0.4

production.log
ActionView::Template::Error (Invalid time offset value: "PT9H"):
    166:

    167:

    168:

    169:       <% @result_set.each_with_index do |e, i| %>
    170:         <dt class="<%= e.event_type %> icon icon-<%= e.event_type %>">
    171:           <%= content_tag("span", e.project, :class => "project") unless @project == e.project %>
    172:           <%= link_to(e.event_highlighted_title,

Paste additional logs
ActionView::Template::Error (Invalid time offset value: "PT9H"):
    166:

    167:

    168:

    169:       <% @result_set.each_with_index do |e, i| %>
    170:         <dt class="<%= e.event_type %> icon icon-<%= e.event_type %>">
    171:           <%= content_tag("span", e.project, :class => "project") unless @project == e.project %>
    172:           <%= link_to(e.event_highlighted_title,

plugins/full_text_search/lib/full_text_search/pgroonga.rb:101:in `compute_time_offset'
plugins/full_text_search/lib/full_text_search/pgroonga.rb:30:in `time_offset'
plugins/full_text_search/lib/full_text_search/searcher.rb:304:in `block in records'
plugins/full_text_search/lib/full_text_search/searcher.rb:301:in `map'
plugins/full_text_search/lib/full_text_search/searcher.rb:301:in `records'
plugins/full_text_search/lib/full_text_search/searcher.rb:318:in `each'
plugins/full_text_search/app/views/search/index.html.erb:169:in `each_with_index'
plugins/full_text_search/app/views/search/index.html.erb:169
lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Thanks.
We'll add support for Rails 6 eventually. We need to prepare GitHub Actions CI environment first.

CI is green with Redmine 5.0: https://github.com/clear-code/redmine_full_text_search/actions/runs/2152048971
Does someone want to try the master with Redmine 5.0?

Sorry for the late report.
I have confirmed the operation with RedMica 2.0 (master) and Redmine (trunk)!
I am extremely grateful!


[.github/workflows/build.yml] Add pylint

As per request in #841.
Maybe before this is merged I'll create another PR to get all the lint errors to pass…

@avital I'm assigning this to you since you are reviewing the other PR as well.

Closing this due to inactivity.

Darn

Reopened it, apologies for closing too quickly (see #935). Once we get pylint to work we should merge this!


WiFi Power Save Documentation (IDFGH-1590)

In docs/en/api-guides/wifi.rst, I believe

Call esp_wifi_set_ps(WIFI_PS_MIN_MODEM) to disable modem sleep entirely.

should read

Call esp_wifi_set_ps(WIFI_PS_NONE) to disable modem sleep entirely.

Thanks. We will modify it.

This has been fix in https://github.com/espressif/esp-idf/commit/16b300bd7aef621073aead97d277ea60bfbf12f1。 This issue can be closed。

@gregjesl Thanks for reporting the issue, feel free to reopen if you still have the issue, thanks.


Show back icon while search is active

It should show back icon instead of forward icon.
Current design:

Closes #182

Duplicate of https://github.com/xotahal/react-native-material-ui/pull/183

Codecov Report

Merging #196 into master will increase coverage by 0.19%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
+ Coverage   79.48%   79.67%   +0.19%
==========================================
  Files          19       19
  Lines         731      728       -3
  Branches      107      106       -1
==========================================
- Hits          581      580       -1
+ Misses        123      122       -1
+ Partials       27       26       -1

Experiencing this as well


Move community operator to unrestricted namespace

To match the (pending) PR changing where the community gatekeeper
operator is installed, because openshift-* namespaces might be
restricted in some OpenShift clusters.
Refs:

https://github.com/open-cluster-management/policy-collection/pull/125
https://github.com/open-cluster-management/backlog/issues/13759

Signed-off-by: Justin Kulikauskas<EMAIL_ADDRESS>

/hold

This Travis build might mess things up in the e2e cluster :(
The policy it uses to install the operator is still using openshift-gatekeeper-operator, but now the clean up stages are deleting things in gatekeeper-operator.

We can do some manual cleanup in the e2e cluster.  Let me know if you have questions on how to access it.
This fix is related to: https://github.com/open-cluster-management/policy-collection/pull/125

/lgtm

/unhold


Not working on server ipaddress

hospitalrun-frontend is configured with nginx as reverse proxy. But the login is not working. While checking the backed we are getting the below given error.
========================
Content Security Policy violation:
referrer": "",
"violated-directive": "script-src",
"effective-directive": "script-src",
"original-policy": "connect-src 'self' ws://localhost:7020 ws://<IP_ADDRESS>:7020 ws://undefined:7020 http://localhost:4200; default-src 'self'; frame-src 'self'; img-src 'self' filesystem: data: blob:; script-src 'self' 'unsafe-inline' 'unsafe-eval' localhost:7020 <IP_ADDRESS>:7020 undefined:7020; style-src 'self' 'unsafe-inline'; font-src 'self'; media-src 'self'; report-uri http://localhost:4200/csp-report;",
"disposition": "report"
Please help.

@geordin So for a little background, this is due to the content security policy that is a best practice to prevent Cross Site Scripting (XSS) attacks. Here is some information about it
The content security policy defines what scripts can be loaded safely from what domains. Since you're running behind nginx with a separate domain from where you're loading the scripts, I think the browser triggering this warning.
You need to edit config/environment to reflect the domain from where you're loading the scripts: See Line 31
So if you're loading the script static.mydomain.com, you need to update your content security policy like this:
 ENV.contentSecurityPolicy = {
    'connect-src': "'self'",
    'default-src': "'self'",
    'frame-src': "'self'",
    'img-src': "'self' filesystem: data: blob:",
    'script-src': "'self' '*.mydomain.com' 'unsafe-inline' 'unsafe-eval'",
    'style-src': "'self' 'unsafe-inline'"
  };

Let me know any other questions or how you've got this setup.

I have tried the same, but still not working. That error message gone now. But when we enter the logins, the page will hang for 3,4 sec and then prompting the logins again.

@geordin Is there any output in the console/network tab of your browser? We probably need a little more information about how you're running it and some additional error details.
If you're not super familiar with it, if you're part of the slack group here: https://hospitalrun-slackin.herokuapp.com/

I am starting the app using the command "ember serve -H <IP_ADDRESS>" as root. The following messages showing at the console output.
===========================
root@ubuntu:~/hospitalrun-frontend# ember serve -H <IP_ADDRESS>
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-cli-content-security-policy -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-cli-active-link-wrapper -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-cli-template-lint -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-i18n -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-i18n -> ember-getowner-polyfill -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-simple-auth -> ember-cookies -> ember-getowner-polyfill -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-simple-auth -> ember-getowner-polyfill -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-validations -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: hospitalrun -> ember-validations -> ember-getowner-polyfill -> ember-cli-babel
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
Livereload server on http://<IP_ADDRESS>:7020
[API] Warning: The .read and .rebuild APIs will stop working in the next Broccoli version
[API] Warning: Use broccoli-plugin instead: https://github.com/broccolijs/broccoli-plugin
[API] Warning: Plugin uses .read/.rebuild API: BrocText
[API] Warning: Plugin uses .read/.rebuild API: ember-browserify
[API] Warning: Plugin uses .read/.rebuild API: TemplateLinter
[API] Warning: Plugin uses .read/.rebuild API: TemplateLinter
[API] Warning: Plugin uses .read/.rebuild API: TemplateLinter
[API] Warning: Plugin uses .read/.rebuild API: ember-browserify
[API] Warning: Plugin uses .read/.rebuild API: BroccoliServiceWorker
Build successful (39312ms) – Serving on http://<IP_ADDRESS>:4200/
Slowest Nodes (totalTime => 5% )              | Total (avg)
----------------------------------------------+---------------------
ember-browserify (2)                          | 11607ms (5803 ms)
broccoli-persistent-filter:StyleLinter (1)    | 5272ms
Vendor JS (1)                                 | 4982ms
broccoli-persistent-filter:EslintValid... (2) | 3675ms (1837 ms)
Babel: ember-data (2)                         | 2278ms (1139 ms)
Rollup (1)                                    | 2054ms
Still after we enter the logins, the page will hang for 3,4 sec and then prompting the logins again.
Please help.

That's the app output, what about anything in the browser console (F12 to view in most browsers) ?
You might want to look at the nginx config files in the hospitalrun-server repository and make your config similar to that, as here we also use a nginx reverse proxy to serve the frontend:
https://github.com/HospitalRun/hospitalrun-server/tree/master/nginx/conf

Hereby providing the the console out put from browser.
The source list for Content Security Policy directive 'script-src' contains an invalid source: ''<IP_ADDRESS>''.  A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.
Also giving the environment configuration.
=============
'script-src': "'self' '<IP_ADDRESS>' 'unsafe-inline' 'unsafe-eval'",
Here I am not using nginx reverse proxy now. Please help.

I believe you are getting an error because you're trying to access via an ip address, but you're not using https. on the server itself, you can access via "localhost:4200" without needing https, but accessing via any ip address, from either the server itself (such as http://<IP_ADDRESS>:4200) or another computer will give the error you got: "error registering service worker:SecurityError: Only secure origins are allowed" unless you access over https.
also the content security policy error is still there. It is for livereload script as I expected, but I'd focus on the above issue first. for the content security policy error, it looks like the way you entered the IP address in the config is not being accepted, maybe it wants the :7020 at the end.

Currently am using nginx reverse proxy with self signed SSL certificate. Messages displayed on browser console is given below.
=============================
The source list for Content Security Policy directive 'script-src' contains an invalid source: ''.hostpitalrun-test.com''. It will be ignored.
ember-cli-live-reload.js:7 [Report Only] Refused to load the script 'https://hospitalrun-test.com:7020/livereload.js' because it violates the following Content Security Policy directive: "script-src 'self' '.hostpitalrun-test.com' 'unsafe-inline' 'unsafe-eval' localhost:7020 <IP_ADDRESS>:7020 undefined:7020".
ember-cli-live-reload.js:7 POST http://localhost:4200/csp-report 0 ()
ember-cli-live-reload.js:7 GET https://hospitalrun-test.com:7020/livereload.js 0 ()
(index):42 Error registering service worker:SecurityError: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.
I have two queries regarding this.

Whether service worker woks with self signed certificate.
Can we disable service worker in hospitalrun

Please help.

Self-signed worked for me when I was testing hospitalrun-server (which also uses nginx reverse proxy) on a local network and accessing server via an IP address, but it seems to be causing a problem here. I'm not sure what the solution is since I haven't seen this before.
I believe it's essential for the app's operation.

You could also try using https://github.com/HospitalRun/hospitalrun-server which is intended for server deployments.

Yes, I have tried hospitalrun-server now. But the npm start command stuck on the below message.
Loading raml proxy - this may take a while...
Please help.

If you're using hospitalrun-server, you don't have to run npm at all (and you don't have to run frontend separately either, frontend is part of the server package).
The instructions for hospitalrun-server are here: https://github.com/HospitalRun/hospitalrun-server/blob/master/DEPLOYMENT_GUIDE.md
Also you might want to join the Slack at https://hospitalrun-slackin.herokuapp.com/ and join the #troubleshooting channel.

Can we run hospitalrun-server without docker?

https://github.com/HospitalRun/hospitalrun-server/blob/master/README.md
There's an "Alternative Installation" listed here but I have no experience with it, and it seems like it'd be pretty much the same as what you were doing before.

I have tries docker installation but one of the container not starting.
0d1821ff6354        hospitalrun                                           "/bin/sh -c ./entr..."   About an hour ago   Exited (0) 13 seconds ago
While checking the logs,

errid: 'non_200',
description: 'couch returned 401' }
Error creating push database! { Error: Name or password is incorrect.
at Request._callback (/usr/src/app/node_modules/nano/lib/nano.js:252:15)
at Request.self.callback (/usr/src/app/node_modules/nano/node_modules/request/request.js:185:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/usr/src/app/node_modules/nano/node_modules/request/request.js:1157:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/usr/src/app/node_modules/nano/node_modules/request/request.js:1079:12)
at IncomingMessage.g (events.js:292:16)
name: 'Error',
error: 'unauthorized',
reason: 'Name or password is incorrect.',
scope: 'couch'
Please help.

I see that error when I start up docker, but everything still works for me, so it may not be the cause of your problem. you should be able to see a log message right when the hospitalrun container exits that says something like "container exiting" and I would try to see what happens immediately before that message.

The messages logged before exiting the container is given below.
Aug 13 17:55:25 ubuntu kernel: [24688.629499] br-b7ae83a7b89d: port 1(vethf4a3bf0) entered disabled state
Aug 13 17:55:25 ubuntu kernel: [24688.629686] vethbd59b44: renamed from eth0
Aug 13 17:55:25 ubuntu kernel: [24688.656313] br-b7ae83a7b89d: port 1(vethf4a3bf0) entered disabled state
Aug 13 17:55:25 ubuntu kernel: [24688.658329] device vethf4a3bf0 left promiscuous mode
Aug 13 17:55:25 ubuntu kernel: [24688.658337] br-b7ae83a7b89d: port 1(vethf4a3bf0) entered disabled state
Any idea regarding this.

Anybody tried hospitalrun-frontend without docker??

I have installed hospitalrun-frontend without docker and is working fine in localhost. How can I make it public. Anybody please help.

@geordin - Let's pause for a moment to figure out what you're trying to accomplish, because I think this conversation got a little off-track.
Are you:

Trying to use Hospital Run as an application (either to run a clinic or to evaluate it)?
Trying to get it set up in a local development environment?

Assuming it's number 1, there are two ways really of running the application:

As a traditional client/server application.
As an download-able electron app You can download it here

I am trying to use Hospital Run as an application. Please let me know the steps to follow for both.

As a traditional client/server application.
As an download-able electron app

@geordin: you can download the app from here: https://github.com/HospitalRun/hospitalrun-frontend/releases/
If you click the download link for the version of operating system you're running (IE Windows 32 or 64 bit)
The server setup steps are outlined here: https://github.com/HospitalRun/hospitalrun-server/blob/master/DEPLOYMENT_GUIDE.md

I have tried the same, but still one docker container not getting up.
Can you please let me know the exact environment that required for this app.
Like OS type, version. etc.

I need to run hospitalrun application in a a server and need to access the same publicly.
Please share the the code and install steps since I am facing the above issues currently.

@geordin we discovered the same problems as you (with raml etc.). We are trying to stabilize the docker environment in https://github.com/HospitalRun/hospitalrun-server/pull/119. Please, hold on:)

Please notify once its sorted.

Added new fixes to hospitalrun-server today. You should be good to update your code and try again. If there are further issues, please make a new issue in the hospitalrun-server repo, as this one is closed.


Add support for passing the crop strategy as a string

Coverage increased (+0.002%) to 99.363% when pulling 464a42ac04102ee076988f5deba5303896cda619 on papandreou:feature/stringBasedResizeStrategy into 6b1d698448b3b01a5191fbc8c64b855f574ddceb on lovell:master.

Thank you!


Tripping: Need to get sunrise and sunset data for each day - 33

In Naomi's script, she uses a csv file containing sunrise and sunset data and use it for the tripping algorithm.
I expected SolA data contains it as well. However, it is not. So, possible ideas:

Use fixed sunrise and sunset time (maybe 6 and 18?)
Write a script to obtain the sunrise and sunset time (probably hunt a library or module?)

This can be estimated empirically using Tim's SliceEndofDf function...


MGII Absorber VAC Review (DR1)

Draft directory:/global/cfs/cdirs/desicollab/users/lucasnap/MgII-Absorber-Catalog-DR1/1.0
2 catalog files, 3 files total
Initial Checks:

[x] Includes README
[x] Columns in ALLCAPS
[x] Extension names in ALLCAPS
[x] Files include units

Initial Notes:

Can you draft a short (~1-2 paragraph) summary of the VAC to include in the DR1 paper? For an example of what this would look like you can look at section 3.3.6 of the EDR paper (https://arxiv.org/abs/2306.06308).
Since this looks like just an updated version of the EDR Vac, can you confirm this? If so I'm not sure much of this will be necessary to update and we'll be able to get away with probably not doing much on this one.

Closing; VAC is approved and moved to final location on 12/20/24.


The same field name is serialized multiple times in the class or its parent class.

AnchoredPositionMoveToRectTransformPositionDOTweenActionBase defined a field named rectTransfrom also exists in base class AnchoredPositionMoveDOTweenActionBase as private. It causes error logs at console, please fix this. Thanks!

I will fir soon


Support automatically refreshing tokens

Currently, calling getAccessToken() may return an expired token, and so you have to do the following every time:

call getAccessTokenExpiration() and compare it with Date.now()
if it's not expired, call getAccessToken()
else if it's expired, then call refreshToken()
after refreshToken() finishes, call getAccessToken()

I think there should be a method that does all this, and returns a Promise<string>.

Hi
I'm working on a solution for automatic token refresh. Please have a look at:
https://github.com/bechhansen/angular-oauth2-oidc/blob/autorefresh/angular-oauth2-oidc/src/oauth-service.ts#L1537

The automatic token refresh feature seems functional to me. I am using it with implicit flow.

Silent refresh only works with implicit flow. It doesn't work with password flow.

Oh, sorry but your (@imgx64 ) initial post is not mentioning which flow you are using. It should be mentioned to avoid confusion.

Hi,
Is there any news as to when the automatic token refresh for password flow will be available?
And is there a work around to achieve this?
Many thanks,
Toni

As mentioned above, the automatic refresh works for implicit flow which is the main target of this lib. For the password flow it does not support automatic refresh yet.
But it should not be that difficult to write a helper function that calls refreshToken x sec before the token expires. If you want, I would also accept a pull request for it. In this case, reach out so that we can talk about the design.


Default sort is not working, and sort preferences are not being stored in the new V3 list view

Link to reproduction
https://github.com/payloadcms/payload-3.0-demo
Payload Version
3.0.0-beta.38
Node Version
20
Next.js Version
15 rc.0
Describe the Bug
The default sort setting for a collection, and any changes in sorting of columns in the list view of a collection are not working. Leaving the view, and returning and any sort preferences that have been set are lost.
Reproduction Steps
In the Payload 3 Demo repo - create several pages, with different titles, and the set a default sort for the collection, and / or change sort preferences on any column. The default sort is not respected, and preferences in sort are not stored in user preferences for the collection.
https://github.com/payloadcms/payload/assets/405612/c3e4828d-dc57-4d78-a668-236aa57472e4
Adapters and Plugins
No response

This will be fixed in the next beta release.
Related PR

This will be fixed in the next beta release.
Related PR

Nice - thanks @JarrodMFlesch


pull requests: set status as soon as possible

ideally, instantly

that's not soon enough to be honest, I'd set the status before submitting the copr build: let me fix.

ok, never mind, it's correct on git master


Type conversions explicitly

It would be a good idea to carry out type conversions explicitly, for example to ask for integers such as
int x;
object.get("path/to/number", x);

And the value is stored in the variable x

The functions in c ++ can be overloaded depending on the parameter so i can create something like the following
int x;
object.get("path/to/number", x);
bool y;
object.get("path/to/boolean", y);
float z;
object.get("path/to/float", z);


feature: versionUp v1.26

Issue
SSIA

JaCoCo Code Coverage 75.64% :white_check_mark:

Class
Covered
Meta
Status

  Generated by :no_entry_sign: Danger


Sprint Backlog Update

Product Backlog ( /2.5)
Use this template.
Example: Team C 2022
Product backlog and sprint backlog should match i.e. product backlog items in the sprint backlog need to have the same IDs etc. If they do not match deduct -2 points.
Make sure that all of your user stories are in the product backlog. For any missing user story deduct -1 point.
All columns based on the projects’ details document should be in the product backlog and must be filled out. For any missing column or missing information deduct -2 points.

This all looks good to me. I didn't need to make any changes.


Test break for some ops if bound max error instead of mean error.

Some of the tests in test operators will break when you change mx.test_utils.reldiff to this
def reldiff(a, b):
    """Calculate the relative difference between two input arrays

    Calculated by :math:`\\frac{|a-b|_1}{|a|_1 + |b|_1}`

    Parameters
    ----------
    a : np.ndarray
    b : np.ndarray
    """
    diff = np.abs(a - b)
    norm = np.maximum(np.abs(a), np.abs(b)) + 1e-7
    ret = np.max(diff / norm)
    return ret

The difference is we were limiting average error instead of max error. However I think limiting max error is the right approach since averaging can hide error if it only occur in a small number of locations (say boundaries).
Here is the list of OP that need to be fixed:
ROIPooling @precedenceguo
instance_normalization @sbodenstein
l2_normalization @winstywang @zhreshold
jxie@jxie-gpu:/scratch/mxnet$ nosetests tests/python/unittest/test_operator.py
..........................[18:37:13] src/operator/./reshape-inl.h:311: Using target_shape will be deprecated.
..............E.EE...
======================================================================
ERROR: test_operator.test_roipooling
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jxie/anaconda2/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/scratch/mxnet/tests/python/unittest/test_operator.py", line 1513, in test_roipooling
    check_numeric_gradient(test, [x1, x2], numeric_eps=1e-3, check_eps=1e-2)
  File "/scratch/mxnet/python/mxnet/test_utils.py", line 391, in check_numeric_gradient
    raise Exception(msg)
Exception:
Items are not equal:
In symbol "roipooling0", ctx=cpu(0), numeric check failed for "data", grad_req= "write". Rel Err=0.080857, Expected <=0.010000
 NUMERICAL: array([[[[ 0.        ,  0.        ,  0.        , ...,  0.        ,
           0.        ,  0.        ],
         [ 0.        ,  0.99182129,  0.74768066, ...,  0.79345703,...
 BACKWARD: array([[[[ 0.        ,  0.        ,  0.        , ...,  0.        ,
           0.        ,  0.        ],
         [ 0.        ,  0.98034358,  0.73739147, ...,  0.79384667,...

======================================================================
ERROR: test_operator.test_instance_normalization
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jxie/anaconda2/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/scratch/mxnet/tests/python/unittest/test_operator.py", line 1584, in test_instance_normalization
    check_instance_norm_with_shape((2,4,5,6), default_context())
  File "/scratch/mxnet/tests/python/unittest/test_operator.py", line 1580, in check_instance_norm_with_shape
    check_numeric_gradient(Y, {'X':x.asnumpy(), 'G':gamma.asnumpy(), 'B':beta.asnumpy()}, numeric_eps=1e-2, check_eps=0.16)
  File "/scratch/mxnet/python/mxnet/test_utils.py", line 391, in check_numeric_gradient
    raise Exception(msg)
Exception:
Items are not equal:
In symbol "instancenorm0", ctx=cpu(0), numeric check failed for "X", grad_req= "write". Rel Err=0.999591, Expected <=0.160000
 NUMERICAL: array([[[[-0.00801086, -0.05378723,  0.02403259,  0.06256104,  0.11444092,
          -0.09994507],
         [-0.04386902, -0.06942749, -0.01373291,  0.03128052,  0.01487732,...
 BACKWARD: array([[[[-0.00833133, -0.05397411,  0.02389139,  0.0623968 ,  0.11421351,
          -0.0999947 ],
         [-0.0441424 , -0.06971355, -0.01379509,  0.0310756 ,  0.01470332,...

======================================================================
ERROR: test_operator.test_l2_normalization
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jxie/anaconda2/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/scratch/mxnet/tests/python/unittest/test_operator.py", line 1627, in test_l2_normalization
    check_l2_normalization((nbatch, nchannel, height, width), mode)
  File "/scratch/mxnet/tests/python/unittest/test_operator.py", line 1617, in check_l2_normalization
    check_numeric_gradient(out, [in_data], numeric_eps=1e-3, check_eps=0.1)
  File "/scratch/mxnet/python/mxnet/test_utils.py", line 391, in check_numeric_gradient
    raise Exception(msg)
Exception:
Items are not equal:
In symbol "l2normalization2", ctx=cpu(0), numeric check failed for "data", grad_req= "write". Rel Err=0.942003, Expected <=0.100000
 NUMERICAL: array([[[[ 0.80013275,  1.99604034,  0.0667572 , ...,  0.52928925,
           0.39577484,  0.41103363],
         [ 0.12493134,  0.37193298,  0.1707077 , ...,  0.0629425 ,...
 BACKWARD: array([[[[ 0.80023903,  1.99528956,  0.06625256, ...,  0.52785367,
           0.39663202,  0.41160059],
         [ 0.12542851,  0.37282375,  0.17115563, ...,  0.06351195,...

----------------------------------------------------------------------
Ran 47 tests in 6.841s

FAILED (errors=3)

Will look into these. Are these three Ops the the entire list that will be affected by the change?
Symptoms are quite similar and Ops are all normalization related.

There are some others but they can be fixed by change tol from 0.01 to 0.02 or 0.05. These cannot be fixed no matter what

I found the NUMERICAL gradient is really not stable. I've printed out some results in l2_normalization.
numeric_eps=1e-2
 NUMERICAL: array([[[ 0.81679821,  0.45166016,  1.20382309,  0.52347183],
        [ 0.6206274 ,  0.42130947,  1.79920197, -0.12338161],
        [ 0.01583099,  1.38514042, -0.04489422,  0.85744858]]], dtype=float32)
 BACKWARD: array([[[ 0.8199982 ,  0.45682225,  1.22095621,  0.53185207],
        [ 0.62182719,  0.42369154,  1.80545735, -0.12479854],
        [ 0.01606028,  1.37370849, -0.04382877,  0.86594933]]], dtype=float32)

numeric_eps=1e-3

NUMERICAL: array([[[ 0.81968307,  0.45633316,  1.21927261,  0.53119659],
        [ 0.62179565,  0.42366982,  1.80482864, -0.1244545 ],
        [ 0.01621246,  1.37519836, -0.04386902,  0.86545944]]], dtype=float32)
 BACKWARD: array([[[ 0.8199982 ,  0.45682225,  1.22095621,  0.53185207],
        [ 0.62182719,  0.42369154,  1.80545735, -0.12479854],
        [ 0.01606028,  1.37370849, -0.04382877,  0.86594933]]], dtype=float32)

numeric_eps=1e-4

 NUMERICAL: array([[[ 0.82015991,  0.45776367,  1.22070312,  0.53405762],
        [ 0.62227249,  0.42676926,  1.80721283, -0.12397766],
        [ 0.0166893 ,  1.3756752 , -0.04291534,  0.86784363]]], dtype=float32)
 BACKWARD: array([[[ 0.8199982 ,  0.45682225,  1.22095621,  0.53185207],
        [ 0.62182719,  0.42369154,  1.80545735, -0.12479854],
        [ 0.01606028,  1.37370849, -0.04382877,  0.86594933]]], dtype=float32)

numeric_eps=1e-5

 NUMERICAL: array([[[ 0.83446503,  0.47683716,  1.21593475,  0.54836273],
        [ 0.64373016,  0.4529953 ,  1.8119812 , -0.11920929],
        [ 0.04768372,  1.38282776, -0.02384186,  0.88214874]]], dtype=float32)
 BACKWARD: array([[[ 0.8199982 ,  0.45682225,  1.22095621,  0.53185207],
        [ 0.62182719,  0.42369154,  1.80545735, -0.12479854],
        [ 0.01606028,  1.37370849, -0.04382877,  0.86594933]]], dtype=float32)

numeric_eps=1e-6

 NUMERICAL: array([[[ 0.95367432,  0.47683716,  1.1920929 ,  0.71525574],
        [ 0.71525574,  0.47683716,  1.90734863,  0.        ],
        [ 0.23841858,  1.43051147,  0.        ,  0.95367432]]], dtype=float32)
 BACKWARD: array([[[ 0.8199982 ,  0.45682225,  1.22095621,  0.53185207],
        [ 0.62182719,  0.42369154,  1.80545735, -0.12479854],
        [ 0.01606028,  1.37370849, -0.04382877,  0.86594933]]], dtype=float32)

By comparing NUMERICAL gradients using different numeric_eps, I somehow suspect there's something wrong with the check_numeric_gradient function. But I need to confirm that. Will update later.

Okay, the original numeric_gradient uses (f(x + h) - f(x)) / h instead of the centered difference method (f(x + h) - f(x -h)) / 2h, #3693, which resulted in very imprecise estimated gradients.
PR #3824 fixed this. However, ROIPooling still breaks(due to other reason I guess)
@piiswrong

https://github.com/dmlc/mxnet/pull/3824/files This Pr also use central diff but wasn't merged due to test fail.
Are you interested in taking over? If ROI is the only thing that's failing and you can't fix it, we can disable it first and wait for @precedenceguo to take a look

I attempted to find out the gradient check problem of ROIPooling but failed to tell why. So should it be moved to separate folders like the ssd example?

@piiswrong @precedenceguo The error in https://github.com/dmlc/mxnet/pull/3824 could be fixed. I need some time to finish other works before digging into this...

The reason why ROIPooling breaks is quite simple. Gradient check should not be performed on rois.
https://github.com/dmlc/mxnet/pull/3824/files#diff-cb652780258e73a9cd08568f38929aa2L1473
check_numeric_gradient(test, [x1, x2], grad_nodes={'data':'write', 'rois':'null'}, numeric_eps=1e-3, check_eps=1e-2)
check_numeric_gradient(sym=test, location=[x1, x2],
                           grad_nodes={'data':'add', 'rois':'null'},
                           numeric_eps=1e-3, check_eps=1e-2)

Tested OK, not necessarily to change x2
@piiswrong @precedenceguo @sxjscience
Do you still want me to take the PR over? It just need a minor fix.

the original guy wasn't responding. You are welcome to do it. Are you sure
roi shouldnt be grad tested? I thought we have end to end training now?
On Nov 29, 2016 8:27 AM, "Joshua Z. Zhang"<EMAIL_ADDRESS>wrote:

The reason why ROIPooling breaks is quite simple. Gradient check should
not be performed on rois.
https://github.com/dmlc/mxnet/pull/3824/files#diff-
cb652780258e73a9cd08568f38929aa2L1473
check_numeric_gradient(test, [x1, x2], grad_nodes={'data':'write', 'rois':'null'}, numeric_eps=1e-3, check_eps=1e-2)
check_numeric_gradient(sym=test, location=[x1, x2],
grad_nodes={'data':'add', 'rois':'null'},
numeric_eps=1e-3, check_eps=1e-2)
Tested OK, not necessarily to change x2
@piiswrong https://github.com/piiswrong @precedenceguo
https://github.com/precedenceguo @sxjscience
https://github.com/sxjscience
Do you still want me to take the PR over? It just need a minor fix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/issues/3997#issuecomment-263620083, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAiudHym5YLXd-XqNtD4eUDqMY95d_mTks5rDFJggaJpZM4K9C7K
.

No gradient is generated for rois, the loss for rpn is from different path.

@zhreshold Thanks! This should solve the problem.

Looks like that PR was reactivated. Could you take a look? https://github.com/dmlc/mxnet/pull/3824
@precedenceguo Could you confirm this? Does RPN use grad for rois? I vaguely remembered it does differentiation wrt bilinear sampling

The implemented ROI Pooling uses the max operator and will pass back zero-gradient. Should be OK.

My bad, merging #3824 reverted the reldiff() function. The original problem is still UNSOLVED.  The PR itself should be good.

Yes, the end-to-end is approximate. rois will pass zero-gradient.


Modify jco types command to accept a configuration file

This PR modifies the command jco types so that it accepts the same configuration file accepted by jco transpile.
We need to use jco types to generate Typescript interfaces because this command uses the .wit source files to create types, while jco transpile creates types by decoding the compiled WASM code. These binaries don't contain any documentation, so it wasn't available to output to *.d.ts.
Without the configuration file, we aren't able to customize the Typescript interface. The key thing that we're missing here is the ability to output Rust enums as Typescript enums.
This PR also includes a quick update to TsBindgen#type_enum so that it outputs doc comments for Typescript enum types.

The reason is that jco transpile generates ts definitions by decoding WASM component binaries, whereas jco types parses .wit files directly and uses that information.

@mjoerussell Thanks for the investigation and the updates!
I wonder if this is an upstream bug, and we should report it to them to fix upstream?
i.e. for jco transpile itself to use the  .wit source files to produce TypeScript docs..

for jco transpile itself to use the .wit source files to produce TypeScript docs

The purpose of transpile is to take binary components where the wit isn't available, so that isn't a bug.


[ENHANCEMENT] Use built-in package manager pinning for ignoring updates

Please confirm these before moving forward

[X] I have searched for my feature proposal and not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This improvements refers to an existing feature. If you want to suggest a new feature, please use this template
[X] This improvements is not a bug. If you want to report a bug, please use this template

Describe the improvement
Winget, Scoop, and Chocolatey have a built-in way to pin/hold package updates, so why not use that instead?
Describe how this improvement could help users.
Consistency of pinned packages between CLI and WingetUI.

I'm not sure if they will support all the features and integration that WingetUI does provide, such as version skipping and easy list retrieval

But wingetui should at the very least by default respect already pinned packages!

I'm not sure if they will support all the features and integration that WingetUI does provide, such as version skipping and easy list retrieval

It would be best to integrate the extra features that WingetUI has on top of the pinning functionality that the package managers already have.

But wingetui should at the very least by default respect already pinned packages!

WingetUI now ignores held Scoop packages, which is great, but an issue remains that the Ignored updates UI does not list these packages at all. WingetUI should at least list them greyed out and note "Managed by Scoop" or something. This way a held Scoop package won't be forgotten in a held state since it may have been a while since we held it via the CLI.

It would be best to integrate the extra features that WingetUI has on top of the pinning functionality that the package managers already have.

I agree.


Property 'class' does not exist on type 'BrnColumnDefComponent'

Please provide the environment you discovered this bug in.
`export class HlmThComponent {
private readonly _columnDef? = inject(BrnColumnDefComponent, { optional: true });
protected readonly truncate = input(false, { transform: booleanAttribute });
public readonly userClass = input<ClassValue>('', { alias: 'class' });
protected readonly _computedClass = computed(() =>
	hlm(
		'flex flex-none h-12 px-4 text-sm items-center font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0',
		this._columnDef?.class(),     **<======== Doesn't exist**
		this.userClass(),
	),
);

}`
Which area/package is the issue in?
table
Description
After changing access modifier in the table component from private to public for useClass inputSignal, compiler encountered an error in both HlmThComponent and HlmTdComponent.
Please provide the exception or error you saw
TS2339: Property 'class' does not exist on type 'BrnColumnDefComponent'. [plugin angular-compiler]

Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

This should be fixed with #164.
https://github.com/goetzrobin/spartan/pull/164

@elite-benni when will you cut a new working release?

the next release is planned for today, hopefully @goetzrobin finds the time to release it.

@marcus-sa @andrejsipka this should be addressed now. Please let me know if this issue is resolved after you upgrade


remember_me option break sign_in

Environment

Ruby 2.6.5
Rails <IP_ADDRESS>
Devise 4.7

Current behavior
When check remember me in login form, login failed with no error provided,  login process looks good in console and page was redirect to root page with 200 OK. But current_user returning nil.  I am sure both email and password are correct.
The params passed to server looks good:
{"authenticity_token"=>"tokenblablabl"<EMAIL_ADDRESS>"password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Log in"}
Login is successful if  remember me unchecked.
Expected behavior
It should allow me to login no matter  I check the remember me button or not.

Actually, this code block will also stop the user from login.
class User < ApplicationRecord
def remember_me true end
end

The problem solved after I update devise from 4.7 to 4.7.1

having the same issue on
devise 4.7.1
rails <IP_ADDRESS>
ruby 2.6.5
code block above fixes the issue but seems hack-ish
Remember me broke update Devise update from 4.6.0 to 4.7.1

weirdly but updating nokogiri to the 1.10.9  version fixes the issue!
Installing nokogiri 1.10.9 (was 1.10.8)


Improve Firebase Integration

Describe the solution you'd like
I would love to see a way to provide a google-services.json and GoogleService-Info.plist file within the App Center UI. This would remove the requirement of having them within my repository, it would allow projects to have simple integration with Firebase and would prevent the google-services.json and GoogleService-Info.plist files from being accessible within a repository.
Describe alternatives you've considered
Based on the App Center Push for Android documentation page. It appears that the only way to add Firebase integration is by including the google-services.json file within a repository. I have also looked into the environment variables section of App Center but it does not appear to provided the indended results.

Thanks for the feature request @ajchili. Tapping in @jwargo to take a deeper look at this.

@ajchili I apologize for our late response to this, I try to stay on top of the suggestions we get from customers. This is an interesting suggestion, I'll add it to the list of requested features and look into it.

@jwargo no worries, thanks for looking into this.

This is very much needed and would be very helpful if you guys can come up with something. Thanks for raising this request @ajchili

Thank you very much for your feedback on App Center Push. We announced yesterday in a blog post that we’re retiring the Push service later this year and recommending customers transition to Azure Notification Hubs instead. The good news is that the same team operates both App Center Push and Azure Notification Hubs, so all customer feedback and feature requests have been transferred to the Azure Notification Hubs roadmap.


Can't download LIVE vods, despite it being possible

Just leaving this here in case anyone else is looking to be able to do this, JDownloader 2 is capable of downloading live vods.
I'm not sure why Twitch Leecher can't do it, because I'm 99% sure it used to be able to.

#733


fix: Properly construct poetry commands when not using docker for building package

Description

This PR fixes building packages with poetry when not building packages with docker.
Motivation and Context

Resolves #417
Breaking Changes

N/A
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 4.10.1 :tada: