text:
updated date does not change

Hey,
Even if I make changes to my files, the updated date in the frontmatter is not updated. With the first edit of a file after enabling this plugin, these two lines were added in the frontmatter. But they do not change when editing the file.
created: 2023-05-10 12:39:11
updated: 2023-05-10 12:39:11
Any tips, how to get an updated time when editing a file?
greetings
duckste

@duckste Have you managed to figure this out?  I am also trying to understand this plugin...

In the developer console (Ctrl + Shift + I) even with the shortest update window possible (1 minute) it continuously refuses to update with this message: Not soon enough, will update latter. This probably happens for you as well. I suspect it's a bug.

For me, the plugin works. So if it is a bug, it must be triggered by some specific conditions. Try disabling all other plugins. And restarting Obsidian. I think my initial glitch went away after I restarted Obsidian.

I managed to get it to work again. My issue was with migration of stuff from Joplin, which had a different time and date format. I had set this plugin to match that for reading the fields, but once it had updated once (or with new notes) the read format would not match the write format anymore. This led to the plug-in not recognizing it needed to update the date. I reverted the read format to be identical to the write format and it started working again as intended.

I seem to remember that there is a setting exactly for that, i.e. to use a different date format upon first use...

Hi, sorry for the delay. This should now be fixed as of 2.0.0. If that's still an issue, feel free to re open a new issue !

authors: Anthirian beaussan duckste tophee

repo: beaussan/update-time-on-edit-obsidian


text:
Need option to ignore brace style

"Where to stick your stupid braces" is a common hot button for many teams so having to choose between collapse, expand, and end-expand will force us to either fight that battle or choose a different tool. Can we get an "ignore" option for -b | --brace-style, or else a separate --keep-brace-style option?

Can we really implement "ignore" all braces? I mean ignore opening and closing braces but still fix any whitespaces in between braces?
Currently I'm coding reactjs using babel es6 and some decorations. I used more functional programming and most of it I wanted to remain in the same line.
When I use "brace_style": "none" the first brace will remain on the same line while the closing brace will be on the next line.
I hope to see this feature on https://github.com/victorporof/Sublime-HTMLPrettify

If you see a problem, please file a new issue and reference this one.
Also, provide config settings, input, actual output, desired output.

source: gharchive/issue

authors: bitwiseman c32hedge markortiz

repo: beautify-web/js-beautify

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Hooks is down

In cc41b71, Hooks (https://hooks.wpbeaverbuilder.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hooks is back up in 5081a3c after 2 hours, 25 minutes.

repo: beaverbuilder/uptimes


text:
Parse additional cellranger outputs

Thank you for the nice looking tool. Would you consider adding to the multiQC reports parsing outputs from additional cellranger files? I'm thinking the metrics_summary.csv and (less easily) the web_summary.html for each sample. The .csv files could be aggregated into a table with basic quality scores, mapping metrics etc. The web_summary.html file is harder to parse I guess, but ideally could capture the knee plots of UMI counts for a quick comparison across samples.
Best wishes, Chris

Hello, thanks for the message !
That is part of my plan. Do you have some experience in MultiQC ? IIt would be niice to have some help in adding Cellanger parsing to MultiQC.
We can also contact MultiQC projet developer to get some help. II am sure the single-cell bioinfo community would be happy to have that capability !

I can see that it is in progress but was not finished : https://github.com/ewels/MultiQC/issues/751

Ok, never mind ! The module is finished. It waits for the PR to be accepted
https://github.com/ewels/MultiQC/pull/1689

authors: chris-rands drbecavin

repo: becavin-lab/checkatlas


text:
Scheduling patient

Added «Schedule» tab to Patient Overview page. Calendar with appointments is shown.
Editing of appointments is disabled for patient

https://github.com/beda-software/fhir-emr/issues/177

source: gharchive/pull-request

repo: beda-software/fhir-emr


text:
Angular Submodule Generator

Greetings,
This is an extremely helpful project to get a workflow going for an enterprisey, full-stack app.  Thank you very much for making it publicly accessible!
However, based on the architectural layout and design of the Angular.js portion, I'm left with a lingering question:
Did you use a yeoman generator for your Angular.js submodules, and if so what did you use?
I cannot find any documentation in the generator-angular app about submodules so I'm assuming you used something different?
I've found https://github.com/cgross/generator-cg-angular.  It looks helpful...but I just wanted to get a more detailed peak into your development workflow.
Thanks in advance,
Tami

Hi Tami,
Thanks for your kind words regarding this project, I'm glad to hear that it is useful for you! :)
I indeed started with the generator-angular generator, but thanks to @movibe the project now has a different structure.
The modules are way better structured now, the only downside is that the generator stopped working.
It would be great to have a generator that works with this project, I guess it will be possible to refactor the one you mentioned. I've never looked at how the generators work so it will take some time to investigate on this.
Regards,
Bram

Hi @beeman,
Thank you for your helpful feedback.  In order to duplicate the elegant structure you have here, I'm actually thinking a grunt task could do it--for now.  It is more of a hack than a long-time solution (ie. generator) but it will utilize the following:

Utilize a command line call to execute the Mean.js AngularJS Module Sub-Generator (@http://meanjs.org/generator.html#angular-module).
And another command line call to "cp" or "mv" the generated files to the app path defined in bower.json.

If it ends up being helpful to me in any way I will put it into a github.com repo and share the link here.
Thanks!

authors: beeman tamitutor

repo: beeman/loopback-angular-admin

license: mit

license_source: bigquery


text:
🛑 Hacker News is down

In c11045f, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hacker News is back up in 1e7afd3 after 7 minutes.

repo: beertje-dev/monitor-page


text:
'Show expression type under cursor' works, but ,hT inserts a blank line above

When editing a Haskell file, ,ht reports the correct expression type under the cursor. But when I try to insert the type using ,hT, a blank line is inserted instead of the expression type.
Interestingly, ,hT works correctly for the main function--correctly inserting main :: IO (). But ,hT inserts a blank line for all other functions in a file.
I tried ,hT within a sandbox as well, but had the same issue. Perhaps I'm missing something simple. Any pointers would be appreciated!
Using latest haskell-vim-now on Yosemite, GHC 7.8.3, ghc-mod 5.2.1.2 compiled by GHC  7.8.3, vim 7.4/MacVim 73.
P.S. Thanks for your efforts in creating/maintaining this awesome Haskell paradise! :thumbsup:

I haven't had problems locally, but i'm on ghc-mod 4.1.6. Can you share a link to the file you're editing so I can try it in my configuration?

Thanks for the quick reply! I found the issue. After doing a clean install of GHC 7.8.4 and removing haskell-vim-now, I re-ran the install script.
That's when I noticed the cabal install error for haskell-src-exts due to happy not being found. After installing happy and running the install script again, everything works as expected.
I see this is already noted on the Wiki page--so I should have realized the issue sooner. Perhaps there's a way for the install script to detect this scenario. Or just a note on the home page. I'm guessing anyone doing a clean install will encounter this issue, especially those new to the joys of cabal :-).
For reference, my now working installation is using GHC 7.8.4 for OS X as provided on the new haskell.org page. This can be closed now.

Glad you found the solution. Do you know a way to detect if happy is installed on a system? I could add that check to the pre-install checks in my script.

If you run which happy in your shell, does it find an executable? It does on my computer so I may be able to check for its presence that way.

That should work.
The OS X GHC 7.8.4 installation utility from haskell.org updates the user's $PATH. It does so by appending the following to ~/.bash_profile:
Add GHC 7.8.4 to the PATH, via http://ghcformacosx.github.io/
export GHC_DOT_APP="/Applications/ghc-7.8.4.app"
if [ -d "$GHC_DOT_APP" ]; then
export PATH="${HOME}/.cabal/bin:${GHC_DOT_APP}/Contents/bin:${PATH}"
fi
So if the user has installed happy, running which happy would return:
~/.cabal/bin/happy

authors: Decoherence begriffs

repo: begriffs/haskell-vim-now


text:
Add more options to CodeFormatterOptions

I'm creating a wrapper plugin for integrating Csharpier with dprint, but I've hit a snag as the Csharpier.Core package only exposes CodeFormatterOptions, which currently only contains the setting for PrintWidth.
Would it be possible to get all the options exposed? I'm willing to create a PR to add this, although I'd prefer knowing the reasoning for the current split of CodeFormatterOptions and PrinterOptions first.

If I recall correctly, I added CodeFormatterOptions when there was just the single option for width, and then missed adding tabs/indent size. PrinterOptions contains a lot of options that didn't make sense to expose in CSharpier.Core which I believe is why I split them originally.
I'm not in love the the names in PrinterOptions - I'm thinking that TabWidth changes to IndentSize on CodeFormatterOptions (to line up with the editorconfig name). And maybe UseTabs should be an enum called IndentStyle, but an enum for just two options could be overkill.
I have no problem exposing the options so go ahead with the PR.

authors: Phault belav

repo: belav/csharpier


text:
API Documentation

We could use Doxygen (or some other program) to make the documentation fast. We need to format the comments in a certain way. Example of comments:
def foo(arg_name):
    """
    Foo function description.

    Args:
        arg_name (type): parameter description

    Globals:
        global_var (type): global variable description

    Raises:
        some error if it raises something.

    Returns:
        type: description of the object returned
    """
    ...

@belgio99 i assigned you just because you are the team leader, not because you have to do it


text:
Сборка страниц одного проекта

Добрый день!
Подскажите как правильно собрать несколько страниц в рамках одного проекта.
Структура такая:
project
-page1
-------scroll1
-------scroll2
-------scroll3
-page2
-page3
Как получить отдельную сборку js для scroll1,  scroll2,  scroll3 без библиотеки i-bem тк хочу загрузить js код каждого скрола в отдельный компонент при интеграции в Битрикс а библиотеку I-bem вывести один раз, например подгрузить в шапке для всего проекта.

очень похоже на вот это: https://github.com/bem-site/bem-forum-content-ru/issues/1198

Спасибо за ответ, https://github.com/enb/enb-bem-techs/blob/master/docs/api.ru.md#mergebemdecl
это поможет собрать все в один большой файл, а вот именно вычленить i-bem из всех файлов что-то не пойму

а вот именно вычленить i-bem из всех файлов

https://github.com/enb/enb-bem-techs/blob/master/docs/api.ru.md#subtractdeps

@tadatuta Спасибо!
Возникло ещё два вопроса
1-в каком месте нужно сформировать код запроса на сборку в папке enb или нет?
2-как указать что вычитать собираемся?

Думаю, ссылка ответит на оба вопроса сразу: https://github.com/bem/bem-components/blob/v5/.enb/make.js#L77

@tadatuta Спасибо!!!!!!!!

На форуме много тем, но если кто находит решение не спешит сюда его выкладывать. Посему решил дописать чем дело кончилось, по остальным своим топикам так же сделаю итог для таких же людей как и я(читая форум понял что я не один такой "умный" ).
1- Для сборки css и js из  всех bundles в первую очередь стоит ознакомиться с этой штукой https://ru.bem.info/toolbox/enb/
2- Сборка такая же как на gulp по сути и всем заправляет файл make.js, который лежит по адресу /.enb/make.js
3-В новой версии https://github.com/bem/project-stub/ в файле make.js уже есть сборка  merged-бандла, однако там используется postcss
4-Если используется stylus необходимо  скачать пакет enb-stylus ( npm install --save-dev enb-stylus ), но лучше идти в сторону postcss
5-В файле make.js добавил
//stylus
        stylus: require('enb-stylus/techs/stylus'),

6-Описать задачу
// css
            [techs.stylus, {
                target: '?.css',
                oneOfSourceSuffixes: ['.styl', '.css'],
                compress: true //отвечает за минификацию
            }],

7- Выполнить команду enb make
Что следует почитать и что помогло:

https://ru.bem.info/toolbox/enb/enb-bem-techs/build-merged-bundle/ (сам принцип, копирывать содержание файла make.js не нужно)

https://ru.bem.info/toolbox/enb/

https://github.com/bem/bem-components/blob/v5/.enb/make.js#L77

PS  многим покажется это просто задача на 2 минуты, теперь так и есть, но по первой когда с этим сталкиваешься очень тяжко решить конкретную задачу  тк в документации идет старая информация(обновлена не так давно), на форуме тем откртых куча, но решений к сожалению как таковых нет. Надеюсь кто будет искать по поиску поможет.

уточнение по

3-В новой версии https://github.com/bem/project-stub/ в файле make.js уже есть сборка merged-бандла, однако там используется postcss

Сборка merged-бандла есть только в отдельной специальной ветке merged.

@tadatuta  Спасибо поправил!

authors: Yeti-or tadatuta webtehnology

repo: bem-site/bem-forum-content-ru


text:
React 16

We are developing a new app in React + Framework7 and using this wonderful package.
When upgrading to React 16 everything renders ok but brings up a lot of console errors regarding unique keys and refs. Unfortunately this is something that is not fixable outside the framework-react package.
The benefits of React 16 are huge and the app's performance is vastly improved when using React 16.
Unfortunately my Vue and TypeScript skills are not enough to contribute to this package and there is no way to contribute in any another way.

I see some work progress in v2 branch,  any tentative timeline for react 16?

Closing, since this is a dupe of #69.

authors: bencompton srbala vonubisch


text:
Graph classification method from ICDM '19

Hi, thanks for maintaining such a comprehensive list of methods for graph-level machine learning.  I am an author of the ICDM 2019 paper "Distribution of Node Embeddings as Multiresolution Features for Graphs" and was wondering if it could be included on this list?
Overview: Derives a randomized feature map for a graph based on the distribution of its node embeddings in vector space.  As the proposed technique is an explicit feature map, it probably fits in the section on "spectral and statistical fingerprints", but its theoretical underpinnings come from the graph kernel literature and so it might fit in that section instead.  Won best student paper at ICDM 2019.
Paper: [https://ieeexplore.ieee.org/document/8970922]
Code: [https://github.com/GemsLab/RGM]

Hi there Mark,
Sorry, for the late reply. I will add it, I have actually read this paper.
Benedek

It will go under graph kernels if that is okay with you.

Hi Benedek,
I think that’s a good place for it, since it is a very “kernel-y” work.  Thanks for that, and for all the resources you provide the graph mining community!
Best,
Mark

On May 26, 2020, at 5:30 AM, Benedek Rozemberczki notifications@github.com wrote:

It will go under graph kernels if that is okay with you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

authors: benedekrozemberczki markheimann


text:
🛑 Nanseee Network N1 is down

In d678d22, Nanseee Network N1 (http://n1.nanseee.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nanseee Network N1 is back up in 166e09a.


text:
Maximum Update Depth

Hello!
I can't use the component on React Native version 0.55, I'm getting the following error: Maximum update depth excedeed. Tried with minimum options.

Hi!
Could you add the code you used?

Unfortunately is a private repo, so I can't. But I using the component with React Native Paper's TextInput, like this:
<PersonInfoInput
            theme={{
              colors: { background: colors.screenBackground }
            }}
            mode="outlined"
            label="CPF*"
            value={this.state.cpf}
            onChangeText={text => this.setState({ cpf: text })}
            disabled={this.state.destination === null}
            render={_props => <TextInputMask type="cpf" />}
          />

Ok, you could have the issue inside the other part of the code, but this code you shared with me is wrong.
Why?
You are not passing the value and the onChangeText to the TextInputMask (my bad, I need to document this better).
<TextInputMask
          ref={(ref) => this.myDateText = ref}
          // here we set the custom component and their props.
          customTextInput={Kaede}
          customTextInputProps={{
            style:{ width: '80%' },
            label:'Birthday'
          }}

          type={'datetime'}
          options={{
            format: 'DD-MM-YYYY HH:mm:ss'
          }}

          // don't forget: the value and state!
          onChangeText={birthday => this.setState({ birthday })}
          value={this.state.birthday} />

About the maximum update, it could be cause by a setState loop inside other render functions.
Well, if you can't share the code because it's private, can you create a new React-Native project and test the same scenario?
I will keep this issue opened for some time.

Hello! Thanks for the friendly reply.
I checked my code again and after a few hours found that It seems the masked component do not like too much Styled Components. Using native wrappers instead, like View and RN Paper's TextInput I can get my screen showing. I coded something like this:
import React, { Component } from "react";
import { View } from "react-native";
import { TextInputMask } from "react-native-masked-text";

export default class extends Component {
  render() {
    return (
      // Other native wrappers
      <View>
        // Other native wrappers
        <TextInput render={props => <TextInputMask {...props} type="cpf" />} />
        // Closing native wrappers
      </View>
      // Closing native wrappers
    );
  }
}

However the masked component now is allowing CPF > 14 on iOS (on Android the value is reverted after about 1 sec). I will dig a little more, since checkText workaround didn't work. Sorry not showing a working exemple, but it seems Snack also do not like Style Components either currently and I don't have much time to setup a new project to test right now.

@giovanicascaes yes, but this is an issue with React-Native and not with the library.
This issue was fixed in RN repository for most recent versions.
Look at this issue and you can fix: iOS allows too many characters #68
I will close it, for now, feel free to reopen if need ok?
o/

authors: benhurott giovanicascaes

repo: benhurott/react-native-masked-text


text:
Expose datapoints for water stove

Mine is a water stove, and the application allows these parameters to be displayed/controlled:

In the main screen:

[ ] In the upper left corner there is an icon indicating whether the water pump is running or not.

[X] In the middle there is an icon indicating the current status. This is already exposed, however, I have seen the following:
When the pellets are running out, the cooker makes a beep. However, neither the app icon nor the home assistant "action" entity change, it is kept on "heating".
If the stove is switched off due to lack of pellets, then yes, the entity "action" changes to "stopping" and then to "end pellet".
I don't know if it would be possible  to read an extra status indicating "low pellet". But it would be a very useful feature, to be able to notify about the lack of pellets via home assistant.

[X] Below the icon, it shows the current environment temperature, which is already exposed.

[ ] Finally, the water temperature is displayed. I guess it corresponds to the index #17 of your screenshot.

In the status screen:

[ ] Firstly, the power at which the stove is operating. Guess it is parameter #22.

[X] Set and Environment, already exposed.

[ ] Water temperature, the same as shown in the main screen.

[X] Fumes temperature, already exposed.

[X] Fumes fan speed, already exposed. As you see in the snapshot, the unit seems to be g/m and not rpm. But not sure if this is correct in the app.

[ ] Last one, air exchanger fan speed. This is not exposed and I think it must be #27, #30 or #33.

In the control screen:

[X] Firstly, the Eco mode, already exposed. I really don't know if it has any real effect on my stove.

[ ] Next, the Chrono mode, not exposed. For me it is secondary, because thanks to the integration, it will be possible to schedule the stove using home assistant.

[ ] Next, the programmed power. I don't know how it behaves because the stove adjusts this value automatically according to the temperatures. It's not exposed but I guess it is #23.

[X] Next, the environment setpoint. Already exposed.

[ ] Last, and very important In my opinion, the air exchanger fan speed. I can change it from 0 - 5 and "Auto".  I suppose it will be #28, #31 or #34.

As you can see, the app does not let you adjust the water temperature setpoint. But, according to your screenshots, I think it is possible to adjust it using parameter #18. This would be very very useful in my opinion, especially because it is not possible from the app.
I'm sorry for rambling, It is not my intention to give you so much work, only that you know which parameters are interesting in the case of water stoves.
Feel free to move this to a new issue or enhancement (or six, or seven ;) ). This is probably not the best place to discuss it.
Originally posted by @elkarto in https://github.com/benlbrm/ha-hottoh-component/issues/1#issuecomment-975950970

Can you run the example.py on the hottohpy lib standalone and give me the output you will get ?

That's done!
Start Stove Data's
_getFirmwareVersion: %s 6.2.41
_getWifiSignal: %s nosig
_getPageIndex: %s b'#00000A---0062DATR0
_getManufacturer: %s EdilKamin
_getIsBitmapVisible: %s 0
_getIsValid: %s 1
_getStoveType: %s 23
_getStoveState: %s switched_off
_getStoveIsOn: %s off
_getEcoMode: %s off
_getChronoMode: %s off
_getTemperatureRoom1: %s 19.5
_getSetTemperatureRoom1: %s 29.1
_getSetMaxTemperatureRoom1: %s 40.0
_getSetMinTemperatureRoom1: %s 5.0
_getTemperatureRoom2: %s -43.5
_getSetTemperatureRoom2: %s 0.0
_getSetMaxTemperatureRoom2: %s 0.0
_getSetMinTemperatureRoom2: %s 0.0
_getTemperatureWater: %s 24.0
_getSetTemperatureWater: %s 73.0
_getSetMaxTemperatureWater: %s 80.0
_getSetMinTemperatureWater: %s 55.0
_getSmokeTemperature: %s 20.2
_getPowerLevel: %s 0
_getSetPowerLevel: %s 100
_getSetMaxPowerLevel: %s 100
_getSetMinPowerLevel: %s 1
_getSpeedFanSmoke: %s 0
_getSpeedFan1: %s 3
_getSetSpeedFan1: %s 3
_getSetMaxSpeedFan1: %s 5
_getSpeedFan2: %s 1
_getSetSpeedFan2: %s 1
_getSetMaxSpeedFan2: %s 0
_getSpeedFan3: %s 0
_getSetSpeedFan3: %s 0
_getSetMaxSpeedFan3: %s 0
_getFlowSwitch: %s 1
_getGenericPump: %s 0
_getAirEx1: %s 0
_getAirEx2: %s 0
_getAirEx3: %s 0
_getPuffer: %s -435
_getSetPuffer: %s 500
_getSetMinPuffer: %s 200
_getSetMaxPuffer: %s 750
_getBoiler: %s -435
_getSetBoiler: %s 500
_getSetMinBoiler: %s 100
_getSetMaxBoiler: %s 700
_getDhw: %s 0
_getSetDhw: %s 750
_getSetMinDhw: %s 500
_getSetMaxDhw: %s 800
_getDhw: %s 0
_getSetDhw: %s 750
_getSetMinDhw: %s 500
_getSetMaxDhw: %s 800
_getRoomTemp3: %s -435
_getSetRoomTemp3: %s 0
_getSetMinRoomTemp3: %s 0
_getSetMaxRoomTemp3: %s 0
End Stove Data's
I was doing my tests to get the values, as a python exercise, but you are going much faster than me.

As you can see, the stove is not running now. I think I'm going to switch it on around 7PM.
I can post new values when it starts heating.

yeah cool !
Let me know tonight, maybe we will have more data's available when it's running

No problem, tonight I give you as much information as I can.
May I ask where you have got any documentation to be able to get this working?
Or did you use the jeedom code as a base?
I' m asking because, as I told you, I was working on integrating the stove using modbus, and I couldn't find any information.
I had to analyze the serial communication stream and see what registers it was reading/writing.
I have a chart of the registers that the wifi module reads/writes from the stove. I don't know if it can be useful for this library.

You're right, I got the data's from the jeedom plugin, I don't know where the guy from jeedom get's all data's at first.
I think your chart can always be useful

Can you give a try with the new lib version and new example.py ?
I've find some "stove options" that we can output to check if sensors are availabe.

Here is it.
Start Stove Data's
Info: %s ["b'#00000A---0014INFRHOTTOH", '6.2.41', 'nosig', "F23E\n'"]
Info: %s ["b'#00000A---0062DATR0", '85', '0', '1', '23', '0', '0', '0', '0', '181', '291', '50', '400', '-435', '0', '0', '0', '191', '730', '550', '800', '171', '0', '100', '1', '100', '0', '3', '3', '5', '1', '1', '0', '0', '0', '0', "CF15\n'"]
Info: %s ["b'#00000A---0047DATR2", '1', '0', '0', '0', '0', '-435', '500', '200', '750', '-435', '500', '100', '700', '0', '750', '500', '800', '-435', '0', '0', '0', "12AB\n'"]
_getFirmwareVersion: %s 6.2.41
_getWifiSignal: %s nosig
_getPageIndex: %s b'#00000A---0062DATR0
_getManufacturer: %s EdilKamin
_getIsBitmapVisible: %s 0
_getIsValid: %s 1
_getStoveType: %s 23
_getStoveType Binary: %s 10111
_getStoveState: %s switched_off
_getStoveIsOn: %s off
_getEcoMode: %s off
_getChronoMode: %s off
_getTemperatureRoom1: %s 18.1
_getSetTemperatureRoom1: %s 29.1
_getSetMaxTemperatureRoom1: %s 40.0
_getSetMinTemperatureRoom1: %s 5.0
_getTemperatureRoom2: %s -43.5
_getSetTemperatureRoom2: %s 0.0
_getSetMaxTemperatureRoom2: %s 0.0
_getSetMinTemperatureRoom2: %s 0.0
_getTemperatureWater: %s 19.1
_getSetTemperatureWater: %s 73.0
_getSetMaxTemperatureWater: %s 80.0
_getSetMinTemperatureWater: %s 55.0
_getSmokeTemperature: %s 17.1
_getPowerLevel: %s 0
_getSetPowerLevel: %s 100
_getSetMaxPowerLevel: %s 100
_getSetMinPowerLevel: %s 1
_getSpeedFanSmoke: %s 0
_getSpeedFan1: %s 3
_getSetSpeedFan1: %s 3
_getSetMaxSpeedFan1: %s 5
_getSpeedFan2: %s 1
_getSetSpeedFan2: %s 1
_getSetMaxSpeedFan2: %s 0
_getSpeedFan3: %s 0
_getSetSpeedFan3: %s 0
_getSetMaxSpeedFan3: %s 0
_getFlowSwitch: %s 1
_getGenericPump: %s 0
_getAirEx1: %s 0
_getAirEx2: %s 0
_getAirEx3: %s 0
_getPuffer: %s -435
_getSetPuffer: %s 500
_getSetMinPuffer: %s 200
_getSetMaxPuffer: %s 750
_getBoiler: %s -435
_getSetBoiler: %s 500
_getSetMinBoiler: %s 100
_getSetMaxBoiler: %s 700
_getDhw: %s 0
_getSetDhw: %s 750
_getSetMinDhw: %s 500
_getSetMaxDhw: %s 800
_getDhw: %s 0
_getSetDhw: %s 750
_getSetMinDhw: %s 500
_getSetMaxDhw: %s 800
_getRoomTemp3: %s -435
_getSetRoomTemp3: %s 0
_getSetMinRoomTemp3: %s 0
_getSetMaxRoomTemp3: %s 0
Boiler Enabled: %s False
DHW Hot Water Enabled: %s False
Fan number: %s 1
0000000000010111
Pump Enabled: %s False
Temp Room 1 Enabled: %s True
Temp Room 2 Enabled: %s False
Temp Room 3 Enabled: %s False
Temp Water Enabled: %s True
End Stove Data's
I'll fire the stove in about an hour.
Thank you!!

Sorry for the delay, here is the data with the stove running.
#### Start Stove Data's ####
Info: %s ["b'#00000A---0014INFRHOTTOH", '6.2.41', 'nosig', "F23E\\n'"]
Info: %s ["b'#00000A---0068DATR0", '85', '0', '1', '23', '8', '1', '0', '0', '183', '291', '50', '400', '-435', '0', '0', '0', '548', '730', '550', '800', '1440', '100', '100', '1', '100', '2195', '3', '3', '5', '1', '1', '0', '0', '0', '0', "0534\\n'"]
Info: %s ["b'#00000A---0048DATR2", '1', '1', '76', '0', '0', '-435', '500', '200', '750', '-435', '500', '100', '700', '0', '750', '500', '800', '-435', '0', '0', '0', "7E57\\n'"]
_getFirmwareVersion: %s 6.2.41
_getWifiSignal: %s nosig                  [[  Don't know why is "no signal", it's connected using wifi ]]
_getPageIndex: %s b'#00000A---0068DATR0
_getManufacturer: %s EdilKamin
_getIsBitmapVisible: %s 0
_getIsValid: %s 1
_getStoveType: %s 23
_getStoveType Binary: %s 10111
_getStoveState: %s power
_getStoveIsOn: %s on
_getEcoMode: %s off
_getChronoMode: %s off
_getTemperatureRoom1: %s 18.3
_getSetTemperatureRoom1: %s 29.1
_getSetMaxTemperatureRoom1: %s 40.0
_getSetMinTemperatureRoom1: %s 5.0
_getTemperatureRoom2: %s -43.5                    [[ not applicable ]]
_getSetTemperatureRoom2: %s 0.0                   [[ not applicable ]]
_getSetMaxTemperatureRoom2: %s 0.0            [[ not applicable ]]
_getSetMinTemperatureRoom2: %s 0.0             [[ not applicable ]]
_getTemperatureWater: %s 54.8
_getSetTemperatureWater: %s 73.0
_getSetMaxTemperatureWater: %s 80.0
_getSetMinTemperatureWater: %s 55.0
_getSmokeTemperature: %s 144.0
_getPowerLevel: %s 100
_getSetPowerLevel: %s 100
_getSetMaxPowerLevel: %s 100
_getSetMinPowerLevel: %s 1
_getSpeedFanSmoke: %s 2195
_getSpeedFan1: %s 3
_getSetSpeedFan1: %s 3
_getSetMaxSpeedFan1: %s 5
_getSpeedFan2: %s 1                                      [[ not applicable ]]
_getSetSpeedFan2: %s 1                                 [[ not applicable ]]
_getSetMaxSpeedFan2: %s 0                          [[ not applicable ]]
_getSpeedFan3: %s 0                                      [[ not applicable ]]
_getSetSpeedFan3: %s 0                                 [[ not applicable ]]
_getSetMaxSpeedFan3: %s 0                          [[ not applicable ]]
_getFlowSwitch: %s 1                                      [[ Don't know which flow switch it refers, I will test with pump off]
_getGenericPump: %s 1                                  [[ Pump status?? I will test with pump off]
_getAirEx1: %s 76
_getAirEx2: %s 0                                              [[ not applicable ]]
_getAirEx3: %s 0                                              [[ not applicable ]]
_getPuffer: %s -435                                         [[ not applicable ]]
_getSetPuffer: %s 500                                     [[ not applicable ]]
_getSetMinPuffer: %s 200                               [[ not applicable ]]
_getSetMaxPuffer: %s 750                               [[ not applicable ]]
_getBoiler: %s -435                                          [[ not applicable ]]
_getSetBoiler: %s 500                                      [[ not applicable ]]
_getSetMinBoiler: %s 100                                [[ not applicable ]]
_getSetMaxBoiler: %s 700                               [[ not applicable ]]
_getDhw: %s 0                                                 [[ not applicable ]]
_getSetDhw: %s 750                                        [[ not applicable ]]
_getSetMinDhw: %s 500                                  [[ not applicable ]]
_getSetMaxDhw: %s 800                                 [[ not applicable ]]
_getDhw: %s 0                                                 [[ not applicable ]]
_getSetDhw: %s 750                                        [[ not applicable ]]
_getSetMinDhw: %s 500                                  [[ not applicable ]]
_getSetMaxDhw: %s 800                                 [[ not applicable ]]
_getRoomTemp3: %s -435                              [[ not applicable ]]
_getSetRoomTemp3: %s 0                              [[ not applicable ]]
_getSetMinRoomTemp3: %s 0                        [[ not applicable ]]
_getSetMaxRoomTemp3: %s 0                        [[ not applicable ]]
Boiler Enabled: %s False                                  [[ not applicable ]]
DHW Hot Water Enabled: %s False                 [[ not applicable ]]
Fan number: %s 1
0000000000010111                                         [[ I have not seen this changing ]]
Pump Enabled: %s False                                  [[ Pump disabled ?? Don't know which pump is this ]]
Temp Room 1 Enabled: %s True
Temp Room 2 Enabled: %s False
Temp Room 3 Enabled: %s False
Temp Water Enabled: %s True
#### End Stove Data's ####

I have noted the entries that are not applicable to my particular stove. I assume the stove options you added in the last commit indicate what type of system it is and which entries are applicable.
I have been testing switching the pellet level sensor on and off and have not seen any values that change.
I'm sure the wifi module knows this data (I've seen it reading it from the stove) but maybe it doesn't expose it to the outside.
As soon as I can, I will upload the table with the modbus addresses.
Thank you!!

Another record with the stove stabilized and the level switch off (i.e. Low pellet)
#### Start Stove Data's ####
Info: %s ["b'#00000A---0014INFRHOTTOH", '6.2.41', 'nosig', "F23E\\n'"]
Info: %s ["b'#00000A---0066DATR0", '85', '0', '1', '23', '8', '1', '0', '0', '223', '291', '50', '400', '-435', '0', '0', '0', '730', '730', '550', '800', '1220', '1', '100', '1', '100', '1615', '3', '3', '5', '1', '1', '0', '0', '0', '0', "2C30\\n'"]
Info: %s ["b'#00000A---0048DATR2", '1', '1', '76', '0', '0', '-435', '500', '200', '750', '-435', '500', '100', '700', '0', '750', '500', '800', '-435', '0', '0', '0', "7E57\\n'"]
_getFirmwareVersion: %s 6.2.41
_getWifiSignal: %s nosig
_getPageIndex: %s b'#00000A---0066DATR0
_getManufacturer: %s EdilKamin
_getIsBitmapVisible: %s 0
_getIsValid: %s 1
_getStoveType: %s 23
_getStoveType Binary: %s 10111
_getStoveState: %s power
_getStoveIsOn: %s on
_getEcoMode: %s off
_getChronoMode: %s off
_getTemperatureRoom1: %s 22.3
_getSetTemperatureRoom1: %s 29.1
_getSetMaxTemperatureRoom1: %s 40.0
_getSetMinTemperatureRoom1: %s 5.0
_getTemperatureRoom2: %s -43.5
_getSetTemperatureRoom2: %s 0.0
_getSetMaxTemperatureRoom2: %s 0.0
_getSetMinTemperatureRoom2: %s 0.0
_getTemperatureWater: %s 73.0
_getSetTemperatureWater: %s 73.0
_getSetMaxTemperatureWater: %s 80.0
_getSetMinTemperatureWater: %s 55.0
_getSmokeTemperature: %s 122.0
_getPowerLevel: %s 1
_getSetPowerLevel: %s 100
_getSetMaxPowerLevel: %s 100
_getSetMinPowerLevel: %s 1
_getSpeedFanSmoke: %s 1615
_getSpeedFan1: %s 3
_getSetSpeedFan1: %s 3
_getSetMaxSpeedFan1: %s 5
_getSpeedFan2: %s 1
_getSetSpeedFan2: %s 1
_getSetMaxSpeedFan2: %s 0
_getSpeedFan3: %s 0
_getSetSpeedFan3: %s 0
_getSetMaxSpeedFan3: %s 0
_getFlowSwitch: %s 1
_getGenericPump: %s 1
_getAirEx1: %s 76
_getAirEx2: %s 0
_getAirEx3: %s 0
_getPuffer: %s -435
_getSetPuffer: %s 500
_getSetMinPuffer: %s 200
_getSetMaxPuffer: %s 750
_getBoiler: %s -435
_getSetBoiler: %s 500
_getSetMinBoiler: %s 100
_getSetMaxBoiler: %s 700
_getDhw: %s 0
_getSetDhw: %s 750
_getSetMinDhw: %s 500
_getSetMaxDhw: %s 800
_getDhw: %s 0
_getSetDhw: %s 750
_getSetMinDhw: %s 500
_getSetMaxDhw: %s 800
_getRoomTemp3: %s -435
_getSetRoomTemp3: %s 0
_getSetMinRoomTemp3: %s 0
_getSetMaxRoomTemp3: %s 0
Boiler Enabled: %s False
DHW Hot Water Enabled: %s False
Fan number: %s 1
0000000000010111
Pump Enabled: %s False
Temp Room 1 Enabled: %s True
Temp Room 2 Enabled: %s False
Temp Room 3 Enabled: %s False
Temp Water Enabled: %s True
#### End Stove Data's ####

Wow ! Thank you !
I will definitively do something with that!
Yes you're right, the last options will help to configure sensors to output in Home Assistant.
Keep you in touch in few days

Just a brief remark:
The air exchanger fan has an "Auto" setting.
Although the parameter _getSetMaxSpeedFan1 is 5. You can set _getSetSpeedFan1 to value 6, which seems to be "AUTO".
Why all the "max" and "min" parameters are named "_getSet" instead of just "_get"? Can they be modified?

I have push a new version with new sensors, if you want to give a try.
I've named _getSet because I believe a first that they can be modified by I actually don't know how.
On my case fan1 always give me 0, power_level looks stuck also (wrong registers ?)
AirEx1 is also changing when I change the fan speed on the stove directly, but I don't see the set speed on the lib

For your pump, is it GenericPump or FlowSwitch ?
I gess is GenericPump cause in my case, FlowSwitch is set to True and I don't have pump.
For the pellet level, did you see it on the app ?

Here is the data with the last commit.
#### Start Stove Data's ####
Info: %s ["b'#00000A---0014INFRHOTTOH", '6.2.41', 'nosig', "F23E\\n'"]
Info: %s ["b'#00000A---0067DATR0", '85', '0', '1', '23', '8', '1', '0', '0', '201', '291', '50', '400', '-435', '0', '0', '0', '717', '730', '550', '800', '1487', '66', '100', '1', '100', '2063', '3', '3', '5', '1', '1', '0', '0', '0', '0', "5CB5\\n'"]
Info: %s ["b'#00000A---0048DATR2", '1', '1', '76', '0', '0', '-435', '500', '200', '750', '-435', '500', '100', '700', '0', '750', '500', '800', '-435', '0', '0', '0', "7E57\\n'"]
_getFirmwareVersion: %s 6.2.41
_getWifiSignal: %s nosig
_getPageIndex: %s b'#00000A---0067DATR0
_getManufacturer: %s EdilKamin
_getIsBitmapVisible: %s 0
_getIsValid: %s 1
_getStoveType: %s 23
_getStoveType Binary: %s 10111
_getStoveState: %s power
_getStoveIsOn: %s on
_getEcoMode: %s off
_getChronoMode: %s off
_getTemperatureRoom1: %s 20.1
_getSetTemperatureRoom1: %s 29.1
_getSetMaxTemperatureRoom1: %s 40.0
_getSetMinTemperatureRoom1: %s 5.0
_getTemperatureRoom2: %s -43.5
_getSetTemperatureRoom2: %s 0.0
_getSetMaxTemperatureRoom2: %s 0.0
_getSetMinTemperatureRoom2: %s 0.0
_getTemperatureWater: %s 71.7
_getSetTemperatureWater: %s 73.0
_getSetMaxTemperatureWater: %s 80.0
_getSetMinTemperatureWater: %s 55.0
_getSmokeTemperature: %s 148.7
_getSetPowerLevel: %s 100
_getSetMaxPowerLevel: %s 100
_getSetMinPowerLevel: %s 1
_getSpeedFanSmoke: %s 2063
_getSpeedFan1: %s 3
_getSetSpeedFan1: %s 3
_getSetMaxSpeedFan1: %s 5
_getSpeedFan2: %s 1
_getSetSpeedFan2: %s 1
_getSetMaxSpeedFan2: %s 0
_getSpeedFan3: %s 0
_getSetSpeedFan3: %s 0
_getSetMaxSpeedFan3: %s 0
_getFlowSwitch: %s 1
_getGenericPump: %s 1
_getAirEx1: %s 76
_getAirEx2: %s 0
_getAirEx3: %s 0
_getPuffer: %s -435
_getSetPuffer: %s 500
_getSetMinPuffer: %s 200
_getSetMaxPuffer: %s 750
_getBoiler: %s -435
_getSetBoiler: %s 500
_getSetMinBoiler: %s 100
_getSetMaxBoiler: %s 700
_getDhw: %s 0
_getSetDhw: %s 750
_getSetMinDhw: %s 500
_getSetMaxDhw: %s 800
#### End Stove Data's ####

I can confirm that _getPowerLevel was working fine. As you can see in previous posts, the value was changing. And it was following the value in the app.
I don´t know how _getSetPowerLevel works. Neither with your library nor the app. Because the stove adjust the power level automatically. So I don´t know if this is like a maximum setpoint, or like a temporal setpoint, or it just ignore it. I have to do some testing on this.
Do you know if this setting is doing something in your stove?
I also confirm that _getSpeedFan1 is working fine. It is showing the actual value 0-6 correctly.
I haven't tried to change the speed from hottohpy but I guess it will be working. I'll see if I can try it tonight.
These are the readings I'm getting:

Regarding the pump:
I am completely sure that it is not _getFlowSwitch, in the first values I gave you, the stove was off and the reading was 1.
I'm pretty sure it's _getGenericPump, but I haven't checked. Maybe tonight when I turn off the stoveI can check it out.

I have tried setting the fan speed from hottohpy and it works like a charm.
hottoh.py
    def setSpeedFan1(self, value):
        """Set power level of the stove"""
        try:
            result = self.client.sendCommand(
                parameters=[str(StoveCommands.PARAM_NIVEAU_FAN_1.value), str(value)]
            )
            return result
        except:
            raise

example.py:
while True:

    stove.setSpeedFan1(6)
    time.sleep(10)
    print("_getSpeedFan1: %s", stove._getSpeedFan1())
    print("_getAirEx1: %s", stove._getAirEx1())
    time.sleep(10)
    stove.setSpeedFan1(5)
    time.sleep(10)
    print("_getSpeedFan1: %s", stove._getSpeedFan1())
    print("_getAirEx1: %s", stove._getAirEx1())
    time.sleep(10)
    stove.setSpeedFan1(4)
    time.sleep(10)
    print("_getSpeedFan1: %s", stove._getSpeedFan1())
    print("_getAirEx1: %s", stove._getAirEx1())
    time.sleep(10)
    stove.setSpeedFan1(3)
    time.sleep(10)
    print("_getSpeedFan1: %s", stove._getSpeedFan1())
    print("_getAirEx1: %s", stove._getAirEx1())
    time.sleep(10)
    stove.setSpeedFan1(2)
    time.sleep(10)
    print("_getSpeedFan1: %s", stove._getSpeedFan1())
    print("_getAirEx1: %s", stove._getAirEx1())
    time.sleep(10)
    stove.setSpeedFan1(1)
    time.sleep(10)
    print("_getSpeedFan1: %s", stove._getSpeedFan1())
    print("_getAirEx1: %s", stove._getAirEx1())
    time.sleep(10)
    stove.setSpeedFan1(0)
    time.sleep(10)
    print("_getSpeedFan1: %s", stove._getSpeedFan1())
    print("_getAirEx1: %s", stove._getAirEx1())
    time.sleep(10)

Output:
_getSpeedFan1: %s 6
_getAirEx1: %s 76
_getSpeedFan1: %s 5
_getAirEx1: %s 90
_getSpeedFan1: %s 4
_getAirEx1: %s 83
_getSpeedFan1: %s 3
_getAirEx1: %s 76
_getSpeedFan1: %s 2
_getAirEx1: %s 69
_getSpeedFan1: %s 1
_getAirEx1: %s 62
_getSpeedFan1: %s 0
_getAirEx1: %s 0

Ok good, I will probably provide you something good during the weekend.
Actually from my side, on my stove, set speed for the fan is not working at all.
I can set it on the stove directly and nothing is changing on data's we've got with the lib. I will try to contact Astrel to get details.
It's also not working with the AppFire app....  'crying'
And you're right, the appFire app is using a server in Italy just for proxy the data's from the stove.
Data's are collected only when the app is running, the stove is only "pinging" the server every two seconds. I've spend last night on wireshark to understand their process.

I have been testing by setting the power of the stove, but it seems to have no effect on the stove. I think this is normal, because the stove automatically regulates it and it doesn't make much sense to force the value. Does it have any effect on your stove?
Today, when I got home, I noticed that all the home assistant devices were responding very slowly. I attempted to enter the web interface and could not access it.
I managed to get into the logs through SCP, and I've seen a lot of hottohpy messages flooding the log.  (6 hours at a rate of about 5 to 6 messages per second, the file was over 100MB)
I was not able to copy the exact message, because the viewer crashed and I could not access it any more. I had to restart the home assistant host.
But it was a connection failure and the cause of it was "broken pipe".
If I see it again I will try to copy the exact message.
Thank you for all your work, looking forward for new improvements.

enjoy the new version

Wow, thank you so much! I'm trying it out right now.

Can you try again with version 0.0.7 of the component ?
A time out was set a bit too short and can cause unexpected disconnections.

Getting this error with last versions. Both 0.0.7 and 0.0.6.

Did you restart HA between removing the integration ?
Btw, you don't need to remove the integration when updating it. After restarting HA, changes will be loaded.

This is all that I did:

Replace all files in custom component folder with 0.0.6 version
Restart HA

After that, the integration appeared as "not reloaded" and the entities of the previous version appeared as "not available".

I tried to remove the integration from the GUI in order to add it again. But when I click Remove nothing was happening.
I removed all the files inside the custom component folder.
I restarted HA.
After restart, the integration still appeared, so I removed it from the GUI, now it worked.
I restarted HA again.
I copied all files again in the custom component folder.
Restarted HA
Now I tried to add the integration and the error I told you was shown.
Restart again.
Try again.
Remove files.
Restart.
Copy 0.0.7 files.
Restart.
Add the integration.... Same error.

Between multiple retries I've checked with pip if it was installing the correct version of hottohpy library, and yes.
Also tried removing hottohpy and installing it again. Same result.

It's working!!!
Things that I find missing (not very important):

Water temperature setpoint (Show the current value and be able to change it)
Pellet level sensor.

I think the last one is not possible (not exposed by the wifi module), not sure if the first one is available.
However, this is already a huge step forward. Thank you for all your work!!!

authors: benlbrm elkarto

repo: benlbrm/hottohpy


text:
Adding typescript typings and the cocoaspec

Adding the typescript typings and it's reference in the package.json as well creating a cocoa pod spec which will simplify the onboarding of the library - adding the HockeySDK/AllFeaturesLib will allow for dependents to use HockeyApp feedback service.
A next step will be to update the setup steps to reflect this. Will take care of that in a next iteration just wanted to get this going.

@martincik could you take a look?

repo: benloopcompany/react-native-hockeyapp


text:
v2.20.2 import/order triggered only after adding newline

OS: Ubuntu 18
Node: 12.16.1
Eslint: 6.8.0 (bundled with CRA)
Eslint-plugin-import: 2.20.2 (bundled with CRA)
Eslint-config-create-react-app: 5.2.1 (bundled with CRA, source)
Steps to reproduce

Install create-react-app
Add import/order rule with groups via EXTEND_ESLINT
Run it - no errors occured
Add newline before function App() { (2 newline between import and function now)
Save - now error occured

./src/App.js
  Line 4:1:  `./logo.svg` import should occur before import of `react`  import/order

Search for the keywords to learn more about each error.

Or

Checkout https://github.com/koutsenko/sort-imports
Run it - it will print error
Remove one of two newlines between import and function statements
Import error will gone.

Question: why import rules are triggered by adding newline?

@ljharb looks like create-react-app eslint cache also preventing to debug this issue well. At least, can you reproduce and confirm the issue?

I'm occupied with TC39 this week; the fastest approach would be to make a PR with a test case that fails for you locally, and we can see what CI does.

@ljharb  Can i see an example of test? Never writes them but i can try

The "order" rule's tests are here: https://github.com/benmosher/eslint-plugin-import/blob/master/tests/src/rules/order.js#L13

authors: koutsenko ljharb

repo: benmosher/eslint-plugin-import


text:
chore(package): update enhanced-resolve

Just update enhanced-resolve package

Build failure:
  1) config finds the first config with a resolve section:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/config.js:46:60)
  2) config finds the first config with a resolve section when config is an array of config objects:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/config.js:80:60)
  3) extensions respects the defaults:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/extensions.js:13:44)
  4) fallback supports definition as an array:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/fallback.js:25:8)
  5) packageMains captures jsnext:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/packageMains.js:18:47)
  6) packageMains captures webpack:
      AssertionError: expected '/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/webpack/index.js' to equal '/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/webpack/webpack.js'
      + expected - actual
      -/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/webpack/index.js
      +/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/webpack/webpack.js

      at Context.<anonymous> (test/packageMains.js:24:11)
  7) packageMains captures jam (array path):
      AssertionError: expected '/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/jam/index.js' to equal '/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/jam/jam.js'
      + expected - actual
      -/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/jam/index.js
      +/home/travis/build/benmosher/eslint-plugin-import/resolvers/webpack/test/package-mains/jam/jam.js

      at Context.<anonymous> (test/packageMains.js:29:11)
  8) packageMains always defers to jsnext:main, regardless of config:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/packageMains.js:43:84)
  9) plugins work:
     AssertionError: expected { found: false } to have a property 'found' of true, but got false
      at Context.<anonymous> (test/plugins.js:18:30)
  10) plugins is correct:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/plugins.js:22:30)
  11) plugins work with alias:
     AssertionError: expected { found: false } to have a property 'found' of true, but got false
      at Context.<anonymous> (test/plugins.js:27:35)
  12) root supports definition as an array:
     AssertionError: expected { found: false } to have a property 'path'
      at Context.<anonymous> (test/root.js:21:8)

@j-f1 strange, locally all fine :confused:

@ljharb hm, maybe you are right

closing this for now. fwiw I think the webpack resolver tries to use a peer webpack's enhanced-resolve if it is installed as a dev dependency within the same project. so this version is a backup, intended to go unused.

authors: benmosher evilebottnawi j-f1


text:
minor typo in import/no-cycle rule docs

In the  import/no-cycle docs, there's an example for using options.
this is the current text:
/*eslint import/no-unresolved: [2, { maxDepth: 1 }]*/

this PR updates it to:
/*eslint import/no-cycle: [2, { maxDepth: 1 }]*/

Coverage remained the same at 96.47% when pulling f13f18ed1e5ba02abde38e69905f177c540ec90d on sharmilajesupaul:minor-typo-fix into ee15fa4c61df2ddba6fc10109f1a60bb7bddb7b6 on benmosher:master.

@sharmilajesupaul thanks, nice catch!

authors: benmosher coveralls sharmilajesupaul


text:
TypeError: init() got an unexpected keyword argument 'dtype'

TypeError                                 Traceback (most recent call last)
 in ()
9
10 TEXT = data.Field(tokenize='spacy')
---> 11 LABEL = data.LabelField(dtype=torch.float)
~\AppData\Local\Programs\Python\Python36\lib\site-packages\torchtext\data\field.py in init(self, **kwargs)
691     None by default.
692     """
--> 693
694     def init(self, **kwargs):
695         # whichever value is set for sequential and unk_token will be overwritten
TypeError: init() got an unexpected keyword argument 'dtype'
I have read the previeus issue and I updated my torchtext but the problem still exists.
Any suggestions?

Can you try:
import torch
import torchtext
print(torch.__version__)
print(torchtext.__version__)

and ensure it's printing out 0.4.1 for Torch 0.3.1 for TorchText?

Even though I had the prepared my machine with the exact results that you are proposing, at first the error persisted but now after a restart it works so thank you for your time!

authors: VerbalCPU bentrevett

repo: bentrevett/pytorch-sentiment-analysis


text:
Move from firebase to mongodb-HFS

cant pay $100 / month ;_;

mongodb with REST api

REST API done, work on client

using Retrofit for REST api

HFS available at http://file.berict.com

HTTP auth on nginx to prevent terrored bandwith

performance drop on downloading presets

repo: berict/Tapad


text:
Time Series Analysis for Sub1 Run1

Time Series Analysis done for Sub1 Run1. Created an ACF & PACF of the time series, plot of the time series and the fitted model, residuals plot, and ACF & PACF of the residuals. Install statsmodel to run it

the ts analysis would make our project even more beautiful! merged!


text:
Feat/target nodepools

Closes #1224
Target is drop in favor of TargetPools which specifies which nodepools used in the TargetK8s cluster of the LB cluster will be targeted by the Loadbalancer
e.g. in this config
  kubernetes:
    clusters:
      - name: test-cluster
        version: v1.26.1
        network: 172.16.2.0/24
        pools:
          control:
            - hetzner
          compute:
            - hetzner-1
  loadBalancers:
    roles:
      - name: apiserver
        protocol: tcp
        port: 6443
        targetPort: 6443
        targetPools:
          - hetzner
      - name: dev-2
        protocol: tcp
        port: 6447
        targetPort: 6447
        targetPools:
          - hetzner-1
    clusters:
      - name: apiserver-lb-dev
        roles:
          - apiserver
        dns:
          dnsZone: claudie.dev
          provider: cloudflare-1
        targetedK8s: test-cluster
        pools:
          - hetzner
      - name: lb-dev-2
        roles:
          - dev-2
        dns:
          dnsZone: claudie.dev
          provider: cloudflare-1
        targetedK8s: test-cluster
        pools:
          - hetzner

LBcluster apiserver-lb-dev would target heztner pools in the K8s cluster test-cluster
LBcluster lb-dev-2- would target hetzner-1 pool in the K8s cluster test-cluster`
Using Target for new config changes is disabled, however there is still support for them to allow a transition period for clusters build with the old Target to the new TargetPools
The code for the old way will be removed in future releases

For example user in the LB Target Pool will target a NodePool that is used for LB's?

This implementation only uses the Pools used in the K8s cluster. So even if the LBs use the same nodepool only the K8s "instances" will actually be targeted.

There seems to be some issue when deleting nodes from the logs of the e2e pipeline will, delay this issue a bit longer

repo: berops/claudie


text:
fix(sentry): adjust tracesSampleRate

SEVES is sending +800k/events/day on the shared sentry instance. the production value should be around 0.1 or lower
https://docs.sentry.io/platforms/javascript/tracing/#configure

@Anto59290 , on ne merge pas ça? Sinon, on peut faire un retour @revolunet ?

La tempête est visiblement passée 😆 mais si vous n'utilisez pas cette feature de sentry, autant réduire le volume :) #my2cts

authors: revolunet tglatt

repo: betagouv/seves


text:
As a User I want to manage customer in the system so that we can keep contact with customers to get a better relationship with them.

Written by @xqliu
Created at 2015-03-07T12:35:27.000+0800
Link to http://betterlife.atlassian.net/browse/BE-120

Tasks:

Requirement definition
Code implementation
Unit testing

Written by @xqliu
Created at 2016-02-28T21:04:43.356+0800

repo: betterlife/psi


text:
Create a style guide + overall documentation for the curated content

Create style guide for curated content
Figure out how to display content in an easy manner on the github pages

Someone is being very productive late at night ;) I hope you get some sleep soon @rinkug


text:
Release 2.6.2 not properly published at npm

Hi, great job with this library!
Seems like the most recent release is not properly published at npm. I discovered this because the following doesn't work:
  allowedAttributes: {
    '*': ['class']
  }

Seems like this line is missing when installing through npm/yarn: https://github.com/bevacqua/insane/blob/master/sanitizer.js#L47
I was going insane because I couldn't understand why it wouldn't work :)

I could confirm that NPM's 2.6.2 is not the same version as here.

@bevacqua Are you able to update the package to the latest version on NPM?

Bump @bevacqua - is this package still maintained?

authors: JoshuaKGoldberg josenriq mesqueeb

repo: bevacqua/insane


text:
can we have drag/drop support for images

i.e. dropped image is converted to base64 encoding and embedded as dataURI? @let4be

There is support for this but just dropping images in the image dialog works. I'd definitely merge a pull request for dropping images or attachments on the editor itself

Thanks. We're the guys over at Lavaboom. We're trying to scout for the best wysiwyg editor out there with markdown support. It's for our email client.
https://github.com/lavab/web/
If we do decide to go with woofmark I will send you a message. Thanks!

This is coming.

Deployed as 2.0.0, enabled by default, if you've set up attachment or image uploads, then it'll work seamlessly. When something is dropped onto the input, the dialog will be opened and the upload will be processed. The dialog is still used because it's a crutch to display validation messaging and whatnot.

Demo:

nice! @let4be!
On Wed, 22 Jul 2015 at 05:31 Nicolas Bevacqua notifications@github.com
wrote:

Demo:
[image: screen shot 2015-07-21 at 18 30 43]
https://cloud.githubusercontent.com/assets/934293/8813053/9d2388c4-2fd6-11e5-888f-83060a819a9e.png
—
Reply to this email directly or view it on GitHub
https://github.com/bevacqua/woofmark/issues/5#issuecomment-123483458.

--
Vik Ramanujam
vik@ramanuj.am (official)
piggyslasher@gmail.com (everything else)
+6016 656 4647

Noting a follow-up to try to intercept data-url images that are inserted that would overload databases if stored in the midst of a text post (we've seen this happen rarely on our system): #38
Thanks!

Oops, wrong one -- #69 !

authors: bevacqua jywarren piggyslasher

repo: bevacqua/woofmark


text:
Bind Group Layout Storage: Do we need a Layout Cache?

What problem does this solve or what need does it fill?
Currently, most bind group layouts are stored inside of bevy's pipeline structs.
This works fine for layouts that correspond to a single pipeline.
But there are use cases, where many pipelines rely on the same layout. (e.g. the ViewLayout)
So currently, we have to create these layouts in one of the pipelines (usually in the from_world method) and then clone them to all other pipelines. This creates quite a view implicit dependency between them. We also need access to these layouts once we are preparing the bind groups themself, so that's another place where we need access to one or multiple pipelines.
One common example is custom pipelines, that keep a handle on the mesh pipeline in order to look up the 'core' view and mesh bind group layouts.
What solution would you like?
Would it be useful to have a BindGroupLayoutCache, where we can store all layouts in a central place?
Then we could initialize them all before the pipelines are created. I am not sure what to use as the label though. A string would work, but it isn’t nice.
#[derive(Resource)]
pub type BindGroupLayoutCache = HashMap<String, BindGroupLayout>;

const MY_LAYOUT = "my_layout";

// has to be run before resource initialization
pub fn create_my_layouts(cache: Res<BindGroupLayoutCache>, device: Res<RenderDevice>) {
   cache.insert(MY_LAYOUT.into(), device.create_bind_group_layout(...));
}

pub struct MyPipeline {
    my_layout: BindGroupLayout,
}

impl FromWorld for MyPipeline {
    fn from_world(world: &mut World) -> Self {
         let cache = world.resource::<BindGroupLayoutCache>();
         let my_layout = cache,get(MY_LAYOUT);

        Self { my_layout  }
    }
}

What alternative(s) have you considered?
Alternatively, we could also create these layouts multiple times, once per pipeline. I am unsure whether this will have any significant performance drawbacks.

i think the cache could be made available to Pipeline::specialize as well to avoid needing to keep them in the pipeline.

i think the cache could be made available to Pipeline::specialize as well to avoid needing to keep them in the pipeline.

That's a great idea. This would mean, that we can use normal startup systems to create the bindgroup layouts.
Otherwise, we would have to do the layout creation before that (maybe in the plugin finish method?).

authors: kurtkuehnert robtfm

repo: bevyengine/bevy


text:
Examples should use the From<Color> impl for StandardMaterial?

          Why did this PR change a bunch of examples to not use the `From<Color>` impl for `StandardMaterial`?

Originally posted by @IceSentry in https://github.com/bevyengine/bevy/issues/13352#issuecomment-2134117365

My bad 1 sec.

I think I have switched back the parts where I can use the From impl as it would set the base_color.
The rest sets the emissive which is not the default conversion from Color.

authors: alice-i-cecile andristarr


text:
Allow for instantiation of SystemParam from immutable World

What problem does this solve or what need does it fill?
I am doing declarative programming architectures in bevy Ui where i use boxed traits inside of components to update Ui elements every frame with &World.
I wrapped a few of my asset related resources in a SystemParam like this and while i can access the resources individually from &World, it seems extremely silly that i can see no way to access the system param from &World thus my internal functions become messier .
What solution would you like?
This is what i would like to instantiate from &World ...
Just a struct w 4 readonly resources .
‘’’
#[derive(SystemParam)]
pub struct DialogDataLoadExt<'w> {
dialog_assets_resource: Res<'w, DialogAssets>,
dialog_assets: Res<'w, Assets>,
lore_node_assets: Res<'w,Assets>,
lore_set_assets: Res<'w, Assets>,
}
‘’’
What alternative(s) have you considered?
I could just not use systemparams ..? That kind of sucks as it is nice to bundle readonly resources into one param
Additional context
Bevy 14.2

Maybe we could invent something like SystemStateReadOnly that used immutable world and could let me access such a systemparam?  Or some other solution

Imo, "exclusive systems" as they relate to only having access to &World should be greatly expanded .   At the moment, it seems they only work well with &mut World and it is really throwing wrenches in my designs


text:
Rename the new App::add_systems to App::add_system, deprecated compatibility breakage

What problem does this solve or what need does it fill?
In my opinion, this makes system initialization look cleaner, makes adding single systems make grammatical sense, parity with singular methods add_state, insert_resource, etc.. I think of a tuple of systems as a single system that runs multiple tasks in parallel (just as how the app systems run in parallel).
What solution would you like?
Rename the new App::add_systems(Schedule, Systems) to App::add_system(Schedule, System)
I acknowledge this is a very visual change that may break compatibility for a common method. I personally think it is worth the rename.
Before:
.add_systems(Update, player_input)
.add_systems(Update, (drain_hunger, print_hunger))

After:
.add_system(Update, player_input)
.add_system(Update, (drain_hunger, print_hunger))

What alternative(s) have you considered?

"overload" the old deprecated method, keeping it and avoiding compatibility breakage. Might be possible with some nightly crate.
Dealing with it

Additional context

This is something that @cart, @maniwani, @james7132 and I considered during the rename.
Personally, I'm moderately opposed. I don't think it's going to be obvious to users that multiple systems can be added via tuple-based overloading like this with the singular name.
I'm also very opposed to adding back a distinct add_system method: the change to "a single way to add systems" was absolutely for the better.

I agree with @alice-i-cecile. A function that accepts one-to-many systems should be called x_systems.

authors: alice-i-cecile cart nathanfranke


text:
Fix double parenting.

The PushChildren command was always setting the Parent and PreviousParent to the same value which meant that a break (see ~line 31 of parent_update_system) preventing PreviousParent removal from executing would go off. This meant that if an entity was re-parented, it wasn't removed from its old parent's Children list.
If this is resolved we are not immediately breaking out of parent_update_system each loop. The debug_assert! begins going off - we've already performed the additions (see deleted code).
This change does the following:

Update PushChildren to properly take the Parent and set it as the PreviousParent, if it exists. Otherwise, it follows the previous behavior.
Removes the duplicate - and more complicated - Children update behavior in hierarchy_maintenance_system.

I'm curious, also, is this the wrong direction? It seems like we might want to limit PushChildren to solely update the Parent and PreviousParent components, leaving management of Children to hierarchy_maintenance_system. I did try this approach, but it did not function correctly and I wasn't making much progress debugging it. At the same time, re-parenting was completely broken and hierarchy_maintenance_system wasn't doing much, so this seems at least like a step in the right direction if that's the goal.

Also, as a note, I changed the test to use Commands as I don't expect we can provide any sort of contract to people who are fiddling with the insides of the parent/child relationships.

I've been working on some related changes (which got sidetracked due to my ECS V2 work). The idea is to make parenting completely transactional (children can only be added via World/Command builders or newly added HierarchyQuries), which means we don't need to check for duplicates, use a "hierarchy maintenance system", or maintain a PreviousParent component.
https://github.com/cart/bevy/tree/hierarchy/crates/bevy_transform
I think I want to wait and see how that experiment pans out. I'm curious to hear what you think!

(it is very much a WIP at this point)

That looks pretty cool, looks like it would solve the issue. I'm a fan of the solution for making parenting operations transactional and better change tracking will solve the transform side of things.
This PR might be worth merging in the short term just to fix parenting in cases where people re-parent, I'm definitely going to be using it locally since it is broken otherwise. Depends on when you're planning on getting back to the transforms.
I wouldn't mind helping out there a bit, but the Query code looks kind of like magic to me and I don't really understand how we are guaranteeing that we have singular write access to the two entities in the query.
Thanks for taking a look, cart!

As the carts hierarchy changes were ultimately sidelined and the 0.5 release is imminante, I think this PR should be updated, to include it in 0.5 .

As the carts hierarchy changes were ultimately sidelined and the 0.5 release is imminante, I think this PR should be updated, to include it in 0.5 .

I agree: this is a good stop-gap fix for the release.

Closing this for now in favor of a future overhaul.

authors: MinerSebas alice-i-cecile cart siler