text:
Add option for simple text or numbers on markers

That kind of support was added to the extra markers plugin:
https://github.com/coryasilva/Leaflet.ExtraMarkers
But clearly vector markers are the way to go-

It's not that difficult to implement this for yourself. I achieved this by modifying few lines of code somewhere around line 182 . Modify this according to your needs.
div.innerHTML = '<svg width="' + options.iconSize[0] + 'px" height="' + options.iconSize[1] + 'px" viewBox="' + options.viewBox + '" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="' + pin_path + '" fill="' + options.markerColor + '"></path><text x="'+ options.iconTextPosition[0]+'" y="'+ options.iconTextPosition[1] +'" style="font-weight: 600" text-anchor="middle" font-family="\'PT Sans\'" font-size="'+ options.iconTextSize +'" fill="white">'+ options.iconText +'</text></svg>';
and at line 140 you will find var iconOptions. again modify this according to your needs.
var iconOptions = { 	  iconSize: [30, 50], 	  iconAnchor: [15, 50], 	  popupAnchor: [2, -40], 	  shadowAnchor: [39, 45], 	  shadowSize: [54, 51],       iconText: '',       iconTextPosition: [15, 25],       iconTextSize: 12, 	  className: 'vector-marker', 	  prefix: 'fa', 	  spinClass: 'fa-spin', 	  extraIconClasses: '', 	  extraDivClasses: '', 	  icon: 'home', 	  markerColor: 'blue', 	  iconColor: 'white', 	  viewBox: '0 0 32 52' 	};

I failed trying a similar modification; I want to add a  directive to the innerHTML by adding an option svgDefs at line 140 and using options.svgDefs in line 182. I added the svgDefs option on creating the Icon:
					icon: L.VectorMarkers.icon( 						{ 							iconSize: [35,50], 							icon: 'bank' , 							prefix: 'fa', 							markerColor: 'red', 							iconColor:  '#278c11', 							svgDefs: '<defs><radialGradient  + 								' r="70%" fx="50%" fy="30%">' + 								'<stop offset="0%" stop-color="white" />' + 								'<stop offset="100%" stop-color="black'" /></radialGradient></defs>'						 						})
but the options.svgDefs ist not defined. What is missing?

Problem solved! It worked that way, I had only a build problem. I'll fork the project to imnplement the changes.

Good to know it worked for you.

authors: chriszrc nils-v rajivhbk


text:
HHH-10562 : ManagedEntity linked list broken when non-associated enha…

…nced entity is evicted
https://hibernate.atlassian.net/browse/HHH-10562

@sebersole or @barreiro, could one of you please review this?

Merged.

source: gharchive/pull-request

repo: hibernate/hibernate-orm

license_type: permissive

license_source: github-api


text:
support for Dynamic mapping models

hello, I was wondering if this was something possible to implement in reactive. Currently, the reactive session does not support the .save method for being able to work with a map as seen in the regular hibernate documentation here: https://docs.jboss.org/hibernate/orm/6.1/userguide/html_single/Hibernate_User_Guide.html#mapping-model-dynamic . When I look at the reactive documentation here: https://hibernate.org/reactive/documentation/1.1/reference/html_single/ I don't see any way to do that, and also don't see that method exposed in the reactive session. Thanks!

That's Hibernate ORM 6. Hibernate Reactive is using ORM 5 at the moment

https://docs.jboss.org/hibernate/orm/5.0/userguide/html_single/Hibernate_User_Guide.html#dynamic-model it looks like it was supported here as well under 2.10. Dynamic Model. Maybe i'm missing something

Sorry, my bad.
I was just confused for a moment because I'm not familiar with this feature.
You are right, we haven't implemented this.

I've pushed this test here: https://github.com/hibernate/hibernate-reactive/commit/78dab9a83794b8037f0735e9e4de39f6b9b31256.

So, I guess I'm struggling to know what to do here. I've never been clear on whether we needed to add overloads of all the Session methods that accept string entity names instead of classes.
On the one hand:

Session looks a lot cleaner without them.
With the exception of find(), you can do most of the work of these extra methods using an EntityNameResolver.
You don't strictly-speaking need find, since you can always use createQuery("from Entity where id = ?") instead.

On the other hand:

The ability to map a class multiple times to multiple entity names is, in some sense, a "basic" capability of Hibernate, even if it's a capability that is hardly used.
Session.find() is a pretty popular method!

@ingmarfjolla How much do you want this right now? Would you be just as happy using createQuery() instead of find()?

Sorry, I just realized my previous post is confusing, since I'm free-associating between JPA method naming and legacy Hibernate naming. To be clear, I'm talking about the Session method with this signature in H5:
Object get(String entityName, Serializable id);

But if we added this one, we should probably add all the others like:
void persist(String entityName, Object object);
Object merge(String entityName, Object object);
void delete(String entityName, Object object);
void refresh(String entityName, Object object);
void lock(String entityName, Object object);

and their overloads, which winds up being quite a lot of new methods!

Well the code you showed me should be really straightforward to make work in reactive.
FTR I did not have to try very hard to get my test working, 10 mins or something, max, and most of that was just figuring out where I had to put the XML file, since we never tested XML mapping in HR before.

i'm definitely doing something wrong, but I'm not sure what exactly. for some reason when i get to my persist method here
    @Inject
    Mutiny.SessionFactory sessionFactory;

    protected Uni<Void> persist(Map<String, Object> dataMap) {
        System.out.println(dataMap);
        return sessionFactory.withSession(
                session -> session.persist(dataMap)
                        .chain(session::flush));
    }

the persist doesn't seem to get triggered. In my tests i'm succesffuly able to create a query with no issue. perhaps the way i'm creating a session is incorrect?

I mean, are you sure your stream is actually getting better executed? Have you put a break point in the callback?

I mean, try persisting a regular entity that way. From your description, it doesn't sound like the problem is anything to do with the dynamic entity.

If you didn't I think just having the DynamicMapInstantiator.KEY somewhere would help, since I hadn't been able to find it otherwise. Did you see any issues with the way I wrote my method? I don't think i'm doing reactive right..

source: gharchive/issue

authors: DavideD gavinking ingmarfjolla

repo: hibernate/hibernate-reactive


text:
HornetQ compatibility and other improvements

Several improvements:
HSEARCH-984 Hibernate Search 4 violates javax.jms.Message contract, incompatible with HornetQ
HSEARCH-749 Distribute helpers to understand Analyzers output
HSEARCH-749 Move assertion related code back into the test sources
HSEARCH-987 Expose option to set JDBC FetchSize in MassIndexer
HSEARCH-955 Property name for index manager selection should be defined in Environment
HSEARCH-678 Document type limitations of @NumericField

Looking ...
Did you change the Jira workflow as well? Nice :-)

Applied

authors: Sanne hferentschik

repo: hibernate/hibernate-search


text:
HSEARCH-3051 Restore the Elasticsearch AWS integration

https://hibernate.atlassian.net//browse/HSEARCH-3051
Based on #1933 (HSEARCH-3070), which should be merged first.
Full build (including AWS ES 5.6 and AWS ES 6.4): http://ci.hibernate.org/view/Search/job/hibernate-search/view/change-requests/job/PR-1934/7/

Pull Request Test Coverage Report for Build 7

55 of 62 (88.71%)  changed or added relevant lines in 16 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.02%) to 88.739%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

engine/src/main/java/org/hibernate/search/engine/environment/bean/impl/BeanResolverOnlyBeanProvider.java
0
1
0.0%

util/common/src/main/java/org/hibernate/search/util/common/impl/CollectionHelper.java
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

engine/src/main/java/org/hibernate/search/engine/environment/bean/InstanceBeanReference.java
2
62.5%

Totals

Change from base Build 189:
0.02%

Covered Lines:
16691

Relevant Lines:
18809

💛  - Coveralls

authors: coveralls yrodiere


text:
DeploymentConfig

DeploymentConfig create ReadinessProbe and LivenessProbe to update

Add ReadinessProbe and LivenessProbe to DeploymentConfig create function.

repo: hidevopsio/hi


text:
fixed css escape chars

Resolves #3965
(fixed the branch issue)
before

after

Checklist

[x] Added markup tests, or they don't apply here because...
[x] Updated the changelog at CHANGES.md

@joshgoebel  any input ?

@joshgoebel ?

Sorry for the delay.  While coming back to this I just remembered that we support many CSS-like grammars - and many of those allow plain old CSS as well as their other syntactic improvements.
SO... to accept a css improvement you would also need to support:

less
stylus
scss

There is a script to help with this.

You'd first need to add a small representative sample set of escapes to markup/css/css_consistency.txt...

with a paired result file...

then use the tools/css script -

which will copy the consistency test (as-is) into the less, stylus, and scss folders.

After that you need to work with the less, stylus, and scss grammars to get the markup tests passing - ie their on CSS output must exactly match the output of the CSS grammar.

Also perhaps look at the css_shared.js file, which might be useful for shared regex, etc.

authors: Dxuian joshgoebel


text:
Update hljs function

This pull request introduces the HLJS function, which sets up the essential components of the Highlight.js library. It includes storage for registered languages and aliases, the ability to handle plugins for extensibility, and a safe mode flag to control unsafe operations

Changes

Checklist

[x] Added markup tests, or they don't apply here because...
[x] Updated the changelog at CHANGES.md

Ok, thanks truly for finally a small, readable PR. But...
These types of changes are not desired or helpful.

We have very different opinions about how comments should be used.
You continue to remove type information.
You changed an error message [removing half of it] for no stated reason.

As I suggested before, perhaps find an existing issue that needs to be fixed and start there.  Here are the issue tagged "good first issue", you could have a look thru those.
https://github.com/highlightjs/highlight.js/issues?q=is%3Aissue+is%3Aclosed+label%3A"good+first+issue"

authors: TusharNaugain joshgoebel


text:
schemaLocation lost when document unmarshalled and marshalled back to XML

The schemaLocation attribute is lost when an XML document is unmarshalled and marshalled back. See attached test case (test case supplied under https://github.com/highsource/ogc-schemas/blob/master/LICENSE).
jsonix-schemalocation-bugreport.zip

Any news on this issue?

I am also facing this issue, Any updates on this? Please provide fix for this

repo: highsource/jsonix

license_source: bigquery


text:
current higlass website "jiggles"

Commit:
Steps to reproduce

Create Hi-Glass with two views or more

Share it as link, and then open a link in a web browser, preferably Chrome.

With some probability, it will start to "jiggle" as in this video.
https://www.youtube.com/watch?v=MaTmlYLcyhQ

It does seem to happen in chrome on Ubuntu on a 4K screen. It doesn't happen in Firefox.
It happens in Chromium shipped with 18.04, but not right away (see below).

If it doesn't happen right away, clicking on the menus and buttons randomly, and/or moving mouse around, will trigger it.

Resizing the screen back-and-forth seems to temporarily cure it. But not always. I had some links with complex layouts that were nearly permanently "ruined" and would not stop jiggling.

This link has a minimal setup that jiggles for me:
http://higlass.io/app/?config=ZACNp9-1RKC-5PwguuS2Qw
Observed behavior

Expected behavior

@mimakaev : Have you been able to reproduce this on a Mac, or is it possible it's only on Ubuntu? And could you see what version number of Chrome you have? I've been unable to reproduce with Version 71.0.3578.98.

Hi,
I don't have a Mac, but I have a windows laptop. I tried reproducing it on
windows, and it doesn't jiggle. I however remember seeing it on my windows
laptop at some point. I also tried reproducing it on some other computers,
and it didn't jiggle
.
I have Chrome 72.0.3626.28. But it also jiggles in Chromium that ships with
Ubuntu 18.04. It may be something specific to my machine/drivers.
Max
On Fri, Dec 21, 2018 at 2:47 PM mccalluc notifications@github.com wrote:

@mimakaev https://github.com/mimakaev : Have you been able to reproduce
this on a Mac, or is it possible it's only on Ubuntu? And could you see
what version number of Chrome you have? I've been unable to reproduce with
Version 71.0.3578.98.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/higlass/higlass/issues/488#issuecomment-449482023,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJBEe_m6-YuQiZtAyXwz7qOEKm9C37OZks5u7TrMgaJpZM4Zaday
.

This may be related to the window size of the window. HiGlass uses react-grid-layout which forces the window into 12 grid units of width. If the grid adjusts its size, it might be triggering the cascade of actions that happen when the window is resized forming a loop.
Here's where that happens: https://github.com/higlass/higlass/blob/33ab2644d55add5dced0abcb949ccb7229935aa5/app/scripts/HiGlassComponent.js#L670
I've seen this behavior sporadically but had a hard time reproducing it. A workaround may be to just resize the window slightly.

authors: mccalluc mimakaev pkerpedjiev

repo: higlass/higlass

license: MIT


text:
Get ServiceObject back on connection

When using ScsServiceBuilder, is there a way to get the service type back on client connection?
I am trying to get what service was connected to returned during the ClientConnected event.
For instance the client connecting to
server.AddService<IPhoneBookService, PhoneBookService>(new PhoneBookService());
The connection evernt should also return they type PhoneBookService's type name

Hi,
Server can define more than one service in a single endpoint.
There is no way to get service type in the client. It's expected that your client code already knows the service type it will use.

No i need to know which service type is being connected to on the server side.
say IPhoneBookService1 and IPhoneBookService2 service trigger the same connection event, how do i know which service is doing it?

When a client connects to an endpoint that has more than one service, the client connects them in the same time. So, you don't need to know the service, because connection is independent from services.

Yea, i gathered that after digging through the code, I was just hoping there was a way to know which service was being going to be used before hand on the connection event. It explains why what I had modified returned all services during the connection. Thanks anyway.

authors: hikalkan kedrin

repo: hikalkan/scs

license: mit


text:
Services: add modal

Is your feature request related to a problem? Please describe.
User wants to add a Service
Acceptance Criteria
GIVEN I am a logged in user

AND I navigate to the Form Library > Services

WHEN I click on the Add Services button

THEN I see a modal window with:
- Service name (required): text field
- Start date (optional): date field
- End date (optional): date field
- Service type (required): dropdown menu populating the service types
- {Workflow level 1}/Program (required) : dropdown showing all the program

Additional context

Note: a separate list for the Service types is created to be displayed to the user in the UI

repo: hikaya-io/activity


text:
Will no longer be updated to the Raku ecosystem

Hello,
Thank you for the time and effort you have put in what is now the Raku Programming Language.  The language and its ecosystem are moving forward.
This means that these distributions:

https://github.com/hipek8/p6-Statistics-LinearRegression
https://github.com/hipek8/p6-UNIX-Daemonize

will no longer be checked for updates by the Raku ecosystem.
This means that you will need to move your module to the zef ecosystem on the next update you make to these distributions.  Otherwise your update will simply not be seen by the ecosystem.
If you are no longer interested in maintaining these distributions, you can have these distributions moved to Raku Community Modules Adoption Center, where members of the Raku Community will take care of them.
This can be as easy as confirming that in a response to this issue.
Again, thank you for your time and efforts!
On behalf of the Raku Steering Council,
Elizabeth Mattijsen

I have forked, fixed and uploaded Statistics::LinearRegression as a Raku Community module.
I have removed UNIX::Daemonize from "p6c" as it was a WIP and it had failing tests.


text:
Equip DragonWarrior -> Banned

Hello, I discovered something interesting here. When I press the Dragon Warrior Equip button, I get banned.
(These npcs are in the area on the far right where only dragon amulet owners can enter while teleporting.)

I think I will remove this ban feature, it is causing a lot of problems.
To remove the ban, please go to your database at table users then set the banned field to 0.
To avoid future bans, go to settings table and set banInvalidClientValues to 0 also.

authors: RhymeRone hiperesp

repo: hiperesp/DragonFable-Private-Server


text:
Site is down

http://hippyvm.com doesn't resolve for me :(

On Sun, Mar 13, 2016 at 08:29:57PM -0700, Jose Diaz-Gonzalez wrote:

http://hippyvm.com doesn't resolve for me :(

My guess. Since HippyVM is not being actively developed, the developers
stopped hosting the web-site.
Cheers
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk

Hey,
Everything what Edd said. Also we moved the website with the note to
http://hippyvm.baroquesoftware.com/
Edd, let me know if this works for you as well?
On Mon, Mar 14, 2016 at 10:30 AM, Edd Barrett notifications@github.com
wrote:

On Sun, Mar 13, 2016 at 08:29:57PM -0700, Jose Diaz-Gonzalez wrote:

http://hippyvm.com doesn't resolve for me :(

My guess. Since HippyVM is not being actively developed, the developers
stopped hosting the web-site.
Cheers
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
—
Reply to this email directly or view it on GitHub
https://github.com/hippyvm/hippyvm/issues/113#issuecomment-196223646.

Nbd, closing the issue then. Just something I noticed while fixing links on the awesome-php list.

Note: may be worth updating the url on the repo description.

authors: josegonzalez vext01 xando

repo: hippyvm/hippyvm


text:
GitHub deprecated query param authentication

Github has deprecated query parameter authentication (?access_token=....)
https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters
This appears to be still be used in this composer plugin, which is causing Github to notify via email all Github accounts being used by this plugin.
This will need a change to use Authorization: token (or basic) authentication to continue beyond obsoletion, and to stop the Github email notifications being sent.
The lines of code which are doing this appear to be at:
https://github.com/hirak/prestissimo/blob/4c52352f4bc88bbf9063e18ee94016faadde88c5/src/BaseRequest.php#L143-L148
There was some confusion in https://github.com/composer/composer/issues/8586 as to the cause, when composer itself had fixed it in 1.9.3.

added a PR https://github.com/hirak/prestissimo/pull/212 but @andytson-inviqa has tests with his fix.

release 0.3.10 contains the fix for this now

Sorry for the late reply.
As already commented, please try 0.3.10.

If I already have this installed, how does one update to 0.3.10? README doesn't mention updating - only installing. I know I can remove and reinstall, but updating would be easier.

authors: andytson andytson-inviqa archon810 hirak trentza

repo: hirak/prestissimo


text:
Histoire 0.12.4 not working with vite 4

Describe the bug
TypeError: Cannot read properties of null (reading 'isCE')
When using a simple example of histoire with latest version of histoire and vite, stories are unabled to being listed, it's seems to be related to histoire using a duplicate instance of vue.
Reproduction
stack blitz
Forked from the histoire documentation example with bumped version.
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    @histoire/plugin-vue: ^0.12.4 => 0.12.4
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0
    histoire: ^0.12.4 => 0.12.4
    vite: ^4.1.1 => 4.1.1

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

To be precise, it is 4.1 not 4.0.

Had the same issue today.
vite v4.1 came from Nuxt v3.1.2

Hello, we are aware of this issue and trying to fix it asap

authors: Akryum hmt jbreuil yshrsmz

repo: histoire-dev/histoire


text:
[NM-76] Update test data

Description
Jeff has updated the test data, this PR goes through and updates that and its uses in tests
In screenshots should see

Date change
More data points in output plots
Only 1 survey selected (2 previously)

Type of version change
None
Checklist

[ ] I have incremented version number, or version needs no increment
[ ] The build passed successfully, or failed because of ADR tests

/update-screenshots

/update-snapshots

repo: hivtools/hint


text:
全参数微调千问1.8B，显存不足

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
CUDA_VISIBLE_DEVICES=0 python src/train_bash.py     --stage pt     --model_name_or_path /Qwen-1_8B     --do_train     --dataset wiki     --finetuning_type full     --lora_target c_attn          --output_dir /Qwen-1_8B-checkpoint     --overwrite_cache     --per_device_train_batch_size 2     --gradient_accumulation_steps 2     --lr_scheduler_type cosine     --logging_steps 10     --save_steps 1000     --learning_rate 5e-5     --num_train_epochs 1.0     --plot_loss     --template qwen     --fp16
单张V100 32G 提示显存不足，使用https://github.com/Clouditera/secgpt  可以全参数微调，有办法降低项目的全参数微调的显存占用吗？
Expected behavior
No response
System Info
No response
Others
No response

deepspeed cpu 卸载

减小 --cutoff_len 和 --per_device_train_batch_size

deepspeed cpu 卸载

没理解，我没用deepspeed

减小 --cutoff_len 和 --per_device_train_batch_size

--per_device_train_batch_size 再降就变成1了

per_device_train_batch_size改为1 --cutoff_len 为256任然爆显存

authors: PolarPeak fangcao1314 hiyouga

repo: hiyouga/LLaMA-Factory


text:
evaluate代码各种报错，貌似是template参数不一致，请求更新evaluate代码

按照ReadMe评测MMLU报错（缺少参数）：
LLaMA-Factory/src/llmtuner/eval/evaluator.py", line 68, in eval
    messages = self.eval_template.format_example(
TypeError: EvalTemplate.format_example() missing 1 required positional argument: 'use_history'

手动添加use_history参数后报错（缺少参数）：
LLaMA-Factory/src/llmtuner/eval/evaluator.py", line 75, in eval
    input_ids, _ = self.template.encode_oneturn(
TypeError: Template.encode_oneturn() missing 2 required positional arguments: 'system' and 'tools'

应该是LLaMA-Factory/src/llmtuner/eval/evaluator.py与LLaMA-Factory/src/llmtuner/eval/template.py很多函数参数不一致导致的报错，麻烦更新一下evaluate代码，谢谢！

晚上修复

authors: PursuitYP hiyouga


text:
vLLM是否已经支持lora？

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
请教一下哈，现在vllm支持lora吗？现在不支持的话，大约什么时候可以支持呢？感谢。
Expected behavior
No response
System Info
No response
Others
No response

目前不支持，你可以合并导出模型后再使用完整版模型即可。


text:
🛑 Reime ohne Sinn und Verstand is down

In 8adb3c3, Reime ohne Sinn und Verstand (https://www.reimeohnesinnundverstand.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Reime ohne Sinn und Verstand is back up in 40770f9 after 1 hour, 25 minutes.

repo: hjstrauss/MonitorMySites


text:
🛑 Reime ohne Sinn und Verstand is down

In d2d89ce, Reime ohne Sinn und Verstand (https://www.reimeohnesinnundverstand.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Reime ohne Sinn und Verstand is back up in 1229a44 after 8 minutes.


text:
🛑 Griffo is down

In 52b1c13, Griffo (https://www.griffo.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Griffo is back up in e97cf91 after 8 minutes.


text:
🛑 Opa Hansi is down

In 70351d4, Opa Hansi (https://www.opahansi.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Opa Hansi is back up in 0c307dc after 46 minutes.


text:
Feature/v6.0

Azure DevOps java sdk pull request template guide
Thank you for your interest in contributing to this project.
Description
This is a complete re-write of the library that brings additional features and breaking changes to the current version.
See issue 69 for more details.
PR Checklist

[x] Added help
[x] Added unit test/s
[x] Updated Change log

Merging the PR for v6.0 release.


text:
feat: added test results endpoints

Description
Added test results endpoints (create/list/get/update).
https://learn.microsoft.com/en-us/rest/api/azure/devops/test/results?view=azure-devops-rest-7.2
PR Checklist

[ ] Added help
[x] Added unit test/s
[x] Updated Change log

Hiya @galimru, Thanks for raising the PR, happy to merge.

Nothing, I’ve merged the changes. Thanks again for raising it.


text:
load and train the model

how to load the previous model and continue training on that checkpoint ?

how to load the previous model and continue training on that checkpoint ?

i am also facing same doubt. Can you provide any example. In particular for CNN and LSTM networks.

authors: Gauri-Prajapati dimanshu

repo: hkveeranki/speech-emotion-recognition


text:
Memory leak or GC not working

Hi,
im using the latest image. (will try the stable as recommended and will update in case it solve it)

as you can see in the attached screenshot, the memory keep increasing.
there are many warnings in the log (not sure if related):
java.lang.NullPointerException: null 2020-02-10 20:21:35,636 - [WARN] k.m.a.c.KafkaManagedOffsetCache - Failed to process a message from offset topic on cluster Confluent_Kafka_Ansible!
top command output:
Mem: 8734424K used, 7689856K free, 5300K shrd, 439584K buff, 2686228K cached CPU:   5% usr   0% sys   0% nic  93% idle   0% io   0% irq   0% sirq Load average: 2.02 2.00 1.91 2/485 3915   PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND     1     0 root     S    5824m  34%   0   1% /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Duser.dir=//kafka-manager -Dpidfile.path=/dev/null -D  3840     0 root     S     2308   0%   2   0% /bin/bash  3859  3840 root     R     1532   0%   0   0% top
any suggestions?

hey,
any results on stable image?
btw, I can trigger to rebuild latest image from new master https://github.com/yahoo/CMAK

hey,
I tried the latest version but the got same issue, moreover i tried different repos (CMAK one of them) and got the same issue... is it possible that this issue related to incompatibility versions of Kafka and kafka-manager? or the amount of data on the brokers? we have thousands of consumer groups and it keeps growing

hey,
I tried the latest version but the got same issue, moreover i tried different repos (CMAK one of them) and got the same issue... is it possible that this issue related to incompatibility versions of Kafka and kafka-manager? or the amount of data on the brokers? we have thousands of consumer groups and it keeps growing

Sorry for the late reply. I think kafka manager has memory leak somewhere. But, for most installations, only a few brokers in use, so the lean affect is invisible.  I can only suggest you just make kafka manager restartable after some point, based on memory metrics.

@vicmerlis you can also try newer version -  3.0.0.4

Not helping :
There is an open issue in yahoo CMAK https://github.com/yahoo/CMAK/issues/458

seems 3.0.0.4 fixed problem? Also, we applied suggested change(set MaxRAMPercentage to 80%) at build time via JAVA_OPTS.
I will close this issue, thanks for patience!

authors: hleb-albau vicmerlis

repo: hleb-albau/kafka-manager-docker


text:
[BUG] execute C-a or C-e command in the comment line of go-mode, emacs is stuck

What did you expect to happen?
execute the C-a or C-e command normally in the comment line of go-mode
What actually happened?
execute C-a or C-e command in the comment line of go-mode, emacs is stuck
only use the C-g command to exit

Can you produce a backtrace from that? Run M-x toggle-debug-on-quit, then C-g will throw up a backtrace.

Can you produce a backtrace from that? Run M-x toggle-debug-on-quit, then C-g will throw up a backtrace.

Debugger entered--Lisp error: (quit)
  #f(compiled-function () #)()
  syntax-ppss(1060)
  (let ((ppss (syntax-ppss pos))) (or (nth 4 ppss) (nth 8 ppss) (and (< pos (point-max)) (memq (char-syntax (char-after pos)) '(60 62)) (not (eq (char-after pos) 10))) (let* ((s (and t (car (syntax-after pos))))) (if s (or (and (/= 0 (logand ... s)) (nth 4 (syntax-ppss ...))) (and (/= 0 (logand ... s)) (nth 4 (syntax-ppss ...))) (and (/= 0 (logand ... s)) (nth 4 (syntax-ppss ...))) (and (/= 0 (logand ... s)) (nth 4 (syntax-ppss ...)))) nil))))
  (or (run-hook-with-args-until-success 'doom-point-in-comment-functions pos) (let ((ppss (syntax-ppss pos))) (or (nth 4 ppss) (nth 8 ppss) (and (< pos (point-max)) (memq (char-syntax (char-after pos)) '(60 62)) (not (eq (char-after pos) 10))) (let* ((s (and t (car ...)))) (if s (or (and (/= 0 ...) (nth 4 ...)) (and (/= 0 ...) (nth 4 ...)) (and (/= 0 ...) (nth 4 ...)) (and (/= 0 ...) (nth 4 ...))) nil)))))
  (let ((pos (or pos (point)))) (or (run-hook-with-args-until-success 'doom-point-in-comment-functions pos) (let ((ppss (syntax-ppss pos))) (or (nth 4 ppss) (nth 8 ppss) (and (< pos (point-max)) (memq (char-syntax (char-after pos)) '(60 62)) (not (eq (char-after pos) 10))) (let* ((s (and t ...))) (if s (or (and ... ...) (and ... ...) (and ... ...) (and ... ...)) nil))))))
  doom-point-in-comment-p()
  (and (doom-point-in-comment-p) (> (point) bol))
  (while (and (doom-point-in-comment-p) (> (point) bol)) (backward-char))
  (if (not comment-use-syntax) (progn (goto-char bol) (if (re-search-forward comment-start-skip eol t) (progn (or (match-end 1) (match-beginning 0))))) (goto-char eol) (while (and (doom-point-in-comment-p) (> (point) bol)) (backward-char)) (skip-chars-backward " " bol) (if (or (eq (char-after) 32) (eolp)) nil (forward-char)) (point))
  (save-excursion (if (not comment-use-syntax) (progn (goto-char bol) (if (re-search-forward comment-start-skip eol t) (progn (or (match-end 1) (match-beginning 0))))) (goto-char eol) (while (and (doom-point-in-comment-p) (> (point) bol)) (backward-char)) (skip-chars-backward " " bol) (if (or (eq (char-after) 32) (eolp)) nil (forward-char)) (point)))
  (or (save-excursion (if (not comment-use-syntax) (progn (goto-char bol) (if (re-search-forward comment-start-skip eol t) (progn (or (match-end 1) (match-beginning 0))))) (goto-char eol) (while (and (doom-point-in-comment-p) (> (point) bol)) (backward-char)) (skip-chars-backward " " bol) (if (or (eq (char-after) 32) (eolp)) nil (forward-char)) (point))) eol)
  (let* ((bol (if visual-line-mode (save-excursion (beginning-of-visual-line) (point)) (line-beginning-position))) (bot (save-excursion (goto-char bol) (skip-chars-forward " \11\15") (point))) (eol (if visual-line-mode (save-excursion (end-of-visual-line) (point)) (line-end-position))) (eot (or (save-excursion (if (not comment-use-syntax) (progn (goto-char bol) (if ... ...)) (goto-char eol) (while (and ... ...) (backward-char)) (skip-chars-backward " " bol) (if (or ... ...) nil (forward-char)) (point))) eol))) (list bol bot eot eol))
  doom--bol-bot-eot-eol(1062)
  (let* ((--cl-rest-- (doom--bol-bot-eot-eol pt)) (_bol (if (= (length --cl-rest--) 4) (car-safe (prog1 --cl-rest-- (setq --cl-rest-- (cdr --cl-rest--)))) (signal 'wrong-number-of-arguments (list '(_bol _bot eot eol) (length --cl-rest--))))) (_bot (car-safe (prog1 --cl-rest-- (setq --cl-rest-- (cdr --cl-rest--))))) (eot (car-safe (prog1 --cl-rest-- (setq --cl-rest-- (cdr --cl-rest--))))) (eol (car --cl-rest--))) (cond ((< pt eot) (goto-char eot)) ((= pt eol) (goto-char (or doom--last-forward-pt eot)) (setq doom--last-forward-pt nil)) ((>= pt eot) (setq doom--last-backward-pt pt) (goto-char eol))))
  (let ((pt (or point (point)))) (let* ((--cl-rest-- (doom--bol-bot-eot-eol pt)) (_bol (if (= (length --cl-rest--) 4) (car-safe (prog1 --cl-rest-- (setq --cl-rest-- ...))) (signal 'wrong-number-of-arguments (list '... (length --cl-rest--))))) (_bot (car-safe (prog1 --cl-rest-- (setq --cl-rest-- (cdr --cl-rest--))))) (eot (car-safe (prog1 --cl-rest-- (setq --cl-rest-- (cdr --cl-rest--))))) (eol (car --cl-rest--))) (cond ((< pt eot) (goto-char eot)) ((= pt eol) (goto-char (or doom--last-forward-pt eot)) (setq doom--last-forward-pt nil)) ((>= pt eot) (setq doom--last-backward-pt pt) (goto-char eol)))))
  doom/forward-to-last-non-comment-or-eol(1062)
  funcall-interactively(doom/forward-to-last-non-comment-or-eol 1062)
  call-interactively(doom/forward-to-last-non-comment-or-eol nil nil)
  command-execute(doom/forward-to-last-non-comment-or-eol)

Evil is not installed

The problem was not found after executing the doom build command again

repo: hlissner/doom-emacs


text:
fix the issue: open brace indentation in cc-mode #510

the braces should be indented like below:
if ( a < b )
{
// code
}

Try this instead:
(setq-hook! 'c-mode-common-hook electric-indent-inhibit nil)

Doom uses a combination of smartparens and electric-indent-mode to manage indentation (universally, for all braced languages), so I'd like to use that instead of cc-mode's.

I've incorporated electric-indentation across the board, for a number of languages included the C family, so I'll consider this issue resolved and close this. Thanks for bringing it to my attention.

authors: hlissner ustcpxy


text:
Improvements to notmuch module

This PR adds various features to the notmuch module

Filter read messages in notmuch show (by folding them automatically)
Refresh all notmuch buffers after sync (via process sentinel)
Support custom sync commands (introduces an additional defvar)
Add command to select From email prior to composing via ivy

I wasn't sure if you prefer separate diff or one big diff. Please let me know if you want me to split this into separate PRs.

Thanks for the review. I also added some basic key bindings under localleader.

Looks good to me! Thanks for the help!

authors: hlissner mnick


text:
Doom One comment colors

I've noticed that a lot of themes (not just for Emacs) prefers to "de-highlight" comments, usually making them grey and "ghosted". My guess is (and I might be wrong here) that most theme authors consider comments as second class citizens to the code, but I think that's a mistake. Good code is mostly self-evident, requiring no comments. But when comments is needed to explain the "why" to the codes "how", or just what exactly is going on, they're just as important as the code itself, if not more.
I've used Emacs default color scheme for many years, and while unsexy in many ways, it did have the advantage of coloring comments in "Firebrick".
So I've come up with the following override for doom-one I'll submit for your consideration:
  ;; Make comments starker colors.
  (set-face-foreground 'font-lock-comment-face (doom-lighten 'cyan .5))
  (set-face-foreground 'font-lock-doc-face (doom-lighten 'cyan .25))

Most, if not all, of our themes have a doom-X-brighter-comments option. Including doom-one.

Most, if not all, of our themes have a doom-X-brighter-comments option. Including doom-one.

Well, I'm not fan of changing the background too. Think it drowns out hl-line and the cursor.
Oh right, I should be using custom-set-faces. BTW, is there a way to adjust the pseudo-colors like bg and bg-alt, or do I have to figure out how they're used and change the individual faces? I seem to be getting old, I'd like some more contrast.

Well, I'm not fan of changing the background too. Think it drowns out hl-line and the cursor.

Sorry, I forgot to mention. Themes also have a doom-*-comment-bg variable. It defaults to the value of doom-*-brighter-comments. When set to t comments are made brighter by changing their background.
This will give you brighter comments without the background:
(setq doom-one-brighter-comments t
      doom-one-comment-bg nil)

is there a way to adjust the pseudo-colors like bg and bg-alt

I'm afraid not without copying the them, making your local adjustments, and loading that instead.

Oh, hmm... Still darker than the code, but aesthetically pleasing. I'll give it a try and see. When comparing I still think it's a tad too dark, but my colors are pretty screaming, so there might be a bit of Stockholm syndrome yet.

I'm afraid not without copying the theme, making your local adjustments, and loading that instead.

Ah, OK. That seems a bit overkill now that I've seemed to have nailed down the ones i need to fix.

authors: hlissner xendk

repo: hlissner/emacs-doom-themes


text:
Evaluation guide

Dear authors,
I read your paper 'Multilingual ColBERT-X' and the evaluation and test on CLEF are very impressed. But there isn't any description in README.
Could you update the detailed instructions for inference and PRF?
Thanks!

Oops, sorry for missing your issue.
We put together a tutorial on how to use the package here.
https://github.com/hltcoe/clir-tutorial with a pretty nice notebook.
Hope this would help.
And for the PRF part, we currently don't have that ability in our codebase.
But you can use the version in pyterrier: https://github.com/terrierteam/pyterrier_colbert

authors: eugene-yang jinruiyang

repo: hltcoe/ColBERT-X


text:
Add Option for selected text to just be transparent (show background image through bubble)

Masks?

Fixed in commit 6704a6f874e46f99613e35ed274eb6bc67f20260


text:
SIDM-7016 Add saat variable declaration, Environment test.

Notes:
*
*
*

saat should convert to sandbox (I've fixed it)

I wondered why Jenkins spawned two new builds. Thanks

repo: hmcts/cnp-jenkins-library


text:
Configuration#9: Step#1: alpha_S=0.4, matter: q_0=1 | matterlbt: q_0=2.5: matter06

run the simulation with the above config by jetscape,
transfer the final state hadron to the related directory named as config-XX-final-state-hadrons
after doing step1 on all 12 simulations go to step 2 for the configurationX

port to Excel for overleaf


text:
MDS-510 | Added examples and updated documentation

Addresses and contact details sorted

Sorting GPG keys now

repo: hmrc/individuals-details-api


text:
ST-410: Tax Free Amount Comparison

[x] Unit tests passing
[x] Coverage reached
[ ] Acceptance tests passing
[ ] Reviewed

@lewey I have adjusted a couple methods and params in relation to your comment

repo: hmrc/tai


text:
Changed README

Because the demonstrated problems are fixed in the meantime.

@philippeowagner Thanks for your pull request. Could you rebase it on the latest commit?

authors: hnakamur philippeowagner


text:
Feat: implement soft deletion and get organisation by Id and e2e test

Description
I worked on the endpoint to retrieve an organisation. This endpoint ensures the user is authenticated before the retrieval action is successful, it validates that the user created the organisation. It checks for invalid organisation Id and returns the appropriate errors.

Related Issue (Link to Github issue)
#116
#117

How Has This Been Tested?
It was tested using go inbuilt testing library and all test scenarios passed

Screenshots (if appropriate - Postman, etc):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Please provide a screenshot of passed testcases

done


text:
Nautical miles unit printing issue

nmi#exact gets printed instead of nmi, but only when using nautical_miles as the unit string.
In [1]: from gpkit import Variable, Model, units

In [2]: x = Variable('x', 'nautical_miles')

In [3]: m = Model(x, [x >= 1*units.nautical_miles])

In [4]: m.solve()
Using solver 'mosek'
Solving for 1 variables.
Solving took 0.0142 seconds.

Cost
----
 1 [nmi#exact]

Free Variables
--------------
x : 1  [nmi#exact]

Sensitivities
-------------

In [5]: y = Variable('y', 'nmi')

In [6]: m = Model(y, [y >= 1*units.nmi])

In [7]: m.solve()
Using solver 'mosek'
Solving for 1 variables.
Solving took 0.0176 seconds.

Cost
----
 1 [nmi]

Free Variables
--------------
y : 1  [nmi]

Sensitivities
-------------

This only occurs on pint 0.7.2 and is caused by https://github.com/hgrecco/pint/issues/366.

authors: pgkirsch whoburg

repo: hoburg/gpkit


text:
Add hypertrace instrumentation

Adding hypertrace instrumentation. Also added to https://github.com/holepunchto/hyperdht/pull/158

@mafintosh @freeall should this be merged or closed?

authors: billiegoose freeall

repo: holepunchto/dht-rpc


text:
Improved docstrings

I went through the example docstrings to make them even more useful by

Aligning their language
Adding useful links to technologies some users might not be familiar with
Changing ChatInterface to ChatInterface.
etc.

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (46090f9) 98.41% compared to head (25cc232) 98.41%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #59   +/-   ##
=======================================
  Coverage   98.41%   98.41%
=======================================
  Files           2        2
  Lines          63       63
=======================================
  Hits           62       62
  Misses          1        1

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

I think we could further expand on the docstrings using ChatGPT to get the desired language, but doesn't have to be this PR.

repo: holoviz-topics/panel-chat-examples


text:
Bug when overlaying scatter and errorbars from Example in Documentation

Hello,
the example at https://hvplot.holoviz.org/reference/pandas/errorbars.html  seems not to work.
Complete, minimal, self-contained example code that reproduces the issue
import hvplot.pandas  # noqa

from bokeh.sampledata import perceptions

data = perceptions.numberly.describe().transpose().sort_values('mean')

data.hvplot.scatter(y='mean', ylabel='amount') * data.hvplot.errorbars(y='mean', yerr1='std')

Stack traceback and/or browser JavaScript console output
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
c:\users\r2d2\.venv\lib\site-packages\IPython\core\formatters.py in __call__(self, obj, include, exclude)
    968
    969             if method is not None:
--> 970                 return method(include=include, exclude=exclude)
    971             return None
    972         else:

c:\users\r2d2\.venv\lib\site-packages\holoviews\core\dimension.py in _repr_mimebundle_(self, include, exclude)
   1315         combined and returned.
   1316         """
-> 1317         return Store.render(self)
   1318
   1319

c:\users\r2d2\.venv\lib\site-packages\holoviews\core\options.py in render(cls, obj)
   1403         data, metadata = {}, {}
   1404         for hook in hooks:
-> 1405             ret = hook(obj)
   1406             if ret is None:
   1407                 continue

c:\users\r2d2\.venv\lib\site-packages\holoviews\ipython\display_hooks.py in pprint_display(obj)
    280     if not ip.display_formatter.formatters['text/plain'].pprint:
    281         return None
--> 282     return display(obj, raw_output=True)
    283
    284

c:\users\r2d2\.venv\lib\site-packages\holoviews\ipython\display_hooks.py in display(obj, raw_output, **kwargs)
    250     elif isinstance(obj, (CompositeOverlay, ViewableElement)):
    251         with option_state(obj):
--> 252             output = element_display(obj)
    253     elif isinstance(obj, (Layout, NdLayout, AdjointLayout)):
    254         with option_state(obj):

c:\users\r2d2\.venv\lib\site-packages\holoviews\ipython\display_hooks.py in wrapped(element)
    144         try:
    145             max_frames = OutputSettings.options['max_frames']
--> 146             mimebundle = fn(element, max_frames=max_frames)
    147             if mimebundle is None:
    148                 return {}, {}

c:\users\r2d2\.venv\lib\site-packages\holoviews\ipython\display_hooks.py in element_display(element, max_frames)
    190         return None
    191
--> 192     return render(element)
    193
    194

c:\users\r2d2\.venv\lib\site-packages\holoviews\ipython\display_hooks.py in render(obj, **kwargs)
     66         renderer = renderer.instance(fig='png')
     67
---> 68     return renderer.components(obj, **kwargs)
     69
     70

c:\users\r2d2\.venv\lib\site-packages\holoviews\plotting\renderer.py in components(self, obj, fmt, comm, **kwargs)
    408                 doc = Document()
    409                 with config.set(embed=embed):
--> 410                     model = plot.layout._render_model(doc, comm)
    411                 if embed:
    412                     return render_model(model, comm)

c:\users\r2d2\.venv\lib\site-packages\panel\viewable.py in _render_model(self, doc, comm)
    425         if comm is None:
    426             comm = state._comm_manager.get_server_comm()
--> 427         model = self.get_root(doc, comm)
    428
    429         if config.embed:

c:\users\r2d2\.venv\lib\site-packages\panel\viewable.py in get_root(self, doc, comm, preprocess)
    482         """
    483         doc = init_doc(doc)
--> 484         root = self._get_model(doc, comm=comm)
    485         if preprocess:
    486             self._preprocess(root)

c:\users\r2d2\.venv\lib\site-packages\panel\layout\base.py in _get_model(self, doc, root, parent, comm)
    111         if root is None:
    112             root = model
--> 113         objects = self._get_objects(model, [], doc, root, comm)
    114         props = dict(self._init_params(), objects=objects)
    115         model.update(**self._process_param_change(props))

c:\users\r2d2\.venv\lib\site-packages\panel\layout\base.py in _get_objects(self, model, old_objects, doc, root, comm)
    101             else:
    102                 try:
--> 103                     child = pane._get_model(doc, root, model, comm)
    104                 except RerenderError:
    105                     return self._get_objects(model, current_objects[:i], doc, root, comm)

c:\users\r2d2\.venv\lib\site-packages\panel\pane\holoviews.py in _get_model(self, doc, root, parent, comm)
    237             plot = self.object
    238         else:
--> 239             plot = self._render(doc, comm, root)
    240
    241         plot.pane = self

c:\users\r2d2\.venv\lib\site-packages\panel\pane\holoviews.py in _render(self, doc, comm, root)
    302                 kwargs['comm'] = comm
    303
--> 304         return renderer.get_plot(self.object, **kwargs)
    305
    306     def _cleanup(self, root):

c:\users\r2d2\.venv\lib\site-packages\holoviews\plotting\bokeh\renderer.py in get_plot(self_or_cls, obj, doc, renderer, **kwargs)
     71         combining the bokeh model with another plot.
     72         """
---> 73         plot = super(BokehRenderer, self_or_cls).get_plot(obj, doc, renderer, **kwargs)
     74         if plot.document is None:
     75             plot.document = Document() if self_or_cls.notebook_context else curdoc()

c:\users\r2d2\.venv\lib\site-packages\holoviews\plotting\renderer.py in get_plot(self_or_cls, obj, doc, renderer, comm, **kwargs)
    241             init_key = tuple(v if d is None else d for v, d in
    242                              zip(plot.keys[0], defaults))
--> 243             plot.update(init_key)
    244         else:
    245             plot = obj

c:\users\r2d2\.venv\lib\site-packages\holoviews\plotting\plot.py in update(self, key)
    980     def update(self, key):
    981         if len(self) == 1 and ((key == 0) or (key == self.keys[0])) and not self.drawn:
--> 982             return self.initialize_plot()
    983         item = self.__getitem__(key)
    984         self.traverse(lambda x: setattr(x, '_updated', True))

c:\users\r2d2\.venv\lib\site-packages\holoviews\plotting\bokeh\element.py in initialize_plot(self, ranges, plot, plots)
   2350                     title = get_tab_title(key, frame, self.hmap.last)
   2351                 panels.append(Panel(child=child, title=title))
-> 2352             self._merge_tools(subplot)
   2353
   2354         if self.tabs:

c:\users\r2d2\.venv\lib\site-packages\holoviews\plotting\bokeh\element.py in _merge_tools(self, subplot)
   2286                 hover_renderers = [] if hover.renderers == 'auto' else hover.renderers
   2287                 renderers = tool_renderers + hover_renderers
-> 2288                 tool.renderers = list(util.unique_iterator(renderers))
   2289                 if 'hover' not in self.handles:
   2290                     self.handles['hover'] = tool

c:\users\r2d2\.venv\lib\site-packages\bokeh\core\has_props.py in __setattr__(self, name, value)
    295
    296         if name in props or (descriptor is not None and descriptor.fset is not None):
--> 297             super().__setattr__(name, value)
    298         else:
    299             matches, text = difflib.get_close_matches(name.lower(), props), "similar"

c:\users\r2d2\.venv\lib\site-packages\bokeh\core\property\descriptors.py in __set__(self, obj, value, setter)
    550             raise RuntimeError(f"{class_name}.{self.name} is a readonly property")
    551
--> 552         self._internal_set(obj, value, setter=setter)
    553
    554     def __delete__(self, obj):

c:\users\r2d2\.venv\lib\site-packages\bokeh\core\property\descriptors.py in _internal_set(self, obj, value, hint, setter)
    782
    783         """
--> 784         value = self.property.prepare_value(obj, self.name, value)
    785         old = self._get(obj)
    786         self._real_set(obj, old, value, hint=hint, setter=setter)

c:\users\r2d2\.venv\lib\site-packages\bokeh\core\property\bases.py in prepare_value(self, owner, name, value)
    348         else:
    349             obj_repr = owner if isinstance(owner, HasProps) else owner.__name__
--> 350             raise ValueError(f"failed to validate {obj_repr}.{name}: {error}")
    351
    352         if isinstance(owner, HasProps):

ValueError: failed to validate HoverTool(id='1007', ...).renderers: expected an element of either Auto or List(Instance(DataRenderer)), got [None]

Not sure what to do about this

just saw that its a duplicate of #572

repo: holoviz/hvplot


text:
Cloudpickle compatibility

params 1.13.0
cloudpickle  2.2.1
python 3.11
Ubuntu 22.04
The docs recommend Cloudpickle as a way to pickle Parameterized classes with lambda functions, but even the most basic Parameterized object (with or without lambdas) cannot be pickled with cloudpickle :
import param
import cloudpickle

class MyParams(param.Parameterized):
    a = param.Integer()
    b = param.Integer()
    # sum_pull = Integer(lambda : p.a + p.b)

p = MyParams()
pkl = cloudpickle.dumps(p)
p2 = cloudpickle.loads(pkl)

Output
File [/param/parameterized.py:1685), in Parameters.__setstate__(self, state)
   1682 def __setstate__(self, state):
   1683     # Set old parameters state on Parameterized._parameters_state
   1684     self_or_cls = state.get('self', state.get('cls'))
-> 1685     for k in self_or_cls._parameters_state:
   1686         key = '_'+k
   1687         if key in state:

AttributeError: 'NoneType' object has no attribute '_parameters_state'

Hi @samimia-swks,
cloudpickle is indeed mentioned in the docs, albeit in a pretty light way 🙃

lambdas cannot easily be pickled for saving and restoring state (though see cloudpickle for an alternative to pickle that does support lambdas)

Unfortunately it seems that Param doesn't support it out of the box, even for very simple cases like the one you tried above. It'd be nice to add support for cloudpickle (and fix the original support for pickle if it's been broken in some ways), contributions in the area of serializing/deserializing Param objects are welcomed :) !

Hi @maximlt,
I was able to figure out that cloudpickle (or dill) support was broken by https://github.com/holoviz/param/pull/386 which is between version 1.9.3 and 1.10.0.
If I remove the offending lines of code, which are the definition setstate() method for the Parameters class, I can get cloudpickle to work even on the latest 1.13.0 version :
    def __setstate__(self, state):
        # Set old parameters state on Parameterized._parameters_state
        self_or_cls = state.get('self', state.get('cls'))
        for k in self_or_cls._parameters_state:
            key = '_'+k
            if key in state:
                self_or_cls._parameters_state[k] = state.pop(key)
        for k, v in state.items():
            setattr(self, k, v)

From what I understand, this is a method that's called by pickle after unpickeling. However, I can't tell what it is doing because  things still seem to work without it. My knowledge of python and this project is not nearly good enough to figure this out in the short terrm :)
Perhaps @philippjfr, who authored this code can clarify.

Thanks @samimia-swks I'm sure that's going to be very helpful!

authors: maximlt samimia-swks

repo: holoviz/param


text:
Run as root

both devcontainer_bootstrap and supervisor_run fail unless run as root

Duplicate of https://github.com/home-assistant/devcontainer/pull/30

What's the recommended way to use this then? Since running whole VSCode server as root messes up permissions, should we change this and the task file to sudo, at least until a better solution is implemented?

Personally I just use my change from #30 in all these now.
Maybe @agners / @mdegat01 has a better option?

My take on this is still https://github.com/home-assistant/supervisor/pull/3969...

Sure, but thats been open for 24 days, and is only 1 of many repos that needs adjustments

Hm I see. Maybe the better approach is then to "revert" the VSCode change by defaulting back to root as remoteUser here, and explicitly use vscode in repositories where we are ready? The Supervisor PR does set it explicitly already.

IMO yes (which is why I created PRs in all affected repos back then).

authors: agners juliekoubova ludeeus

repo: home-assistant/devcontainer


text:
Update timesyncd.conf

Set the default NTP servers to ntp.pool.org and Google NTP as fallback, avoiding defaulting to a less open and transparent service.

We don't do that. Because of the anycast technology, the device receives the best and shortest way to next time server. NTP Pool is an excellent project, and we use this as a fallback, but if you don't can give a region like 0.de.pool.ntp.org, they have a bad load and long time to adjust the correct date time.

authors: magnusoverli pvizeli

repo: home-assistant/hassos


text:
Tradfri

**Home Assistant release (hass --version): 0.56.2
**Python release (python3 --version):3.5
**Component/platform: Raspbery pi model 1, and/or windows 10
**Description of problem: HASS first installed on PI, and runs ok, but discovers nothing. I have added tradfri to configuration yaml. This still doesn't work, and looking at the error messages I can see if seems to be missing DTLSSockets, so I try to install this. After many frustrated hours I find that google advises me to install Cython before installing DTLSSockets. This is the end of the road for my attempt to use HASS on PI, as Cython won't install (after literally hours of waiting it fails to install, citing a lack of memory). So it seems HASS to control Tradfri using PI is a no  go.
Now I waste a couple of hours trying to install HASS on my synology NAS. This was even more frsutrating than the PI, and ended when I hit a brick wall as the instructions I was following said to create a daemon file. That totally baffled me, and nowhere can I find advice on how to create a daemon file (and when I say advice, I mean something step by step, inlcuding what file name extension to use, rather than the "create a daemon file" posted by the helpful soul who left their advice on the net), so I gave up on the synology. This is probably something I shouldn't have started, so I wasn't too depressed about this, other than another couple of lost hours.  I don't really want to add to the overhead on the NAS any way, so I moved to the much more familiar windows 10. I figure if it works, then maybe I'll splash out on a PI3 and hope for better luck than with the PI. Installation of python and HASS in windows 10 was a breeze ... I mean really quick and easy comparred to the frustrating day I just spent with the PI. But I have the same problem with Tradfri. HASS tells me "The following components and platforms could not be set up: discovery  &   tradfri" and if I look in the command promt I can see the following errors which seem depressingly familiar
"[32m2017-10-29 22:53:43 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of DTLSSocket==0.1.3[0m
[31m2017-10-29 22:53:44 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package DTLSSocket==0.1.3: Command "python setup.py egg_info" failed with error code 1 in C:\Users\User\AppData\Local\Temp\pip-build-0cfktodh\DTLSSocket[0m
[31m2017-10-29 22:53:44 ERROR (MainThread) [homeassistant.setup] Not initializing tradfri because could not install dependency DTLSSocket==0.1.3[0m
[31m2017-10-29 22:53:44 ERROR (MainThread) [homeassistant.setup] Setup failed for tradfri: Could not install all requirements.[0m"
any suggestion how I can simply get homeassistant working with tradfri would be very gratefully received.

Looks like there's additional conversation in #10119 which might be useful.

And more in #9752

Final update from me: looks like this will be fixed in 0.56.3 https://github.com/home-assistant/home-assistant/milestone/96?closed=1

Greg, your super quick response if really very helpful, thanks.
Though I'm no expert, I had foudn the first two threads you shared, which led me to understand I needed Cython. That's what led to me discovering the current version of Cython won't install on an original PI.
I am delighted / excited to learn 56.3 will save me !

Is this working now?

Unfortunately not.
Impossible to install  DTLSSocket, no matter version, no matter in cygwin etc is pre installed. I have tried many versions of python as well.

One example of a verbose dump:
C:>pip3 install DTLSSocket -v
Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
Collecting DTLSSocket
1 location(s) to search for versions of DTLSSocket:

https://pypi.python.org/simple/dtlssocket/
Getting page https://pypi.python.org/simple/dtlssocket/
Looking up "https://pypi.python.org/simple/dtlssocket/" in the cache
Current age based on date: 497
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The response is "fresh", returning cached response
600 > 497
Analyzing links from page https://pypi.python.org/simple/dtlssocket/
Found link https://pypi.python.org/packages/05/aa/2ce2b75307a9293d02dec980d2fbac2187175840c64e3b7c232fd04b14b9/DTLSSocket-0.1.0.tar.gz#md5=c5d7d2c7d8505973282fcfeefa28d549 (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.0
Found link https://pypi.python.org/packages/0c/3f/f65ca50a68b2e4d993e09fec508a65f85529fa9e0a07347ed1a73b7d3732/DTLSSocket-0.1.2.tar.gz#md5=08ea55c4968b3d4e68bd592ac3e1b6be (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.2
Found link https://pypi.python.org/packages/28/ea/9a8f0a55cfb06643c9ca6533d0fab63c413caf4e67cfbbc88b23436dbcf4/DTLSSocket-0.1.3.tar.gz#md5=3f38a270ca4ade57f18e3030b209a7de (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.3
Found link https://pypi.python.org/packages/3a/c1/d1f41b90a58fcba9202bf649be117abbed884176260302fed5e1144f09f6/DTLSSocket-0.1.4.tar.gz#md5=bcef26a5320348905e3df61d65e983c3 (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.4
Found link https://pypi.python.org/packages/ef/38/2442b0bccd2dbf2b2dcc472612a061b3479d40f82feebba864b44dd65983/DTLSSocket-0.1.1.tar.gz#md5=91a349d31ea48e5f5068719c1b96e986 (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.1
Using version 0.1.4 (newest of versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4)
Looking up "https://pypi.python.org/packages/3a/c1/d1f41b90a58fcba9202bf649be117abbed884176260302fed5e1144f09f6/DTLSSocket-0.1.4.tar.gz" in the cache
Current age based on date: 1149397
Freshness lifetime from max-age: 31557600
The response is "fresh", returning cached response
31557600 > 1149397
Using cached DTLSSocket-0.1.4.tar.gz
Downloading from URL https://pypi.python.org/packages/3a/c1/d1f41b90a58fcba9202bf649be117abbed884176260302fed5e1144f09f6/DTLSSocket-0.1.4.tar.gz#md5=bcef26a5320348905e3df61d65e983c3 (from https://pypi.python.org/simple/dtlssocket/)
Running setup.py (path:C:\Temp\pip-build-z2pekt7c\DTLSSocket\setup.py) egg_info for package DTLSSocket
Running command python setup.py egg_info
Compiling DTLSSocket/dtls.pyx because it depends on c:\python35-32\lib\site-packages\Cython\Includes\libc\stdint.pxd.
[1/1] Cythonizing DTLSSocket/dtls.pyx
running egg_info
creating pip-egg-info\DTLSSocket.egg-info
writing dependency_links to pip-egg-info\DTLSSocket.egg-info\dependency_links.txt
writing requirements to pip-egg-info\DTLSSocket.egg-info\requires.txt
writing pip-egg-info\DTLSSocket.egg-info\PKG-INFO
writing top-level names to pip-egg-info\DTLSSocket.egg-info\top_level.txt
writing manifest file 'pip-egg-info\DTLSSocket.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\DTLSSocket.egg-info\SOURCES.txt'
writing manifest file 'pip-egg-info\DTLSSocket.egg-info\SOURCES.txt'
Source in c:\temp\pip-build-z2pekt7c\dtlssocket has version 0.1.4, which satisfies requirement DTLSSocket from https://pypi.python.org/packages/3a/c1/d1f41b90a58fcba9202bf649be117abbed884176260302fed5e1144f09f6/DTLSSocket-0.1.4.tar.gz#md5=bcef26a5320348905e3df61d65e983c3
Requirement already satisfied: Cython==0.27.2 in c:\python35-32\lib\site-packages (from DTLSSocket)
Installing collected packages: DTLSSocket
Running setup.py install for DTLSSocket ...     Running command c:\python35-32\python.exe -u -c "import setuptools, tokenize;file='C:\Temp\pip-build-z2pekt7c\DTLSSocket\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Temp\pip-hy3omw78-record\install-record.txt --single-version-externally-managed --compile
running install
running build
running build_py
creating build
creating build\lib.win32-3.5
creating build\lib.win32-3.5\DTLSSocket
copying DTLSSocket_init_.py -> build\lib.win32-3.5\DTLSSocket
copying DTLSSocket\DTLSSocket.py -> build\lib.win32-3.5\DTLSSocket
running build_ext
Running: autoconf
error: [WinError 2] The system cannot find the file specified
error
Cleaning up...
Removing source in C:\Temp\pip-build-z2pekt7c\DTLSSocket
Command "c:\python35-32\python.exe -u -c "import setuptools, tokenize;file='C:\Temp\pip-build-z2pekt7c\DTLSSocket\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Temp\pip-hy3omw78-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Temp\pip-build-z2pekt7c\DTLSSocket
Exception information:
Traceback (most recent call last):
File "c:\python35-32\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\python35-32\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\python35-32\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\python35-32\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "c:\python35-32\lib\site-packages\pip\utils_init_.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "c:\python35-32\python.exe -u -c "import setuptools, tokenize;file='C:\Temp\pip-build-z2pekt7c\DTLSSocket\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Temp\pip-hy3omw78-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Temp\pip-build-z2pekt7c\DTLSSocket\

Can you please try again after installing autoconf?

I have tried it from cygwin with autoconf installed and also tried with some old autoconf gnu setup and getting the result pasted above

I think it has to do with that pip removes the tempdir, ie /pip-build-z2pekt7c/  after a failed build, so the error comes a bit earlier in the chain

if i modify the command, it seems like the pyx file is missing...
python.exe -u -c "import setuptools, tokenize;file='C:\dtlssocket\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Temp\install-record.txt --single-version-externally-managed --compile
Traceback (most recent call last):
File "", line 1, in
File "C:\dtlssocket\setup.py", line 56, in
undef_macros = [ "NDEBUG" ],
File "C:\Python35-32\lib\site-packages\Cython\Build\Dependencies.py", line 920, in cythonize
aliases=aliases)
File "C:\Python35-32\lib\site-packages\Cython\Build\Dependencies.py", line 800, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
File "C:\Python35-32\lib\site-packages\Cython\Build\Dependencies.py", line 125, in nonempty
raise ValueError(error_msg)
ValueError: 'DTLSSocket/dtls.pyx' doesn't match any files

Success. Tradfri working with home assistant on PI !
Strangely the key to this seemed to be installing Python twice, as the first install seemed to miss some file, then installing down level yarl  0.13.0.
Sorry I am not knowledgeable enough to know why this worked

After a few hours of waisting my time, the manual installation of pytradfri worked for me. You need step one of the Readme at pytradfri's repo.

authors: chiversc ggravlingen gstevenson joggs sholzmayer

repo: home-assistant/home-assistant


text:
'area_id' doesn't work in services tool

Home Assistant release with the issue:

0.90.2
Last working Home Assistant release (if known):
None
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Component/platform:

Appears to be in the websocket_api.
Description of problem:
Attempting to send a light.turn_on through the Service tool using an area_id instead of entity_id results in an error.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
    connection.context(msg))
  File "/usr/src/app/homeassistant/core.py", line 1118, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['area_id']

Additional information:

I have researched this but I'm stuck. This is too complicated for me right now.
I think that the "Service call validation scheme" needs to be changed.
So I added ATTR_AREA_ID: cv.string to the LIGHT_TURN_OFF_SCHEMA by overriding the light component. Declared it as string for now, config_validation.py doesn't contain any area stuf.
Also added a a field in services.yaml
The service call now accepts an area_id, but the area_id isn't used.
light.turn_off { "area_id":"Livingroom" } turns off all lights.

Ah, snap, we haven't updated the service schemas yet. Will add this to the list.

Any update on this regard?


text:
Upgrade python-mystrom to 0.4.4

Description:
Changelog: https://github.com/fabaff/python-mystrom/blob/master/CHANGELOG.rst
Additionally:

Align log messages of the platforms (first step)
Return None

Example entry for configuration.yaml (if applicable):
switch:
  - platform: mystrom
    name: Reduit
    host: 192.168.122.40
light:
  - platform: mystrom
    name: Living room
    host: 192.168.122.50
    mac: 5DDE9FA5C21C

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

This is a Pull Request for Home Assistant.
Please use the forum for questions about installation, setup and configuration.


text:
Added fast forward and rewind support to the Alexa cloud/smart home component

Added fast forward and rewind support to the Alexa cloud/smart home component.  It simply invokes the next and previous track functions.
Description:
The Alexa PlaybackController interface supports fast forward and rewind, whereas Home Assistant's media_player component does not, only next_track and previous_track.  As a result, Alexa for the HA cloud skill or smart home skills does not support fast forward and rewind.
I propose adding fast forward and rewind and mapping them to next_track and previous_track, at least until Home Assistant's media_player ever gets fastforward and rewind services.  I've tested this on my local setup with success.  Existing users would probably have to rediscover their devices if they would want to make use of this functionality.
I'm not sure if I should add this capability to the docs here, since it might be confusing that media_player doesn't have those functions. Happy to add it if someone thinks I should.
Related issue (if applicable): N/A
Pull request in home-assistant.github.io with documentation (if applicable): N/A
Checklist:

[X] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools: N/A
If the code does not interact with devices:

[X] Tests have been added to verify that the new code works.

Note: I disabled the pylint warnings because pylint can't detect decorators for that error.  See this issue for more info.

We should not add incorrect mappings because it is confusing and it means that we need to break that in the future.


text:
Add lightwave components for switches and lights

lightwaverf-home-assistant-platform
Integration of LightwaveRF switches and lights with Home Assistant (HASS) as a platfrom
It's very crude, but does work. It's been working for me for several years with the 1st generation of LightWave kit. I have not tested this with the newer (2nd gen) Lightwave products.
Caveat
This code may show your devices in the Home Assistant UI, but it may not be able to control the lights for you. The code speaks directly to your Lightwave WiFi Link. Obviously, if you don't have a WiFi Link, then this isn't going to work for you.
Installation
Adding the Lightwave Component to Home Assistant
The lightwave files needs to be placed in the installation directory of Home Assistant. For me the final directory looks like
/custom_components/light/lightwave.py
/custom_components/switch/lightwave.py
/custom_components/lightwave.py

There are instructions to follow on the instructions on the home-assistant website. If you need help, let me know.
Adding LightwaveRF to your configuration file
Now that the component is installed you will need to add the setup to you configuration file.
lightwave:
    host: ip_address

Where ip_address is the ip address of your LightwaveRF hub
To add Lightwave lights in the light section add:
light:
  - platform: lightwave
    devices:
      R1D1:
        name: Room one Device one
      R1D2:
        name: Room one Device two
      R8D3:
        name: Room eight Device three

To add Lightwave switches in the switch section add:
switch:
  - platform: lightwave
    no_registration: true
    devices:
      R1D1:
        name: Room one Device one
      R1D2:
        name: Room one Device two
      R8D3:
        name: Room eight Device three

Each device requires an id and a name. The id takes the form R#D# where R# is the room number
and D# is the device number.
The first use of a switch or light will try to register with the WiFi Link hub. If the hub has not been registered a message on your WiFi Link asking you to pair the device. You have 12 seconds to push the button on the WiFi Link to accept this. Once done, you should be able to control your lights via Home Asssistant.
This only needs to be done once only if the hub has not been registered.
Acknowledgement
Thanks to Chirag Desai for paving the way to getting this component done.

Hello @GeoffAtHome,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

381082041ce3d1ec6d8b61eac59b28c8376a8ed1 - This commit has something that looks like an email address (geoff-soord@softwareimaging.local). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name <email@address.com>"

(substituting Author Name and email@address.com for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hello @GeoffAtHome,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

381082041ce3d1ec6d8b61eac59b28c8376a8ed1 - This commit has something that looks like an email address (geoff-soord@softwareimaging.local). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name <email@address.com>"

(substituting Author Name and email@address.com for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hello @GeoffAtHome,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

381082041ce3d1ec6d8b61eac59b28c8376a8ed1 - This commit has something that looks like an email address (geoff-soord@softwareimaging.local). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name <email@address.com>"

(substituting Author Name and email@address.com for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Also, you need to address the points from the PR template (which you removed).

@fabaff @Danielhiversen Is there anything I need to do to move this on? Please advise.

@frenck so where do I add the documentation.  I looked here https://developers.home-assistant.io/docs/en/documentation_index.html and found this https://github.com/home-assistant/home-assistant.io. The documentation here does match my expectations. Am I looking in the wrong place?

@GeoffAtHome

You need to create component documentation and open a PR for it on our documentation project. Which indeed this is the repository: https://github.com/home-assistant/home-assistant.io

@frenck thanks for confirming. Hope to add the documentation by the weekend.

@frenck documentation added with this PR https://github.com/home-assistant/home-assistant.io/pull/7600. Is this correct?

@MartinHjelmare Moved device specific code to pypi as requested.

@MartinHjelmare thank you for the extensive code review. One point still outstanding and I am failing to see what is required. Please help me understand. Also, point me in the direction of where I can add some tests and in particular a similar component to help me understand what is required.

Update requirements_all.txt by running script/gen_requirements.py. Don't update the file manually.

Either add tests and reach 95% coverage or exclude the added modules from coverage by adding the modules to .coveragerc.

@MartinHjelmare attempting to run (on Windows 10) script/gen_requirement.py. I get this error:

PS D:\demos\home-assistant-1> py .\script\gen_requirements_all.py
******* ERROR
Errors while importing:  homeassistant.components.climate.econet, homeassistant.components.google_assistant.auth
Make sure you import 3rd party libraries inside methods.

Any suggestions on how to move forward?

Did you follow the steps here?
https://developers.home-assistant.io/docs/en/development_environment.html#setting-up-virtual-environment

@MartinHjelmare no I did not follow the steps. I didn't see the Windows notes. Will follow these steps, hopefully this will provide a good and consistent environment to help me proceed. Thanks for you guidance and time.

@MartinHjelmare installed virtual env and updated requirements_all.txt.

The test failure is just a flaky test.

@MartinHjelmare What else needs to be done?

Please also update the PR description with the new config schema.

@MartinHjelmare PR for description updated. Thank you for your help, support and perseverance.

Did you update the description in this PR? It still looks like we want users to set up platforms in the config. Only the component should be necessary.

I did update platform, switch and light. Looking at the hive components as a pattern. Should I remove switch and light?

We will no longer use the platform config sections since we set up the platforms via discovery.

Should I remove "light" and "switch" documentation or to be like hive simplify the light and switch document by removing details about configuration?

This is all we need to set up this integration:
lightwave:
  host: 192.168.1.2
  lights:
    R1D3:
      name: Wall lights
    R1D4:
      name: Ceiling lights
  switches:
    R1D2:
      name: Tree socket
    R2D1:
      name: Radio socket
    R2D2:
      name: Light socket
    R2D3:
      name: Phone socket
    R2D4:
      name: Torch socket

Remove the examples that have platform:
light:
  - platform: ...

@MartinHjelmare Updated documentation. Reference to the configuration have now been removed from light.lightwave.markdown and switch.lightwave.markdown

I have only been talking about the description in this PR at the top. It's still not updated.

authors: GeoffAtHome MartinHjelmare fabaff frenck homeassistant


text:
New Linky sensor

Description:
I have coded a new sensor with more informations in attributes and possibly a behaviour change. The code has been done from the original custom component from @PirionFR. I also fixed a bug in the implementation of the python library used for retrieving data.
This is done to be able to eventually create a lovelace card for energy consumption.
An example of what it could be like: (from @Imbuzi)

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: linky
    username: !secret linky_username
    password: !secret linky_password
    peak_hours:
     - ["07:00","14:00"]
     - ["17:00","02:00"]
    peak_hours_cost: 0.1761
    offpeak_hours_cost: 0.1291

Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

I was wanting to actually redo this even better to use it with the utility metter. Can someone tell me if it would be bad if I access the database from here ? I need to add a lot of lines in it…

Please don't forget to run script/gen_requirements_all.py

@grea09 Are you still working on this?  It will need to be rebased and updated to match the latest architectural changes.

I am planning to get 5 students starting on this at the end of the week. I will make sure they share their progress.

Also I want to get an architectural change in HA core to extend access to history from components. This would impact the recorder and will probably take a lot of discussions to get accepted.

I've created a simple PR to add more Linky sensors : #23726
I think you can take a look at it and add your work at the linky_today AND linky_yesterday sensors (DAILY scale).

I've created a simple PR to add more Linky sensors : #23726
I think you can take a look at it and add your work at the linky_today AND linky_yesterday sensors (DAILY scale).

I was more wanting to have the sensor compatible with the utility metter. The issue is that there is no such thing as "today" with Enedis. You can have the consumption of the previous day around 8 o clock in France. So all the history is incorrect. I don't think adding more sensors will help that but it can help making the data clearer. I am personally more convinced to have a "realtime" consumption based on hopefully  future API by Enedis or by Bayessian inference in the meantime. Also I would prefer to actually populate the history of the sensor like if it was counting the consumption all along (hence the core change).
I think it would be interesting to think this through. I will make sure my students get in touch with you once they start the work on this.

Hi @grea09 !
Indeed, hours are yesterday's hours and today isn't updated at all, haven't seen that the first time. So I removed it from my PR #23726.
I agree that realtime API would be nice, but you are talking about High-Tech in France men ... always two step behind 😉

I was more wanting to have the sensor compatible with the utility metter

As I am new in Python and HA dev, I don't know what are you talking about the utility metter 😬 sorry.

Also I would prefer to actually populate the history of the sensor like if it was counting the consumption all along (hence the core change).

As I understand well, making some kind of sum of every day consomption ?
Yeah you can do that too !
But I personally don't feel the need of it, and don't want to charge my DB and proc for that.

I think it would be interesting to think this through. I will make sure my students get in touch with you once they start the work on this.

If you want too, feel free to contact me.

And as Enedis update Linky's data every day at 8AM, why not update the component only around that time ?

As I am new in Python and HA dev, I don't know what are you talking about the utility metter  sorry.
Here https://www.home-assistant.io/components/utility_meter/

And as Enedis update Linky's data every day at 8AM, why not update the component only around that time ?

They are VERY unreliable. They get something like 50% downtime. They unofficially also have maintenance downtime durring the night. But yes it can be done to update once every halfhour around that time and stop for the day once it got a response.

Home Assistant integrations should only represent the data from the source as-is. Things like summing up or calculating costs etc should happen in integrations that consume these raw-data-representing-integrations.
This PR is conflating concerns and so should not be merged.

authors: Quentame andrewsayre balloob grea09 rohankapoorcom


text:
Fix race condition in ADS hub

Fixes race condition that sporadically lead to ADS entity values not showing up.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

@MartinHjelmare Could you have a look? This fixes a nasty error.


text:
Remove Plex manual config flow step

Description:
Remove manual configuration flow step. Manual configuration will only be available via YAML configuration.
Not breaking as this feature was never officially released.
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#TODO
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hey @balloob, also as requested. It was a big more invasive on the tests than I expected, but it looks ok. Up to you if you want to review/merge before the first Plex config flow release in 0.100.


text:
Sync crypto-currency platforms

Description:
Align all crypto currency platform:

Add attributions and icon
Do not call update() in constructor
Add option to set name
Move constants to const.py
Ordering

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2767
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: blockchain
    addresses:
      - '1BMsHFczb2vY1BMDvFGWgGU8mkWVm5fupp'
      - '183J5pXWqYYsxZ7inTVw9tEpejDXyMFroe'
  - platform: etherscan
    address: '0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359AAAAA'
  - platform: bitcoin
    display_options:
      - exchangerate
      - trade_volume_btc
  - platform: coinmarketcap

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@fabaff Thank you!

authors: fabaff nkgilley


text:
Add counter component

Description:
This PR is based on the idea of #6880 and uses the same configuration variables. It is not a sensor but a component now and still provides increment, decrement and reset as a service for automations.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#3250
Example entry for configuration.yaml (if applicable):
counter:
  count1:
    name: Count1
    initial: 10
    step: 3
  count0:
    name: Count0
    icon: mdi:baby-buggy

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

I think instead to have a counter we should make a timer component with a nice UI card. For timer we can also make dynamic timers that can be create and delete and change on runtime. The state if a timer is run/stop/pause and fire a event on zero. That help to not make a state to db every time where the counter change like this

This component doesn't not depend on time. If I understand your comment right then you are talking about something like a countdown from 10 min and then do something.
Incrementing and decrementing happens when the service is executed. Like do something for x times while you know that after x+n times you have to replace the battery, so  show a notification when x+m is reached.

Okay, now is clear, thanks

authors: fabaff pvizeli


text:
Queries for disabled host wifi network

I've noticed periodic log entries for queries for the (disabled) wlan0 in the DNS plugin logs on my Home Assistant Yellow. Where are those coming from?
[INFO] 172.30.32.1:42640 - 36490 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.000673009s
[INFO] 172.30.32.1:38334 - 21566 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.000453124s
[INFO] 172.30.32.1:36936 - 42800 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.00075197s
[INFO] 172.30.32.1:36071 - 29497 "A IN wlan0.local.hass.io. udp 37 false 512" NXDOMAIN qr,aa,rd 37 0.000413456s

I am also seeing this. I believe it happens every time you visit this page: http://homeassistant.local:8123/config/network

repo: home-assistant/plugin-dns


text:
Sidebar cuts at the bottom (beta)

On iPhone it cuts sidebar when scrolling.
https://github.com/user-attachments/assets/1886e293-0a83-426f-9b17-ac94d8599769
Some kind of workaround is:
.header {
  position: fixed !important;
  overflow: hidden;
  top: 0;
  left:0;
}

.sidebar {
  position: fixed !important;
  overflow: hidden;
  top: 0;
  left: 0;
}

  .sidebar .link-wrapper {
  position: fixed !important;
  top: 80px;
  overflow-y: auto;
}

Did PR with this.

repo: homebridge/homebridge-config-ui-x