Revert "Added default null handling for type converters"

Reverts Amir-P/flat#27

Codecov Report

Merging #30 (991b8d7) into develop (7c00426) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #30      +/-   ##
===========================================
- Coverage    90.52%   90.50%   -0.03%
===========================================
  Files           79       69      -10
  Lines         1994     1800     -194
===========================================
- Hits          1805     1629     -176
+ Misses         189      171      -18

Flag
Coverage Δ

flat_generator
90.50% <100.00%> (-0.02%)
:arrow_down:

flat_orm
?

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

Impacted Files
Coverage Δ

.../lib/misc/extension/type_converters_extension.dart
100.00% <100.00%> (ø)

flat_generator/lib/processor/field_processor.dart
96.96% <100.00%> (-0.09%)
:arrow_down:

...t_generator/lib/processor/queryable_processor.dart
97.18% <100.00%> (ø)

flat_orm/lib/src/adapter/query_adapter.dart

flat_orm/lib/src/callback.dart

...src/extension/on_conflict_strategy_extensions.dart

flat_orm/lib/src/util/primary_key_helper.dart

flat_orm/lib/src/adapter/deletion_adapter.dart

flat_orm/lib/src/adapter/insertion_adapter.dart

flat_orm/lib/src/migration.dart

... and 4 more

Continue to review full report at Codecov.

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


Time Series widget showing wrong "tick" data

Context
I have this map with tweets with a time series widget showing the postedtime column of the tweets dataset but the "ticks" of the horizontal axis are all showing "1.5G" instead of something related to the data or time.
Steps to Reproduce

Create a map with this dataset
Create a time-series widget with the postedtime column

Current Result

https://team.carto.com/u/arianaescobar/builder/7887d6f1-ab77-4e46-a096-0e3983e60abc/embed
Expected result
The ticks of the horizontal axis should show time of day or the date or both.
Browser and version
Chrome Version 55.0.2883.95 (64-bit)

map is gone, could you share it again?

Oh, looks like I deleted it :(
You could recreate it with the steps to reproduce and the dataset I linked in my original comment tho...

Fixed a tope thanks to aggregations release 💃 .


Add support for Saver (Afvalkalender) - active in West-Noord-Brabant, Netherlands

Feature request
Hi, is it possible to add support for this?
https://saver.nl/afvalkalender
I have contacted Saver already if they can make the api data available. Don't know if it is possible to get this without the support from Saver if they were not allowed to cooperate.
I will keep you informed if I know more.
What version of the integration are you using?
2024.12.01
Anything in the logs that might be useful for us?
No response
Additional information
No response

I discovered these REST API endpoints by examining the network requests in Chrome DevTools. I'm not entirely sure if this list is exhaustive, but here are the unique URLs I've found so far:
https://saver.nl/rest/app/settings
https://saver.nl/zcalendar/pages/page
https://saver.nl/rest/postcode/4715RW
https://saver.nl/adressen/4715RW:1
https://saver.nl/rest/feestdagen/2023-12-26/2025-01-06
https://saver.nl/rest/adressen/0840200000293003/afvalstromen
https://saver.nl/rest/adressen/0840200000293003/kalender/2024

Hi, this is odd. Somehow I missed all open issues. I just got a new laptop and suddenly a lot of open issues are visible. I`ll have a look and come back to it asap. Thanks!

Hi, code has been updated and is ready to be released somewhere later this week.

thanks, but really sorry to report this update (I installed the latest merge with the saver move to Opzet, so not the official release), still does Not show the new dates by Saver.
could it be the integration doesnt check beyond the year change? because checking my Saver does list the new dates correctly on their website calendar.

thanks, but really sorry to report this update (I installed the latest merge with the saver move to Opzet, so not the official release), still does Not show the new dates by Saver.
could it be the integration doesnt check beyond the year change? because checking my Saver does list the new dates correctly on their website calendar.

Same here, city is changing from mijnafvalwijzer to Saver. Mijnafvalwijzer shows data, saver is only showing Geen and a few error:
2024-12-19 19:47:10.889 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Setting up Afvalwijzer sensors for provider: saver. 2024-12-19 19:47:11.571 ERROR (SyncWorker_5) [custom_components.afvalwijzer.const.const] No waste data found after the selected date. 2024-12-19 19:47:11.571 ERROR (SyncWorker_5) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date' 2024-12-19 19:47:11.572 DEBUG (SyncWorker_5) [custom_components.afvalwijzer.const.const] Waste data updated successfully. 2024-12-19 19:47:11.582 INFO (MainThread) [custom_components.afvalwijzer.const.const] Adding 6 sensors for Afvalwijzer. 2024-12-19 19:47:11.583 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer next_date 2024-12-19 19:47:11.584 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer next_in_days 2024-12-19 19:47:11.585 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer next_type 2024-12-19 19:47:11.586 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer today 2024-12-19 19:47:11.587 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer tomorrow 2024-12-19 19:47:11.588 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer day_after_tomorrow 2024-12-19 19:47:12.210 ERROR (SyncWorker_6) [custom_components.afvalwijzer.const.const] No waste data found after the selected date. 2024-12-19 19:47:12.211 ERROR (SyncWorker_6) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date' 2024-12-19 19:47:12.212 DEBUG (SyncWorker_6) [custom_components.afvalwijzer.const.const] Waste data updated successfully. 2024-12-19 19:47:12.326 ERROR (SyncWorker_7) [custom_components.afvalwijzer.const.const] No waste data found after the selected date. 2024-12-19 19:47:12.328 ERROR (SyncWorker_7) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date' 2024-12-19 19:47:12.328 DEBUG (SyncWorker_7) [custom_components.afvalwijzer.const.const] Waste data updated successfully. 2024-12-19 19:47:12.384 ERROR (SyncWorker_2) [custom_components.afvalwijzer.const.const] No waste data found after the selected date. 2024-12-19 19:47:12.385 ERROR (SyncWorker_2) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date' 2024-12-19 19:47:12.385 DEBUG (SyncWorker_2) [custom_components.afvalwijzer.const.const] Waste data updated successfully. 2024-12-19 19:47:12.466 ERROR (SyncWorker_8) [custom_components.afvalwijzer.const.const] No waste data found after the selected date. 2024-12-19 19:47:12.467 ERROR (SyncWorker_8) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date' 2024-12-19 19:47:12.468 DEBUG (SyncWorker_8) [custom_components.afvalwijzer.const.const] Waste data updated successfully. 2024-12-19 19:47:12.500 ERROR (SyncWorker_0) [custom_components.afvalwijzer.const.const] No waste data found after the selected date. 2024-12-19 19:47:12.501 ERROR (SyncWorker_0) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date' 2024-12-19 19:47:12.502 DEBUG (SyncWorker_0) [custom_components.afvalwijzer.const.const] Waste data updated successfully. 2024-12-19 19:47:12.508 ERROR (SyncWorker_3) [custom_components.afvalwijzer.const.const] No waste data found after the selected date. 2024-12-19 19:47:12.508 ERROR (SyncWorker_3) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date' 2024-12-19 19:47:12.509 DEBUG (SyncWorker_3) [custom_components.afvalwijzer.const.const] Waste data updated successfully.

please try again, the integration stated working alright. did you update to the latest version?

updated to 2024.12.05
same lines in the log.
When I use the url's mentioned in the feature and use my zipcode and id the response is OK
2024-12-20 11:15:45.634 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Setting up Afvalwijzer sensors for provider: saver.
2024-12-20 11:15:46.476 ERROR (SyncWorker_6) [custom_components.afvalwijzer.const.const] No waste data found after the selected date.
2024-12-20 11:15:46.477 ERROR (SyncWorker_6) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date'
2024-12-20 11:15:46.478 DEBUG (SyncWorker_6) [custom_components.afvalwijzer.const.const] Waste data updated successfully.
2024-12-20 11:15:46.483 INFO (MainThread) [custom_components.afvalwijzer.const.const] Adding 6 sensors for Afvalwijzer.
2024-12-20 11:15:46.484 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer next_date
2024-12-20 11:15:46.485 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer next_in_days
2024-12-20 11:15:46.486 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer next_type
2024-12-20 11:15:46.487 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer today
2024-12-20 11:15:46.488 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer tomorrow
2024-12-20 11:15:46.488 DEBUG (MainThread) [custom_components.afvalwijzer.const.const] Updating custom sensor: afvalwijzer day_after_tomorrow
2024-12-20 11:15:47.218 ERROR (SyncWorker_1) [custom_components.afvalwijzer.const.const] No waste data found after the selected date.
2024-12-20 11:15:47.219 ERROR (SyncWorker_1) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date'
2024-12-20 11:15:47.219 DEBUG (SyncWorker_1) [custom_components.afvalwijzer.const.const] Waste data updated successfully.
2024-12-20 11:15:47.345 ERROR (SyncWorker_0) [custom_components.afvalwijzer.const.const] No waste data found after the selected date.
2024-12-20 11:15:47.346 ERROR (SyncWorker_0) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date'
2024-12-20 11:15:47.346 DEBUG (SyncWorker_0) [custom_components.afvalwijzer.const.const] Waste data updated successfully.
2024-12-20 11:15:47.414 ERROR (SyncWorker_5) [custom_components.afvalwijzer.const.const] No waste data found after the selected date.
2024-12-20 11:15:47.415 ERROR (SyncWorker_5) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date'
2024-12-20 11:15:47.416 DEBUG (SyncWorker_5) [custom_components.afvalwijzer.const.const] Waste data updated successfully.
2024-12-20 11:15:47.516 ERROR (SyncWorker_4) [custom_components.afvalwijzer.const.const] No waste data found after the selected date.
2024-12-20 11:15:47.517 ERROR (SyncWorker_4) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date'
2024-12-20 11:15:47.518 DEBUG (SyncWorker_4) [custom_components.afvalwijzer.const.const] Waste data updated successfully.
2024-12-20 11:15:47.574 ERROR (SyncWorker_3) [custom_components.afvalwijzer.const.const] No waste data found after the selected date.
2024-12-20 11:15:47.575 ERROR (SyncWorker_3) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date'
2024-12-20 11:15:47.575 DEBUG (SyncWorker_3) [custom_components.afvalwijzer.const.const] Waste data updated successfully.
2024-12-20 11:15:47.592 ERROR (SyncWorker_7) [custom_components.afvalwijzer.const.const] No waste data found after the selected date.
2024-12-20 11:15:47.595 ERROR (SyncWorker_7) [custom_components.afvalwijzer.const.const] Error occurred in __get_next_waste_in_days: 'str' object has no attribute 'date'
2024-12-20 11:15:47.595 DEBUG (SyncWorker_7) [custom_components.afvalwijzer.const.const] Waste data updated successfully.


add newline if necessary when adding instructions

If the existing lines do not end with \n, make sure they do.
Signed-off-by: Mark Langsdorf<EMAIL_ADDRESS>

Updated release notes draft:

add newline if necessary when adding instructions


Feat/video

:tada: This PR is included in version 2.1.1-alpha.2 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.2.0-alpha.23 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.16 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:


Show message if autocomplete for references is disabled because too many results

Moving issues into rancherio/rancher.
https://github.com/rancherio/rancher/issues/323


Add ability to modify uploaded videos

Fixes https://github.com/ekimekim/wubloader/issues/170

Late to the party but looks good to me.


jvm target compatibility should be set to the same Java version.

This issue is fixed in the latest version published in pub.dev.


Feature Request: python3 Support

Python 3.4.3
>>> import pyArango
>>> from pyArango.connection import Connection
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/.virtualenvs/rmusic.spider/lib/python3.4/site-packages/pyArango/connection.py", line 4, in <module>
    from database import Database, DBHandle
ImportError: No module named 'database'

Same problem here:
Python 3.5.1+ (default, Mar 30 2016, 22:46:26)
[GCC 5.3.1 20160330] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyArango.connection import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/pyArango/connection.py", line 4, in <module>
    from database import Database, DBHandle
ImportError: No module named 'database'

This! Forking now, any advice before I get started? :)

Hi @brennv!
I've just created a new branch python3 to centralize the developments.
Here are some things to pay attention to:

Metaclasses (there's a package called six that allowd you to define metaclasses compatible with python 2 and 3)
Compatibility with python 2

Thanks @tariqdaouda! Switching to the new branch. Brushing up on six now with python-future.

Great! :)

Added travis so we can watch builds pass or fail in py2 and py3 at the same time https://github.com/tariqdaouda/pyArango/pull/24

Making progress, currently tripping on transactions and creation errors
https://travis-ci.org/brennv/pyArango/builds/145276425

The tests on python3 run without problem or warnings on my machine on python 3.4. Guess all we have left is to make it compatible with 2.7 again.

Agreed. Could we get #28 and #30 merged into the python3 branch?

Hi Guys,
I've performed a little python-future magic. The last I've just pushed on python3 should support both python 3 and python 2.
Can you confirm that?

Nice! Looks good, it's time for some schwag #31

Ok guys! I've merge all your pull requests. I'm closing this issue now, both pythons a finally supported. Thanks for your help!


WizardStep grid.setItems gives NullPointerException

I'm sure I'm missing something, but when I try to add data to a Grid or a ComboBox inside the getContent() of a WizardStep I get a NPE.
If I change:
technology.setItems(techrepository.getTechnologies());
to:
technology.setItems("200k", "30k");
Everything works correctly.
Here's my WizardStep:
`public class CreatMonSecondStep implements WizardStep {
@Autowired
private MonitorArchiveRepository techrepository ;
private ComboBox technology;
public String getCaption() { return "Technology"; }

public Component getContent() {
    VerticalLayout content = new VerticalLayout();
    content.setSizeFull();
    content.setMargin(true);
    Label text = new Label(
            "

Choose from the following Technologies:",
            ContentMode.HTML);
    content.addComponent(text);
    technology = new ComboBox<>();
    technology.setItems(techrepository.getTechnologies());
    content.addComponent(technology);
    return content;
}
public boolean onAdvance() {    return true;    }
public boolean onBack() {      return true;    }

}`
I'm using Wizards for Vaadin  2.0.0 and Vaadin 8.0.3 with SpringBoot 1.4.3

Where does techrepository get initialized ?

I would suggest you to make sure you have Vaadin Spring and/or Vaadin Spring Boot installed and you have correctly annotated your UIs to enable usage of @Autowired.
Closing the issue as the problem is not directly related to Wizards for Vaadin add-on.


How to recover intermediate Code Carbon measurements?

CodeCarbon version: 2.2.2
Python version: 3.10.12
Operating System: Ubuntu 22.04.3

Description
I would like to be able to plot the energy consumption of a project I'm developing in real-time. My idea was to use the consumption logs registered every 15 seconds or so, output it in a .log file, and read the lines with the information I want.
What I Did
I tried using OutputLogger to register it, but it only stored the final consumption values, just like emissions.csv does.
from codecarbon import EmissionsTracker
from codecarbon.output import LoggerOutput

import logging

# Create a dedicated logger (log name can be the CodeCarbon project name for example)
log_name = args.project_name
_logger = logging.getLogger(log_name)

# Add a handler, see Python logging for various handlers (here a local file named after log_name)
_channel = logging.FileHandler(f'{log_name}.log')
_logger.addHandler(_channel)

# Set logging level from DEBUG to CRITICAL (typically INFO)
# This level can be used in the logging process to filter emissions messages
_logger.setLevel(logging.DEBUG)

# Create a CodeCarbon LoggerOutput with the logger, specifying the logging level to be used for emissions data messages
my_logger = LoggerOutput(_logger, logging.DEBUG)

tracker = EmissionsTracker(project_name=args.project_name,
                                   <other parameters>,
                                   save_to_logger=True,
                                   logging_logger=my_logger)

# setup

tracker.start()
# training call
tracker.stop()

Is it the expected behaviour? Is there an implemented way to retrieve these values in real time?

Hello,
For "real-time" we only support Prometheus or the CodeCarbon API. Could that fit your needs ?

A bit more complex but feasible, one can create a custom output_handler and give it as input for the emissions tracker.
tracker = EmissionsTracker(...,
                           output_handlers=[ my_custom_output_handler])

This output_handler should be an implementation of https://github.com/mlco2/codecarbon/blob/master/codecarbon/output_methods/base_output.py.
See an example here https://github.com/mlco2/codecarbon/blob/master/codecarbon/output_methods/logger.py#L10

Thanks for the answers, I ended up doing a local copy of the project and changing Code Carbon's general logger, which worked for me. I will explore these options if I need to update my library version or use it in another project. Thanks!


chore: test with Node.js 8 and 10

Bump. Still relevant.

Fixed in https://github.com/maxogden/menubar/commit/2cc6885f615c51c99a83c22ac909349122064091


Slow loading of IntelliSense in angular project

From https://github.com/Microsoft/vscode/issues/57017

TypeScript Version:  3.1.0-dev.20180907

Search Terms:
Repo
git clone https://github.com/HymanZHAN/DatingApp.git
cd DatingApp
cd DatingApp-SPA
npm install

Then open a ts file in vs code and trigger intellisense
Bug:
It takes around 6 seconds for the project to load. Here is the log: tsserver.log
This is an improvement over 3.0.3
Playground Link:
Related Issues:

Actual completion doesn't take time:

Info 999  [15:22:33.284] request:
    {"seq":6,"type":"request","command":"completionInfo","arguments":{"file":"c:/Users/matb/projects/DatingApp/DatingApp-SPA/src/app/app.component.ts","line":8,"offset":37,"includeExternalModuleExports":true,"includeInsertTextCompletions":true}}
Info 1000 [15:22:33.291] getCompletionData: Get current token: 0
Info 1001 [15:22:33.291] getCompletionData: Is inside comment: 0
Info 1002 [15:22:33.291] getCompletionData: Get previous token 1: 0
Info 1003 [15:22:33.292] getCompletionsAtPosition: isCompletionListBlocker: 1
Info 1004 [15:22:33.346] getCompletionData: Semantic work: 54
Info 1005 [15:22:33.401] getCompletionsAtPosition: getCompletionEntriesFromSymbols: 33
Perf 1006 [15:22:33.444] 6::completionInfo: elapsed time (in milliseconds) 160.0651

Seems like 2-3 seconds spent creating file watchers for files in node_modules folder (that are included in program by module resolution) #26135 could help with that.

There is exception in there. Need to check if we can repro that.

Err 988   [15:22:33.278] Exception on executing command {"seq":2,"type":"request","command":"open","arguments":{"file":"c:/Users/matb/projects/DatingApp/DatingApp-SPA/src/app/app.component.ts","fileContent":"import { Component, OnInit } from '@angular/core';\r\nimport { AuthService } from './_services/auth.service';\r\nimport { JwtHelperService } from '@auth0/angular-jwt';\r\nimport { User } from './_models/user';\r\n@Component({\r\n  selector: 'app-root',\r\n  templateUrl: './app.component.html',\r\n  styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent implements OnInit {\r\n  jwtHelper = new JwtHelperService();\r\n\r\n  constructor(private authService: AuthService) {}\r\n\r\n  ngOnInit(): void {\r\n    const token = localStorage.getItem('token');\r\n    const user: User = JSON.parse(localStorage.getItem('user'));\r\n\r\n    if (token) {\r\n      this.authService.decodedToken = this.jwtHelper.decodeToken(token);\r\n    }\r\n\r\n    if (user) {\r\n      this.authService.currentUser = user;\r\n      this.authService.changeMemberPhoto(user.photoUrl);\r\n    }\r\n  }\r\n}\r\n","scriptKindName":"TS","projectRootPath":"c:\\Users\\matb\\projects\\DatingApp\\DatingApp-SPA"}}:

    Debug Failure. False expression.

    Error: Debug Failure. False expression.
    at ProjectService.getOrCreateScriptInfoWorker (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:119086:30)
    at ProjectService.getOrCreateScriptInfoOpenedByClientForNormalizedPath (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:119050:29)
    at ProjectService.openClientFileWithNormalizedPath (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:119249:33)
    at IOSession.Session.openClientFile (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:120882:37)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:120074:31)
    at c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:121542:88
    at IOSession.Session.executeWithRequestId (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:121533:28)
    at IOSession.Session.executeCommand (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:121542:33)
    at IOSession.Session.onMessage (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:121562:35)
    at Interface.<anonymous> (c:\Users\matb\projects\DatingApp\DatingApp-SPA\node_modules\typescript\lib\tsserver.js:122816:27)
    at emitOne (events.js:116:13)
    at Interface.emit (events.js:211:7)
    at Interface._onLine (readline.js:282:10)
    at Interface._normalWrite (readline.js:424:12)
    at Socket.ondata (readline.js:141:10)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:594:20)

Noticing there was getErr queued before completions so it would be timing dependent on as to how long before completion request is sent (if already computing errors (which is not the case in the log) we wont be able to see completion till diagnostics for that file are complete)

Yes completions are pretty quick after the project is loaded. It's just that first open that takes a little while
Perf 978  [15:26:12.586] 2::open: async elapsed time (in milliseconds) 6082.5485


Fix to #87

I fixed the broken link for the issue #87

Thanks! I updated the directory name and forgot to update the links


meson: de-duplicate binaries using symlinks

Use custom targets to create symlinks for testing.
meson will dereference these at install time, so use install_symlink().

This is a possible alternative to #712.
I personally prefer the end result given by using hard links, but this symlink approach seems a bit cleaner from a meson perspective.

the custom target shouldn't be necessary, as the argument for install_symlink is a str, so just
foreach exec: einfo_execs
  install_symlink(exec, install_dir: rc_bindir, pointing_to: 'einfo')
endforeach

works

the custom target shouldn't be necessary, as the argument for install_symlink is a str, so just

The custom targets are to populate symlinks in the build directory for use by the test suite.

mind if i tweak this to install do_{value,service,mark} instead, and symlink to that? (already done it, just wanted to get confirmation)

If you want to make that adjustment, I don't mind.
Just reset the author to yourself because it wasn't my idea and I prefer not to have non-functional binaries tied to my name.


feat(git): ignore docker-compose environment files in git

Signed-off-by: Felipe Zipitria<EMAIL_ADDRESS>This is the first of a series of PRs that decouple #1906 in smaller changes.
Just ignore environment files useful for docker-compose.

Thanks for fixing this. Merging now.


Fix missing renamed compiler flags

Fixes #40531
Anyway I found these compilerOptions that seems has not been rename correctly.

/cc: @DanielRosenwasser @RyanCavanaugh
I think it's better get in before 4.1 beta?

I know it was overlapping work, but I'm pretty annoyed because I already had a PR that did this. https://github.com/microsoft/TypeScript/pull/40541

Thanks for diving deeper on this @Kingwl.


Use of sitemap

Hi, how to append new items in 'sitemap.xml' after finished.
Sorry, but my english is not so good.
Thanks you.

After finished what?

Hi, sorry but my english is not so good.
For example:
after the sitemap.xml has been created with items, how to add more items?
In my tests, this sitemap.xml lost the items and the new one is added.
Thank you.

You can't you have to re-create it.


Questions about the data load

Hi Stefan,
Thanks for sharing this interesting gadget.
But when I try to run your gen_load_data.m in MATLAB, I found there is a undefined function 'load_prep_data'. So I just wonder if there should be a load_prep_data.m included in this MATLAB folder. Or could you please give some directions on how to preprocess those .csv data from NYISO?

Hello
I got the same error it misses load_prep_data.m file

Hello
I got the same error it misses load_prep_data.m file

Did you solve this problem？ @jmdxp @asayghe

@JiweiTian @jmdxp @asayghe Did you solve this problem？I need you help！！


iOS export completely overwrites directories

Godot version:
3.2
OS/device including version:
macOS 10.15.2
Issue description:
I accidentally exported an iOS project out to the same directory my game project was in. Because the names were the same, it overwrote my entire game directory without warning.
Steps to reproduce:
Export iOS project to parent directory containing game project, save as same name. Instead of throwing a warning up or just adding files to the directory, it overwrites everything.

Was gonna report the same. Very sad to loose everything. Copy-pasting below so I don't open the same issue.
Godot version:
v3.2.stable.oficial
OS/device including version:
macOS Catalina 10.15.2 (19C57)
MacBook Pro (15-inch, 2019)
Issue description:
When exporting to iOS, if the target folder is the parent of the current project's folder, the contents of the folder will be replaced with iOS stuff, and your project code, assets, sweat and tears will be gone. Well, not the latter.
Minimal reproduction project:
It's all gone.

CC @godotengine/ios

https://github.com/godotengine/godot/blob/ef5891091bceef2800b4fae4cd85af219e791467/platform/iphone/export/export.cpp#L1007-L1012
It's deleting binary_name.xcodeproj and binary_name in the target folder.
I'm not sure what's the best way to handle this, but at least it should be changed to move_to_trash.

All I know is that it deletes the whole game project, code and assets.
It should not delete anything unless it either provides a proper warning for permanent deletion of “folder name” like any other app, or do it only if it is confident enough it’s overwriting an old export, not a Godot project or something else just because names match.
On Mar 4, 2020, at 8:24 AM, bruvzg<EMAIL_ADDRESS>wrote:

https://github.com/godotengine/godot/blob/ef5891091bceef2800b4fae4cd85af219e791467/platform/iphone/export/export.cpp#L1007-L1012
It's deleting binary_name.xcodeproj and binary_name in the target folder.
I'm not sure what's the best way to handle this, but at least it should be changed to move_to_trash.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

It should not be allowed to be exported to the project folder unless it's an empty sub-directory. A similar thing happened with the 2.1 to 3.0 migration tool. In addition it should warn that it's about to remove all the target directory's contents and ask for confirmation.
(Sorry, self-assigned by accident from my phone)

It should not be allowed to be exported to the project folder unless it's an empty sub-directory. A similar thing happened with the 2.1 to 3.0 migration tool. In addition it should warn that it's about to remove all the target directory's contents and ask for confirmation.

I agree with both. It could also validate that the contents match a typical iOS export folder before erasing.


Load in client's head clothing

Load in the client's head clothing, we'll disable it if the player equips a custom cosmetic.

https://github.com/apetavern/sbox-grubs/commit/70e3d3b4ec3c0b5fad7308554daf2c5735437a13


Faker Support for future versions

Hi, has this package been abandoned?
I was trying to use it with the new Faker repository (https://github.com/FakerPHP/Faker), but without success.
Thank's

What's wrong? I'll see if I can fix it. Or you can send a PR if you know what the problem is.

Wow, I'm only now reading about the new Faker and why.
Thanks for bringing this to my attention! I'll see what I can do.

I thank you for your attention. I was also surprised by the changes to the repository that was "official".

Yeah. I'll have to set this thing up over the weekend and figure it out.
Just like the author of the original Faker, I have moved on from PHP over to Node and React, but I see no reason for this add-on to die.

This should work now.
Enjoy your weekend!


Conversions currently happen by loading all files into memory

I decided to do this as it's easier, the size of data people normally have/want in spreadsheets fits into memory, and I didn't want to be guilty of premature optimisation. It might bite us down the line though if get some particularly large files.

I've been testing the tool using the CSV file from http://lin-360giving.aptivate.org/ and the header row:
ocid,title,description,funder,fundingOrganization/id,fundingOrganization/name,recipient,recipientOrganization/id,recipientOrganization/name,currency,amountAppliedFor,amountAwarded,recipientOrganization/charityNumber,recipientOrganization/companyNumber,applicationDate/startDate,awardDate/startDate,plannedDates/startDate,plannedDates/endDate,beneficiary/country,beneficiary/location/lat,beneficiary/location/long,fromOpenCall,relatedActivity,lastModified,url,recipientOrganization/address

In order to see how the script copes with large files.
Script took around 25 minutes to run on Macbook Air  (2Ghz, 8 Gb memory).
Might need to add a warning for users that large files could take a while to process.

This issue has been superseded by https://github.com/OpenDataServices/cove/issues/418


fix date format panic

Remove: unwrap() as this may fail
Fix: Because Date parsers can fail, match case

The code will still panic in debug mode. It will close cleanly in production

███████╗██╗███╗   ██╗███████╗
╚══███╔╝██║████╗  ██║██╔════╝
  ███╔╝ ██║██╔██╗ ██║█████╗
 ███╔╝  ██║██║╚██╗██║██╔══╝
███████╗██║██║ ╚████║███████╗
╚══════╝╚═╝╚═╝  ╚═══╝╚══════╝

listening on http://<IP_ADDRESS>:3000
Error: The date value 2023-1-31 is invalid: the 'month' component could not be parsed for key `article` at line 6 column 1

This should close #164

It breaks from the standard. It could be done. But I don’t think it’s the right option. Probably have the string reformatted. Then have that written back to to the article struct. Then you need to overwrite the zine.toml so that it stays fixed. This issue would only happen if someone manually adjusted the date. If the server handles it. It teaches the users not to follow the standard. I think it would be best to let the error occur so the author fixes it and learns the correct format. On Feb 9, 2023, at 11:24, Folyd @.***> wrote:
@Folyd commented on this pull request.
Can we also support formats like "2023-1-31" or "2023-1-1", it is better than simply printing errors. What do you think?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Yes, fair enough. 👍

In addition. If it was ever decided to add time. There would be more issues and breakages.

Don't forget to run cargo fmt, thanks. @Bas-Man

Sorry.  I will try to get into the  habit.
I might add a precommit to run it for me.


Wheels are far behind on tensorflow.org

Hi there,
I'm new to GitHub contributions so let me know if I'm wrong in posting this here.
I have installed both TensorFlows (CPU and GPU) on Ubuntu 14.04 using pip. I faced many problems and then realized that the wheels on the TensorFlow website are quite outdated. The source on GitHub is moving really quickly. In particular, the GPU version does not have stuff like the configure file, among many others.
I then downloaded from source and built the wheels locally. Is there any intention to update the TensorFlow website soon? I can help to solve this issue too so let me know how I can help.

We will release new versions of the wheels when we release a new version of tensorflow. As you note, the code moves quite quickly, and so the wheels seem stale, but the last release is not even a month old. We're still working on our automated testing setup and we'll probably make new binaries shortly after.


[Backend] As a user, I can view my uploaded keywords

Why
User should be able to see their uploaded keyword.
Acceptance Criteria

Create new function for viewing uploaded keywords for a specific user.

What do we mean by "new function"? Should it be "new endpoint"?

@malparty I breakdown stories with API to a pair, the API side with endpoints and Backend side with the logic (database integration, data mapping, etc). I will modify the Backend stories to mention the API so that the Backend stories make more sense. 🙏

@blyscuit, what do you think if I create a search result model like this? We can add 1 more filed for the search engine (Google or Bing)


editMessageText doesn't support chat_id/message_id combo

On the api docs I noticed that we're supposed to be able to supply chat_id and message_id in editMessageText(), but it appears that Telepot doesn't allows us to do this.

Hello,
telepot does allow you to supply chat_id and message_id. from the Reference :
editMessageText(msgid_form, text, parse_mode=None, disable_web_page_preview=None, reply_markup=None)

msgid_form can be:

a tuple of (chat_id, message_id)
a tuple of (inline_message_id)
a single value - inline_message_id

so, basically just call it this way:
bot.editMessageText((chat_id, message_id), new_text)

ahh, I looked at the code and couldn't quite figure it out; it wasn't really clear when I looked at it. Sorry about that.


Add app and version labels to deployments in kubernetes manifests

Summary
What change needs making?
Add a version label to deployments in kubernetes manifests.
Use Cases
When would you use this?
Istio recommends adding app and version labels to deployments: https://istio.io/latest/docs/ops/deployment/requirements/

Deployments with app and version labels: We recommend adding an explicit app label and version label to deployments. Add the labels to the deployment specification of pods deployed using the Kubernetes Deployment. The app and version labels add contextual information to the metrics and telemetry Istio collects.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

would you like to submit a PR?

@alexec Sure- I'm assuming I need to edit the scripts used by make manifests

correct


Add documentation and test about pathEvery

Related #52
Here is a PR to add some documentation about the pathEvery in the README.md
I also added a test and a sample for that.

No problem, glad you liked it !


test ci

test ci tags

Codecov Report

Merging #6 (d038474) into master (cb4419b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   62.16%   62.16%
=======================================
  Files          11       11
  Lines         296      296
  Branches       13       13
=======================================
  Hits          184      184
  Misses        111      111
  Partials        1        1

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 cb4419b...d038474. Read the comment docs.


Import Notifications on top of Account name

From forum user TLBauer:

I am using the 0.8 version of the toolkit on Chrome.  I noticed last night that the import notifications in the sidebar are appearing on top of the first letter of the Account Name.  Is anyone else seeing this?

I'm also seeing this.
Running Chromium 48.0.2564.103, Toolkit 0.3.8

I believe this is fixed with 58a9db82688766866dad7482561ee87aa73df07d which has now been merged. If you're able to pull latest master down and try the build, you'll be able to confirm if this is fixed or not before we release.
If not, this should be fixed for you in v0.4.0.

@blarg - you should be able to close this. As far as I can tell, it's working properly for me on Chrome.

Alrighty, if anyone else encounters this feel free to re-open.


I set 300 but scraper is only getting 200 images.

var gi = new GIScraper({ puppeteer: { headless: false } });
let results = await gi.scrape("melony pokemon", 300);
console.log(`${results.length} results`);

It's always 200.

basically on file images-scraper/src/google/scraper.js, line 64 there is a mistake,
results = links.slice(0, limit - results.length);
should be
results = links.slice(0, limit);
if the owner give me permission i could make a pr to fix this.

Can't anyone open pull requests?

Can't anyone open pull requests?

he needs to give permission for this.

But as a fix, you can set your limit to double of what you want, and it will fetch you more images.

https://github.com/pevers/images-scraper/blob/8cef8c8b5f3459eda60558080515df84803d4143/src/google/scraper.js#L56-L71
It looks to me like results = links.slice(0, limit - results.length); should be results.concat(links); and results = results.slice(0, limit - results.length); should be added after the while loop.

Or wait no, HTML will have all the images in it. 🤔

Ah yes I think you're right; limit - results.length would work if the number of results is greater than the limit, then it gets a negative number to slice back from. But when it's less (say 100 results) and limit is 300... wait then it won't do anything...
Hmm I think either way it'll do the same thing; both .slice(0, 300 - 100 ) and .slice(0, 300) will not change the 100 long array, and .slice(0, 300-400) will do the same as .slice(0, 300) for a 400 long array.
I think the issue is somewhere else, maybe the thing that decides when the end has been reached.

Everyone should be able to fork it and create a pull request.
But there is indeed a mistake here @ledlamp . Sorry, I have fixed it here: https://github.com/pevers/images-scraper/pull/47


Fixed added hover effect on the video link.

Fixed issue https://github.com/kubernetes/website/issues/42750

@tengqm  requesting you  for review.

/approve

/lgtm


New plot type: ErrorBar

New Contributors:
Please review CONTRIBUTING.md
Hacktoberfest Participants:
Check-out the Hacktoberfest 2021 page
Purpose:
#1466

For what it's worth, it's been a while since I've made a PR that touched rendering (I think it was #1188...) and I have to say that things like Coordinate and Pixel seem like a nice common-sense addition. I remember a lot of tuple-wrangling before.
It might even be possible to claw back some performance by converting them to structs since they're small and potentially could be allocated every render.

things like Coordinate and Pixel seem like a nice common-sense addition

Thanks! I made them because I kept confusing myself passing (double x, double y) 😝

It might even be possible to claw back some performance by converting them to structs since they're small and potentially could be allocated every render

If I'm going to refactor ScottPlot 4, it'll probably be to favor readability and portability over performance. Switching to Maui.Graphics will be a pretty big shake-up, so it may not be worth optimizing ScottPlot 4 at this time.
BTW you might get a kick out of #1561 - It's barebones but the WinForms app is the most developed. I'm experimenting with architecture. After a few years getting to know the pain points of this library, I'm leaning toward minimizing state stored in the plot module itself. Types like AxisLimits, Pixel, and Coordinate are structs with a fluent interface. I don't intend to greatly change the public API (the plot methods will be essentially the same), but I'm starting to like things like this...
PlotView mouseDownView = plt.GetAxisLimits();
PlotView currentView = mouseDownLimits.WithPan(mouseDownPixel, mouseNowPixel);
Bitmap bmp = plt.Render(currentView);

None of this is set in stone (I'm still waiting for Maui.Graphics to mature - it's getting there though), but it's interesting to consider after working with this library and having a good understanding of its roughest edges.

Great work as always @bclehmann, thanks so much for this PR! I'll merge this now and release this weekend.
This could even be extended in the future by adding a MarkerShape and MarkerSize to allow people to make plots like this (although I'd probably use the same color for the error lines and the marker)
EDIT: I'll put this in now real quick, then merge

Sorry, I found this after you merged, but there's a bug in the error bar rendering code. They can be drawn outside the plotting frame.

Sorry, I found this after you merged

No worries! It'll be a few hours before I publish the next package, so this fix will make it in

I'm confused why this happens, because I don't think the other plottables check for points outside the frame, but they don't seem to suffer from this problem

My trick is to avoid calling Graphics.FromImage(bmp) and instead I call an internal method which clips the data area according to the PlotDimensions - here's the fix https://github.com/ScottPlot/ScottPlot/commit/6bb43a30e294227ef4954c96abe5be0f8bf44841


Update Cisco member

ref: #289
cc: @anajsana

wops! didn't see this PR and made already the changes to the csv file

wops! didn't see this PR and made already the changes to the csv file

Hey @anajsana is it safe to close this PR as duplicate?

yes! I'll close it and tag it as duplicate


Fixed download button on website

This will fix the download button from the website

Oh. nice catch. Thanks for this PR.
@all-contributors please add @ateev for his code contribution.

we needed to change website/package.json too to fix the URL. I have done that in master so the url is now fixed.


104 support: As an engineer I want to be able to see 104 communication subnetworks

Just like in the communications tab, the private 104 subnetworks should be shown to the user in the 104 plugin. This can either be a section with one link, or a section with redundant links. An example can be seen here:

When the user clicks on one AP the <P> elements should be shown to the user. Maybe show the descriptive name as well?

Beware, <ConnectedAP> elements can also be redundant. In that case, an x amount of <P> elements will be present. For example (RG1 and RG2):

As an engineer
I want to be able to see 104 communication subnetworks
So I can use it to configure devices or check the configuration.
More information can be found in IEC/TS 61850-80-1


ContentDialog FlowDirection does not follow the XamlRoot.Content FlowDirection

Describe the bug
ContentDialog FlowDirection does not follow the XamlRoot.Content FlowDirection
ContentDialog FlowDirection 并不跟随 XamlRoot.Content 的 FlowDirection
As shown in the figure, when ContentDialog.XamlRoot is mounted to Window.Content, when ContentDialog is displayed and the FlowDirection of Window.Content is RTL, The ContentDialog is unchanged
如图所示，ContentDialog.XamlRoot 挂载到 Window.Content 时，显示 ContentDialog 时，Window.Content 的 FlowDirection 为 RTL 时，ContentDialog 没有变化
Steps to reproduce the bug
See describe
Expected behavior
ContentDialog FlowDirection should follow the XamlRoot.Content FlowDirection
ContentDialog FlowDirection 应该跟随 XamlRoot.Content 的 FlowDirection
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.6 Preview 1: 1.6.240807006-preview1
Windows version
Windows 11 (22H2): Build 22621
Additional context
Also exists in Windows App SDK 1.5 and UWP (Including WinUI 2)

What's the status of this issue?


driver "btrfs" failed to remove root filesystem: Failed to destroy btrfs snapshot

Hey guys,
i got two problems/questions:
1.) I moved my container manager today to volume2 (nvme pool) and all containers just work finde, except of my paperless-ngx stack.
I got following error message here, i cannot even stop the stack:

failed to deploy a stack: Container paperless-ngx-broker-1 Recreate Container paperless-ngx-db-1 Recreate Error response from daemon: container 076d665922c112747553a841a1adecfc393af98f969781e5147d65f29758e3c7: driver "btrfs" failed to remove root filesystem: Failed to destroy btrfs snapshot /volume2/@docker/btrfs/subvolumes for 36de2a9a30e44135a8e6f80ef5fea38a93ea5a07ea315cd2a3318908b2daceda: invalid argument

What can i do about this?
2.) As i understand, the script creates a symlink @docker on volume2, pointing to volume1. I just see @docker in the command line. But can i move my "docker" folder with all the configuration files from /volume1/docker to /volume2/docker or would that cause a problem with the symlink?
Thanks in advance!

Okay, Update: I'm even not able to delete or modify any container and i cannot move it back to volume 1 using the script

I found myself in the same situation. Were you able to solve the problem?

The script moves the Container Manager and @docker to volume 2, and then edits the docker symlink in /var/packages/ContainerManager/var to point to @docker on volume2.
If /var/packages/ContainerManager/var/docker still points to @docker on volume1 then something went wrong. Deleting and recreating the symlink (while Container Manager is stopped) should fix it. I prefer to edit symlinks in WinSCP's ui.
A while ago someone ended up with a few orphan btrfs container volumes and images and could not delete or modify any containers. So I wrote a script to cleanup the orphans https://github.com/007revad/Synology_docker_cleanup IIRC this allowed them to delete containers but they had to delete all of them and restore from their portainer stacks or docker compose files.
https://github.com/007revad/Synology_app_mover/issues/37
https://github.com/007revad/Synology_docker_cleanup/issues/4

What do the following commands return:
sudo du -sh /volume1/@docker
sudo du -sh /volume2/@docker
sudo du -sh /volume1/@docker_backup
sudo du -sh /volume2/@docker_backup

And these commands:
readlink /var/packages/ContainerManager/etc
readlink /var/packages/ContainerManager/home
readlink /var/packages/ContainerManager/share
readlink /var/packages/ContainerManager/target
readlink /var/packages/ContainerManager/tmp
readlink /var/packages/ContainerManager/var
readlink /var/packages/ContainerManager/var/docker

root@DS923:/volume2/docker/pihole# du -sh /volume2/@docker
22G	/volume2/@docker
root@DS923:/volume2/docker/pihole# du -sh /volume1/@docker_backup
du: cannot access '/volume1/@docker_backup': No such file or directory
root@DS923:/volume2/docker/pihole# sudo du -sh /volume2/@docker_backup
du: cannot access '/volume2/@docker_backup': No such file or directory
root@DS923:/volume2/docker/pihole# readlink /var/packages/ContainerManager/etc
/volume2/@appconf/ContainerManager
root@DS923:/volume2/docker/pihole# readlink /var/packages/ContainerManager/home
/volume2/@apphome/ContainerManager
root@DS923:/volume2/docker/pihole# readlink /var/packages/ContainerManager/share
/volume2/@appshare/ContainerManager
root@DS923:/volume2/docker/pihole# readlink /var/packages/ContainerManager/target
/volume2/@appstore/ContainerManager
root@DS923:/volume2/docker/pihole# readlink /var/packages/ContainerManager/tmp
/volume2/@apptemp/ContainerManager
root@DS923:/volume2/docker/pihole# readlink /var/packages/ContainerManager/var
/volume2/@appdata/ContainerManager
root@DS923:/volume2/docker/pihole# readlink /var/packages/ContainerManager/var/docker
/volume2/@docker

I'm now trying to delete all btrfs subvolumes to get Docker to a working state again so that I can recreate all containers.

So this is what worked in the end:

uninstall Container Manager
reboot (without this, the next step would fail with "device busy")
move aside /volume2/@docker
install Container Manager
recreate all containers

I am also having this issue with only one container. The remaining 15 containers run ok after a successful transfer of Container Manager from /volume1 to /volume2, except for netdata.
Start container netdata failed: {"message":"error evaluating symlinks from mount source "/volume1/@docker/volumes/netdata_netdatalib/_data": lstat /volume1/@docker/volumes: no such file or directory"}.
The output of sudo du -sh /volume1/@docker is 0 and the fact everything else is running fine suggests there is just the one symlink issue with netdata. Have you got any suggestions on how to fix this?

@ross090 How did you originally install netdata?

@ross090 How did you originally install netdata?

Via a docker-compose in Container Manager

I just installed netdata via docker compose, then ran my script to move it to a different volume and it still runs okay. And my folders in /volumeX/docker/netdata/ all contain data.
The orphaned containers script ( https://github.com/007revad/Synology_docker_cleanup ) should remove the broken netdata container and image. But make sure you have a backup of all your docker compose files - just in case somethi9ng that is currently working. If I remember correctly you should have all the other containers running so their images don't get deleted.

Thanks Dave I'll try that this evening. If the script removes working
containers can I just rebuild with my backed up docker-compose files?
I had a look at my docker-compose for netdata and I passed incorrect
volumes (despite it still running successfully, assumingly in
@.***/volume/" instead of "/volume1/" so suspect this may have caused an
issue with your script which is why it is now showing the ""btrfs" failed
to remove root file system:" error. Happy to provide any files/info that
you may think help prevent the issue recurring for others.
On Sat, 24 Aug 2024, 08:30 Dave Russell, @.***> wrote:

I just installed netdata via docker compose, then ran my script to move it
to a different volume and it still runs okay. And my folders in
/volumeX/docker/netdata/ all contain data.
The orphaned containers script (
https://github.com/007revad/Synology_docker_cleanup ) should remove the
broken netdata container and image. But make sure you have a backup of all
your docker compose files - just in case somethi9ng that is currently
working. If I remember correctly you should have all the other containers
running so their images don't get deleted.
—
Reply to this email directly, view it on GitHub
https://github.com/007revad/Synology_app_mover/issues/104#issuecomment-2308166250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROB7W6S6CIXNGGQEBKCTD3ZTAZC7AVCNFSM6AAAAABMKDIWSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGE3DMMRVGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

If the script removes working
containers can I just rebuild with my backed up docker-compose files?

Yes.

Thanks. I've run into further issues with synology_app_mover, sent you a
Reddit PM with further details.
On Sat, 24 Aug 2024 at 10:27, Dave Russell @.***> wrote:

If the script removes working
containers can I just rebuild with my backed up docker-compose files?
Yes.
—
Reply to this email directly, view it on GitHub
https://github.com/007revad/Synology_app_mover/issues/104#issuecomment-2308259796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROB7W5BWEGSZ4LSQHFTHITZTBGY5AVCNFSM6AAAAABMKDIWSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGI2TSNZZGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Ability to specify whether to pad crypto properties when creating an outbound sip gateway using SRTP

An area of confusion in the industry is whether or not to apply base64 padding (ie 0, 1, or 2 "equals" signs) to inline crypto attributes in the SDP.  Example with no padding:
a=crypto:1 AEAD_AES_256_GCM inline:UjbSu5pCEPs/D7UtQWl2R+Nd7YnXoiGU6+THDz58hyXTtt94HiGM8YgCgU0
a=crypto:2 AEAD_AES_128_GCM inline:6Y7fx0D8q3OZxwKqOmQg0uD/ubV0mtgHSoj2wQ
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:QEg6UozMTrNtbMEWLMEHvIuQ4hQSQ/UHkJm9b6sd

Example with padding:
a=crypto:1 AEAD_AES_256_GCM inline:UKQQltkBs5PsDa37SL7uEgYG3BFXDIIqYeorn76ERCcNk4poY02D/fWU74E=
a=crypto:2 AEAD_AES_128_GCM inline:hI8twp7i82SjaofbxTw7XNyrvOmqvx3A50Y4QA==
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:ONE4xh9E7LfpxCoORp1awnUI3+IZdftiGbDQNwRK

Currently, we have an env var in SBC outbound, PAD_CRYPTO, that globally sets which way to do it.  However, we should be able to set this on a sip gateway level.  When the user selects "TLS/SRTP" for the protocol for an outbound SIP gateway there should appear a checkbox labeled "Pad crypto attributes".  By default it should be unchecked.  This setting should define whether or not for any outbound calls made through to gateway padding should be added.

Below is a wireframe showing the new property, which is only visible for outbound gateways where TLS/SRTP is selected

closing this as PRs merged


Why not link any document to this https://docs.microsoft.com/en-us/composer/how-to-add-qna-to-bot?tabs=v2x#bots-with-language-understanding-luis-and-qna-maker

Reading to this and do not know how to do it. Should have a link to a relevant document

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

ID: 808c15b1-52e8-eda3-547a-037f7a74d094
Version Independent ID: bb1f0f82-b57a-d7a8-e013-31692b22c593
Content: Add a QnA Maker knowledge base to your bot - Bot Framework Composer
Content Source: composer-docs/how-to-add-qna-to-bot.md
Service: bot-composer
GitHub Login: @JonathanFingold
Microsoft Alias: kamrani

Closing due to age. If this is still an issue, please re-open this request with updated details.


avoid duplicate file extensions

With the save dialog always adding "." + bitmapFormat.toString().toLowerCase() there's one scenario that's unwanted:

you save a chart as chart1 resulting in a file named chart1.jpg
you want to save another chart
you choose/click the existing chart1.jpg and edit the name to chart2.jpg
the result is a file named chart2.jpg.jpg

The proposed change avoid adding a file extension where it already exists

Thanks. Definitely a great addition. I don't think BitmapFormat.JPG should be required as a parameter to the saveJPGWithQuality method though, since it's always going to be a JPG. What do you think?

My original reason for that change was the unity of the different save-Methods - but you're totally right:
All other methods saveBitmaponly declare the type of Bitmap by their parameter whereas saveJPGWithQuality is an exceptional case with the type within the methodname - it's even problematic/unwanted that you can save a JPG-File with the extension of another BitmapFormat.

Great. Are you going to update your PR or should I merge and fix it myself?

I will fix my pull request this evening.

Great! Thanks.


Persistent data location

Currently Lamp produces a Lamp_Data directory & imgui.ini file in the directory it was launched from, and will show an error and create new files if they don't exist.
It may cause fewer headaches to use $XDG_CONFIG_HOME (~/.local/share) or $XDG_DATA_HOME (~/.config) as defined in the XDG Base Directory Specification, at least as a fallback if those files don't exist in the runtime directory.

Sounds like i plan, ill add it to 1.1.0 goals

@CHollingworth was this ever completed? It seems to still do this.


remove withOnyx from user tooltip

Details

Proposing a solution for optimizing BaseUserDetailsTooltip component for web by removing withOnyx HOC and replacing it by passing user details by props.
For now implemented it fully only in one list for testing purposes. If we decide to go with this proposal, I'll replace all the rest of occurencies.
I did the same benchmarks with the same scenario as in #30333 to compare the results - HT account, report screen focused input and pressed cmd+k.

Main branch - between 150ms and 355ms, avg 236ms

Main branch - between 847ms and 1122ms, avg 989ms on x6 CPU slowdown

This branch - between 36ms and 138ms, avg 68ms

This branch - between 209ms and 737ms, avg 400ms on x6 CPU slowdown

Results
Comparing this results, there is a 3,5x improvement and 2,5x improvement when using 6x CPU throttling. Also rendering single component went down from 4,9ms to 0,1ms
Fixed Issues

$ #30318
PROPOSAL:
Tests

[ ] Verify that no errors appear in the JS console

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I added steps for local testing in the Tests section
[ ] I added steps for the expected offline behavior in the Offline steps section
[ ] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[ ] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests on all platforms & verified they passed on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[ ] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] I verified that if a function's arguments changed that all usages have also been updated correctly
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes

[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)

[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Closing because #30354 already covered changes required in the component


[READY FOR REVIEW] Merkle tree small fixes

Handle public key recovery edge cases.

Now successfully extracting the public keys for all addresses with a tx history.

Store blockHeight along the Merkle tree roots in the database.

So we know which block to refer to when reconstructing the tree for a particular root.

Better logging

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

ltgm! merging


Standardise my scene and lighting automation

Objective
I have created what I feel is the perfect scene and lighting control. I've had this working in a number of rooms in my home for the last 6-8 months. Over the last month or so I've added a couple of additional elements and it's time I roll this out to the whole house. It was created after frustration with my lights turning off while a room was still in use, but also because I wanted a way to reliably apply a scene and have the room use that scene alongside room activity. For an example when the room no longer has activity, not only should the lights turn off but other devices should be turned off to such as a fan, speaker, or plug. Additionally, some of my scenes don't turn on all lights which was when I think I started making this solution.
It is quite straight forward:

When a signal (motion, contact or other singles that the room is in use) is detected a timer is activated for a room-defined period.
At the same time, the room-defined scene that is currently selected will be applied to the room.
The timer counts down and maybe restarts if a signal indicates the room is in use is again.
When the timer does eventually finish it checks for any signals that the room is in use and if there isn't any, a second timer (1 minute) is started.
Any lights that were on are faded to 50% of the brightness they were previously set to.
When the second time finishes the lights in that room are turned off and the rooms off scene is called.

Ingredients

Motions sensor (in my case Hue but also Ring)
Lights (Hue)
Other signals (triggers such as contact and temperature sensors)

Configuration
Room
Each room can be independently controlled:

Common scenes for each room such as Bright, Focus, Night, Off
Available scenes input_select
TTS as feedback when configuration changed
Motion timeout input_number
Disable motion input_boolean
LUX control input_number
Hue remote with advanced button mapping
Switch off room input_boolean
Room occupied binary_sensor where the template includes all the signals the room is in use

House
The house has some controls that will override any room configuration.

Motion Disabled (stop lights from turning on/off in the entire house for times when you want control such as illness and maintenance)
Do not disturb (a quiet mode where no TTS or notifications will work in the house)

Standardise this in each living area.

[ ] Hall
[ ] Utility washing machine
[ ] Utility cupboard
[ ] Landing
[ ] Living room
[ ] Dining room
[ ] Kitchen
[ ] Bathroom
[ ] Guest room
[ ] Florence bedroom
[ ] Garden

Lux activated lights
Activate when light is below threshold. If the threshold is at the bottom or the top of the threshold slider UX based activation is disabled.

Template
Current lux: {{ states('sensor.bedroom_motion_lux') }}
Lux threshold: {{ states('input_number.motion_bedroom_lux') }}
Min stop: {{ state_attr('input_number.motion_bedroom_lux','min') }}
Max stop: {{ state_attr('input_number.motion_bedroom_lux','max') }}

{% set lux_threshold = states('input_number.motion_bedroom_lux') | int %}
{{ states('sensor.bedroom_motion_lux') | int < lux_threshold
or (lux_threshold == state_attr('input_number.motion_bedroom_lux','min') | int
or lux_threshold == state_attr('input_number.motion_bedroom_lux','max') | int) }}

Output
Current lux: 119.1
Lux threshold: 0.0
Min stop: 0.0
Max stop: 600.0

True

https://skylar.tech/circadian-lighting-with-home-assistant-and-node-red/

https://github.com/claytonjn/hass-circadian_lighting

https://www.home-assistant.io/integrations/flux/

https://www.thelightingpractice.com/what-is-circadian-lighting/


docs: documention of SATP package

@LordKubaya This LGTM. Are you still going to work on it (is it still a draft?)

@LordKubaya This LGTM. Are you still going to work on it (is it still a draft?)

Yes, I will be doing more work with documentation. But maybe this can be merged.

@LordKubaya If there's nothing in the current diff that still needs work then please merge it. I'm trying to reduce the time we have for open pull requests in general. Some of the official LFX stats can be seen here: https://insights.lfx.linuxfoundation.org/foundation/lf-decentralized-trust/velocity?project=cacti&routedFrom=Github&bestPractice=false

I think we may merge. @LordKubaya please fix conflicts and we're good to go!

@LordKubaya can you please rename the diagram you added? it seems to refer to stage 3, bridge specifics. I'd propose: gateway-message-flow-stage-3-bridge to be aligned with https://github.com/ietf-satp/draft-ietf-satp-core/tree/main/figures/message flow diagram

This is a end to end diagram, not just stage 3, or is there a confusion?


[BUG] Creating cluster will get stuck on waiting for Kubernetes API

Describe the bug
Creating cluster will get stuck on waiting for Kubernetes API
To Reproduce
Follow WSLab scenario
https://github.com/microsoft/WSLab/tree/dev/Scenarios/AzSHCI and Kubernetes
Screenshots

@jaromirk : please get us logs.
Most likely we are failing to create VMs. look at  Hyper-V Event Viewer logs for any errors in creating the VM.

Does this help?
Failed to open attachment 'C:\CLUSTERSTORAGE\AKS\IMAGES\B35F3109C7C4D71\CLUSTERGROUP-MANAGEMENT-LOAD-BALANCER-D20FA3B0\DATA\SEED.ISO'. Error: 'One or more arguments are invalid'.

Uploading akshcilogs.zip…

akshcilogs.zip

@jaromirk and I were chatting.
Bringing the conversation here. The logs show that the infrahosts were low on memory.
failed to create or get machine: cannot create vm: rpc error: code = Unknown desc = Unable to find a Node that satisfies the input requirement. Total Nodes [2]: OutOfCapacity

@jaromirk is going to try again with more RAM.

Increased amount of memory and all is OK.
I'll modify wslab scenario to create smallest VMs possible
$ClusterName="AzSHCI-Cluster"
Invoke-Command -ComputerName $ClusterName -ScriptBlock {
    New-AksHciCluster -clusterName demo -linuxNodeCount 1 -linuxNodeVmSize Standard_A2_v2 -controlplaneVmSize Standard_A2_v2 -loadBalancerVmSize Standard_A2_v2 #smallest possible VMs
}

🎉🎉🎉

I updated wslab scenario, so it now also works on 16GB RAM Azshci VMs.

@nwoodmsft :  Improve diagnostics to VM Start failures rather than waiting for 2hours to deploy mgmt cluster.

@nwoodmsft Can you update if this bug has been resolved in the latest release?

I'm encountering this issue in both a deployment done with MSLab or if I walk through it manually, using WAC or PS using the latest March release. Has this been reported by anyone else? I've found no viable workaround to get past it. The Cluster-management host is running and resources are fine. each host has 128GB.

Hey @SouthPawCode - Can you please create another bug and attach logs for your error? There are multiple reasons why you might be getting the "waiting for API server" error and it's extremely tough for us to help you without logs. You can gather logs using the "Get-AksHciLogs" command.

Closing this bug due to inactivity. Please reopen a new one if you face the issue again. Make sure you install AKS-HCI's GA release - https://github.com/Azure/aks-hci/releases/tag/AKS-HCI-2105


Addrd unit tests for HandleEventType.cs

Codecov Report

Merging #39 (e3c22c8) into master (4a577f5) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #39   +/-   ##
======================================
  Coverage    8.26%   8.26%
======================================
  Files           4       4
  Lines         254     254
  Branches       23      23
======================================
  Hits           21      21
  Misses        232     232
  Partials        1       1

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 4a577f5...e3c22c8. Read the comment docs.


add modal status to exam

It looks amazing, but please trim de extremes bars and the bar between checking and available shouldn't be blue:


Publication attributes are not always int()able

Currently, when filling in publications, scholarly attempts to convert the volume and issue fields to integers. This seems reasonable at first glance, but articles in GS can have strings in the volume and issue fields, in which case the conversion fails and an exception is raised. I just ran into this problem with an article that had the issue "3-4". I solved the problem by editing the original entry, but this will not generally be possible in cases where people don't own the articles in question.
I'm not sure if you want to address this explicitly (e.g., via a class-level configuration option, or by defaulting to using strings everywhere), but am flagging it here just so that there's a record that this is a known issue. Feel free to close if you don't plan to fix it—I can't imagine it arises very often.

Same issue here. Edited the source to remove int(), I think one cannot make assumptions like these.
E.g. I have seen Phys. Rev. particles with volume "B1234" and similar

Fixed in v1.0.2


Embedding a code editor

I'm interested in putting a javascript code editor into a panel.  I know I could just use a textarea for that, but it wouldn't be easy to get code indenting to work by pressing tab, plus a whole bunch of other features such as syntax highlighting.  http://ace.c9.io is a very nice code editor... how easy would it be to combine this with zebkit in some way?
I found zebra.ui.HtmlElement.  Could that be used in some way with ace?  I couldn't really understand from the manual whether HtmlElement just simulates some aspects of the dom or if it is linked to the dom and re-renders the elements into the canvas. Or does it just overlay html on top of the canvas?
Awesome project by the way :)

I have actually done this in my zebra app using ace editor and it works very well.  It took some tweaks to both zebra and ace.  I don't have the source on this computer, I'll check on it and update this post later.

Thanks! I would really appreciate that.

sorry it took me so long to reply again I forgot I had posted here.  So I actually added a div in my main html for the editor eg:
I create a basic zebra panel where I want the editor to go.. then I setup a routine to basically float the ace editor div over that panel, using that panels location, height and width to resize the editor div on the fly..   it's probably not the best method but it works.

I appreciate you're assistance all the same.  I will test this out.
Many thanks!
On Tue, Aug 4, 2015, at 03:34 PM, Matt Sudol wrote:

sorry it took me so long to reply again I forgot I had posted here.
So I actually added a div in my main html for the editor eg:

I create a basic zebra panel where I want the editor to go.. then I
setup a routine to basically float the ace editor div over that panel,
using that panels location, height and width to resize the editor div
on the fly..   it's probably not the best method but it works.

— Reply to this email directly or view it on GitHub[1].

Links:

https://github.com/barmalei/zebra/issues/70#issuecomment-127613083

Meanwhile zebra is getting new Html elements integration. It is going to be completely re-worked, to supply better and smooth. I am working (at last) around it now. Hope can provide first results soon.

That's great news!


fix(RelativeRangeDatePicker): preset popup padding

corrected padding of popup with list..
before

after

Sry, I do not know how to change status to"need review" :)


Proposal: Remove foojay from plugin id as this expose implementation details

Hi guys,
I just read a bit about this plugin, what it does and what it offers etc.
While looking at it, I kept wondering why it's called "foojay".
Well, it makes sense because it uses the foojay api under the hood. Fine.
But thinking a bit further, I think it makes sense to remove this information from the ID as it is not needed. Why should an implementation be exposed to something "generic" like a toolchain vendor?
Just thinking about the future. Imagine you change your API provider. For whatever reason. Will you create a new repository? Will you create a new plugin? Will you keep the foojay name but change the api?
I think to make this plugin more future proof it would make sense to at least remove the foojay information from the plugin id so you can change the jdk provider as you like in the future...
What do you think?

I appreciate your interest in this plugin. However, I must disagree.
This plugin is one of many possible Gradle Toolchain Resolver Plugins, which is specifically based on the DiscoAPI provided by Foojay.
If it would be based on something else, then that would be another such plugin and would be named accordingly.
It's specific, with a specific name.
That doesn't make it non-future-proof.


Specify rsa transform, aes & tag length

Addressing issues mentioned in #838. Tested using a test program in C++ using openssl and verified encryption/decryption using RSA works both ways.

LGTM

@saandrews There are 3 tests failing in Jenkins:
Test Result (3 failures / +3)

    org.apache.pulsar.client.api.SimpleProducerConsumerTest.testECDSAEncryption
    org.apache.pulsar.client.api.SimpleProducerConsumerTest.testEncryptionFailure
    org.apache.pulsar.client.api.SimpleProducerConsumerTest.testRSAEncryption

This is because our build env does not have the JCE Unlimited Strength Jurisdiction Policy files. http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html. I'll dig further to see if we can install them in our environment.

This is because our build env does not have the JCE Unlimited Strength Jurisdiction Policy files. http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html. I'll dig further to see if we can install them in our environment.

We should have it working out of the box with standard JDK and allow the better encryption if available.

I see your point. But, if we do not enforce, a producer produced using 256 bit AES key and if consumer host does not have the unlimited policy files installed, it will fail to decrypt. This is true for RSA/ECDSA keys as well. I'm considering the following change to address this:
int aesKeyLength = javax.crypto.Cipher.getMaxAllowedKeyLength("AES");
if (aesKeyLength <= 128) {
log.warn(
"{} JCE Cryptographic strength is limited to {}. Consider installing JCE Unlimited Strength Jurisdiction Policy Files.",
logCtx, aesKeyLength);
keyGenerator.init(aesKeyLength, secureRandom);
} else {
keyGenerator.init(256, secureRandom);
}

retest this please

retest this please


#436 smallscreen keypad partly invisible

Fix for issu #436

Needs more tested; does not work in rotated mode.


remove badge from Bulma.io that was leaving cookie

based on this issue
https://github.com/textbook/bulrush/issues/20
I removed the link to the bulma.io hosted badge, which was leaving a cookie on the user's machine.
I've replaced with "Made with Bulma" with a link to bulma.io

Thanks for the contribution, I've just released v0.2.2 to PyPI with this change included: https://pypi.org/project/bulrush/0.2.2/


Introduce new prop onLoad

Hi. I need to load custom map source for Geo Chart (call google.visualization.GeoChart.setMapSource()). This must be done before the first draw() in order to load my custom maps, not default.
I found tree ways to do that.

windowGoogleCharts.charts.setOnLoadCallback => this.onLoad => this.onSuccess => this.props.onLoad
windowGoogleCharts.charts.setOnLoadCallback => this.props.onLoad
componentDidMount (table) => this.props.onLoad

The 1st - in fact is not working for my case because my callback is called after first draw() in componentDidMount (table).
The 3rd is working, but it looks ugly, so I think the second is the best option. It looks clean and it is guaranteed to be called before first draw().

@rakannimer hi. any chance for this PR to be reviewed/merged?

Codecov Report

Merging #451 (4c673c5) into master (3f9c784) will decrease coverage by 0.28%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #451      +/-   ##
==========================================
- Coverage   49.02%   48.74%   -0.29%
==========================================
  Files          15       15
  Lines         514      517       +3
  Branches      117      119       +2
==========================================
  Hits          252      252
- Misses        193      194       +1
- Partials       69       71       +2

Impacted Files
Coverage Δ

src/ReactGoogleCharts.tsx
55.35% <0.00%> (ø)

src/hooks/useLoadGoogleCharts.ts
68.96% <ø> (-7.96%)
:arrow_down:

src/types.ts
0.00% <ø> (ø)

Continue to review full report at Codecov.

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

Looks like some checks are failing, @dangreen will follow up, he's been helping maintain this library.

@newsiberian Hi. Thank you for contribution. Please add test case for onLoad prop.

@newsiberian Thank you


fix bug with detect home dir

Summary
Upgrade to Mojolicious 7.15+ breaks mojolicious apps, which was created by mojo generate app before 6.40. In new versions (https://github.com/kraih/mojo/commit/f662f968b590c79f205ea12094285c080391e858) startup script use FindBin which add absolute path in @INC, old versions use use lib 'lib' which add relative path to app in @INC.
So, for old apps Mojo::Home detect home dir with extra lib suffix.
Steps to reproduce bug:
and@google:~/tmp/x$ pwd
/home/and/tmp/x
and@google:~/tmp/x$ mojo version
CORE
  Perl        (v5.22.2, linux)
  Mojolicious (7.15, Doughnut)

OPTIONAL
  EV 4.0+                 (4.22)
  IO::Socket::Socks 0.64+ (n/a)
  IO::Socket::SSL 1.94+   (2.043)
  Net::DNS::Native 0.15+  (n/a)

You might want to update your Mojolicious to 7.16!
and@google:~/tmp/x$ mojo generate app
  [exist] /home/and/tmp/x/my_app/script/my_app
  [chmod] /home/and/tmp/x/my_app/script/my_app 744
  [exist] /home/and/tmp/x/my_app/lib/MyApp.pm
  [exist] /home/and/tmp/x/my_app/lib/MyApp/Controller/Example.pm
  [exist] /home/and/tmp/x/my_app/t/basic.t
  [exist] /home/and/tmp/x/my_app/public/index.html
  [exist] /home/and/tmp/x/my_app/templates/layouts/default.html.ep
  [exist] /home/and/tmp/x/my_app/templates/example/welcome.html.ep
and@google:~/tmp/x$ ls
my_app
and@google:~/tmp/x$ cd my_app/
and@google:~/tmp/x/my_app$ ./script/my_app eval 'say app->home'
/home/and/tmp/x/my_app

Then change script/my_app to use use lib 'lib'; instead of use FindBin; BEGIN ... and get broken app. The saddest thing is that the tests that are started via prove run correctly.
and@google:~/tmp/x/my_app$ cat ./script/my_app
#!/usr/bin/env perl

use strict;
use warnings;

use lib 'lib';
use Mojolicious::Commands;

# Start command line interface for application
Mojolicious::Commands->start_app('MyApp');
and@google:~/tmp/x/my_app$ ./script/my_app eval 'say app->home'
/home/and/tmp/x/my_app/lib

Thanks, this should already be fixed.


uv sync --no-sources doesn't install dev dependencies

Hi! Maybe this is a feature I'm missing.
uv sync --no-sources is supposed to remove dev dependencies? ( those that are set in [tool.uv.dev-dependencies])
when I run a normal uv sync it does install them - but with the --no-sources it removes them (acts like I have the --no-dev flag) --  but I don't want to do this inside my docker.
I'm running uv 0.4.10 (690716484 2024-09-13)

I think I consider this a bug. Thanks for pointing it out.


Problem in hiding parts of pie chart when clicked on legend.

I generated pie chart using the data of blood group as shown below. It has +ve and -ve symbols in it. It renders chart properly but when clicked on legend like AB+ve both AB+ve and AB-ve will get hide and chart also will not join properly.
Sample data :
[[O+ve, 861.0], [B+ve, 1134.0], [O-ve, 270.0], [AB+ve, 279.0], [0+ve, 211.0], [A+ve, 854.0], [AB-ve, 288.0], [A-ve, 1153.0]]
Initial pie chart display on load

On click of legend part of pie chart is not hidden

On mouse over both AB+ve and AB-ve parts are highlighted

Hi
Can you please post JSFiddle or something similar of the reproduction?
Many Thanks!

Duplicate with #1687
This is the + and - sign in AB+ve the issue.


the weights I trained in your way can't inference properly

Hello,  the weights I trained in your way can't inference properly
My trained model is in the checkout directory

Then I execute inference.py

But there is no output of results

I got the same problem.This is my issue.Do you find a solution?

Not yet, please let me know if you find a solution，thanks : )


Cannot deploy environment on Windows through CMD or PowerShell

Describe the bug:
When running terraform apply with a configured azure-single-keyvault environment on Windows CMD or PowerShell, the command to get the cluster credentials fails due to the command being too long.
https://support.microsoft.com/en-us/help/830473/command-prompt-cmd-exe-command-line-string-limitation
To Reproduce:
run terraform apply on a configured azure-single-keyvault environment on Windows CMD or PowerShell
Expected behavior:
The deployment completes successfully.
Screenshots:
Additional context:
Does this require updates to documentation?:
For now, the work around is to use windows subsystem for linux, if possible.

Bedrock uses bash scripts which require some form of *nix.

Hm, okay. If that's the case, we probably just need to update the required tools section: https://github.com/microsoft/bedrock/tree/master/cluster#required-tools ?

@mtarng That is related to my issue #494


Need a ref prop on the Collapse component

Would it be possible to enhance the Collapse component to take a ref prop? I need to be able to determine the offsetHeight of the div element. Also it would be helpful if the Collapse component could emit events when the div has completed being shown (shown.bs.collapse) and completed being hidden (hidden.bs.collapse), so that I know that the height has changed. (I need this in order to re-render other components on the page.)
(Also . . . the version of reactstrap that is in the npm repo does not have the UncontrolledCollapse component.)

Same on Media.
I have a  and I'd like to scroll down that list programmatically when items are added, so I need a ref.
Tbh. I think any reactstrap component needs a ref prop.

I was actually able to come up with a workaround in order to get access to the DOM element.  And I pass my own component in as the tag. (Effectively, it's a DOM "miner" -- it digs the DOM element out of the Collapse component for me.) But I agree; every reactstrap component needs a ref prop.

@TheSharpieOne I would like to work on this. I believe you'd prefer https://gist.github.com/gaearon/1a018a023347fe1c2476073330cc5509 this approach opposed to https://reactjs.org/docs/forwarding-refs.html this (Forwarding Refs) since Forwarding refs is available only from React 16.3

@TheSharpieOne I would like to work on this one. I shouldn't use Forwarding Refs as they are not supported by React versions below 16.3, right?

@illiteratewriter, got for it. And yes, we have to avoid React.forwardRef since we allow React 16.0.0 for now. Just add innerRef and eventually we will refactor in a breaking change (deprecating innerRef at that point and eventually removing it).

I'm probably missing something but why doesn't <Collapse> innerRef allow functions, like <Input> allows?
Input.propTypes = {
  ...
  innerRef: PropTypes.oneOfType([
    PropTypes.object,
    PropTypes.string,
    PropTypes.func,
  ])
};

(The change in https://github.com/reactstrap/reactstrap/commit/9d3126ceaf088894e5628a02ae2b268e51b9b4f3 only allows PropTypes.object.)


When using word navigation, the screen reader announces tokens twice

screen reader support turned on and using NVDA
Imagine I have the cursor at teh end of this line of code
vscode.window.activeTextEditor.document.languageId
When I press ctrl + left arrow, I hear 'languageId' being announced. I then press ctrl + left arrow again. The cursor moves to before the '.' and I head 'document' being announced (although the cursor  is positioned after the document token). I press ctrl + left-arrow once more. The cursor is now positioned before the document token but I hear 'document' being announced again. It makes it sound like I have document typed twice.
Found when testing #3247

From our side, we set the cursor in the textarea at the right location. I think it is a Chromium bug

Bump.
Possibly related. When going through a file quickly, either word by word or line by line, you do still get this behavior. Example:
class foo < bar
When I am on this line and go down, often it will repeat the line I was on rather than the new line which may or may not be a blank line. Especially when going character by character this gets annoying, for example when you want to correct a spelling mistake. Letters get repeated randomly making it hard to figure out where exactly you are in the code.
Interestingly enough this seems to be some kind of latency problem. When working with braille, you consistently get good results. Makes me think that the speech query is jumping the gun so to speak, but I don't know enough about the VS Code internals to judge that. Anyone have a clue what is causing this?

Let's track in #26730, where we have a lot more insights into the problem.


docs fix typo in comment

NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributing
Summary
docs fix typo in .ci/trigger-travis.sh
Full changelog

docs fix typo in .ci/trigger-travis.sh

Issues resolved

Will combine with #3882

Will combine with #3882

Will combine with #3882

Will combine with #3882

GitHub was flaky yesterday, sorry for the spam, and now that I can post a comment: thanks, manually merged to master :)
I am not sure if such changes are in the scope of what Hacktoberfest considers acceptable, but we welcome it nonetheless.


Automate building HTML and PDF for draft proposal

Where my CMO proposal originally lived, AndyGlew/Ri5-stuff, I had a Makefile to do the build on the local machine I had cloned to.
Now this is moving to riscv/riscv-CMOs, it would be better to do something that all contributors can use, without having to install asciidoc, asciidoctor, kramdown and/or kramdoc on their machines.  I.e. server side.
(Also, ahem, I used tools in ~glew/bin ... {embarrassed shrug} )

The riscv V vector spec does such automated builds, I think on checkins to the main branch

The pdf build flow has been resolved.


Evaluation for GNAD10 dataset

Scores on GNAD10 dataset

HF dataset : https://huggingface.co/datasets/gnad10
Task: gnad_10
Metrics: accuracy, precision, recall, F1-score

Results

Model
Source
Accuracy
Precision
Recall
F1-score

gpt2-wechsel-german-ds-meg
lm-evaluation-harness
22.67
27.99
34.24
23.32

gpt2-wechsel-xl-german
lm-evaluation-harness
16.15
20.78
22.82
12.86

SVM
Thesis (no paper available)*
79.72
-
-
-

(*The thesis paper is not availble online but there are IPython Notebooks in the project repository which provide evaluation with regard to accuracy)


Enhancement: Support variables files in dgoss

Reason for Change
Before this change, dgoss had limited variable/templating support. For
example, .Env variables were accessible/usable, but .Vars were
not. It is desirable to have comparable variable/templating support
for dgoss as regular goss. It helps dry up GOSS files for
docker-based testing, which should make them easier to maintain.
Summary
The dgoss script recognizes a new setting/environment variable
(which is identical to its goss counterpart), i.e. GOSS_VARS.
The change consists of modifications to the dgoss script which
use the referenced variables file in subsequent goss validate
commands. It is also extracted from the docker container after
running dgoss edit.

@aelsabbahy Please review/comment on this when you get a chance. It would be nice to start making use of vars files for templating with dgoss.

@aelsabbahy Have you had a chance to review this yet?

Looks great, thanks!


add an icon?

Perhaps https://thenounproject.com/search/?q=puppet&i=999438

let me know if u want a PR

It looks pretty cool 😎
Could you also update the docfx project with that?

https://github.com/hardkoded/puppeteer-sharp/pull/1541


update Number class to handle integer values

resolves #8153
Problem
Agate tables, which power dbt show, and therefore the dbt cloud IDE, show integer values as decimals, leading to user confusion when columns seem to have decimals when they don't! this overrides that behavior in the dbt-core customization of the agate Number class
Solution
Ensure that the Number.cast() and Number.jsonify() methods properly handle integer values.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Thanks for putting up the PR @dave-connors-3!
The CI failure reminded me that my recommendation was incomplete.
We need to choose whether we want to cast to int sooner or later:

Later: just during JSON-ification
Sooner: as in this approach, but taken one step further to a custom Integer type

I left a comment on the issue with two potential approaches: https://github.com/dbt-labs/dbt-core/issues/8153#issuecomment-1666889641

@dave-connors-3 I have capacity this sprint to help get this over this finish line!  I agree with @jtcohen6's recommendation to add a new Integer data type, as laid out in his comment.  It's the right solution, even with the risk of being a breaking change.  Let me know if you'd like some help or even if you don't have capacity right now and I can help get this in.

thanks @emmyoop!! just pushed jerco's updates -- will test locally shortly, but would love your eyes on it whenever you have a chance!

@emmyoop -- just got the test_agate_helper.py` tests to pass locally! I am wondering if the other tests should have been updated to assert that they were instances of the custom Integer class as well, but updating them caused local failures. Let me know what you think!

i also seem to be cursed by the codecoverage bots


Switch to using .pngs

Is your feature request related to a problem? Please describe.
The site performs quite badly.
Describe the solution you'd like
By default, use .PNG files. They perform a lot better despite being larger.
Give an option to switch to a "High detail graphics (slow)" mode from "Medium detail graphics (fast)".

I'm curious, could issue #111  link tie in with .png files? I did a quick read and saw that a mixture of 'd3' graph making along with html drawing can help speed things up. I'm thinking, would it speed up if we could use png's in favor of svg files in addition to using html drawing?

These tickets are definitely related, but I wouldn't combine. I think both things would help improve performance. However, #111 I imagine would be a lot bigger change. So I'm only going to look at the .png changes for now.


Reading json from database

Scope

General class DataRecord with fields: id, created, modified
Modification of the ps_plant_entity table - we need 2 columns - id UUID and data JSONB
:information_source:  If you have any data in the table, use DELETE FROM app.ps_plant_entity; to avoid troubles with running the service.
Each record used in the app should extend DataRecord with fields included in the json data
Based on above - PlantEntityRecord should extend DataRecord
Generic class JsonRepository<T extends DataRecord, ID> which contains database CRUD operations for tables with json data (for now only findById(ID id) method) and mapping retrieved json to the T class

Use
Spring Data Jpa
com.fasterxml.jackson.databind.ObjectMapper
QueryDsl
Connected issue
PlantEntityRecord adaptation to json repository#23

References

Jackson vs Gson vs JSON-B vs vs JSON-P vs org.JSON vs Jayway Jsonpath
Jackson vs JSON-B
Deserialize Generic Type with Jackson
Intro to Querydsl

Troubleshooting
Import querydsl - Spring Boot 3