Add theme: Toolbar in Sidebar

Add theme: Toolbar in Sidebar
This PR adds a new theme to the theme library.
Theme Details

Name: Toolbar in Sidebar
Description: Move the toolbar to the sidebar for a different style
Homepage:
Author: @sebascontre

Yeah, I just checked that version 20 probably is gonna comes with something like this as an option, so, I suppose this became unnecessary. Go ahead and delete if you can please.


sa3594

The Readme file is currently lengthy and complex, making it challenging for newcomers to comprehend how to contribute effectively to the project.
To enhance accessibility and clarity, I propose relocating the Contributing section to the beginning of the Readme file and streamlining its content where feasible.
I kindly request assistance from anyone willing to dedicate time to address this issue and improve the project's accessibility for all contributors. Thank you!

Hello to all of you. I'm Sannith Reddy Anugu, a computer science student who is enthusiastic about facilitating accessibility for newcomers and contributing to open source. I'm eager to get started on this Issue , which entails simplifying the content of the Readme file and moving the Contributing section to the front. I think this will improve all contributors accessibility and clarity. Anticipating working with the community on this and other issues.
I'm grateful.

Hello @caiton1 , I have observed that you have made a substantial contribution to the project, and I would be very grateful for any advise or insights you have on how to tackle this work. Your knowledge would be extremely helpful to us in making the Readme file more hospitable and functional for new contributors. I appreciate your assistance in advance!
Best Regards,
Sannith Reddy

Hello Everyone,
I would like to express my gratitude to all contributors who assisted in resolving this issue. I am particularly thankful for the valuable assistance provided by @caiton1. Thank you to everyone for your contributions!


Fix issue #28 and #31

Please see my comment on issue #28, the boundary condition is not handled correctly.
For issue #31, 	@VeliBaba didn't give any description about data, I doubt it is likely to be the same issue.

Sorry, my pull request still contains bug, numpy.mean can't be applied directly if last batch has different batch_size.
I'll close this pull request, but original issue remains.

Reducing learning rate sometimes helps. For this İ use old version of PDNN. İ change learning rate in the file 'training_state.tmp', and continue. But, it does not always help.

I didn't say anything about learning rate.
I mean, this line of code contains bug:
https://github.com/yajiemiao/pdnn/blob/master/learning/sgd.py#L71
which might lead to nan when training, see my comment https://github.com/yajiemiao/pdnn/issues/28#issuecomment-163991276

Yes, I know. I said what I did
On Mon, Dec 14, 2015 at 12:20 PM, Liang Wang<EMAIL_ADDRESS>wrote:

I didn't say anything about learning rate.
I mean, this line of code contains bug:
https://github.com/yajiemiao/pdnn/blob/master/learning/sgd.py#L71
which might lead to nan when training, see my comment #28 (comment)
https://github.com/yajiemiao/pdnn/issues/28#issuecomment-163991276
—
Reply to this email directly or view it on GitHub
https://github.com/yajiemiao/pdnn/pull/32#issuecomment-164375370.


[backport] Fix FunctionHook documentation

Backport of #5188

[automatic post] Jenkins, test this please.

LGTM


[Device] Immax 07703L Radiator valve

Hey! Thanks for awesome project, first of all I would like to say I'm super newbie in this one. I just bought Raspberry Pi 4 B and https://slae.sh/projects/cc2652/ and I decided to play with it. I tried some Ikea bulb I found around and works fine (I had to post initial message manually to get recognized properly, but I know you are looking into it – not a big deal)
I would say I have capabilities to make this contribution on my own, but would be great if you/someone can guide me. How does it sound? Can we hop on call?

Device description
Which device would you like to be supported in this plugin?
Immax 07703L Radiator valve
Supported in zigbee2mqtt? ✅
Device model / Exposes information
"definition": {
      "description": "Radiator valve",
      "exposes": [
        {
          "access": 1,
          "description": "Indicates if the battery of this device is almost empty",
          "name": "battery_low",
          "property": "battery_low",
          "type": "binary",
          "value_off": false,
          "value_on": true
        },
        {
          "features": [
            {
              "access": 7,
              "description": "Enables/disables physical input on the device",
              "name": "state",
              "property": "child_lock",
              "type": "binary",
              "value_off": "UNLOCK",
              "value_on": "LOCK"
            }
          ],
          "type": "lock"
        },
        {
          "features": [
            {
              "access": 7,
              "description": "Temperature setpoint",
              "name": "current_heating_setpoint",
              "property": "current_heating_setpoint",
              "type": "numeric",
              "unit": "°C",
              "value_max": 35,
              "value_min": 5,
              "value_step": 0.5
            },
            {
              "access": 5,
              "description": "Current temperature measured on the device",
              "name": "local_temperature",
              "property": "local_temperature",
              "type": "numeric",
              "unit": "°C"
            },
            {
              "access": 7,
              "description": "Mode of this device",
              "name": "system_mode",
              "property": "system_mode",
              "type": "enum",
              "values": ["off", "heat", "auto"]
            },
            {
              "access": 5,
              "description": "The current running state",
              "name": "running_state",
              "property": "running_state",
              "type": "enum",
              "values": ["idle", "heat"]
            },
            {
              "access": 7,
              "description": "Away mode",
              "name": "away_mode",
              "property": "away_mode",
              "type": "binary",
              "value_off": "OFF",
              "value_on": "ON"
            }
          ],
          "type": "climate"
        },
        {
          "access": 1,
          "description": "Link quality (signal strength)",
          "name": "linkquality",
          "property": "linkquality",
          "type": "numeric",
          "unit": "lqi",
          "value_max": 255,
          "value_min": 0
        }
      ],
      "model": "07703L",
      "vendor": "Immax"
    },

Missing features/functionality
Everyting AFIK – it acts as unsupported device
Suggested services and characteristics
I don't have experiences with smart valves but I would expect:

Temperature
Valve

I don't think this can be mapped as a Valve.
I think climate should be mapped to a Heater Cooler or a Thermostat (which also provide the temperature already).
Probably requires the same implementation as for #35
Thanks for providing the information.
I'm first finishing up the support for push buttons (which is pretty much the oldest issue still open for this plugin).
I hope I'll be able to start on this implementation somewhere in the next weeks.
As mentioned in the other issue, I won't be able to fully test this, as I do not have these kind of devices.

I don't think this can be mapped as a Valve.
I think climate should be mapped to a Heater Cooler or a Thermostat (which also provide the temperature already).
Probably requires the same implementation as for #35
Thanks for providing the information.
I'm first finishing up the support for push buttons (which is pretty much the oldest issue still open for this plugin).
I hope I'll be able to start on this implementation somewhere in the next weeks.
As mentioned in the other issue, I won't be able to fully test this, as I do not have these kind of devices.

Awesome, thanks for reply. You are right about Thermostat 👍 Makes sense.
There is (just for the record) sample communication:
Jan 09 16:36:05 homebridge npm[467]: Zigbee2MQTT:info  2021-01-09 16:36:05: MQTT publish: topic 'zigbee2mqtt/valve-workroom', payload '{"away_mode":"OFF","battery_low":"OFF","child_lock":"UNLOCKED","current_heating_setpoint":"21.0","device_offline":"OFF","external_sensor_error":"OFF","high_temperature":"OFF","internal_sensor_error":"OFF","linkquality":48,"local_temperature":"22.0","low_temperature":"OFF","preset":"none","running_state":"idle","system_mode":"heat"}'
Jan 09 16:41:05 homebridge npm[467]: Zigbee2MQTT:info  2021-01-09 16:41:05: MQTT publish: topic 'zigbee2mqtt/valve-workroom', payload '{"away_mode":"OFF","battery_low":"OFF","child_lock":"UNLOCKED","current_heating_setpoint":"21.0","device_offline":"OFF","external_sensor_error":"OFF","high_temperature":"OFF","internal_sensor_error":"OFF","linkquality":51,"local_temperature":"22.0","low_temperature":"OFF","preset":"none","running_state":"idle","system_mode":"heat"}'

I would even try to implement it on my own, but I don't really know where to start. Any chance you can actually point me in the right direction?

Awesome, thanks for reply. You are right about Thermostat 👍 Makes sense.
There is (just for the record) sample communication:
Jan 09 16:36:05 homebridge npm[467]: Zigbee2MQTT:info  2021-01-09 16:36:05: MQTT publish: topic 'zigbee2mqtt/valve-workroom', payload '{"away_mode":"OFF","battery_low":"OFF","child_lock":"UNLOCKED","current_heating_setpoint":"21.0","device_offline":"OFF","external_sensor_error":"OFF","high_temperature":"OFF","internal_sensor_error":"OFF","linkquality":48,"local_temperature":"22.0","low_temperature":"OFF","preset":"none","running_state":"idle","system_mode":"heat"}'
Jan 09 16:41:05 homebridge npm[467]: Zigbee2MQTT:info  2021-01-09 16:41:05: MQTT publish: topic 'zigbee2mqtt/valve-workroom', payload '{"away_mode":"OFF","battery_low":"OFF","child_lock":"UNLOCKED","current_heating_setpoint":"21.0","device_offline":"OFF","external_sensor_error":"OFF","high_temperature":"OFF","internal_sensor_error":"OFF","linkquality":51,"local_temperature":"22.0","low_temperature":"OFF","preset":"none","running_state":"idle","system_mode":"heat"}'

I would even try to implement it on my own, but I don't really know where to start. Any chance you can actually point me in the right direction?

I can give you some pointers, but I don't have any detailed instructions on how stuff is setup.
In src/converters you will find the different implementations of the devices currently implemented. I think this particular case it makes most sense to first have a look at how switch.ts is setup (it's a rather simple device) and then maybe look at light.ts, which is a bit more complicated and has some optional features.
As you might be able to tell these files contain a "factory" (the ServiceCreator, i.e. SwitchCreator) that filters and/or groups the exposes information in order to construct and register a ServiceHandler (i.e. SwitchHandler).
In the test folder there are some "integration" tests, that verify if the ServiceHandler is created when given a certain device JSON, and if updates from MQTT result in updated characteristics and if updating characteristics from HomeKit result in an MQTT message.
Personally I'm first probably going to work on making the online/offline state of zigbee2mqtt (and specific devices, if availability is turned on in zigbee2mqtt) visible via HomeKit. After that I'll have time to start the implementation of the handler for thermostats/radiator valves (climate devices) as well.

I can give you some pointers, but I don't have any detailed instructions on how stuff is setup.
In src/converters you will find the different implementations of the devices currently implemented. I think this particular case it makes most sense to first have a look at how switch.ts is setup (it's a rather simple device) and then maybe look at light.ts, which is a bit more complicated and has some optional features.
As you might be able to tell these files contain a "factory" (the ServiceCreator, i.e. SwitchCreator) that filters and/or groups the exposes information in order to construct and register a ServiceHandler (i.e. SwitchHandler).
In the test folder there are some "integration" tests, that verify if the ServiceHandler is created when given a certain device JSON, and if updates from MQTT result in updated characteristics and if updating characteristics from HomeKit result in an MQTT message.
Personally I'm first probably going to work on making the online/offline state of zigbee2mqtt (and specific devices, if availability is turned on in zigbee2mqtt) visible via HomeKit. After that I'll have time to start the implementation of the handler for thermostats/radiator valves (climate devices) as well.

Thanks a lot @itavero, I will try to look around. Would you recommend to run separate DEV homebridge instance? This is rather general question for any Homebridge development. I will let you know if I have something, in a meantime, good luck and take care. 🙏

Thanks a lot @itavero, I will try to look around. Would you recommend to run separate DEV homebridge instance? This is rather general question for any Homebridge development. I will let you know if I have something, in a meantime, good luck and take care. 🙏

I use a separate Homebridge instance for development to test things (running on my MacBook where I'm developing).
My "production" Homebridge is running on my home server via Docker.
I would not recommend doing development on your "production" environment, unless you make a lot of backups.
On my development environment I don't mind if I have to throw away my ~/.homebridge/ folder, but I'd rather not start over on my "production" environment.
Most of the times I do use the same MQTT server and thus the same zigbee2mqtt instance. Although I have worked with running zigbee2mqtt on my laptop as well (with the same MQTT server but a different base_topic).
In general, this is not needed though.
Within the Home app on the iPhone, I've added a separate "test home", next to my actual home.
This is done so I don't bother my spouse and so that I can clearly distinguish between the two instances fo Homebridge.
The only annoying thing with having a "test home" is that my iPhone sometimes "jumps" back to my actual home. I think this is because I have an Apple TV acting as a gateway and it is on the same network as my iPhone.

I use a separate Homebridge instance for development to test things (running on my MacBook where I'm developing).
My "production" Homebridge is running on my home server via Docker.
I would not recommend doing development on your "production" environment, unless you make a lot of backups.
On my development environment I don't mind if I have to throw away my ~/.homebridge/ folder, but I'd rather not start over on my "production" environment.
Most of the times I do use the same MQTT server and thus the same zigbee2mqtt instance. Although I have worked with running zigbee2mqtt on my laptop as well (with the same MQTT server but a different base_topic).
In general, this is not needed though.
Within the Home app on the iPhone, I've added a separate "test home", next to my actual home.
This is done so I don't bother my spouse and so that I can clearly distinguish between the two instances fo Homebridge.
The only annoying thing with having a "test home" is that my iPhone sometimes "jumps" back to my actual home. I think this is because I have an Apple TV acting as a gateway and it is on the same network as my iPhone.

Awesome, great tips. Thanks a lot! 👍

Awesome, great tips. Thanks a lot! 👍

@jukben I got the same devices today :D if you have anything done share your fork or something I will check that too

@jukben I got the same devices today :D if you have anything done share your fork or something I will check that too

@jukben I got the same devices today :D if you have anything done share your fork or something I will check that too

Unfortunately, nothing yet. I will give it another try this weekend, but I have to admit it's pretty hard to start. The abstraction is bit complex, so there is steep curve 😅

@jukben I got the same devices today :D if you have anything done share your fork or something I will check that too

Unfortunately, nothing yet. I will give it another try this weekend, but I have to admit it's pretty hard to start. The abstraction is bit complex, so there is steep curve 😅

The abstraction is bit complex, so there is steep curve 😅
Sorry for that. If you have suggestions/improvements, I'd love to hear them. Also, if there are specific things that I can explain that would help you get started, let me know.

I must admit that I'm a bit short on spare time since this week, because one of our alpacas 🦙 gave birth Monday morning and we weren't even aware that she was pregnant. Given that it's winter over here and it's our first cria [baby alpaca] it consumes quite a bit of time figuring things out and keeping an eye on her. Not your everyday "problem", I guess. 😆
But, since there seems to be quite some "demand" for climate device support, I have moved it to the top of my list. Whenever I do have a couple of hours to spare again, I'll try to start working on it.
In the meantime, please also see #32.

The abstraction is bit complex, so there is steep curve 😅
Sorry for that. If you have suggestions/improvements, I'd love to hear them. Also, if there are specific things that I can explain that would help you get started, let me know.

I must admit that I'm a bit short on spare time since this week, because one of our alpacas 🦙 gave birth Monday morning and we weren't even aware that she was pregnant. Given that it's winter over here and it's our first cria [baby alpaca] it consumes quite a bit of time figuring things out and keeping an eye on her. Not your everyday "problem", I guess. 😆
But, since there seems to be quite some "demand" for climate device support, I have moved it to the top of my list. Whenever I do have a couple of hours to spare again, I'll try to start working on it.
In the meantime, please also see #32.

Opened up #40 to group all the individual request for thermostat/TRV support in one place, as these will most likely be handled by the same code.
Because of that I'm closing this issue. Updates/discussion should be done in this new issue.

Opened up #40 to group all the individual request for thermostat/TRV support in one place, as these will most likely be handled by the same code.
Because of that I'm closing this issue. Updates/discussion should be done in this new issue.

Haha @itavero! That's sweet! Any picture of baby alpacas?
Thanks for making it priority, however no pressure! OSS is not life! :D

Haha @itavero! That's sweet! Any picture of baby alpacas?
Thanks for making it priority, however no pressure! OSS is not life! :D


Politeknik Negeri Manado

Politeknik Negeri Manado / Manado State Polytechnic
Official Site: https://polimdo.ac.id/
Address: Kampus Politeknik, Jl. Raya Politeknik Ds. Buha Kampus Manado PO BOX 1265

@lewalujan First stage of verification passed, official domain is polimdo.ac.id as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@lewalujan Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Add custom order for Signed Off By Role options

Codecov Report
Attention: Patch coverage is 14.28571% with 6 lines in your changes missing coverage. Please review.

Project coverage is 62.28%. Comparing base (9b2c1f7) to head (8eadd96).

Files
Patch %
Lines

...rver/routes/journeys/record-decision/controller.ts
14.28%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
- Coverage   62.37%   62.28%   -0.10%
==========================================
  Files         166      166
  Lines        2315     2320       +5
  Branches      377      377
==========================================
+ Hits         1444     1445       +1
- Misses        831      835       +4
  Partials       40       40

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

a decision is made to manage ordering on backend api. this PR will be deleted once the issue is resolved.

ref data to be order on backend, this PR is no longer needed


Add driver for notification system

Integration with laravel notifications.

Use enniel/laravel-asterisk-notification-channel for sending notifications.


Disable various rules in botConfiguration.ts

Proposed Changes
Disable no-require-imports and no-var-requires as the workaround for this warning would not be more beneficial than using var requires.
Disable cyclomatic-complexity temporarily until the function export() can be refactored enough to lower the Cyclomatic Complexity below 20.
Testing
Travis will no longer report these warnings

The commits were rebased.


Components: grey state

the following patterns must work on white or grey background:

Accordeon (https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components-Post?type=design&node-id=42%3A358&mode=design&t=sY6kNWfAk4IzFeTP-1)
List Elements (https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components-Post?type=design&node-id=61%3A371&mode=design&t=sY6kNWfAk4IzFeTP-1)
Tabs (https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components-Post?type=design&node-id=11253%3A51917&mode=design&t=sY6kNWfAk4IzFeTP-1)

naming convention: in case of grey variant indicate with (grey) e.g. Accordeon (grey)

Closing as done. Accordion is done, tabs is done, lists are in progress.


No numeric keyboard with SDL2

Hi. I built an apk with SDL2. I noticed that TextInput with input_type: 'number' does not show numeric keyboard when focused - it is always alphabetic.
The issue in only with SDL2. The same simple app with pygame correctly shows numeric keyboard.

I have the same issue. Can we select the right keyboard manually?

I have the same issue in android 6.0.

Is there any solution or workaround on this?

Yes, update Kivy for lasted version.
2017-09-06 7:49 GMT-03:00 Lin, Wei-Hao<EMAIL_ADDRESS>
Is there any solution or workaround on this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/4398#issuecomment-327447328, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFCMUDiGupTx9AzMoWZM0ugn8ShA4zcLks5sfni0gaJpZM4I3PAb
.

--
Atenciosamente
Victor Sued
GitHub: github/visued https://github.com/visued/
*Linkedin: *linkedin/vsued
https://www.linkedin.com/profile/view?id=AAMAAAerxpEBZ16vII1ABcFR_oCIFxo6EO4Et1U

So this can be closed?

Yes
On Sep 6, 2017 14:39, "matham"<EMAIL_ADDRESS>wrote:

So this can be closed?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/4398#issuecomment-327558955, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFCMUKfAApjxVHon76JUTTU80OPle9DRks5sfti0gaJpZM4I3PAb
.


Nix redundant title (with UTC due date!) on edit form

This is now redundant with the "what"/"description" field, and showing the due date in UTC (when it's shown on that page in the user's timezone in 2 other places) is no good either:

I think we can just remove that altogether.

i actually want to keep the display of the time with the offset and have it actually represent the timezone of the promise... just need to finish the timezone PR that's currently open


Editing items in Tree control does not edit the correct item

Godot version:
4.0 dev 80165210c
OS/device including version:
win 10
Issue description:
If you edit an item and click off that item and on to another item to stop the editing, the item you clicked on to will be edited instead. You can also observe this in the Input map editor where it is very strange and broken. Just clicking around completely breaks it.

PS. also the tree does this really annoying thing where sometimes when you select it scrolls upwards... super annoying...
Steps to reproduce:
# script on a Tree control
func _ready():
	var root = create_item()
	hide_root = true
	columns = 1

	for i in range (5):
		var item = create_item(root)
		item.set_editable(0, true)
		item.set_text(0, "%s" % i)

	pass # Replace with function body.

Minimal reproduction project:
TreeTesting.zip

It gets even worse...

	for i in range (5):
		var item = create_item(root)
		item.set_editable(0, true)
		item.set_text(0, "%s" % i)

		item.set_editable(1, true);
		item.set_cell_mode(1, TreeItem.CELL_MODE_RANGE);
		item.set_range_config(1, 0.0, 1.0, 0.01);
		item.set_range(1, 0.5 / float(i+1));

I think the issue is with the text buffer. It only happens when you click on one cell directly after the other. It does not happen if in-between you click at a non-cell spot.

May be suppressed by #56408. More difficult to reproduce.

Yeah I can't reproduce any more


Changes the schema

This PR adds a new YMap for the metadata, to have the metadata as a Map instead of a JSONObject. This way when listening for changes we know what attribute changed. This schema is necessary for https://github.com/jupyterlab/jupyterlab/pull/12359.
I kept ymeta to store other metadata from the notebook that's not part of the metadata object, like nbformat and nbformat_minor.
This PR also improves the initialization of the cells by adding the outputs and attachments to the corresponding cells.

Thanks for the review @davidbrochart! I'll apply the changes.

Thanks!


Check if shader cache directory is available before using cache

Might help: https://github.com/godotengine/godot/issues/79115
At any rate, this is necessary to allow users to turn off the shader cache.
We use shader_cache_dir_valid as a shorthand for if the shader cache is enabled and if the cache location is readable/writable in RD. we should be using the same structure here
CC @ChibiDenDen

Thanks!


Can't capture custom events

Hi 👋🏻
Sorry for disturbing you. I love that you created this nuxt module. It's really nice.
I implemented it and can see everything on my posthog dashboard however there's two issue I'm facing:

There's type issue with my setup<EMAIL_ADDRESS>

Also my custom event I shown in second screenshot isn't get triggered or (this is silly) I don't know where to look for in posthog dashboard.

I checked your source code but it looks fine so creating this issue.

Thank you for the support!
I haven't been able to reproduce this issue. Can you try running npm run postinstall? and make sure you have nuxt-posthog in your modules array inside nuxt.config.ts 😉
I'll be releasing a new version now, can you try it again?

With the new update everything is fine and event is captured!
Thanks man 🥂


RuntimeError: NCCL invalid usage

Dear HAT team,
Thank you for your amazing work.
I am trying to train a simple HATx4 model from scratch using my own dataset. I have set up a conda environment and installed all the dependencies and packages according to instructions. but when I try to train, I am getting the following error:
"RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1631630815121/work/torch/lib/c10d/ProcessGroupNCCL.cpp:911, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc.)."
Please guide me on what I am doing wrong or whether I need to change anything. I am trying to train the model on a PC which has 4 tesla gpu's.
Waiting for the kind response.

This issue is solved, i had to change the nproc_per_node to 4 instead of 8.


test environment should be open to the public

reproduction steps

be a developer that looks for open source project to contribute to
browse github for interesting projects
find Midburn/Spark repository
look at the issues list
find a nice starter issue which looks easy to fix
look at the reproduction steps of this issues - find a URL to staging environment
click on this link

expected

go to the staging environment, see the problem
read the contribution guide
find at the bottom of contribution guide, link to development guide
install the development environment
fix the issue
open a pull request
great success

actual

be frustrated that you get a login page
WTF?
go help another project (I recommend knesset-data :stuck_out_tongue_winking_eye: )

Ran Goldi:

I agree, but that being said, we had over 100+ users that thought this is the real Spark system and performed all the Theme Camps actions int he staging… I would just rather replace the homepage with a clear popup or message, but for now this does the trick.

Expected:

Developers should not work on staging but on their local environment.
Staging should serve the QA and tech team (mainly management).
The user should be able to access with a limited demo user only (predefined for that purpose) or his own user. This is to prevent access to sensitive information in the system (e.g. personal information)
Super user to the system should be available to Tech team only and those wishing to help in github. SU username and password should not be in slack or any other open area and should be kept secret for security reasons.
To make sure no one enters by mistake, add a popup on login load - "This is Midburn Tech's Staging Environment. If you are not from Midburn Tech, you should probably head to Spark Production (+button "Go to Spark")?

https://spark.staging.midburn.org


trust: provide InsecureSkipTLSCheck to pubkey manager

We should be able to pass --insecure-options=tls option to the rkt trust
command. But now we can't because we test insecure tls value not from
global options but from already initialized public key manager in the
metaDiscoverPubKeyLocations():
if m.InsecureSkipTLSCheck {
insecure = insecure | discovery.InsecureTLS
}
This patch adds InsecureSkipTLSCheck to the initialization of a public
key manager structure during rkt trust command execution. So, the
value of the --insecure-option=tls will be matched and used as we
suppose.

ok to test

LGTM. Thanks for this patch!


protoc-gen-nanopb crashes with oneof of message and enum

Using the binary release of version 0.3.4, the code generator crashes when compiling the following protobuf defintion:
syntax = "proto2";

message MessageOne
{
    required uint32 one = 1;
    required uint32 two = 2;
    required uint32 three = 3;
    required int32 four = 4;
}

enum EnumTwo
{
    SOME_ENUM_1 = 1;
    SOME_ENUM_2 = 5;
    SOME_ENUM_3 = 6;
    SOME_ENUM_4 = 9;
    SOME_ENUM_5 = 10;
    SOME_ENUM_6 = 12;
    SOME_ENUM_7 = 39;
    SOME_ENUM_8 = 401;
}

message OneofMessage
{
    oneof payload {
        MessageOne message = 1;
        EnumTwo enum = 2;
    }
}

The code generator crashes with the following error:
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__protoc-gen-nanopb__.py", line 1497, in <module>
  File "__main__protoc-gen-nanopb__.py", line 1482, in main_plugin
  File "__main__protoc-gen-nanopb__.py", line 1401, in process_file
  File "__main__protoc-gen-nanopb__.py", line 1062, in generate_header
  File "__main__protoc-gen-nanopb__.py", line 836, in encoded_size
  File "__main__protoc-gen-nanopb__.py", line 686, in encoded_size
AttributeError: 'int' object has no attribute 'symbols'
--nanopb_out: protoc-gen-nanopb: Plugin failed with status code 1.

Note that if I change the oneof field to contain two MessageOne fields instead of a MessageOne and EnumTwo field it does compile fine.

Yeah, bug is reproducible.

Fix released in nanopb-0.3.5.


[gym] provision profile specifier

[x] Run rspec for all tools you modified
[x] Run rubocop -a to ensure the code style is valid
[x] We currently don't accept new actions, please publish a plugin instead, more information in Plugins.md

I'd like to propose adding support for PROVISIONING_PROFILE (deprecated in Xcode 8) and PROVISIONING_PROFILE_SPECIFIER (added in Xcode 8).
I believe this will help many code signing issues, but I realize it does go against the fastlane recommended guidelines for code signing.
With these changes, reverting #6347, and removing the deprecated :provisioning_profile_path warning for Xcode 7 package generator the following would happen:
lane :beta do
   sigh
   gym
end

The provision profile selected by sigh would be passed to gym, which would explicitly use the UUID (in Xcode 7 and before) or the Name (in Xcode 8 and above).  This guarantees that the more obvious provision profile is used for gym, without requiring changes to the Xcode Project files.
This should also work with match, but I haven't tested it yet, as our project currently does not implement it.
I am happy to write more tests.
Without the changes described above related to reverting and removing deprecation messages, this PR is still valid and allows developers to do the following and get the same effect:
lane :beta do
   sigh
   gym( provisioning_profile_uuid: ENV["SIGH_UDID"] )
end

I do recognize that this is currently possible with xcargs parameter for gym, but I believe it would benefit the community and help alleviate the code signing hydra

Hey @maschall, thanks for preparing this pull request. I think we've received similar proposals in the past. My main question/concern is: how does this change handle apps with multiple targets? Every day, more and more apps have multiple targets, and it doesn't make a lot of sense to focus on one-target apps anymore

@KrauseFx you are absolutely right.  I'm so used to one target schemes, and our project is just ramping up a watch app and extension.

Cool, thanks for understanding and looking into this. That's the one and only reason why we try to "force" people to use the multi-target approach, as more and more apps will eventually support at least a second target.


[v4] Typo in postman collection

Postman collection: https://app.getpostman.com/run-collection/ed4ed700dcc55b2c1f1c
All URLs under the "Rocket" folder have the following typo:
roackets instead of rockets
Example:
https://api.spacexdata.com/v4/roackets
https://api.spacexdata.com/v4/roackets/{{id}}
https://api.spacexdata.com/v4/roackets/query
...

Whoops, should be fixed now


add ingest and query requests and tests for enum metrics

WHAT:  Add tests for enum metrics to the grinder
HOW:  add ingestion and query classes for enum metrics requests to POST and GET metrics with enum values.

@VinnyQ
In the file grinder.py add this line to make the script work,
import ingestenum

@VinnyQ Some observations that I made after running the test:
http://localhost:19000/v2.0/tenantId/ingest/aggregated

is returning a 400.
http://localhost:20000/v2.0/3/metrics/search?query=enum_grinder_t4.int.abcdefg.hijklmnop.qrstuvw.xyz.ABCDEFG.HIJKLMNOP.QRSTUVW.XYZ.abcdefg.hijklmnop.qrstuvw.xyz.met.*&include_enum_values=true

is returning a 404, after running it against this blueflood checkout. Do you have the required BF enum changes of enums in this checkout?

@tilogaat Fixed the 400 errors, it was because the grinder was submitting array of payloads to the single aggregated ingestion endpoint.  Modifying it to the aggregated/multi endpoint fixes it!
Please review/test when you have a chance and merge if looks good!

+1 after adding all tests

+1 lgtm


Add roadmap

Codecov Report

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

@@            Coverage Diff            @@
##             master      #66   +/-   ##
=========================================
  Coverage          ?   20.19%
=========================================
  Files             ?       90
  Lines             ?     2609
  Branches          ?        0
=========================================
  Hits              ?      527
  Misses            ?     2082
  Partials          ?        0

Continue to review full report at Codecov.

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


[Bug]: The database under the project does not display the data source

ODC version
odc430
OB version

What happened?

What did you expect to happen?

How can we reproduce it (as minimally and precisely as possible)?
Open the search box within the project and click on all databases
Anything else we need to know?
No response

Fixed In Commit d35bc4e7ac6ea2e3b751a8393690ab6f43d98dd0
------
畅晚
Thu May 23 09:58:17 2024 +0800

pass


mergePersistedState() does not merge filtered sub objects

if I filter on filter("a.b") and I have an object:
a: {
   b: {hey:"ho"}
}

persisted, and my initial state is:
a: {
  b: {}
  c: {hi: "ho"}
}

c is lost in the merge. I would expect that merge should merge b and c.

Hey, I had the same problem, there's a very subtle hint about how to solve this on the readme:

mergePersistedState performs a shallow merge. The following shows how you can easily define a deep merge using e.g. lodash.merge:
const reducer = compose(
  mergePersistedState((initialState, persistedState) => {
    return _.merge({}, initialState, persistedState)
  }),
)(rootReducer);

so in your example you could do something like:
compose(
  mergePersistedState((initialState, persistedState) => ({
    ...initialState,
    ...persistedState,
    a: {
      ...initialState.a,
      ...persistedState.a
    }
  }))
)(
  combineReducers({
    apollo: client.reducer(),
    form: formReducer,
    routing: routerReducer,
    account,
    profile
  })
);

Using the more specific mergePersistedState here fixed this issue for me.


PF-538 (part 1): Add workspace_manager_v4 pool for tools environment.

Added the workspace_manager_v4 pool to the schema for the tools environment.
The current v6 pool does not delete the default compute engine service account or the default VPC network. This was to support Nextflow, which required both of these things. Now there is a Nextflow edge release that allows overriding both defaults.
I am enabling the v4 pool for the tools environment to test this against my personal environment WSM and updated CLI code. Once I confirm that works, I'll make a similar change here to enable the v5 pool for the dev environment. (Tools pool id went from v4->v6, dev went from v5->v6) And then update the helmfile for all WSM deployments to point to these pools.

Rather than ending with using the older _v4 in tools and _v5 in dev pool schemas, I think we should roll forward to new _v6 and _v7 pools, even if they're the same as older versions to avoid confusion.

Sounds good. I'll make a new pool id, but reuse the existing pool config. And I'll bump both tools and dev to _v7 so they match also.


Chain id does not has an input box

In the profile page, it doesn't have the input box on chain id.

You don't need to input your chain ID, you can click fetch to get your chain ID If you use the same email in omise.
This detail will show on instruction page, Thank you.


support not embedding the schema into the server generated code

The same as #190 but for the server generated code.

On the server this is done for serving the spec up at /swagger.json
Are you saying you want to optionally exclude a spec and make sure you deploy one with your generated server?

oops wrong issue number in commit message

I certainly won't need that feature in my current project.
It's a good idea and I like it. But it could be optional I suppose.
Maybe change the behavior in such a way that I could give nil instead of the spec and still have a way to provide whatever else it gets from it.


Consolidated billing

The information on configuring operator metering with AWS Billing is quite sparse.
Does this work with consolidated billing at all?
Does the billing need to be in a specific format/directory layout? I see the schema file in the documentation, but it's not clear what it means.
Can this be configured without an S3 bucket, and calling the AWS billing API directly?

Consolidated billing works. At the end of the day, it's just a cost and usage report in S3 that's used. Consolidated billing will produce reports containing information on all accounts under the billing account rather than just the single account's billing information.
The directory format/layout expected is what the AWS cost and usage report outputs, you just need to specify the s3 bucket, and the path (prefix) used when creating the report.
No, this only supports reading billing report data from S3. We are using Presto and Hive to present the underlying S3 bucket as a database table which we use in our queries.

I understand the documentation on this may be light, but are you looking for something specific? We provide an example metering configuration that just needs to be modified to use your values. Perhaps it would help if we showed what the configuration on the amazon side would look like to match up with the metering config?

This answered all the questions I had, thanks


feat(command-functions): update fauna crud template

Update faunadb-js package version.
Rewrite FQL to modern style

Seems like our formatter is complaining - https://github.com/netlify/cli/pull/1853/checks?check_run_id=1857985371 - could you possibly fix these and push again? npm run format:fix:prettier should take care of it.

Released under v3.7.0. Thanks @fireridlle 👍  - https://www.npmjs.com/package/netlify-cli/v/3.7.0


Fix/scatter tooltip mode

Resolves #8350
In 2.9 it was already like this (only showing point) so no updating of the migration guide neccesarry

A regression test would be good.

A regression test would be good.

Tried implementing a test for it but I keep getting the error: Failed to create chart: can't acquire context from the given item and then the body of the tooltip is undefined. I cant figgure out why this is happening. If I try to adjust the other test in this file by putting an extra dataset in there the same thing happens

Tried implementing a test for it but I keep getting the error: Failed to create chart: can't acquire context from the given item and then the body of the tooltip is undefined. I cant figgure out why this is happening. If I try to adjust the other test in this file by putting an extra dataset in there the same thing happens

I'm not sure why only the windows test is failing

I'm not sure why only the windows test is failing

I debugged this test a bit locally on windows. It only fails in Firefox. The problem appears to be a rounding problem because the point is at the left edge of the chart area. The point's x coordinate is rounded to 39 which is the value passed for the mouse event, but the chart area has a left edge of 39.76 and the search method bails out early thinking the mouse is outside of the chart area..
A quick fix would be to add min: 9 on the x axis so that the point is not at the left edge.

I debugged this test a bit locally on windows. It only fails in Firefox. The problem appears to be a rounding problem because the point is at the left edge of the chart area. The point's x coordinate is rounded to 39 which is the value passed for the mouse event, but the chart area has a left edge of 39.76 and the search method bails out early thinking the mouse is outside of the chart area..
A quick fix would be to add min: 9 on the x axis so that the point is not at the left edge.

I think the event clipping is too strict. A point half way out of the area should be hoverable over the points whole area.

I think the event clipping is too strict. A point half way out of the area should be hoverable over the points whole area.

Seems indeed to be the issue, adding a second data point so that the point that is being hovered is fully in the canvas it is working

Seems indeed to be the issue, adding a second data point so that the point that is being hovered is fully in the canvas it is working


add .env file for secret keys & add volumes to mysql to persist data

1- add volumes to mysql service to persist data and not losing it when removing the container
2- move database credentials to .env file

I fully support this addition! The only thing I would suggest is an additional section in the README about how to utilize it (and a reminder to update these values).
Instead of committing as a .env file (which in practice you should NEVER commit), maybe commit it as a .env.example file with instructions to rename and modify the values therein?

I fully support this addition! The only thing I would suggest is an additional section in the README about how to utilize it (and a reminder to update these values).

updated.

 mysql:
   # ...
    volumes:
      - mysql:/var/lib/mysql

volumes:
  mysql:
    driver: local


Security Vulnerability: karma & dendency combine-lists depends on lodash < 4.17.11

Karma itself as well as the dependency combine-lists has a dependency on lodash < 4.17.11
Combine-lists repo seems unmaintained so might need to swap out behavior.
https://tools.cisco.com/security/center/viewAlert.x?alertId=59546

Does npm audit pass at HEAD now?


Uninitialized constant Opal::Processor

Expected behavior and actual behavior
Hi everyone,
All of a sudden, all my middleman commands give me this error message :
/Users/numajequier/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/tilt-2.0.8/lib/tilt/mapping.rb:246:in eval': uninitialized constant Opal::Processor (NameError) Did you mean?  Process
I installed opal gem just beforehand since I had a previous error message trying to lauch middleman commands:
/Users/numajequier/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/tilt-2.0.8/lib/tilt/mapping.rb:243:in require': cannot load such file -- opal (LoadError)
Does anyone have an idea how to fix it ?
Thank you in advance
Steps to reproduce the problem (from a clean middleman installation)
Commands like :
middleman server
middleman -v
...
Additional information

Ruby version: 2.3.5
Middleman version: cannot verify it
OS version: Sierra 10.12.6

I don't have any .rb files in source, but I do have some .builder files (for atom/RSS feeds), those shouldn't require Opal, should they?


Pass through skipDuplicate

Summary

Pass through the skipDuplicate option to the @vscode/vsce methods.
Changes

Add skipDuplicate to the options
Filter out skipDuplicate and pass to the @vscode/vsce publishVSIX method
main: Read skipDuplicate from the Github Actions workflow step inputs

Related Issues

Fixes #38
Motivation
My workspace contains multiple libraries and a snippets package.
Making modifications to the library, but not the snippets package, makes the workflow fail because the snippets package (which hasn't changed) is "already" in the marketplace registry

@HaaLeo

I had some spare time to add the feature myself. Nevertheless thank you a lot for your contribution. It feels horrible to close an unmerged PR


Socket.IO integration

Can I integrate it with socket.io as uws could before?
const http = require('http');
const express = require('express');
const socketIO = require('socket.io');
const uws = require('uws');

const app = express();
const server = http.Server(app);
const io = socketIO(server);

io.ws = new uws.Server({ perMessageDeflate: false });

You can replace Socket.IO. https://github.com/uNetworking/pubsub-benchmark


Bug: Bug when generating Json fields in Pydantic model

Description
It seems like generating Json fields in Pydantic (1.10) creates a bug. Trying the factory_use_construct=True does not help as it provides a JsonWrapperValue object which is not a valid Json.
URL to code causing the issue
No response
MCVE
from typing import Dict
from pydantic import Json, BaseModel

from polyfactory.factories.pydantic_factory import ModelFactory

class MyModel(BaseModel):
    myfield: Json[Dict[str,str]]

class MyModelFactory(ModelFactory[MyModel]):
    __model__ = MyModel

print(type(MyModelFactory.build(factory_use_construct=True).myfield))
# >> HAS INVALID TYPE
# <class '.JsonWrapperValue'>

MyModelFactory.build()
# >> RAISES EXCEPTION:
# E   pydantic.error_wrappers.ValidationError: 1 validation error for MyModel
# E   myfield
# E     JSON object must be str, bytes or bytearray (type=type_error.json)

Release Version
2.12.0

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

Aah Json fields aren't supported for v1. I don't exactly remember why that decision was made, even though I'm the one who did it 😅
I'll see if it's possible to add support for it. As a workaround until it's fixed, you can override the build method to convert the value into a JSON string before the kwargs are passed to the constructor of the model.

Thank you for your answer! I will look into the solution you propose. Do you have any idea when support could be added (if it is actually possible) ?

@Leobouloc I think it's going to be at least January mid or so before I'll get a chance to work on it. However, if someone else is willing to raise a PR for this, I'd be happy to review it!


Leroy-netizen/user login logout alerts

removed the previous alerts and implemented toasts on successful and failed login.

We need to remove all the unnecessary files from the commit

@leroy-netizen Also ignore the .env file.

Closing this PR as the features have been implemented in other PR's


Theme is not rendering

Hello,
I clone your repo, and change the "url" and "repository" in _config.yml file, and configured jekyll.
repository: https://github.com/ehosseiniasl/my-website.github.io
However, the website them is not rendering, see below

I added theme: minima and still theme is not rendered.
can someone help me?

@hainesr @Carreau @qaisjp @bxie

I am having the same issue here. Any solutions?

@gegewen try not to directly replace all the content in one file, filling it one by one with manual inputs

Same issue here. Is there any solution?

I found the solution. Change base_path file to
{% if site.url and site.url contains "localhost" %}
  {% assign base_path = "" | append: site.baseurl %}
{% elsif site.url %}
  {% assign base_path = site.url | append: site.baseurl %}
{% else %}
  {% assign base_path = site.github.url %}
{% endif %}

Same issue, ^ the above solution doesn't work. Any leads?

Having the same issue, anyone found a fix?

Same issue. Did anyone figure out how to fix it?

This might have been corrected with the latest fixes.

If minima is a Jekyll theme then that might be the cause of the problem since Academic Pages is  its own theme, also you may want take a look at #1919 since MathJax can interfere with rendering, although the "stock" template is now working with MathJax.


Auto assignable role command (.aar) doesn't work. :(

Hello!
The auto assign role (.aar) command doesn't add the role to the new user that joins the server for some reason. It does show that it is enabled and disables fine though.
Thanks if you can fix it!
Regards,
Tri

Use .aar to disable; .aar Role to enable.
Did you create a role before you used .aar?

Create a role.
Use .aar RoleName

And just test it out. I just tried and it works fine.

^ works fine.


How can I pass "today" as a variable instead of hardcoding a date?

[Enter feedback here]

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

ID: d33d675d-2104-d84a-2385-79011e31282c
Version Independent ID: ad2ee9b4-c3a8-2dde-a896-aa1e4fe6074c
Content: Pass a report parameter in a URL for a paginated report - Power BI Report Builder - Power BI
Content Source: powerbi-docs/paginated-reports/report-builder-url-pass-parameters.md
Service: powerbi
Sub-service: report-builder
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @alexleyva68 -- good question! I'll check and get back to you.

Hi, @alexleyva68 -- have you tried an expression? How about
=Today()

this is one that works:
https://app.powerbigov.us/groups/{blah, blah}/rdlreports/{blah, blah} &rp:courthouse=BUR%20&rp:courthouse=NCA%20&rp:courthouse=NCB%20&rp:courtstartdate=2021-03-16
for courtstartdate I have tried the following:
&rp:courtstartdate=Today
&rp:courtstartdate=Today()
&rp:courtstartdate=Now()
None of them work.

Hi, @alexleyva68 -- OK, got the story.
"The engine will only convert the “value” of parameters. Passing expressions via URL is not supported in RDL. I think this is the same to on-prem Report Server."
Hope that helps.


FileNotFoundException prometheus.yaml

gcr.io/spark-operator/spark-operator:v1beta2-1.2.0-3.0.0
Spark version: 2.4.5
kubernetes: 1.18.10
in sparkapplication yaml:
 monitoring:
    exposeDriverMetrics: true
    exposeExecutorMetrics: true
    prometheus:
      jmxExporterJar: "/opt/spark/jars/jmx_prometheus_javaagent.jar"
      port: 8090

from log:
 + CMD=("$SPARK_HOME/bin/spark-submit" --conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS" --deploy-mode client "$@")
 + exec /usr/bin/tini -s -- /opt/spark/bin/spark-submit --conf spark.driver.bindAddress=<IP_ADDRESS> --deploy-mode client --properties-file /o
 Exception in thread "main" java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
     at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
 Caused by: java.io.FileNotFoundException: /etc/metrics/conf/prometheus.yaml (No such file or directory)
     at java.io.FileInputStream.open0(Native Method)

as i understand,  this file created/mounted by spark as i don’t  have it in image .
and I know that this file is not required inside the image.
Also it was working...and now not any more, can it be related to cluster roles/serviceaccount/webhook?
please advise.

i am still getting this with spark operator v1beta2-1.3.3-3.1.1
Do I also need to create webhook?


isReadOnly option not work with weekly views

the newest version.
sometimes I need to use isReadOnly option, when set isReadOnly, I can not see the edit and delete button in monthly views, but when I change to weekly views, I can still drag the schedule to edit, which has been set to isReadOnly
Is it designed to be so? Or do I miss something?
In my option, when the schedule is set isReadOnly, we cannot drag to edit it in weekly views

@lessfish
It's a bug.
When isReadOnly = true, it is impossible to move the schedule, and it is impossible to adjust the size. I'll fix it quickly.

@lessfish
If you want to handle your code right now, see the e.schedule.isReadOnly value in the beforeUpdate Schedule event.
cal.on({
       ...
        'beforeUpdateSchedule': function(e) {
            console.log('beforeUpdateSchedule', e);
            // use e.schedule.isReadOnly
        },

@jungeun-cho wait for your update, and thanks for your great work for tui.calendar!


Error when applying custom dataset

Hi, your work is fantastic! I want to apply it on the MICCAI dataset but got this error:
============== EPOCH: 1/5 =================
--- SubEPOCH: 1/2
... Get samples for subEpoch...
... getting 200 samples per subject...
...Processing subject: 1. 20.0 % of the whole training set...
...Processing subject: 2. 40.0 % of the whole training set...
...Processing subject: 3. 60.0 % of the whole training set...
...Processing subject: 4. 80.0 % of the whole training set...
...Processing subject: 5. 100.0 % of the whole training set...
Traceback (most recent call last):
File "./networkTraining.py", line 82, in
networkTraining(sys.argv[1:])
File "./networkTraining.py", line 77, in networkTraining
startTraining(networkModelName,configIniName)
File "/Users/elaine/Desktop/LiviaNET-master/src/LiviaNet/startTraining.py", line 147, in startTraining
myLiviaNet3D.trainingData_y.set_value(gt_samplesAll, borrow=True)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/theano/compile/sharedvalue.py", line 146, in set_value
self.container.value = new_value
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/theano/gof/link.py", line 479, in set
self.storage[0] = self.type.filter(value, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/theano/tensor/type.py", line 150, in filter
converted_data = theano._asarray(data, self.dtype)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/theano/misc/safe_asarray.py", line 34, in _asarray
rval = np.asarray(a, dtype=dtype, order=order)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/numeric.py", line 474, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: ('could not broadcast input array from shape (19,19,19) into shape (19,19)', 'Container name "None"')
The files are in Nifti. Thanks in advance!

Hi, from this ("from shape (19,19,19) into shape (19,19)") it seems to me that you are trying to convert from 3D image shapes to 2D, and that causes the error. I am not with my computer (actually just left for holidays), if you still have the problem when I am back, in round 3 weeks, I can check it with you. Sorry for that.
Jose

Hi, thanks very much for the quick response!
Yeah that's what I'm wondering. Shouldn't the network take 3D inputs instead of 2D?
Sorry if this is not a quick question for you I can wait. I just really hope to apply the model on MICCAI. Thanks!

Hi, sorry for my late reply, I am currently on holidays. Inputs of the network are 3D not 2D.If you can wait couple of weeks that I am back I can look into your setting.
Best

Hi @pickleL
Please have a look to this other user that found the same problem than you:
https://github.com/josedolz/LiviaNET/issues/5
It seems that for him, images and their corresponding ground truths did not match. Maybe you can double check this, :).
Best


Add podman workaround to make it work along with cri-o.

Podman and crio both using the CNI networking and that cause the
race condition.
Check https://bugzilla.redhat.com/show_bug.cgi?id=1729603 for detail info.

Podman and crio both using the CNI networking and that cause the
race condition.
Check https://bugzilla.redhat.com/show_bug.cgi?id=1729603 for detail info.

If you are not logged into bugzilla, there are not any details in this bug, so I'd suggest adding a few more details to the log ("the problem is caused because X is started before Y, we want xx to have priority so we make sure it runs first", or something like this).


fix: decode encoded parameters for youtube playback

What
Adding fix to decode encoded parameters for youtube
Why
As per dab-specification encoded url is given as parameter to youtube, but youtube accepts parameters in decoded string format
How
using urlencoding crate decoded the incoming parameter list for youtube before appening the parameter list

Playback is happening for youtube once the parameters are decoded
sam2@sam2-VirtualBox:~/RUST/dab-compliance-suite$ python3 main.py -v -b <IP_ADDRESS> -I 02AD320123DA -c ApplicationsLaunchWithParameters

testing applications/launch   {"appId": "YouTube", "parameters": ["v%3DSs75O8yllyc","enableEventConsole%3Dtrue","env_showConsole%3Dtrue"]} ... App started?(Y/N)
[y]

applications/launch Latency, Expected: 10000 ms, Actual: 865 ms

[ PASS ]
{
  "status": 200
}

OK: applications/launch
ENCODED URL: Some(["v%3DSs75O8yllyc", "enableEventConsole%3Dtrue", "env_showConsole%3Dtrue"])
decoded url is ["v=Ss75O8yllyc", "enableEventConsole=true", "env_showConsole=true"]

RDK Common Port Team's response:
Tried giving the DAB url request to YouTube as "plain text" and please find the results (with this PR changes).
testing applications/launch
{"appId": "YouTube", "parameters": ["v%3DSs75O8yllyc","enableEventConsole%3Dtrue","env_showConsole%3Dtrue"]}

By passing the arguments in the following way to Youtube, could see that content is being played and Youtube accepts the same.
Cold Launch:
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc": "2.0", "id":<PHONE_NUMBER>, "method": "org.rdk.RDKShell.1.launch" ,"params": {"callsign": "Cobalt","type":"Cobalt","visible":true,"configuration": {"url":"https://www.youtube.com/tv?v=Ss75O8yllyc&enableEventConsole=true&env_showConso
le=true"}}}' http://<IP_ADDRESS>:9998/jsonrpc

Hot Launch/Deeplink
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc": "2.0","id":3, "method": "Cobalt.1.deeplink", "params":"https://www.youtube.com/tv?v=jfKfPfyJRdk&enableEventConsole=true&env_showConsole=true"}' http://<IP_ADDRESS>:9998/jsonrpc

This would need recipe update.


Adding style to Cell seems to remove existing styles

Describe the bug
When adding style to a Cell component using styled-components, existing styles seem to be removed/replaced
const FixedWidthCell = styled(Cell)`
  width: 100px;
  min-width: 100px;
`

Example codesandbox: https://codesandbox.io/s/mystifying-cache-57jv3
Steps to reproduce the bug

Apply custom style to a Cell component like the above snippet/codesandbox

Expected behavior
In this case, a fixed width Cell component with a width of 100px and with original styles applied (font/color/..)
Specifications

Version: 0.6.2
Browser: MS Edge 86.0.622.43
OS: MacOS 10.15.7

This bug has to do with the combination of overriding styles and using the as-prop at the same time. So if I have a component that looks like this:
const StyledComponent = styled.div`
  background: lime;
  font-weight: 900;
`
export const SomeComponent = ({ className = '', children }) => (
  <StyledComponent className={className}>{children}</StyledComponent>
)

…and I extend that component somewhere else with
import { SomeComponent } from '@equinor/eds-core-react'

const StyledSomeComponent = styled(SomeComponent)`
  background: deeppink;
`

export default {
  title: 'Components/SomeComponent',
  component: SomeComponent,
}

export const SomeStory = () => (
  <>
    <SomeComponent>Tjobing!</SomeComponent>
    <StyledSomeComponent as="p">Tjobang!</StyledSomeComponent>
  </>
)

…then you would expect StyledSomeComponent to have the styles font-weight: 900; background: deeppink; but what happens instead is it looses the original styles. So not solved yet, but working on it.

Turns out this is a know bug in Styled Components. There is a workaround, but it’s not very pretty. In the case above, it works as expected if I do it like this:
import { SomeComponent } from '@equinor/eds-core-react'

const StyledSomeComponent = styled(SomeComponent).attrs({ as: 'p' })`
  background: deeppink;
`

export default {
  title: 'Components/SomeComponent',
  component: SomeComponent,
}

export const SomeStory = () => (
  <>
    <SomeComponent>Tjobing!</SomeComponent>
    <SomeComponent as={StyledSomeComponent}>Tjobang!</SomeComponent>
  </>
)

After doing some more digging, this can be solved by using the forwardedAs prop. So all you need to do then is to replace  <StyledSomeComponent as="p">Some text</StyledSomeComponent>
with
<StyledSomeComponent forwardedAs="p">Some text</StyledSomeComponent>

I originally wrote something about a workaround, which I deleted to avoid confusion when I discovered the forwardedAs prop, but on second thoughts I think it should remain as part of this discussion. So the code below will work, but it’s a cumbersome workaround and not really recommended.
import { SomeComponent } from '@equinor/eds-core-react'

const StyledSomeComponent = styled(SomeComponent).attrs({ as: 'p' })`
  background: deeppink;
`

export default {
  title: 'Components/SomeComponent',
  component: SomeComponent,
}

export const SomeStory = () => (
  <>
    <SomeComponent>Some text</SomeComponent>
    <SomeComponent as={StyledSomeComponent}>Some text</SomeComponent>
  </>
)


fake people use this app who  is already dead and i want to report because its like you are insulting and crossing the limits of privacy policy

Describe the bug
@nerryyadav tiktok id is already r.i.p and you were promoting dead person and its against the privacy policy
To Reproduce
A small example of code that reproduces the bug.
Expected behavior
r.i.p person reported and fake community generated huminity act
Additional context

I don't know what you're talking about.


Wrong order of functions in typeahead.bundle.js makes it impossible to import Bloodhound

The file typeahead.bundle.js contains code for both typeahead jquery plugin and Bloodhound. Bloodhound is exported as a default export with this line (CommonJS):
module.exports = factory(require("jquery"));
But module.exports is then overridden by the same line of code in the code for typeahead jquery plugin, which comes after that. This makes it impossible to import Bloodhound from external code (I'm using ES6 with babel compiling):
import Bloodhound from 'typeahead.js'
Changing the order of the code for the 2 things makes the above import work as expected, and it also imports the typeahead jquery plugin.

Hi there. I'm having this same issue. I'm trying your suggestion of switching the order of the code but it still isn't working. I get the error typeahead.bundle.js?9af7:1543 Uncaught TypeError: Cannot set property 'Bloodhound' of undefined
I'm using typeahead.bundle.js file and importing into my vendor.js file.
I would be really grateful if you could copy and paste your typeahead.bundle.js file here.
Thanks in advance.

Ok, here it is: http://pastebin.com/ANS1V69C

Thanks for the link. I worked around it by importing typeahead.jquery.js and bloodhound-js separately, but I'll try to use your solution. Thanks again.

Is there any chance this is getting fixed?

Still not working here, installed typeahead-js using yarn in Rails and imported the bundle. It loads in but still get the error. Cannot set property 'Bloodhound' of undefined

+1


Remove typo in documentation

Remove typo (i.e., replace full stop . with a comma ,) in document.

/lgtm


maintainAspectRatio aligns to container width only

Look at this little fiddle:
https://jsfiddle.net/ycdbv5sq/
Resize the chart by increasing its width. The bottom of the chart will be clipped.
This is because maintainAspectRatio always takes the width as base and calculates (and sets) the heigth from it (never does it from opposite approach), as I see in getMaximumSize:.
  width = Math.max(0, width - margins.width);
  height = Math.max(0, aspectRatio ? Math.floor(width / aspectRatio) : height - margins.height);

maintainAspectRatio should do the following, IMHO:

calculate chart height based on width (and ratio)
if this height is smaller or equal to the current height of the container, render the chart with this size
if the height calculated above is greater than the current height of the container, calculate the width of the chart based on the height and the ratio (and use this width for rendering)

This could ensure that the entire chart is visible.

Thank you.
I agree that it would require a new option, at least a default-off boolean one to turn on this new feature.


Can't access express server to setup ssl

Hi, I was using heroku for messenger bot, now I want to move it to my own server. Because facebook wants webhook to be served from https, I am trying to setup ssl. But I don't have access to express server used in bootbot.
I tried to setup my own express server on port 3000 and bootbot server on 3100, then proxy all requests to port 3100 by using express-http-proxy module.
But I have ended up with this error: Couldn't validate the request signature.
I have checked other issues for this error(#14, #48, #84, #66, #67), mainly they say that problem originates from invalid APP_SECRET, but that's not the case with me.
So how can I setup ssl?

I ended up using the second solution. I have created https server on port 3000, submitted that port as webhook, then redirected all requests to bootbot server on port 3100
app.post('*', function(req, res) {
        var url = "http://" + ipAddress + ":3100" + req.url;
        res.redirect(307,url);
});

I am not sure but I think it took a little while to take effect. I don't know why and couldn't recreate the situation.
I still think, it would be greate if we were able to create https server on bootbot by providing certificates.

You could put it in front of nginx. Then have nginx handle the https. Or maybe something lighter weight like caddy which is https only (backed by letsencrypt):

caddy config example
caddy docs link


increase the minimum batch size

Followup PR for this comment.
increase the minimum number of worker nodes in each batch from 1 to 3 in order to reduce timeout in clusters with low number of worker nodes.

/lgtm
looking forward to the follow up that increases it further :)

/lgtm
Giving others a chance to review as well, feel free to unhold
/hold

/lgtm

4.13 passed, overriding flaky tests
/override ci/prow/4.11-openshift-e2e
/override ci/prow/4.12-openshift-e2e
/unhold


Remove setters from TopNProjection & GroupProjection

Current coverage is 81.14% (diff: 100%)

Merging #4342 into master will decrease coverage by 0.03%

@@             master      #4342   diff @@
==========================================
  Files          1313       1313
  Lines         44519      44507    -12
  Methods           0          0
  Messages          0          0
  Branches       7045       7045
==========================================
- Hits          36143      36116    -27
- Misses         5709       5728    +19
+ Partials       2667       2663     -4

Powered by Codecov. Last update 353d915...f32d813


CI: Reduce log level on Windows

Which issue(s) this PR fixes:
None
What this PR does / why we need it:
For some reason, the log level is Debug only on Windows.
This makes it harder to find failing tests.
Docs Changes:
Not needed.
Release Note:
Not needed.

IMHO I want to leave it as is for a while.
On Windows some tests often become unstable due to other test's state although it shouldn't be.
When I investigate them, I often check which tests are executed before failed tests.
In fact I recently noticed a problem which is caused by a past unrelated pull request.

https://github.com/fluent/fluentd/pull/4090#issuecomment-1465643573
https://github.com/fluent/fluentd/pull/4096

It might be hard to find if -v isn't specified:

I see! Thanks for the explanation!
Now I understand the benefits of this setting.
I close this.

BTW for finding failed test I search Failure: or  Error: (including former & later spaces) with case sensitive.
It makes easy to find failed tests even if -v is added or not.

Thanks!!
Do you use View raw logs and then search the words?

I use both Web UI and raw logs.

I see! Thanks!


Manager

https://github.com/GoogleChrome/first-party-sets/blob/main/effective_tld_names.dat

Thank you for opening this issue, we will look into it.

Thank yiu

Thankyou

https://github.com/GoogleChrome/first-party-sets/blob/main/effective_tld_names.dat

Thank you


Testimony Photo Carousel Card Component

Nobody was assigned this component

@jmripper - I think this might still be in play, you haven't finished this yet - right?

Duplicate. Closing in favor of #99


Smooth surfaces are too shinny in some devices after 0.6.0

Description
On Galaxy Note 4, Galaxy S8, Pixel 3 and Pixel 3a, smooth surfaces appear to be way too shinny after 0.6.0

Live Demo
http://model-viewer-tester.glitch.me/
Browser Affected

[x] Chrome
[ ] Edge
[x] Firefox
[ ] Helios
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

Versions

model-viewer: v0.6.0

This is very strange. First, the problem only appears with the last of four meshes in the file. The color is gone because the diffuse light is down to nearly zero anywhere that is facing a light source (but only on Android). The glb you exported has lost most of the texture detail, so I'm working from the original glTF, but it exhibits the same behavior. I thought at first it might be a gl precision issue, but that's had no effect.

This is very strange. First, the problem only appears with the last of four meshes in the file.

😮

Hmm, that was an interesting observation. It made me spectorjs it and, it seems to me that the problem is with the first drawcall.

Two questions: first, how do you spectorjs your phone? second, what error are you seeing?

Well, it just so happens that... from all the models available in http://model-viewer-tester.glitch.me/ this one is the first one that doesn't draw in a single drawcall.

Two questions: first, how do you spectorjs your phone? second, what error are you seeing?

You can't spectorjs your phone. And I'm not seeing any error. I just noticed that the mesh that is being drawn first is the one that appears metallic in the phone.
Welcome to the sad world of lack of WebGL debug tools 🙌

ah, that is interesting. Thanks.

I'm going to look for more glb models that have multiple parts.

I've added Lantern which has multiple parts and it renders fine on mobile... 😑


Work around overly-aggressive ASAN poisoning in cppgc.

See comment for details.

I'm merging this without the mac tests because the mac jobs have apparently been waiting over three hours for a runner, I'm pretty sure this won't break mac, and the internal codebase has already been updated to use this PR...


How the results in Table 1 were obtained?

Thanks for your great work and great code!
I reproduce the experiments on MNIST under NIID Partition Strategy : Sharding with FedAvg and Fedprox. I modify the dataset name to mnist in both fedavg.json and fedprox.json,  and the local_epochs is modified to 3.  I got the [Server Stat] Acc = 86 at round 67 for FedAvg and got  [Server Stat] Acc = 90 at round 67 for Fedprox, which is obviously higher than their reported in Tab.1 of your paper.
So my question is how the results in Table 1 were obtained? Were the results obtained by averaging the performance of each round instead of selecting the best acc in a certain round?
In fact,  I am new to federated learning and not very familiar with the methods of performance calculation. I appreciate your guidance.

Thank you for engaging with our research!
Indeed, the performance in federated learning can vary significantly from one round to another due to numerous factors including the level of data heterogeneity, learning rates, the ratio of participating clients, and the number of epochs completed locally in each round.
In our FedNTD paper, we addressed these fluctuations by (1) applying an exponential moving average (EMA) with a smoothing factor of 0.6 to the accuracy across rounds and report the final EMA value, and (2) conducting ablation study across various learning factors.
I think it's common in FL research to report the averaged accuracy at the final round over multiple runs with different seeds. While we utilized the EMA approach, any consistent and transparent method of reporting, including the strategy you mentioned, is generally acceptable, provided it consistently reflects reliable results.
(+ If you use W&B, they provides the EMA function in the dashboard.)

收到，感谢您的来件

Thanks for your answer!
I have finished the training of FedAvg on mnist.
The last several lines of logs are reports below:
`
[Round 199/200] Elapsed 49.6s (Current Time: 00:56:02)
[Local Stat (Train Acc)]: [0.9736, 0.9953, 0.9115, 0.9435, 0.9905, 0.9295, 0.9698, 0.9032, 1.0, 0.9852], Avg - 0.96 (std 0.03)
[Local Stat (Test Acc)]: [0.5191, 0.3573, 0.4135, 0.2917, 0.5635, 0.4424, 0.3003, 0.5095, 0.1082, 0.3856], Avg - 0.39 (std 0.13)
[Server Stat] Acc - 0.94
[Round 200/200] Elapsed 49.5s (Current Time: 00:56:52)
[Local Stat (Train Acc)]: [1.0, 0.9857, 0.9798, 0.9362, 0.8648, 0.9937, 0.9868, 0.9831, 0.9845, 0.9787], Avg - 0.97 (std 0.04)
[Local Stat (Test Acc)]: [0.3482, 0.4239, 0.4297, 0.7615, 0.4015, 0.5942, 0.472, 0.5408, 0.4242, 0.2409], Avg - 0.46 (std 0.14)
[Server Stat] Acc - 0.94
wandb: WARNING Saving files without folders. If you want to preserve sub directories pass base_path to wandb.save, i.e. wandb.save("/mnt/folder/file.h5", bas
e_path="/mnt")
wandb: Waiting for W&B process to finish... (success).
wandb:
wandb: Run history:
wandb: in_dist_acc_mean ▁▄▃▃▅▇▇▇█▇▇▆▆▇▇▇▆▇▇████████▇█▇█▇▇█▇█████
wandb: in_dist_acc_prop ▁▄▃▃▅▇▇▇█▇▇▆▆▇▇▇▆▇▇████████▇█▇█▇▇█▇█████
wandb:  in_dist_acc_std █▃▆▄▂▁▂▂▁▂▂▂▄▁▁▂▃▁▂▁▁▁▁▁▁▁▁▂▁▃▁▃▂▁▂▁▁▁▁▂
wandb: in_dout_acc_mean ▁▁▁▁▁▁▁▁▂▁▂▁▂▁▂▂▂▃▂▂▃▂▃▃▄▃▆▅▄▄▇▅▅▄▆▆▄█▇▇
wandb:   local_test_acc ▁▁▁▁▁▂▁▁▂▂▂▁▂▁▂▂▂▃▂▃▃▂▃▃▄▃▆▅▄▄▇▅▅▄▆▆▄█▇▇
wandb:  local_train_acc ▁▃▃▃▄▆▇▆▆▆▆▅▇▇▇▇▆▇▇▇█▇▇▇▇▇█▆▇▇█▇▇█▇██▇██
wandb:     out_dist_acc ▁▁▁▁▁▁▁▁▂▁▁▁▂▁▂▂▂▃▂▂▃▂▃▃▄▃▆▅▄▄▇▅▅▄▆▆▄█▇▇
wandb:  server_test_acc ▂▁▃▂▄▅▄▆▆▆▆▇▆▅▇▇▇█▆█▇▇██▇████▆█▇████████
wandb:
wandb: Run summary:
wandb: in_dist_acc_mean 0.99216
wandb: in_dist_acc_prop 0.9924
wandb:  in_dist_acc_std 0.01795
wandb: in_dout_acc_mean 0.40496
wandb:   local_test_acc 0.46369
wandb:  local_train_acc 0.96933
wandb:     out_dist_acc 0.40771
wandb:  server_test_acc 0.9407
`
It seems that the "server_test_acc" is 94.07, which is significantly higher than the results reported in your Tab. 1. So, this is the result without EMA, right? (That is, the result from the last round?)   Do we need to manually operate Wandb to get the results with EMA?
And the following is config corresponding to this training.  I would really appreciate it if you could help me check if there are any issues with this config~
{'data_setups': {'batch_size': 50,                                                                                'dataset_name': 'mnist',                                                                                'n_clients': 100,                                                                                'partition': {'method': 'sharding', 'shard_per_user': 2},                                                                                'root': './data'},                                                                                'train_setups': {'algo': {'name': 'fedavg', 'params': {}},                                                                                'model': {'name': 'fedavg_mnist', 'params': {}},                                                                                'optimizer': {'params': {'lr': 0.01,                                                                                'momentum': 0.9,                                                                                'weight_decay': 1e-05}},                                                                                'scenario': {'device': 'cuda:0',                                                                                'local_epochs': 3,                                                                                'n_rounds': 200,                                                                                'sample_ratio': 0.1},                                                                                'scheduler': {'enabled': True,                                                                                'name': 'step',                                                                                'params': {'gamma': 0.99, 'step_size': 1}},                                                                                'seed': 2022},                                                                                'wandb_setups': {'group': 'fedavg',                                                                                'name': 'fedavg',                                                                                'project': 'NeurIPS2022'}}

Hello，this is the results after EMA with 0.6.  It seems that the "server_test_acc" after EMA is 93.42, which is also significantly higher than the results reported in your Tab. 1.

Apologies, I think I misunderstood your earlier question. You were asking about the performance gap between the official code and the reported values in the paper. This gap arises from using the CutOut technique in our experiment.
For more details, please check the discussion on MNIST performance in the official NeurIPS2022 Review - Performance of FedAvg on MNIST, where we discussed about the MNIST performance with the reviewer sAmP.
We chose to omit the cutout technique from the MNIST dataset in the released code to make the results clearer and more straightforward, as a typical training setup achieves over 94% accuracy, similar to what you observed. (+The configuration seems okay, and you are free to adjust the configuration settings as you see fit, including changing the number of local epochs to 3.)
If you would like to apply CutOut to MNIST, you can do so by following the method used for CIFAR-10, which you can find here: CIFAR-10 pre-processing in the MNIST pre-processing code

According to our previous experiment, FedAvg with Sharding (s=2) with the number of local epochs 5 achieves a 95.8% server test accuracy, which appears to be quite consistent with your results.

Thank you! My confusion is resolved~


Document default value for olx.interaction.ModifyOptions#pixelTolerance

LGTM, please merge once travis is done.


THEEDGE-1977 add org_id to images

Description
org_id was added to the images services and routes as well as to the unti-tests
Fixes # (issue)
THEEDGE-1977
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[x] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I run make pre-commit to check fmt/vet/lint/test-no-fdo

Many thanks @tomershinhar


Table references do not get updated correctly after delete and insert table.

Open kitchen-sink
delete the first table
create a new one
go down to last paragraph (there was the reference to the deleted table)
edit the table reference and select the new table

=> the label does not get update
It should change to the label of the new table

I think this is happening because ATM we do not remove the reference to the deleted table. Thus, changing the ref does not have an effect on the label.

Solution is to remove broken links when editing the ref.

Fixed via #853


Save work in progress across sessions

Desired Behaviour (for feature requests only)
You can save your data at anytime but the column, table and package properties and provenance information is only saved when you export a data package.
When working with complex data with many foreign key relationships or even dealing with a laptop battery issue, it would be good to save the work done so far.
This would save the README.md and the draft datapackage.json locally.
Some thought is required around the user interface, e.g.

save / open provenance information?
save / open properties?
allow saving as an invalid datapackage.zip?

Moved to 1.x.x. as raised during testing

implement with #373

Moved to v0.17.0 for sponsor consideration as this seems to be an issue with a number of users

Acceptance test - feedback welcome


ci: Fixed actions order for 'SonarCloud and Mutation Tests'

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Implemented tests for new features.
[x] I tested the features already implemented.
[x] Added usage examples in the readme.

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Config parsing clean-ups

Quick bit of house keeping
Fixes:

Do not use dict attribute directly on config
Use dict.get() with default param instead of existence checks

👍 I like it!

:+1:


Is there a way to see transform-origin: center when using the scale animation?

I'd like the scale to occur from the center rather then from the left.

You can set it, either on the object itself or in "from"

Forgot to mention that I'm transform a canvas element, so normal CSS doesn't apply. Do you know of a way to do this?

I have little knowledge about canvas unfortunately, i think you'll have a better chance on stackoverflow/reddit. This is pure css though im gonna close this for now.


Scala Kinesis Enrich: update to emit new Avro enriched event format

Migrated to https://github.com/snowplow/enrich/issues/195


Running nuxt generate on SPA mode should prerender meta tags

What problem does this feature solve?
Allows Nuxt SPA mode to provide og:title and og:image to social media page share.
Currently there seem to be no way to show page title and image to facebook share. This was tested using the following tool.
https://developers.facebook.com/tools/debug/sharing/
Problem is that when using pre-fetched data through nuxt.config generate dynamic routing API call and payload, Nuxt only generates static files in Universal mode. Once switched to SPA mode, all static files are always empty and default meta specified in nuxt.config will show.
For my case I do not have the option to use SSR due to the host constraint.
What does the proposed changes look like?
'npm run build' or 'npm run generate' with SPA mode will generate static files that includes pre-fetched data. Potentially would be nice to generate the whole page, but minimum need the og:title and og:image meta tags for social media sharing.

This feature request is available on Nuxt community (#c9651)

You can include a head section within your nuxt.config to set some defaults, but setting pre-rendered / page specific meta tags is against the SPA principle. If you need that then you need to use nuxt generate which does exactly what you are requesting ;)

@pimlie If I override any meta tag in a page file (pages/example.vue) and I generate the whole project with nuxt generate the meta tags will be the same as the default what I defined in nuxt.config.js.
Reproduction steps:

Generate a project with npx create nuxt-app and select SPA mode
Update nuxt.config.js meta tags:

...
head: {
    title: process.env.npm_package_name || '',
    meta: [{ hid: 'og:title', name: 'og:title', content: 'Default' }],
  },
...

Create a file under pages folder and override meta tags with the head function:
(exampe: pages/blog.vue)

<template>

blog

</template>

When I start the app with nuxt dev and I open the blog page I see this in devtools:
<meta data-n-head="1" data-hid="og:title" name="og:title" content="Overrided">

but when I use nuxt generate I see this:
<meta data-n-head="1" data-hid="og:title" name="og:title" content="Default">

It's reproducible with any meta tags, so I think it's a bug.
It's really painful problem when I want to use nuxt as a static SPA site.

It's reproducible with any meta tags, so I think it's a bug.

I don't think its a bug, it's just how nuxt generates the html files (they are all exactly the same, just with different names). However, I do agree it is ...
Very important for SEO/Social networks
This issue should be re-examined because crawlers from Facebook, Twitter and many others do not execute Javascript when fetching meta tags, so they only see whats in the static html file... and that is unfortunately only the contents from nuxt.config.js, which will be the same for every page.
What would need to happen is for nuxt generate to evaluate the head method for every page (and the components within it) it generates and then write custom  sections for every .html file. Of course that would add quite a bit of extra processing time and I'm not sure if it could be implemented easily.

Hi @petergaal91,
Thanks for taking the time to provide a reproduction although I wasn't able to reproduce a bug there, and by bug I mean something that is not intended to be the actual behavior of a single page application (SPA).
Alright so here what's happening when you run your application in SPA mode, either with nuxt dev or nuxt generate:

you're requesting a page, let's say /blog ;
Nuxt will just provide the client a dummy HTML file with default content on it (the one from your nuxt.config.js) ;
then this HTML file will load JavaScript for the Vue application through its HTML script tags ;
among the Vue application there's the Vue Router, it'll take care of resolving current route on client side since we're running in SPA mode here ;
once the route is resolved it will mount the linked page Vue component ;
and resolve it's head property only then, on client side, applying its values to current HTML.

This happens so fast that if you're checking while running nuxt dev in the devtools you'll see the right meta already there because it got time to resolve your component head property but actually if you're looking at what nuxt dev really served you (right click > view page source) you'll see that you received the default meta set in your nuxt.config.js.
So yeah then if you generate your SPA application you'll end up with the same dummy HTML everywhere with default values from your nuxt.config.js in the generated dist folder but once you roll it into production you'll see it performing the same behavior as in nuxt dev, because that's how SPA are designed to work: everything is done on client side, no server work leverage at any time.
That's probably an issue for you because so far I don't think Facebook or any other social media are bothering with fetching and running JavaScript from pages you link on them in order to get you that sweet link card made from meta tags~ So I don't think there's any way to get different social media card previews depending on the link shared of an SPA application, it'll always be the default.
To conclude if you want your meta tags to be available right in the HTML for social media and such you'll have to run your application in universal mode and either use Nuxt as a server with server side rendering (SSR) or as a static site generator (SSG) depending on your needs.
Hope that was clear enough and that I'm not wrong on your issue, just wanted to dive a bit into it given how many thumbs up your message received~ Cheers!

Thanks the detailed explanation!
I forgot to drop a comment here, but I already switched to SSR (as you mentioned) a few months ago.

Hope that was clear enough and that I'm not wrong on your issue, just wanted to dive a bit into it given how many thumbs up your message received~ Cheers!

Thanks for clearing that up. I was facing a similar issue and with some investigation only slowly found out that using spa mode was the reason why my meta tags didn't update properly. Maybe there should be an improved documentation on the mode property (https://nuxtjs.org/api/configuration-mode/).

if nuxt is doing this, then SPA will never be good for use for social media sharing since they will always get the default nuxt.config.js instead of the page ones, this is really bad.


Runtime error exposes when create a new group with some shortcuts of DOS bat files

I create three shortcuts for three different DOS files on my folder. Then, in Taskbar Groups, I assign those shortcuts into a new group. Next, I drag and drop the newly created shortcut of that new group in the "TaskbarGroups\Shortcuts" folder to pin it on Win 10 Taskbar. It was pinned as expected.
BUT, when I select this icon on Win 10 Taskbar, the runtime error below exposes. The same error occurs if I click on the shortcut in the "TaskbarGroups\Shortcuts" folder.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at client.frmMain.SetLocation() in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmMain.cs:line 100
   at client.frmMain.frmMain_Load(Object sender, EventArgs e) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmMain.cs:line 77
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
TaskbarGroups
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///D:/Program%20Files/TaskbarGroups/TaskbarGroups.exe
----------------------------------------
System.Drawing
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Configuration
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Do you by chance have multiple monitors? If so then it may be a duplicate of #75 which is odd. It is being stuck at the place where it sets the window location. I am not exactly sure how that portion of the code works. @tjackenpacken any idea?

Do you by chance have multiple monitors? If so then it may be a duplicate of #75 which is odd. It is being stuck at the place where it sets the window location. I am not exactly sure how that portion of the code works. @tjackenpacken any idea?

I think the problem is that they have multiple monitors, but they display the taskbar only on the "second" screen.
In this case "i" would be 1, but in "taskbarList" is only 1 element.

I think the problem is that they have multiple monitors, but they display the taskbar only on the "second" screen.
In this case "i" would be 1, but in "taskbarList" is only 1 element.

Yes, I have 3 monitors. But the Taskbar is configured to display only on the main monitor.

Yes, I have 3 monitors. But the Taskbar is configured to display only on the main monitor.