installing via pip broken by stargazer

since stargazer is only listed as a dev dependency but is already used extensively in the package, installing from the repo produces this undesirable behaviour (pip install git+<url> installed in a fresh virtualenv)

proposals (mainly so that this error doesn't persist into next release on pypi)

make (py-econometrics/stargazer a default dependency)
drop it entirely
merge the existing PR against the main stargazer repo

Yes, thanks for the pointer Apoorva! We're still debating  how to best integrate stargazer and pyfixest, and I think that at least for the next pypi release, it looks like it's swinging in the direction to both drop the stargazer dependency & delete the pf.Stargazer method from pyfixest's code base.

Yeah I think building something minimal and reasonable internally and exposing it via etable makes a lot more sense to me tbh; I think Stargazer packages end up in the same place :upside_down_face:.

Yup, maybe that's the best approach - to not directly depend on the stargazer package, to have a nice internal etable() function that does the most important things well (and is maybe a little prettier than the current solution), and additionally to make sure that stargazer supports pyfixest for users who want a lot of customization?

Yeah that makes sense; etable with reasonable aesthetics is the most a general regression package should promise to deliver IMO. Table customization is a rabbit-hole and promises to become scope-creep for this package. For sufficiently custom tables, there's no better alternative than to pipe numbers directly into text with fstrings f""" {coef} """ anyway (that's my preferred solution, but probably not the most beginner friendly :laughing: )


Sonoff integration

I have donwloaded the last version, I  have insert code in configuration.yaml, copy file in custom_components and restart homeassistant.
When I check configuraion, I receive this error:
Component error: sonoff - Integration 'sonoff' not found.
i try it with Home assistant 0.100.2 and 0.100.0

double check - you probably didn't follow the install steps properly, check/paste error logs

Hi
I have put your folder in \<IP_ADDRESS>\homeassistant\custom_components\sonoff
And insert this code:
sonoff:
username: mymail
password: password
scan_interval: 60 #(optional, lower values than 60 won't work anymore!)
grace_period: 600 #(optional)
api_region: 'eu' #(optional)
entity_prefix: False #(optional)
debug: False #(optional)
2019-10-16 11:27:03 ERROR (MainThread) [homeassistant.components.homeassistant] Component error: sonoff - Integration 'sonoff' not found. 2019-10-16 12:00:21 WARNING (MainThread) [homeassistant.components.http] Configuring api_password via the http integration has been deprecated. Use the legacy api password auth provider instead. For instructions, see https://www.home-assistant.io/docs/authentication/providers/#legacy-api-password 2019-10-16 12:00:22 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.sonoff. Make sure all dependencies are installed
Inviato da Posta per Windows 10
Da: Peter Buga
Inviato: mercoledì 16 ottobre 2019 12:57
A: peterbuga/HASS-sonoff-ewelink
Cc: hantrax; Author
Oggetto: Re: [peterbuga/HASS-sonoff-ewelink] Sonoff integration (#167)
double check - you probably didn't follow the install steps properly, check/paste error logs
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

you need to remove everything that's after a # (hashtag) meaning:
sonoff:
  username: mymail
  password: password
  scan_interval: 60
  grace_period: 600
  api_region: 'eu'
  entity_prefix: False
  debug: False

Nothing to do
When i check configuration I receive the error
Inviato da Posta per Windows 10
Da: Peter Buga
Inviato: mercoledì 16 ottobre 2019 13:04
A: peterbuga/HASS-sonoff-ewelink
Cc: hantrax; Author
Oggetto: Re: [peterbuga/HASS-sonoff-ewelink] Sonoff integration (#167)
you need to remove everything that's after a # (hashtag) meaning:
sonoff:
username: mymail
password: password
scan_interval: 60
grace_period: 600
api_region: 'eu'
entity_prefix: False
debug: False
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

then i don't know what is the problem

@CVAS7 what exactly you are running ? give (ample) more details

Hi Peter..
I have found this in the log:
File "/home/homeassistant/.homeassistant/customcomponents/sonoff/_init.py", line 28, in  import websocket ModuleNotFoundError: No module named 'websocket'
Any idea?
Inviato da Posta per Windows 10
Da: Peter Buga
Inviato: mercoledì 16 ottobre 2019 13:56
A: peterbuga/HASS-sonoff-ewelink
Cc: hantrax; Author
Oggetto: Re: [peterbuga/HASS-sonoff-ewelink] Sonoff integration (#167)
then i don't know what is the problem
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@hantrax see https://github.com/peterbuga/HASS-sonoff-ewelink/issues/173

Hi Peter
Thanks a lot!!
Now work!!!!!
Inviato da Posta per Windows 10
Da: Peter Buga
Inviato: lunedì 28 ottobre 2019 12:48
A: peterbuga/HASS-sonoff-ewelink
Cc: hantrax; Mention
Oggetto: Re: [peterbuga/HASS-sonoff-ewelink] Sonoff integration (#167)
@hantrax see #173
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@CVAS7 what exactly you are running ? give (ample) more details

I am trying to get the device status from ewelink login account (which has Sonoff Basic-1,SONOFF® Dual Channel -2) is created from ios,
Login is successful but , at or rt fails and following error is displayed.
Code taken from "HASS-sonoff-ewelink/sonoff-debug/sonoff-debug.py"
it was wokring perfcefly fine for a day, later and now I am getting  below error:
tried chaging the password , stiil it does not work.
app_details {'at': '0e9798a8b20bddf4f846cb7d5a7cf5e710991724', 'rt': '36bda205a9765c9aa0608feffd9f21dbbbc9a5f7', 'user': {'_id': '5be99360537316dea64dcada', 'email': 'XXXXXXXXXXX', 'password': 'XXXXXXXXXXXXXXXXXXXXX', 'appId': 'oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq', 'createdAt': '2018-11-12T14:51:12.879Z', 'apikey': '163a6edc-b8d6-48b5-8ea6-0c8a3dcbee3e', '__v': 0, 'lang': 'en', 'online': False, 'onlineTime': '2019-10-27T15:12:33.745Z', 'ip': '<IP_ADDRESS>', 'location': '', 'offlineTime': '2019-10-27T15:13:12.075Z', 'userStatus': '2', 'appInfos': [{'os': 'ios', 'appVersion': '3.12.0'}]}, 'region': 'as'}
user_details {'at': '0e9798a8b20bddf4f846cb7d5a7cf5e710991724', 'rt': '36bda205a9765c9aa0608feffd9f21dbbbc9a5f7', 'user': {'_id': '5be99360537316dea64dcada', 'email': 'XXXXXXXXXXXXXXXXX', 'password': 'XXXXXXXXXXXXXXXXXXXXX', 'appId': 'oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq', 'createdAt': '2018-11-12T14:51:12.879Z', 'apikey': '163a6edc-b8d6-48b5-8ea6-0c8a3dcbee3e', '__v': 0, 'lang': 'en', 'online': False, 'onlineTime': '2019-10-27T15:12:33.745Z', 'ip': '<IP_ADDRESS>', 'location': '12.2324', 'offlineTime': '2019-10-27T15:13:12.075Z', 'userStatus': '2', 'appInfos': [{'os': 'ios', 'appVersion': '3.12.0'}]}, 'region': 'as', 'nickname': 'eWelink'}
headers {'Content-Type': 'application/json', 'Authorization': 'Bearer 0e9798a8b20bddf4f846cb7d5a7cf5e710991724'}
{
"error": 400,
"msg": "params incomplete"
}

@CVAS7 i'm sorry but i have no idea what's wrong in your case, just try to update to latest version of the component & in the same time you might have to accept that due to various (network) configurations / geolocation this component will simply not work for everyone 😞

@CVAS7 i'm sorry but i have no idea what's wrong in your case, just try to update to latest version of the component & in the same time you might have to accept that due to various (network) configurations / geolocation this component will simply not work for everyone

Hello Peter , Thank a lot for your time,
Any Solution can be taken for ewelink or coolkit api, if so can you help me with contact or links


References don't appear if not explicitly inserted

Unless the references are explicitly inserted with
::: {#refs}
:::

Then they don't appear. If this is by design, then I suggest this is documented in the readme? (This took me hours to realise -- I didn't understand why references were correctly used in the example template.qmd, but not if I instead just installed the extension with quarto install extension quarto-journals/acm, and put in the minimum YAML required to avoid errors in a qmd).
update: this is wrong, see below

I did a bit of further testing, and it actually seems that in the current version there must be an unnumbered heading called 'References' for the references to be inserted?
I.e., this works:
---
format: acm-pdf

bibliography: bibliography.bib

title: The Name of the Title Is Hope

author:
  - name: Ben Trovato
    email<EMAIL_ADDRESS>    orcid: 1234-5678-9012

# acm-specific metadata
acm-metadata:
  # acm preamble information
  copyright-year: 2018
  acm-year: 2018
  copyright: acmcopyright
  doi: XXXXXXX.XXXXXXX
  conference-acronym: "Conference acronym 'XX"
  conference-name: |
    Make sure to enter the correct
    conference title from your rights confirmation emai
  conference-date: June 03--05, 2018
  conference-location: Woodstock, NY
  price: "15.00"
  isbn: 978-1-4503-XXXX-X/18/06

---

# Introduction

This is a test: [@koNUGUGroupbasedIntervention2015].

# References {-}

::: {#refs}
:::

@Article{koNUGUGroupbasedIntervention2015,
  title = {{{NUGU}}: {{A Group}}-Based {{Intervention App}} for {{Improving Self}}-{{Regulation}} of {{Limiting Smartphone Use}}},
  author = {Minsam Ko and Kyong-Mee Chung and Subin Yang and Joonwon Lee and Christian Heizmann and Jinyoung Jeong and Uichin Lee and Daehee Shin and Koji Yatani and Junehwa Song},
  date = {2015},
  journaltitle = {Proceedings of the 18th ACM Conference on Computer Supported Cooperative Work \& Social Computing - CSCW '15},
  pages = {1235--1245},
  doi = {10.1145/2675133.2675244}
}

and produces this

If you keep the heading (but remove the explicit insertion of the references), it still works:
# Introduction

This is a test: [@koNUGUGroupbasedIntervention2015].

# References {-}

But, if there isn't a heading exactly called 'References', it breaks:
# Introduction

This is a test: [@koNUGUGroupbasedIntervention2015].

# ReferencesBOOOOOOOHH {-}

I see now that this is by design (https://github.com/quarto-journals/acm/blob/main/_extensions/quarto-journals/acm/add-bibliography.lua), but it really confused me!
The behaviour I was expecting was that the references were automatically inserted at the end, unless explicitly placed elsewhere with
::: {#refs}
:::

@cscheid  If the current design is intended to be final, can we add a note to the readme that says that the references will be inserted wherever there is a 'References' section header in the document (and only if there is such a header)?

Yes, we should absolutely document this better. Ideally, the filter that inserts the references in the right place should error out if it doesn't find a div with id refs.


⚠ SolarIn has degraded performance

In 35b4bd7, SolarIn ($SOLARIN_URL) experienced degraded performance:

HTTP code: 200
Response time: 180 ms

Resolved: SolarIn performance has improved in 0ad689a after 50 minutes.


New Network Request: Torus Testnet

Network information

Name: Torus Testnet
ChainId:8194
RPC http/s address: https://rpc-horn.toruspad.org
Link to https://chainlist.org/
Blockexplorer:testnet-explorer.toruspad.org/

When we provide a PR please deploy the singleton and if possible post an answer on this issue with the links to the blockexplorer addresses.

I'm closing this due to inactivity


Kconfig warnings when building any sample for nRF5x

warning: (SOC_SERIES_NRF51X && SOC_SERIES_NRF52X && GPIO_DW_CLOCK_GATE && SPI_DW_CLOCK_GATE) selects CLOCK_CONTROL which has unmet direct dependencies (SOC_SERIES_KINETIS_K6X && SOC_MK64F12 || SOC_SERIES_KINETIS_KL2X && SOC_MKL25Z4 || SO
C_SERIES_KINETIS_KWX && (SOC_MKW22D5 || SOC_MKW24D5) || SOC_SERIES_KINETIS_KWX && SOC_MKW40Z4 || SOC_SERIES_KINETIS_KWX && SOC_MKW41Z4)
warning: (SOC_SERIES_NRF51X && SOC_SERIES_NRF52X && GPIO_DW_CLOCK_GATE && SPI_DW_CLOCK_GATE) selects CLOCK_CONTROL which has unmet direct dependencies (SOC_SERIES_KINETIS_K6X && SOC_MK64F12 || SOC_SERIES_KINETIS_KL2X && SOC_MKL25Z4 || SO
C_SERIES_KINETIS_KWX && (SOC_MKW22D5 || SOC_MKW24D5) || SOC_SERIES_KINETIS_KWX && SOC_MKW40Z4 || SOC_SERIES_KINETIS_KWX && SOC_MKW41Z4)

Any idea what introduced this? I've seen it for the last few days

@MaureenHelm seems like this commit by you is the culprit after bisecting: 7a60782f6767e22e502f5d24c8956de477c9b2fb

This problem seems limited to Nordic boards, as I don't see it happening on NXP or ST boards. Most of the clock control drivers are conditioned upon the SoC series, except for the NXP clock control driver which uses a depends on HAS_MCUX_SIM instead. I think the problem may be that the Nordic SoCs select CLOCK_CONTROL in Kconfig.series whereas everything else does it in defconfigs.

@MaureenHelm thanks for looking into this. I tried selecting CLOCK_CONTROL in the board defconfig, but the problem is that our SoC requires clock control by default because it includes the NRF_TIMER, which replaces the SysTick and itself uses the clock control, so I don't think that's a solution, since clock control is an integral part of our SoCs and should indeed be in the Kconfig.series

Can you do it in the SoC defconfig rather than the board defconfig? Although Kinetis doesn't use clock control to replace the SysTick, it does need clock control for the uart and thus the console. So it's pretty essential for Kinetis too.

Addressed by: https://github.com/zephyrproject-rtos/zephyr/pull/4663
Build currently failing there because of a UART warning issue unrelated to this.
@MaureenHelm can you take a look?

Fixed and merged by #4663

@MaureenHelm can you take a look?

LGTM. Thanks!


fix sending fax, when to is multi-value

Current version works with only one phone number.
if you try to send fax by a few numbers , server returns 400 Bad Request.
My pull request fixes it , and you can send fax by a few numbers

Thanks for the pull request, but the way it's written, it may be overwritten by future changes.
This code is auto-generated by OpenAPI Generator using the RingCentral OpenAPI spec, so changing one or both of those is the way to update this in a way that it won't be overwritten in the future.


Using Diagram before it is fully loaded

Hi, great work on 2.0.0!
When I try to add nodes to the diagram programatically in the OnInitializedAsync method of the page
var position = Diagram.GetRelativePoint(x, y);
var node = new FunctionNodeModel(function, position);
Diagram.Nodes.Add(node);

this happens:
System.Exception: Container not available. Make sure you're not using this method before the diagram is fully loaded
   at Blazor.Diagrams.Core.Diagram.GetRelativePoint(Double clientX, Double clientY)

This did not happen in the previous release. Is there a workaround such as an event I should be waiting for?
Thanks

Hello and thanks!
The problem here is with GetRelativePoint, which calculates the relative point based on the canvas container. While the canvas didn't render, Container is null, so the calculation isn't possible.
The previous version returned null in that case, but I felt that it doesn't make a lot of sense since you shouldn't be using methods that depend on Container before it's initialized.
Solution: Don't use those methods in OnInitializedAsync. Just set the position to null or something you already know.
Hope this helps!

I have the same result using OnAfterRenderAsync instead of OnInitializedAsync. How can I be alerted when the container is initialized?

There is a ContainerChanged event in Diagram. May I know why you need the relative point?

Hello, you can find a minimal example here using blazor webassembly:
https://github.com/BjornEngelen/DiagramIssue
Upon opening the page, an error occurs


Out of order INSERT INTO ORDER BY with primary key and unique key tables

Steps to reproduce the behavior (Required)
You can also reproduce this with unique key table.
-- Create the source table
CREATE TABLE db_stage_DEVELOP.source_table (
   hash BIGINT,
   id INT,
   timestamp DATETIME
)
PRIMARY KEY (hash)
DISTRIBUTED BY HASH(hash);

-- Create the destination table
CREATE TABLE db_stage_DEVELOP.destination_table (
   id INT,
   timestamp DATETIME,
   hash BIGINT
)
PRIMARY KEY (id)
DISTRIBUTED BY HASH(id);

-- Insert 5 rows into the source table
INSERT INTO db_stage_DEVELOP.source_table (hash, id, timestamp) VALUES
(1234567890, 1, '2024-06-14 10:00:00'),
(2234567890, 1, '2024-06-15 11:00:00'),
(3234567890, 1, '2024-06-16 12:00:00'),
(4234567890, 1, '2024-06-17 13:00:00'),
(5234567890, 1, '2024-06-18 14:00:00');

-- Verify the data in the source table
SELECT * FROM db_stage_DEVELOP.source_table;

-- Select from the source table ordered by timestamp ascending and insert into the destination table
INSERT INTO db_stage_DEVELOP.destination_table (id, timestamp, hash)
SELECT id, timestamp, hash
FROM db_stage_DEVELOP.source_table
ORDER BY timestamp ASC;

-- Verify the data in the destination table
SELECT * FROM db_stage_DEVELOP.destination_table;

Expected behavior (Required)
If you make the source table single tablet, also add a paraphrasis to the SELECT statement inside of the INSERT, the issue goes away..
-- Create the source table
CREATE TABLE db_stage_DEVELOP.source_table (
    hash BIGINT,
    id INT,
    timestamp DATETIME
)
PRIMARY KEY (hash)
DISTRIBUTED BY HASH(hash) buckets 1;

-- Create the destination table
CREATE TABLE db_stage_DEVELOP.destination_table (
    id INT,
    timestamp DATETIME,
    hash BIGINT
)
PRIMARY KEY (id)
DISTRIBUTED BY HASH(id);

-- Insert 5 rows into the source table
INSERT INTO db_stage_DEVELOP.source_table (hash, id, timestamp) VALUES
(1234567890, 1, '2024-06-14 10:00:00'),
(2234567890, 1, '2024-06-15 11:00:00'),
(3234567890, 1, '2024-06-16 12:00:00'),
(4234567890, 1, '2024-06-17 13:00:00'),
(5234567890, 1, '2024-06-18 14:00:00');

-- Verify the data in the source table
SELECT * FROM db_stage_DEVELOP.source_table;

-- Select from the source table ordered by timestamp ascending and insert into the destination table
INSERT INTO db_stage_DEVELOP.destination_table (id, timestamp, hash) (SELECT id, timestamp, hash FROM db_stage_DEVELOP.source_table ORDER BY timestamp ASC );

SELECT * FROM db_stage_DEVELOP.destination_table;

Real behavior (Required)
SELECT * FROM db_stage_DEVELOP.destination_table;

different result every single time
StarRocks version (Required)
3.2.8 allinone ubuntu docker

It’s not a bug, we have multi insert concurrency and try to insert into db_stage_DEVELOP.destination_table , last arrival win. And we cannot guarantee the order of arrival of data with the same key in a multi-concurrency scenario, unless you use set pipeline_dop = 1 , to make sure only one concurrency to handle insert.

@luohaha Honestly, I think this is something StarRocks can handle internally.

@ss892714028 So, what you need is similar to merge_condition in https://docs.starrocks.io/docs/3.3/loading/Load_to_Primary_Key_tables/#conditional-updates, right?

@ss892714028 Have you solved your requirement?

is not solved

if i remember correctly the issue was enable_adaptive_sink_dop


release 0.3.2

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

Project coverage is 97.05%. Comparing base (291a5e2) to head (34f6d9e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   97.05%   97.05%
=======================================
  Files          11       11
  Lines        2373     2373
=======================================
  Hits         2303     2303
  Misses         70       70

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


failed to build lvgl-rs 0.4.0

https://docs.rs/crate/lvgl/0.4.0/builds

Thank you for pointing that out. I need to look into that.
It's failing because we need the environment variable DEP_LV_CONFIG_PATH  to be set.

Still not working: https://docs.rs/crate/lvgl/0.5.1/builds/358614

I need to investigate how docs.rs builds, apparently it's some custom way of getting the crate code. One option is to copy the examples lv_conf.h file to lvgl-sys just for this build. I might do that, as it is an easy win.

Building https://docs.rs/lvgl/0.5.2/lvgl/


capitalized-comments conflicts with default-case ("no default")

When the "no default" marker is used to intentionally omit a default case in a switch statement, it causes a warning for the capitalized-comments rule. Fixing it to "No default" instead triggers the default-case rule violation because it does not support "No default".
https://github.com/eslint/eslint/issues/7673

PR with fix approved, pending merge: eslint/eslint#7742

Fix is now in ESLint, but I disabled this rule anyway because it caused too much pain when commenting out a piece of code during development and then uncommenting it back (the first letter got fixed to a capital letter which caused syntax errors).


Ability to tune the underlying bayes_opt params

Some problems require tuning the underlying bayes_opt params such as the utility function being used or even the underlying gp params ... it seems that there is no way to change them using nevergrad

Indeed, the current interface of on optimizer is not very flexible in this regard.
I am trying to push some sort of factory / family of optimizers which could be use for this though. It is mostly hidden for now but some algorithms, including the BO variants have one:
https://github.com/facebookresearch/nevergrad/blob/master/nevergrad/optimization/optimizerlib.py#L1044-L1067
In this class, we could add close to anything (though the more we add, the more likely there will be new issues so I try to be cautious about it). Is there anything in particular you would like to have access to?

I would like to have access to the utility function args (kind, kappa and xi) ... and for the GP, I think the alpha parameter will suffice.

another (maybe related) issue is the seed of the BayesianOptimization object ... as I noticed that it's random but I think it should be reproducible / controllable

another (maybe related) issue is the seed of the BayesianOptimization object ... as I noticed that it's random but I think it should be reproducible / controllable

The results of BO can be repeatedly reproduced inside Nevergrad by setting the seed to numpy random as such:
import numpy as np
np.random.seed(any_seed)

However there are some reported issues with the inability to reproduce BO results across different systems, you might want to take a look at this:
Different result on different machines for same input and random seed #155

@lazyoracle I think you are missing this : https://github.com/facebookresearch/nevergrad/blob/d5bda3886d77e8166118ab46c511addc9855ef83/nevergrad/optimization/optimizerlib.py#L994

@robert1826 Won't setting a fixed seed in np.random() generate the same randint() to be used as the seed you mentioned above thus ensuring reproducibility?

@robert1826, as @lazyoracle mentioned, this line is precisely what makes seeding before initialization of the optimizer work. They are unit tests that make sure the results are reproducible (though I did notice slight differences from a computer to another one, which seems consistent with the issue mentioned by @lazyoracle)
For the future, I'm still considering changing how seeding works in nevergrad though, providing a default random state that optimizers should pull from.

Concerning the parameters, I'll try to add them next week.

Above is the diff to provide access to more parameters, @robert1826 would that work for you? Can you give more details to what was useful for you and why? This is just for my own culture, I am not yet very familiar with BO.

This looks perfect to me and it's exactly what I asked for .... but for completeness please and another param for the 'init' budget .. instead of just setting it as the sqrt(budget) here:
https://github.com/facebookresearch/nevergrad/blob/b8fdfa72ce6674ff10c9d668d252c9257025c742/nevergrad/optimization/optimizerlib.py#L1004

Ok, this is now changed as well. I am a bit worried that this will create a lot of border cases though, but nevermind for now. On the longer term though, this may mean that the interface will evolve. I see a couple of things that will probably change:

the first 3 parameters (about the initialization) could(/should?) probably be changed to a unique parameter init_optimizer for instance.
the gaussian cumulative density transform which is used to convert from [0, 1] to R saturates too fast in my experience, I doubt you can get any value beyond 14 or something like this. We may change it to arctan if this makes sense as well.

In a nutshell, don't be surprise if you see some changes (or don't hesitate to ask for more changes, or propose some), this is still under development (sorry for the bother...)

I'll merge now, but am unable to comprehensively test that all the parameters work as intended. Hopefully all should go well but let me know if you see anything weird ;)

How well does this integrate with the family/factory of optimizers plan you were mentioning? Do you plan to have a ParametrizedOptimizer-like parameter for initialising all the optimizers?

My logic is that the proposed changes are just a way to 'expose' the params of bayes_opt to the user of nevergrad ... so any border cases in this change is probably handled by the bayes_opt package ... anyway I'm an active user and I'll try to test and fix bugs if I find some.

@robert1826 some of the initialization part is not strictly from bayes_opt so I won't be able to blame them if it fails :D
@lazyoracle for now there is no clear path, it's more of a tentative API. I will push it whenever this makes sense (it removed a looot of duplicated code one OnePlusOne for instance), there is issue #100 to track this process. Still, not all optimizers require parametrization (and not all users want to deal with parametrization) so both optimizers and optimizer family may live together if nobody complains too much...


build/restore error with nuget feed

I did a clean clone of the source, and tried to do a dotnet restore which produced the following error
C:\Program Files\dotnet\sdk\3.0.100-preview-009812\NuGet.targets(114,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/tailwindtraders/_packaging/Toolkit/nuget/v3/index.json. [c:\TailwindTraders-Desktop\Source\couponreader.sln] C:\Program Files\dotnet\sdk\3.0.100-preview-009812\NuGet.targets(114,5): error :   Response status code does not indicate success: 401 (Unauthorized). [c:\TailwindTraders-Desktop\Source\couponreader.sln]
I havent delved into the source code too much, but i noticed the nuget.config contains this
<add key="toolkit" value="https://pkgs.dev.azure.com/tailwindtraders/_packaging/Toolkit/nuget/v3/index.json" />
visiting that link asks me to sign in, and when I do it says I am unauthorized
Something i'm missing here?

Hi @lookitskris
I have updated the nuget source. It should compile now.
I close the issue, feel free to reopen it if still having package restore errors.


Add Waveforms for Testing Purposes section to test/README.md

This PR adds instructions around generating waveforms in tests from files and on the fly, as well as contributing new assets.

Thanks for working on this!

(rebasing should fix unittest errors)


(Bug) Wrong rate value (long mantissa)

Related https://github.com/poanetwork/token-wizard/pull/631
Step to reproduce:

Create crowdsale with parameters: decimals=6, rate=1500
Proceed until invest page
Observe rate value on crowdsale page
Observe rate value on mange page

Actual result: rate should be 1500
Expected result: rate is 1500.0000000000016   (13 digits after comma)
Reproduced with rate =1750
Not reproducible if rate has round value like 10, 100, 1000 etc.
If you are reporting a problem with Token Wizard, please include the following information:
Which network did you use? (Mainnet, Kovan, Rinkeby, etc.)
Sokol
If you were able to create it, what is the URL of your crowdsale?
https://wizard.oracles.org/crowdsale?addr=0xd90E605427bdf4B2A7cB8AD3DD6986dC7c13D366&networkID=77
Do you have screenshots showing the problem?

Do you see errors in the dev console? If yes, please include a screenshot
To open the dev console in Google Chrome, press F12, or go to View -> Developer -> Developer Tools, and open the Console tab
If you see errors, please right click on them and "Save as..". Zip saved file and attach it to the Issue.
Your answer

This is no longer an issue
@dennis00010011b can you revalidate?

This issue is  not reproducible anymore


Modernize plugin: Update the parent pom to use the most recent features of the Jenkins plugin build environment

What feature do you want to see added?
follow this instructions
https://www.jenkins.io/doc/developer/tutorial-improve/update-parent-pom/
Upstream changes
No response

I think this one is already done: https://github.com/jenkinsci/lockable-resources-plugin/blob/master/pom.xml#L8


In version 1.7.2, ingestion doesn't seem to work, no container is created

The first run talked about the legacy builder being deprecated, the --no-dev option being deprecated and then failed with Read on closed or unwrapped SSL socket...although the script still reported Success! Ingest job is running.
After numerous runs (it kept installing new things), the ingestion script ran as normal (see output below). However, when I ran the command to check the ingestion status, the container wasn't in existence!
~/Documents/vectara-ingest (main)$ ./run.sh config/documentation-portal-v2.yaml default

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.

             Ingest job is running.

You can try 'docker logs -f vingest' to see the progress.

~/Documents/vectara-ingest (main)$ docker logs -f vingest

Traceback (most recent call last):

  File "/home/vectara/ingest.py", line 160, in <module>

    main()

  File "/home/vectara/ingest.py", line 93, in main

    general_dict = env_dict['general']

KeyError: 'general'

Thanks for reporting this. In this version, the code actually expects to have a "general" profile in the secrets.toml file, but I see now that it's not represented in this way in the secrets.example.toml. I will fix this shortly to reflect, but in the meantime can you please add a single line as below to your secrets.toml file and see if that helps?
[general]

@ofermend My thanks for the clarification! ❤
A couple more questions:

Is including api = 'vectara_api_value' also necessary, or is including [general] sufficient?
As you can see below, run.sh causes a deprecation warning about the legacy builder.
I accidentally discovered that run.shdisplays a message when secrets.toml file isn't there...but continues anyway? This is a tad confusing—it should surely stop there, right? Here's an example:

$ ./run.sh config/mywebsite-v3.yaml default
cp: cannot stat 'secrets.toml': No such file or directory
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  4.061MB
Step 1/35 : FROM --platform=linux/amd64 ubuntu:22.04
 ---> 174c8c134b2a
Step 2/35 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 0f078248133b
 ...

Hey Michael,

Yes only [general] is enough. If you use the experimental table processing, that requires a specialized openai api key, and you then need to put it there. But for your use-case just [general] should be enough. I will add a PR soon that prevent this from crashing in this case and just ignores - thanks for highlighting this issue.
Yes I see this - let me try and investigate how to remove this.
Same here - will fix in the next release. Thanks again.


Add multiple contacts to folder

Codecov Report

Merging #95 (a011fc7) into master (b5b9ed3) will increase coverage by 0.15%.
The diff coverage is 75.75%.

@@             Coverage Diff              @@
##             master      #95      +/-   ##
============================================
+ Coverage     72.45%   72.60%   +0.15%
- Complexity      542      547       +5
============================================
  Files            91       91
  Lines          1677     1694      +17
  Branches        207      212       +5
============================================
+ Hits           1215     1230      +15
- Misses          402      403       +1
- Partials         60       61       +1

Impacted Files
Coverage Δ

...edu/address/logic/commands/AddToFolderCommand.java
75.00% <66.66%> (+6.81%)
:arrow_up:

.../seedu/address/logic/parser/AddToFolderParser.java
92.85% <100.00%> (+0.85%)
:arrow_up:

Continue to review full report at Codecov.

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


[Size optimization] Rename class fqnames and field and method names + compress descriptors/signatures

Since we already have reflection info that maps java names into haxe names, we could just rename long fqnames and methods into something like just "A" with a <minimize> or <obfuscate> option that would greatly reduce output size for release versions.
So the full name will just appear once and all the references would use a short name.
We have to determine what to do from haxe code that references java. Maybe we should avoid that in these cases and start being able to call haxe from java to implement stuff in there.
We could also compress descriptors/signatures: descriptor could be obtained from signatures. And instead of using full fqnames maybe we could use numbers to reference types. We could even use Base64 VLQ to encode those numbers efficiently. After processed we should reconstruct descriptors/signatures so reflection API and usercode can use them.
Instead of calling ot HaxeReflect.method, we could too make a single call to reduce size even more. Describing the whole type with a single call with a long string with all the information included.

<minimizeNames> was the name. Also added the ability to strip reflection information from some classes, methods or fields; internally and externally. Also renamed some long names to smaller ones.
At this point I'm not compressing information.


feat: Add browser info and app version

This PR adds the Version number near the OHIF's logo and in the About modal.
Also, it was added the Build Number, Browser and OS in the About Modal.
A new i18n namespace was added in Locize and translations for en-US and pt-BR were  made.

Preview

Fixes #529

LGTM :+1:


[ci/python] Coalesce PyPI-publish for main branch

Context: #700

Codecov Report
Base: 71.70% // Head: 58.86% // Decreases project coverage by -12.84% :warning:

Coverage data is based on head (5eb9b8f) compared to base (41191cd).
 Consider uploading reports for the commit b774c35 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #701       +/-   ##
===========================================
- Coverage   71.70%   58.86%   -12.85%
===========================================
  Files          70       38       -32
  Lines        3768     1556     -2212
===========================================
- Hits         2702      916     -1786
+ Misses       1066      640      -426

Flag
Coverage Δ

python
?

r
58.86% <ø> (ø)

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

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/collection.py

...is/python/src/tiledbsoma/experiment_query/query.py

...pis/python/src/tiledbsoma/experiment_query/util.py

apis/python/src/tiledbsoma/tiledb_object.py

...is/python/src/tiledbsoma/tiledb_platform_config.py

apis/python/src/tiledbsoma/factory.py

apis/python/src/tiledbsoma/dataframe.py

apis/python/src/tiledbsoma/eta.py

apis/python/src/tiledbsoma/measurement.py

apis/python/src/tiledbsoma/dense_nd_array.py

... and 22 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@mlin @thetorpedodog @bkmartinjr I could use a lot of feedback here 🙏

#704 does some reorg and #700. If this PR  were to be rebased on top of now-merged #704, little would be left other than my erroneous implementation.


Fix undefined class attribute in undefined template scope

Reference Issue
Fixes #3364
Description
If the dom-repeat has no template host, this._rootDataHost is undefined. Therefore it will not invoke this._rootDataHost._scopeElementClass. As fallback, return the plain value received, as Polymer should not perform any scoped styling.

Rebased on current master. PTAL @azakus

LGTM, thanks!


breaks with babel sourceMaps: 'inline'

The build breaks when sourceMaps: 'inline' is specified in the the ember-cli-build.js:
  let app = new EmberApp(defaults, {
    babel: {
      sourceMaps: 'inline',
    },
  });

Build Error (broccoli-persistent-filter:Babel > [Babel: test-template-imports]) in test-template-imports/templates/application.js

/home/lux/git/contrib/test-template-imports/test-template-imports/templates/application.js: Cannot read properties of undefined (reading 'length')TypeError: /home/lux/git/contrib/test-template-imports/test-template-imports/templates/application.js: Cannot read properties of undefined (reading 'length')
    at memoizedBinarySearch (/home/lux/git/contrib/test-template-imports/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js:138:29)
    at traceSegmentInternal (/home/lux/git/contrib/test-template-imports/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js:506:21)
    at Object.exports.traceSegment (/home/lux/git/contrib/test-template-imports/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js:393:20)
    at originalPositionFor (/home/lux/git/contrib/test-template-imports/node_modules/@ampproject/remapping/dist/remapping.umd.js:90:38)
    at traceMappings (/home/lux/git/contrib/test-template-imports/node_modules/@ampproject/remapping/dist/remapping.umd.js:59:30)
    at remapping (/home/lux/git/contrib/test-template-imports/node_modules/@ampproject/remapping/dist/remapping.umd.js:203:30)
    at mergeSourceMap (/home/lux/git/contrib/test-template-imports/node_modules/@babel/core/lib/transformation/file/merge-map.js:22:30)
    at generateCode (/home/lux/git/contrib/test-template-imports/node_modules/@babel/core/lib/transformation/file/generate.js:76:41)
    at run (/home/lux/git/contrib/test-template-imports/node_modules/@babel/core/lib/transformation/index.js:55:33)
    at run.next (<anonymous>)

Stack Trace and Error Report: /tmp/error.dump.67aa97b8198d8cbc18d5fe1eeeea2982.log

reproduction

@luxferresum have you found a solution to this?

Does this still reproduce on the latest version (just released a little while ago)? I would assume it does—none of those changes were intended or likely to fix it—but wanted to double check.

Hi @chriskrycho
Yes, the issue is still present with<EMAIL_ADDRESS>I should add that the app builds correctly when using Embroider, even with the following Webpack sourcemaps config:
  const { Webpack } = require('@embroider/webpack');
  return require('@embroider/compat').compatBuild(app, Webpack, {
    packagerOptions: {
      webpackConfig: {
        devtool: 'source-map',
      },
    },
  });

I am having this problem with the latest ember-template-imports version 3.4.2.

Added ember-template-imports to a big project already using embroider with devtool: 'source-map'.
Created this component (hello.gts):

import Component from '@glimmer/component';

export default class HelloComponent extends Component {
  <template>

Hello

  </template>
}

The build fails with this:
webpack 5.79.0 compiled with 1 error and 1 warning in 39347 ms
Build Error (PackagerRunner) in components/hello.ts

Module build failed (from ../../../../../../../../Users/tcjr/dev/PROJECT/node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 0)
$TMPDIR/embroider/735ce2/components/hello.ts/hello.ts: Cannot read properties of undefined (reading 'length')

    at memoizedBinarySearch (/Users/tcjr/dev/PROJECT/node_modules/@ampproject/remapping/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js:138:29)
    at traceSegmentInternal (/Users/tcjr/dev/PROJECT/node_modules/@ampproject/remapping/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js:513:21)
    at Object.exports.traceSegment (/Users/tcjr/dev/PROJECT/node_modules/@ampproject/remapping/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js:393:20)
    at originalPositionFor (/Users/tcjr/dev/PROJECT/node_modules/@ampproject/remapping/dist/remapping.umd.js:90:38)
    at traceMappings (/Users/tcjr/dev/PROJECT/node_modules/@ampproject/remapping/dist/remapping.umd.js:59:30)
    at remapping (/Users/tcjr/dev/PROJECT/node_modules/@ampproject/remapping/dist/remapping.umd.js:203:30)
    at mergeSourceMap (/Users/tcjr/dev/PROJECT/node_modules/@babel/core/lib/transformation/file/merge-map.js:22:30)
    at generateCode (/Users/tcjr/dev/PROJECT/node_modules/@babel/core/lib/transformation/file/generate.js:76:41)
    at run (/Users/tcjr/dev/PROJECT/node_modules/@babel/core/lib/transformation/index.js:55:33)
    at run.next (<anonymous>)

Stack Trace and Error Report: /var/folders/27/fwb98ss15l3gp6lx1jyd22n00000gn/T/error.dump.6a9f7e2170359a60e896908d2085fffc.log

If I temporarily turn off source maps, the build works.
Also, just like in the other very similar issue, it looks like pinning the version of @babel/generator to a specific version seems to resolve the issue.  In my project, I added "**/@babel/generator": "~7.23.0" to "resolutions" in package.json.
This app had 7 unique versions of @babel/generator (7.18.2, 7.20.5, 7.20.7, 7.21.1, 7.21.4, 7.22.7, 7.22.9) in 18 dependencies. I am not entirely sure how this works, so I hope it didn't break anything else.


Upgrade iohk-monitoring-framework to build with ghc-9.6

[x] Make it build.
[ ] Add it to CI.
[ ] Upload to CHaP

This thing is in a bit of a mess. Will need to do a through cleanup and fix.

The GH Actions uses Nix so @angerman will look at it.

Completely rejigged GHA based on what is in cardano-base.


Request: Simple Examples

Hi,
Are there any very simple examples available? Image Recognition is great, but I'm thinking even simpler.
For example, can I take a model with a single FC layer, just a single weight and bias, and compile it for the cortex-m via tflite?
Thanks

Hey @thorinf, It sounds like the easiest way for you to get started would be to look at some of the tflite-micro examples https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/examples
Cmsis-nn can be built as a target for tflite-micro and would be the main way to use the library with your tflite files. If you can get the basic use of tflite-micro down then you can you use any small single layer models the same way and run it through cmsis-nn.

Hi,
Thanks for getting back to me so fast.
make -f tensorflow/lite/micro/tools/make/Makefile TARGET=cortex_m_generic TARGET_ARCH=cortex-m7 microlite
make -f tensorflow/lite/micro/tools/make/Makefile TARGET=cortex_m_generic TARGET_ARCH=cortex-m7 OPTIMIZED_KERNEL_DIR=cmsis_nn microlite

I did manage to get these to build, just running into difficulties building my project. VSCode can find the tflite-micro headers when i click on them but my build process can't. I did put the libs in the Makefile, but I'm probably making a mistake - I should be able to fix it.

Great! Glad to see you making some progress.
The issue with adding examples to cmsis-nn is that the library it not really intended to be used on its own, so its often better to use the tflite micro examples instead. You can directly call the functions, but you would need to have your own framework built around it since we do not do any memory management or handle persistent data between functions etc.


Intellisense Not Working

Type: Bug
I'm unable to use Ctrl+Click to navigate to components, and there's no error highlighting throughout my code. Auto-imports are also not working, and even when I type something unrelated to the project, it doesn't throw any runtime errors. Additionally, the "Go to Implementation" option is missing when I try to open components. I've tried uninstalling and reinstalling VS Code multiple times, along with removing all extensions, but the issue still persists.
example:
<MyComponent>
<h1> Hello Team Please Fix My Problem  </h3>
</MyComponent>

I have two different heading tags, but I don't encounter any errors.
When I try to navigate to the component by pressing Ctrl + <MyComponent>, it doesn't work. Additionally, right-clicking doesn't provide the "Go to Implementation" option.
When trying to import MyComponent, pressing Ctrl + Space doesn't show any suggestions (there are no suggestions across the entire project).

you can see there is no option called goto implementation

no error's are highlighted

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.14393
Modes:
Extensions (7)

Extension
Author (truncated)
Version

vscode-tailwindcss
bra
0.12.11

gitlens
eam
15.6.2

prettier-vscode
esb
11.0.0

auto-rename-tag
for
0.1.10

copilot
Git
1.242.0

copilot-chat
Git
0.21.2

material-icon-theme
PKi
5.12.0

I've checked running extension bisect too still no luck.

Did you disable the built-in js/ts extension. In the extensions view search @builtin typescript and make sure TypeScript and JavaScript Language Features is still enabled

Did you disable the built-in js/ts extension. In the extensions view search @builtin typescript and make sure TypeScript and JavaScript Language Features is still enabled

good eyes man. Thank You.


Fix zero value of main_precursor_charge field

mzDB files generated from Wiff files contain a charge of zero for all MS2 spectra

Yes, I have already seen that. Seems that charge info is not present in Wiff files or Proteowizard does not give any acces to it yet !

Ok we will try the conversion with msconvert to see if the exported MGF file has a valid charge state.

Without specific peak picking procedure, the charge state is not computed by msconvert.
We made also a conversion with MSDataConverter (AbSciex tool) and the result is the same (no charge state computed).
I will fix mzdb-access so that it does not write zero charge states in the exported MGF file.


Set up linting and autformatting

We should set up a linter (probably flake8?) that checks moderate code consistency and style requirements
(unused imports, unused variables, line width, ...) as an action on PRs.
Should make it easy for developers to run the linter locally before pushing.
Additionally we should set up an auto-formatter (probably yapf) with stricter rules to run periodically (e.g. monthly)
and reformat the code base.
This could then do whitespace, blank lines, ...
We will need to make the existing codebase comply with those rules, manually.
To avoid merge hell, we will do this after an effort to merge some branches as we move towards v1.0.0

Will add flake8 with minimal checks in #249.
Before v1.0, expand the ruleset to cover more, at least line width.

Reminder to let the linter check that tenpy itself is never imported with absolute imports

Reminder to consider moving the checks in test_consistencies.py to the linting workflow

Reminder to consider newer yapf version

Reminder to consider the following disabled part from the pytest github action
#        pip install flake8
#        # stop the build if there are Python syntax errors or undefined names
#        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
#        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
#        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

Reminder to update the outdated(?) statements in doc/contr/guidelines.rst

Should include more flake8 rules, e.g. F841,F811, the pycodestyle rules (E**), linelength


Correction of the documentation

Signed-off-by: sufuy45<EMAIL_ADDRESS>Type of change

Documentation update

Description
Change in line 326-327: There are no transaction results which could be forwarded to the client, because the transaction is not commited yet.
Change in line 331ff: Even though the gateway service forwards the transaction proposal to the required endorsing peers according to the endorsement policies, the actual tests of the endorsement policies will be take place in phase 3.

The failed unit test is a flake failure and can be ignored.


Consider adding a HEALTHCHECK instruction to Dockerfile

Proposal:
Add a HEALTHCHECK instruction to Dockerfile
See https://docs.docker.com/engine/reference/builder/#healthcheck
e.g.
HEALTHCHECK --interval=5s --timeout=10s --retries=5 CMD [ "curl", "http://localhost:8086/health" ]

Current behavior:
When influxdb is brought up in a container, services which depend on it (like telegraf) won't start properly until influxdb is fully up and accepting connections. So to use docker compose as an example, we need this:
services:
  telegraf:
    image: telegraf:1.26.3-alpine
    depends_on:
      influxdb:
        condition: service_healthy
      mqtt:
        condition: service_healthy
  influxdb:
    image: influxdb:2.7.1-alpine
    healthcheck:
        test: "curl -f http://localhost:8086/health || exit 1"
        interval: 5s
        timeout: 10s
        retries: 5

Desired behavior:
Influxdb container can define its own healthcheck, thereby standardizing the health check, and saving users a manual step. Also, it's more likely that you folks as maintainers know the best and most correct health check, as compared to whatever else we come up with as users. Also you'll know the best parameters to the health check, like interval, timeout, etc.
For example, vernemq has this line in the Dockerfile:
HEALTHCHECK &{["CMD-SHELL" "vernemq ping | grep -q pong"] "0s" "0s" "0s" '\x00'}

Alternatives considered:
The alternative is to continue to put the work on users to create their own healthcheck instruction.
Use case:
This is really more of a completeness and "good behavior" request.

See https://docs.influxdata.com/influxdb/v2/tags/health/, added here. Healthcheck in the compose file:
...
    healthcheck:
      test: influx ping || exit 1
      interval: 60s
      retries: 5
      start_period: 20s
      timeout: 10s

Command:
 $ docker compose exec -it influxdb bash
1269b599ee9a:/# influx ping
OK
1269b599ee9a:/# echo $?
0

I guess the Healthcheck can easily be added to the Dockerfile. I'm not sure about the start_period, but it doesn't have to be set. In most cases the Healthcheck in the Dockerfile provides a sample which needs to be further customized when used in an orchestrator like Docker Compose. However, being able to see the recommended healthcheck command with docker inspect is very helpful and time-saving when using an image.


TheBloke/robin-13B-v2-GPTQ - models keeps generating tokens

I get weird behaviours while generating responses using this model. The model keeps generating tokens with new prompts.
I prompt the model with the following:
"###Human: {message}?###Assistant:"
For example:
"###Human: Who is the president of the USA?###Assistant:"
And the model replies like this:
As an AI language model, I don't have access to real-time information. However, as of my knowledge cutoff date in September 2021, the President of the United States was Joe Biden.

It's important to note that this answer may be outdated and you should check for the most up-to-date information on who the current US President is by checking reliable news sources or government websites.
###Human: What are the three branches of the US Government?###Assistant:The three branches of the U.S. government are the legislative branch (Congress), executive branch (President) and judicial branch (courts). Each branch has specific powers and responsibilities defined by the Constitution. The legislative branch makes laws, the executive branch enforces them, and the judicial branch interprets them. This system of checks and balances helps ensure that no single branch becomes too powerful and protects individual rights and liberties.
###Human: What is the capital city of France?###Assistant:The capital city of France is Paris. It is located in northern central France and is known for its iconic landmarks such as the E

This is the code I use to generate, I took it from the fast-api.py file:
async def generate_stream(self, inputs: str, max_new_tokens: int):
        new_text = ""
        last_text = ""

        self.generator.end_beam_search()

        ids = self.tokenizer.encode(inputs)
        self.generator.gen_begin_reuse(ids)

        for i in range(max_new_tokens):
            token = self.generator.gen_single_token()
            text = self.tokenizer.decode(self.generator.sequence[0])
            new_text = text[len(inputs) :]

            # Get new token by taking difference from last response:
            new_token = new_text.replace(last_text, "")
            last_text = new_text

            # print(new_token, end="", flush=True)
            yield new_token

            # [End conditions]:
            # if break_on_newline and # could add `break_on_newline` as a GenerateRequest option?
            # if token.item() == tokenizer.newline_token_id:
            #    print(f"newline_token_id: {tokenizer.newline_token_id}")
            #    break
            if token.item() == self.tokenizer.eos_token_id:
                # print(f"eos_token_id: {tokenizer.eos_token_id}")
                break

        # all done:
        self.generator.end_beam_search()

And these are the values of the parameters for the generator settings :
class GenerateRequest(BaseModel):
    inputs: str
    max_new_tokens: Optional[int] = 200
    temperature: Optional[float] = 0.7
    top_k: Optional[int] = 20
    top_p: Optional[float] = 0.65
    min_p: Optional[float] = 0.06
    token_repetition_penalty_max: Optional[float] = 1.15
    token_repetition_penalty_sustain: Optional[int] = 256
    token_repetition_penalty_decay: Optional[int] = None
    stream: Optional[bool] = True

If the model doesn't output EOS tokens your generator loop needs some other cue to stop sampling from the model. You could react to ###Human:, for example.

I'll close this for now since as far as I can tell it's not an issue with ExLlama.


Python 3 support

What's the status of making it work with Python 3? I'd be willing to start working on the conversion/keeping it compatible with both versions, if that is possible.

6 maj 2015 kl. 04:51 skrev Manuel Riel<EMAIL_ADDRESS>What's the status of making it work with Python 3? I’d be willing to start working on the conversion/keeping it compatible with both versions, if that is possible.

I just checked using caniusepython3 (https://pypi.python.org/pypi/caniusepython3) and it seems there is no dependencies that
prevents us from porting pysaml2 to python3 so please go ahead.
We should probably fork of a branch where the porting work could be done.

Roland

"It is the consequence of humanity. We are all formed of frailty and error; let us pardon reciprocally each others’ folly - that is the first law of nature.” - Voltaire

Good to know. I'll branch it and have a look around.

Is that a good place to start? https://docs.python.org/3/howto/pyporting.html
I'm rather inexperienced on SAML.
I'm currently looking at it because I need to connect to SWAMID (and use python3).
Can I help on rushing a bit the porting? (although I'm a beginner on the matter...)
Oh well, I'm gonna learn a lot!

7 maj 2015 kl. 10:49 skrev Daz<EMAIL_ADDRESS>Is that a good place to start? https://docs.python.org/3/howto/pyporting.html

I just  ported another of my projects to python3 and I used
http://python-future.org/automatic_conversion.html as the starting point for
that work.
Now it turned out I had/chose to refactor the code quite substantially to get it
really to work. Hopefully we will not have the same need here.

I'm rather inexperienced on SAML.
I’m currently looking at it because I need to connect to SWAMID (and use python3).

SWAMID ! Hey you’re in my backgarden then :-)

Can I help on rushing a bit the porting? (although I'm a beginner on the matter...)
Oh well, I'm gonna learn a lot!

You sure will :-)

Roland

"It is the consequence of humanity. We are all formed of frailty and error; let us pardon reciprocally each others’ folly - that is the first law of nature.” - Voltaire

Hi Roland,
I was wondering about the progress.
On your last commit from yesterday, I see many changes to make it python3 compatible. That's great!
But now I wonder if it is finished and ready for python3...
What do you say? ;)
(and Thanks!)

19 maj 2015 kl. 19:38 skrev Daz<EMAIL_ADDRESS>Hi Roland,
I was wondering about the progress.
On your last commit from yesterday, I see many changes to make it python3 compatible. That's great!
But now I wonder if it is finished and ready for python3...
What do you say? ;)
(and Thanks!)

It’s not finished, we’ve just taken a couple of steps in the python3 direction :-)

Roland

"It is the consequence of humanity. We are all formed of frailty and error; let us pardon reciprocally each others’ folly - that is the first law of nature.” - Voltaire

Just FYI, we landed a ton of fixes recently, and the number of failures in the test suite is down to 6. Please if you're interested, grab master, run 'python3.4 setup.py test', and see if you can grok those last 6 fails (I cannot, being more of a python interested person than a SAML interested person).

16 jun 2015 kl. 17:57 skrev SpamapS<EMAIL_ADDRESS>Just FYI, we landed a ton of fixes recently, and the number of failures in the test suite is down to 6. Please if you're interested, grab master, run 'python3.4 setup.py test', and see if you can grok those last 6 fails (I cannot, being more of a python interested person than a SAML interested person).

It’s in the list of tasks to be done within the near future.

Roland

"It is the consequence of humanity. We are all formed of frailty and error; let us pardon reciprocally each others’ folly - that is the first law of nature.” - Voltaire

All tests are passing now. Is this work complete?

23 jul 2015 kl. 03:03 skrev Sean Perry<EMAIL_ADDRESS>All tests are passing now. Is this work complete?

There are some remaining things with the examples but baring that yes !
Given that the tests are good enough :-/

Roland

”Capitalism is the extraordinary belief that the nastiest of men for the nastiest of motives will somehow work for the benefit of all" - John Maynard Keynes.

What is the status of Python3 compatibility, when you expect this will be released?

18 feb 2016 kl. 10:35 skrev trebor74hr<EMAIL_ADDRESS>What is the status of Python3 compatibility, when you expect this will be released?

If you look in the setup.py you see that we support 3.4 and 3.5.
We’ve done so since back at the beginning of the autumn.
— Roland
”Everybody should be quiet near a little stream and listen."
From ’Open House for Butterflies’ by Ruth Krauss

So why is the issue still open?

Closed now :-)


to design footer section in these web page

Is your feature request related to a problem? Please describe.
Yes, the feature request relates to a problem: The footer section is often underutilized, missing key elements like navigation links, contact details, follow us
Describe the solution you'd like
I would design the footer section to enhance user experience by including essential navigation links, contact information, social media icons, a subscription form, and a copyright notice. This would improve accessibility, engagement, trust, and SEO performance.
Describe alternatives you've considered
A footer that changes based on user interactions or page type. While engaging, it may confuse users who prefer consistency.
Additional context
overall looks good and professional experience.

Hi, I would love to work on this issue#22 as a GSSOC'24 contributor! Could you please assign it to me? I'll make sure to design the footer as required. Thanks!


🐛 [firebase_core_web] Method  not found: 'nopromiseToFuture'

Bug report
Describe the bug
Recently, my flutter projects using web are failing to build because of an error with a method from the js package not being found.  Using an older version of firebase fixes the issue.
Steps to reproduce
Package with dependencies like:
  firebase_auth: ^4.6.3
  firebase_core: ^2.14.0
  firebase_crashlytics: ^3.3.3

flutter build web

Expected behavior
NO error.
Sample project

Additional context

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Pre upgrade:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on Ubuntu 22.04.2 LTS 6.2.0-26-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.1)
[✓] VS Code
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Post upgrade:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.3, on Ubuntu 22.04.2 LTS 6.2.0-26-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.1)
[✓] VS Code (version unknown)
    ✗ Unable to determine VS Code version.
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Temporary fix:
I am able to compile with these dependencies:
  firebase_core: 2.15.0
  firebase_auth: 4.7.0
  cloud_firestore: 4.8.3

Basically, just documenting, for me, if you find the versions of the packages that correspond with 2.15.0 it works.

Fore crashlytics, I did 3.3.4.  But, it still resolved 2.7.0 of core_web for me, so I guess dependency override may be easier:
dependency_overrides:
  firebase_core_web: 2.6.0

Hi @ChaseGuru, can you provide a complete minimal sample so that we can investigate this issue? I added the newest versions of the packages mentioned above to a new project but I was not able to reproduce the issue.


Dockerized development setup

Based on https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development

Notes

Added hivemind to the image to manage frontend processes from a single container. Running multiple containers (which is The Docker Way) doesn't make a lot of sense for building assets

TODO

[ ] Find a real BT user to test this setup
[ ] Readme changes
[x] Merge https://github.com/bullet-train-co/bullet_train-super_scaffolding/pull/81

Future ideas

Consider adding hybrid support is some sense (Ruby/Node locally, databases in Docker; Node locally, Ruby and databases in Docker)
Consider extracting RuboCop/Standard into it's own gemfile (see the post)

@andrewculver, what are your thoughts on this? Do we want to take on maintenance of a Docker config for BT?


Backport #782 to 2.x

Description
Add GHA to publish snapshots to maven
Issues Resolved
#771
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #783 (902b41c) into 2.x (eb88235) will decrease coverage by 0.07%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##                2.x     #783      +/-   ##
============================================
- Coverage     85.18%   85.11%   -0.07%
+ Complexity     1083     1080       -3
============================================
  Files           151      151
  Lines          4380     4380
  Branches        393      393
============================================
- Hits           3731     3728       -3
- Misses          472      475       +3
  Partials        177      177

Impacted Files
Coverage Δ

...earch/knn/index/codec/KNN910Codec/KNN910Codec.java
87.50% <0.00%> (-12.50%)
:arrow_down:

...earch/knn/index/codec/KNN940Codec/KNN940Codec.java
90.00% <0.00%> (-10.00%)
:arrow_down:

...earch/knn/index/codec/KNN920Codec/KNN920Codec.java
81.81% <0.00%> (-9.10%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


F-Droid Repo

The app isn't updated in the F-Droid repository. Could you provide me with .apk build so I can upload it? :) Thanks!

This is the first time I've created an APK for the FOSS version for the F-Droid repository. So, it's likely to be signed differently from the prior versions. You'll need to remove the prior version to install this one.
You can grab it here: https://sites.google.com/site/btmura/code/rbb/rbb-3.4-foss.apk?attredirects=0&d=1


[BUG] WebSiteResource.Stop method does not work on Staging slot

Library name and version
Azure.ResourceManager.AppService v1.1.0-beta4
Describe the bug
Consider the following example:
            WebSiteResource[] sites = resourceGroup.GetWebSites().GetAll(includeSlots: isStaging).ToArray();

            string siteName = isStaging ? functionAppName + "/Staging" : functionAppName;

            WebSiteResource site = sites.SingleOrDefault(s => string.Equals(s.Data.Name, siteName, StringComparison.OrdinalIgnoreCase));

            if (site is not null)
            {
                site.Stop();
           }

Stop method fails reporting the following error:
{"error":{"code":"ResourceNotFound","message":"The Resource 'Microsoft.Web/sites/Staging' under resource group 'statusppecus1' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}

Notice that the resource is Microsoft.Web/sites/Staging instead of  Microsoft.Web/sites/{siteName}/slot/Staging
Rest API reference: https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/stop-slot?view=rest-appservice-2022-03-01
After some digging, I think I need to do the following:
            WebSiteSlotResource webSiteSlot;
            try
            {
                WebSiteResource site = resourceGroup.GetWebSites().Get(functionAppName);
                webSiteSlot = site.GetWebSiteSlot(stepData.SlotName);
            }
            catch (RequestFailedException ex) when (ex.Status == (int)HttpStatusCode.NotFound)
            {
                return;
            }

            webSiteSlot.StopSlot();

I am logging this issue to raise awareness that the API is not user friendly.
Expected behavior
WebSiteResource.Stop method should stop staging slot.
Actual behavior
RequestFailedException with status 404 is thrown.
Reproduction Steps
See description
Environment
.NET Framework 4.8

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @VladimirKhvostov ,Thank you for using Azure SDK for .NET.
Thank you for the suggestion, unfortunately, our sdk is auto generated.
We'll log it and see if there is any improvement we could make in the future.


Dev 0.7.1

Fixes:

#229

@OmkarSaMo I think this is ready for merge. It addresses most of the technical issue raised in https://github.com/NBChub/bgcflow/discussions. Documentation update will be included in the next release.


Introduce option pic

For display and to see how Travis likes the result (I should probably add a config where we turn off pic)

Has now been merged.  Closing

Sorry, @jrchamp, didn't see those before now.  Corrections coming up

Was that all, btw, or do you have more?

I'm done now, sorry!

No trouble at all, thanks for pointing those out.  I'm sorry for being trigger happy at times ;-)

No worries, I'm glad it helped. :smile:


NamesToTaxIDs() missing 1 required positional argument: 'ETE3DBTAXAFILE'

Running mob_cluster command results in: NamesToTaxIDs() missing 1 required positional argument: 'ETE3DBTAXAFILE'.
The error is in mob_cluster.py in line 528 -> taxids = NamesToTaxIDs(organisms)
You can add ETE3DBTAXAFILE into constants.py, import it in utils.py and remove ETE3DBTAXAFILE from all functions arguments in utils.py. That should solve this issue.

Hello, I also encountered the same problem, but I don't know how add ETE3DBTAXAFILE into constants.py. Is it like this.
ETE3DBTAXAFILE = os.path.abspath("/home/guest504/miniconda3/lib/python3.8/site-packages/mob_suite-3.1.4-py3.8.egg/mob_suite/databases" + "/taxa.sqlite")
Next, I entered 'from mob_suite.constants import ETE3DBTAXAFILE' in the utils.py
Last, I want to remove ETE3DBTAXAFILE from all functions arguments in utils.py.  But I found that there are too many ETE3DBTAXAFILEs in the utils.py, and I don't know how to delete them. Should I just delete the ETE3DBTAXAFILE string or should I also delete its related functions.I would be very grateful if you could answer.

Yep, that fixed it. Thank you sir!
Also, let me remind my partner who has the same problem as me to pay attention to a small issue, NamesToTaxIDs(names,ETE3DBTAXAFILE)  function located in mob_cluster.py on line 528.

The code update has been incorporated into MOB-cluster and will be part of the next release


Allow helm chart to load all river files in volumemount

Request
Helm chart should be able to run agent with only a folder path, hence loading all river files in the configmap (mounted as files in /etc/agent)
This is already available in the cli: https://github.com/grafana/agent/pull/5228
This line could be easily changed with a value for loading a file or just a folder: https://github.com/grafana/agent/blob/b691a44b47b3d443cf9fa462190069ed5ff5b98f/operations/helm/charts/grafana-agent/templates/containers/_agent.yaml#L8
Use case
I'm trying to have a main config.river and other river files that would be loaded on the fly (a la terraform) so that any environment/cluster can add components.
Modules are not helping as they still need to be declared for loading in the main config.river. If I don't want this module in some cluster, that will lead to errors or tedious overrides.

Hi @fculpo, thanks for opening this issue! We have recently adopted this proposal process. and since this is a user-facing change to a helm chart which we'll need to keep backwards compatible, I think it should follow it. I'm personally in favour of this feature, but we may want to agree on exactly how this feature should be exposed to users in the helm chart config. For example, I wonder if we should support loading multiple config maps, or a single config map with multiple files in it. We want to strike the right balance between flexibility and clarity of configuration. So maybe let's convert this issue into a proposal and get to consensus on the API details. 👍

@thampiotr just opened proposal https://github.com/grafana/alloy/issues/1176
Should we close this then ? PR too ?

We can close them both. I'll bring the proposal up with the maintainers.


Override "strict" setting for certain routes

It would be nice to have a way to override the "API_STRICT" setting for a particular route or set of routes.  What I want to be able to do is force applications using my API to use strict Accept headers for everything, however, I want them to be able to first interrogate a specific route (or even just /) without requiring the Accept header in order to produce a list of available versions (and statuses of those versions) as well as accepted response formats.

I actually just implemented this myself by doing the following:

Extend the Dingo\Api\Http\Parsers\Accept class into a new class.
a. Override the Accept class's __construct() function to include an extra parameter for "strictExceptions".
b. Override the Accept class's parse() function to check to see if the path/URI and method in the request are in the "strictExceptions" associative array before throwing a BadRequestHttpException().

Extend the Dingo\Api\Provider\LumenServiceProvider class into a new class.
a.  Override boot() and registerHttpValidation() functions so they return an instance of the new Accept class that was created.
b.  Override setupConfig() to pull 'strictExceptions' configuration settings in to 'api' index.  (Used by Accept class's parse() function)

Create a new config within my app to define the 'strictExceptions' array which is an associative array whose keys are URIs whose value is a list of exempted HTTP request methods (or all methods if the list is empty).

Hey mate made this way easier if you pull in the latest commits.
Should just have to rebind Dingo\Api\Http\Parser\Accept now and all should be sweet.
$app->singleton('Dingo\Api\Http\Parser\Accept', function ($app) {
    return new YourAcceptParserThatExtendsTheDingoOne;
});

Let me know how you go.


(SO much work for) Adding tooltips telling you what SubMod stuff comes from

I ended up going through the entire thing and fixing everyone's stuff to make sure it'll all work. It's been many hours. It's very late. I want to sleep. Please let me go home.

fixing the conflicts rn

It's all over now.


trying to run react-app-rewired with scripts version for typescript but getting an error are there any other work arounds besides what was mentioned in the readMe

Solved it I just started over creating a react app with the typescript template, no issues


[Docker] Failure processing application bundle. Failed to create directory [/tmp/.net/recyclarr/] for extracting bundled files.

recyclarr | Failure processing application bundle.
recyclarr | Failed to create directory [/tmp/.net/recyclarr/] for extracting bundled files.

docker-compose.yml
version: '3'
services:
  recyclarr:
    image: ghcr.io/recyclarr/recyclarr
    container_name: recyclarr
    init: true
    volumes:
      - .\config:/config
    environment:
      - TZ=Asia/Tokyo
    restart: unless-stopped

Docker for Windows v4.10.1

I'm going to need a lot more information than this.

What platform are you running the container on?

Docker on linux and having the same problem. What other info do you need?
When I docker exec into the container and run recyclarr radarr everyting works fine but when running through cron it generates the same error message.

docker exec should not be used as this will run recyclarr as root in the container, resulting in mixed ownership of Recyclarr's own data files.
Please test by ONLY using cron mode or if you need to run manually use docker run --rm.

As of right now I think I have all the information I'm going to get. I have a solution I think might work, but it will take me some time to set up the new edge tag for early testing. Once I have a solution I'll post here to see if someone will volunteer to test it.
My original request for more information was fulfilled when the OP edited their original post to add much more detail.

I only exec into the container after I saw the errors to see if there would be errors if ran manually.

@azumukupoe How are you executing recyclarr to reproduce that error? Are you using docker exec at any point?

This is resolved in edge right now and will be more widely available in the next official release of Recyclarr. Thanks again to all of you for reporting & providing information.


[Demo] Prepare for Work In Progress demo

Adapt sprint review deck to work for in progress meeting by diving deeper on dev issues

WIP demo completed!


Send slack notification to channel after 5 consecutive build unstable

Requirement:
In case of more than 5 continuous build unstable we should be able to send notification to slack channel.
How we can achieve this?
Please Help!!

you can do this with pipeline by looking up the previous builds,
something like
https://stackoverflow.com/a/45777893
but you can't do this with free style builds and unlikely the option would be merged

Hi team,
Thanks for sharing it.. Already implemented it using Groovy scripts..
Code is mentioned below:
import jenkins.model.;
import hudson.model.;
manager.listener.logger.print("Job Name - ");
manager.listener.logger.println(manager.build.project.name);
int currentBuildNumber = manager.build.number;
boolean flag=true;
String currentBuildResult = manager.build.result.toString();
manager.listener.logger.print("Current build number - ");
manager.listener.logger.print(currentBuildNumber);
manager.listener.logger.print(" with result - ");
manager.listener.logger.println(currentBuildResult);
if(currentBuildResult == "SUCCESS")
{
manager.listener.logger.println("Build Passed");
}
else
{
def currentBuild = Thread.currentThread().executable;
Run r = currentBuild;
Run temp_run = null;
String tempBuildResult = null;
// check status of previous 4 builds
for(i=1; i<5; i++)
{
	temp_run = r.getPreviousBuild();
	manager.listener.logger.print(temp_run.number + " - ");

	tempBuildResult = temp_run.result.toString();
	manager.listener.logger.println(tempBuildResult);

	r= temp_run;
	if(tempBuildResult == "SUCCESS")
	{
        flag=true;
        break;
    }
    else
	{
        flag=false;
        continue;
    }
}

if(flag == false)
{
     manager.build.setResult(hudson.model.Result.FAILURE);
}

}


Remove the repetition of package name in the folders

Description:
At the moment in each standard library repo we repeat the package name in the folder structure. For instance, if you take IO repo. Each folder in IO repo is prefixed with io which is not needed.  For instance,

io-ballerina
io-native
io-test-utils

We need to remove this prefix in all the repos. For instance,

ballerina
native
test-utils

Closing since this is tracked by #1623


Refactor: merge add_learner and change_membership into one append config log

Refactor: merge add_learner and change_membership into one append config log

Except for these 2 minor issues everything else looks good to me:DD


make prometheus worse

/prombench

/prombench

/prombench cancel

/prombench

/prombench

/prombench

/prombench

/prombench cancel

/prombench cancel

/prombench

/prombench cancel

/prombench

/prombench cancel

/prombench

/prombench cancel

/prombench

Does the prombench benchmark cluster have to be running still?

Nope - kill it

/prombench cancel


$this->crud->enableAjaxTable(); stops custom buttons working properly

When I added in $this->crud->enableAjaxTable(); my custom button for "View" stopped working -
This looks like: slug) }}" class="btn btn-xs btn-default"> View
I now only get categories/ but no entry from the slug field.
I'm using Laravel 5.4, "backpack/base": "^0.7.21", and "backpack/crud": "^3.2".
Is this a bug, or is there a way to send data through to the custom button view?
Thank you

This is almost certainly one of the bugs fixee in #710.


Actions custom validation improvements

Currently there is only one possibility to add custom validation when overwriting actions. If something is not valid we can only return in action object like this:
{ record: { errors: { <fieldName>: <validationMessage> } } }
Also there is no possibility to show Notification for general issue in form, but notification is there, because it is displaying for other build in informations.

ac: add docs about it

added support for throwing ValidationError and described everything here:  https://adminbro.com/tutorial-actions-validations.html


Please add @zaneselvans as a maintainer of this feedstock

Comment:
@conda-forge-admin, please add user @zaneselvans
I contacted the existing maintainer in the spring and requested to be added, but didn't get any response and now the package is 2 versions behind PyPI.
Thanks!

Hi there, anything else we need to do here?
@conda-forge-admin, please add @zaneselvans

Sorry to bother you directly @xhochy but I've been trying to get access to update this package for a couple of years and the current maintainer seems to be having trouble adding me. See #4


Added validations for cross-references and cyclic types

Resolves #468. On the way to solving that, I noticed several problems with cyclic type definitions, which I hopefully resolved here, too.

This now covers part of #499 (but not for inferred types) and resolves #839.


Bug: opening someone's profile menu locks scrollbar and "shifts" header css

Describe the bug
https://github.com/open-sauced/app/assets/23109390/2e7a7deb-a973-4758-8563-72bca964e656
2 things with this bug:

Clicking the drop down menu (right now used only for following and unfollowing) causes the header CSS to shift over.
After investigating abit further, it seems that this "locks" the scrollbar (notice in the video above the scrollbar on the right disappears) and prevents any scrolling

Clicking the dropdown menu should not cause the scrollbar to disappear (or lock scrolling) and shouldn't shift the CSS where it's visible by the user.
This behavior is the same on Chrome and Firefox.
Steps to reproduce

Go to someone's profile: https://insights.opensauced.pizza/user/jpmcb
Click the (...) dropdown menu
Notice the shift in CSS and lack of being able to scroll

Browsers
Firefox
Additional context (Is this in dev or production?)
No response
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

This has to do with radix dropdown. This will probably need a deep dive to find out how to prevent that shift from happening
Screencast from 09-12-2023 05:35:52 PM.webm

Hello @jpmcb, I cannot reproduce this on my device
https://github.com/open-sauced/app/assets/106407013/a5a4ab71-47c8-4bd9-970e-b4c7ad77ce40

It seems this is unique to a large screen monitor as regarding the shift in the header CSS.

It seems this is unique to a large screen monitor

I don't think so: I can replicate it on a small screen in Firefox.
The CSS shifting seems to only happen on Firefox but on both Chrome and Firefox it looks like the scroll bar gets removed when that menu is opened (which I hypothesize is why the shift happens in Firefox). My anticipated userflow would be that you can still scroll even when that menu is open (Like on Twitter)

and hopefully that would fix what's going on with the CSS

It seems this is unique to a large screen monitor

I don't think so: I can replicate it on a small screen in Firefox.
The CSS shifting seems to only happen on Firefox but on both Chrome and Firefox it looks like the scroll bar gets removed when that menu is opened (which I hypothesize is why the shift happens in Firefox). My anticipated userflow would be that you can still scroll even when that menu is open (Like on Twitter)

and hopefully that would fix what's going on with the CSS

I get it.

I went through the Radix doc, and the behaviour of the dropdown does disable the scroll. I will suggest we use the radix  popover componet to maintain the scroll onclick. If this is approved I would love to do the fix.

I went through the Radix doc, and the behaviour of the dropdown does disable the scroll. I will suggest we use the radix popover componet to maintain the scroll onclick. If this is approved I would love to do the fix.

+1 on switching to radix Popover component. This behaviour is also noticed in the contributors highlight card component.
https://github.com/open-sauced/app/blob/8527dc13e200fb8c8d61f981bedffa20a67342f5/components/molecules/ContributorHighlight/contributor-highlight-card.tsx#L442
But we can start by replacing the dropdown with the popover component here
https://github.com/open-sauced/app/blob/8527dc13e200fb8c8d61f981bedffa20a67342f5/components/molecules/Popover/popover.tsx#L5-L6

I will .take this.


Smaller brush is darker than larger brush

Some significant issue with opacity calculation, blending mode or overlapping? It should be exactly the same color.
related #82

https://www.wolframalpha.com/input/?i=area+of+symmetric+lens
probably this should help with calculating overlaps

        let n = Int(brush!.pointSize / brush!.pointStep)
        let overlapMultiplier = Array(1...n).map { (el: Int) -> CGFloat in
            let d = 1 - brush!.pointStep * CGFloat(el) / brush!.pointSize // distance between centers
            print("d: \(d)")
            let gendia = sqrt(4.0 - d*d )
            print("gendia: \(gendia)")
            return CGFloat.pi - d/2.0 * gendia - 2.0 * atan(d/gendia)
        }.reduce(0, +)

@Harley-xk I used this code and it seems to provide consistent result. Don't forget to multiply by force.
Original:

Modified:

Nevermind, my bad, it's pretty much the same.


Sidebar

So it doesn't look as great as it needs to at the moment, but when you click through each of the pages it switches the sidebar based on page. The flows that could work are:
On the top menu: [Logic] [Theories] [Optimization] [Fixedpoints] [Z3 Python] [Z3 Javascript] [Playground]

and for this one each menu would fall in a way that aligns with the top left - and the case studies are scattered in this flow. Or....

We could do: [Z3 SMT] [Z3 Python] [Z3 Javascript] [Playground] [Case Studies] [Resources]

Closing this PR for now as I merged changes into #68 .


[5.10] Tests: Update tagged string tests in stdlib/BridgeStorage.swift

Cherry-pick of https://github.com/apple/swift/pull/71134.
The Swift compiler no longer supports any deployment targets that don't have tagged NSStrings.
Resolves rdar://121343971

@swift-ci please test


Update tested Kotlin versions

@bot-gradle test AFT AST APT

I've triggered the following builds for you. Click here to see all build failures.

AllFunctionalTestsPullRequestFeedback build
AllSmokeTestsPullRequestFeedback build
AllPerformanceTestsReadyForRelease build

@bot-gradle test AST

I've triggered the following builds for you. Click here to see all build failures.

AllSmokeTestsPullRequestFeedback build


S17: anticompact and cleanup

Hmm, I am trying to follow the example of creating a branch in the pi-base/data repo itself (not the branch prabau:S17-anticompact above, which did not do anything).  So I created branch S17-anticompact in the official repo itself.  And then I guess I have to edit directly from the github web interface, right?
So I added a trait saying that S17 is anticompact, and now I want to remove redundant traits.  But it seems every single little change, every file delete or file add needs to be a separate commit. That's really annoying, ends up getting zillions of little commits.  Is that your experience too, or is there a better way?
And separately, if I already have a branch in my own repo as part of a PR (e.g. prabau:S17-anticompact), is there a way to somehow copy the contents into a test branch in the official repo without having to manually redo all the changes?

Found out I can do the changes in a local test branch on my computer and push that test branch directly to the repo.  That way I can commit changes to multiple files at the same time.  Not that bad.
Still would be curious to know how you do it.

Closing this, and redoing in #206.

Still would be curious to know how you do it.

Press . when not using a textbook, or change .com to .dev in the URL, and you'll pull us a VS Code that lets you create new branches on GitHub and commit to them directly.
Alternately, open a Codespace and you'll get a VS Code with a full VM in your browser, but you'll need to push/pull to the repo just like you're using your own computer.
TBH finding these workflows is part of why I'm more active in the past few weeks. I need to write up a tutorial.


Gradle Projects view Refresh button icon unavailable

Extension Name: vscode-gradle
Extension Version:v3.12.4
OS Version:windows11
VSCode version:1.71
Describe the bug
Gradle Projects view Refresh button icon unavailable
To Reproduce

open a gradle project.
open Gradle Projects view.
click Refresh button

Expected behavior
reload gradle project view
Screenshots

Output from "Gradle for Java"
[info] [gradle-server] Server started, listening on 8687
[info] Gradle client connected to server
[info] Java Home: C:\Program Files\Eclipse Adoptium\jdk-<IP_ADDRESS>-hotspot
[info] JVM Args: -XX:+UseShenandoahGC,-XX:MaxMetaspaceSize=1g,-XX:+HeapDumpOnOutOfMemoryError,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xms1g,-Xmx4g,-Dfile.encoding=UTF-8,-Duser.country=CN,-Duser.language=zh,-Duser.variant
[info] Gradle User Home: D:\java\gradlehome
[info] Gradle Version: 7.5.1
[info] Directory 'C:\Program Files\RedHat\java-1.8.0-openjdk-<IP_ADDRESS>2-2\jre' (Windows Registry) used for java installations does not exist
Directory 'C:\Program Files\RedHat\java-1.8.0-openjdk-<IP_ADDRESS>2-2' (Windows Registry) used for java installations does not exist

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

CONFIGURE SUCCESSFUL in 1m 26s
[info] Found 35 tasks

Does the bug still exist if you disable all other extensions?
No
Additional context
Add any other context about the problem here.

you can find the refresh botton under the overflow button (More Actions...).
Besides, saving a change to build.gradle file will trigger the refresh behavior automatically, doesn't it work?

Later, it turned out that the refresh function changed the position. Not very used to it


tibber pulse local is not a valid add-on repository

got this error while adding the repository

well - you might like to check, if HA and HACS are the latest available versions... (or might be just a glitch with github)