SciPy
Home Assistant
Our great sponsors
SciPy | Home Assistant | |
---|---|---|
50 | 1,410 | |
12,407 | 68,378 | |
1.5% | 1.3% | |
9.9 | 10.0 | |
3 days ago | 4 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SciPy
-
What Is a Schur Decomposition?
I guess it is a rite of passage to rewrite it. I'm doing it for SciPy too together with Propack in [1]. Somebody already mentioned your repo. Thank you for your efforts.
-
Fortran codes are causing problems
Fortran codes have caused many problems for the Python package Scipy, and some of them are now being rewritten in C: e.g., https://github.com/scipy/scipy/pull/19121. Not only does R have many Fortran codes, there are also many R packages using Fortran codes: https://github.com/r-devel/r-svn, https://github.com/cran?q=&type=&language=fortran&sort=. Modern Fortran is a fine language but most legacy Fortran codes use the F77 style. When I update the R package quantreg, which uses many Fortran codes, I get a lot of warning messages. Not sure how the Fortran codes in the R ecosystem will be dealt with in the future, but they recently caused an issue in R due to the lack of compiler support for Fortran: https://blog.r-project.org/2023/08/23/will-r-work-on-64-bit-arm-windows/index.html. Some renowned packages like glmnet already have their Fortran codes rewritten in C/C++: https://cran.r-project.org/web/packages/glmnet/news/news.html
-
[D] Which BLAS library to choose for apple silicon?
There are several lessons here: a) vanilla conda-forge numpy and scipy versions come with openblas, and it works pretty well, b) do not use netlib unless your matrices are small and you need to do a lot of SVDs, or idek why c) Apple's veclib/accelerate is super fast, but it is also numerically unstable. So much so that the scipy's devs dropped any support of it back in 2018. Like dang. That said, they are apparently are bring it back in, since the 13.3 release of macOS Ventura saw some major improvements in accelerate performance.
-
SciPy: Interested in adopting PRIMA, but little appetite for more Fortran code
First, if you read through that scipy issue (https://github.com/scipy/scipy/issues/18118 ) the author was willing and able to relicense PRIMA under a 3-clause BSD license which is perfectly acceptable for scipy.
For the numerical recipes reference, there is a mention that scipy uses a slightly improved version of Powell's algorithm that is originally due to Forman Acton and presumably published in his popular book on numerical analysis, and that also happens to be described & included in numerical recipes. That is, unless the code scipy uses is copied from numerical recipes, which I presume it isn't, NR having the same algorithm doesn't mean that every other independent implementation of that algorithm falls under NR copyright.
I guess one of the major issues is the compilation and packaging of the Fortran code. It is also my experience when developing PDFO ( https://www.pdfo.net/ ), the predecessor of PRIMA.
This is also reflected by the following comment at https://github.com/scipy/scipy/issues/18118#issuecomment-155...
> The real maintenance burden is the compilation and the packaging not the code itself that we are carrying around.
see also
[Optimization Without Derivatives: PRIMA Fortran Version and Inclusion in SciPy](https://news.ycombinator.com/item?id=35959991)
[SciPy enhancement: The Fortran 77 implementation of COBYLA is buggy and challenging to maintain. Switch to the PRIMA implementation? #18118](https://github.com/scipy/scipy/issues/18118#issuecomment-155...)
-
Optimization Without Using Derivatives
Reading the discussions under a previous thread titled "More Descent, Less Gradient"( https://news.ycombinator.com/item?id=23004026 ), I guess people might be interested in PRIMA ( www.libprima.net ), which provides the reference implementation for Powell's renowned gradient/derivative-free (zeroth-order) optimization methods, namely COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA.
PRIMA solves general nonlinear optimizaton problems without using derivatives. It implements Powell's solvers in modern Fortran, compling with the Fortran 2008 standard. The implementation is faithful, in the sense of being mathmatically equivalent to Powell's Fortran 77 implementation, but with a better numerical performance. In contrast to the 7939 lines of Fortran 77 code with 244 GOTOs, the new implementation is structured and modularized.
There is a discussion to include the PRIMA solvers into SciPy ( https://github.com/scipy/scipy/issues/18118 ), replacing the buggy and unmaintained Fortran 77 version of COBYLA, and making the other four solvers available to all SciPy users.
- What can I contribute to SciPy (or other) with my pure math skill? I’m pen and paper mathematician
-
Emerging Technologies: Rust in HPC
if that makes your eyes bleed, what do you think about this? https://github.com/scipy/scipy/blob/main/scipy/special/specfun/specfun.f (heh)
- Python
Home Assistant
-
Changes we're making to Google Assistant
Home Assistant can cast dashboard/media/etc to your display and has shopping lists. https://www.home-assistant.io/
-
Valetudo – Cloud replacement for vacuum robots enabling local-only operation
If you provided MQTT support like plenty of IoT companies do, then any open source home automation tool can integrate! Home Assistant (https://www.home-assistant.io/) have a grading system, so a local-first implementation would give you their highest score since they also really care about privacy. https://www.home-assistant.io/blog/2016/02/12/classifying-th...
- Älytaloista kokemuksia?
- Is there a way to see actual print time after a print is done?
- It's no handy app but...
-
List of your reverse proxied services
Home Assistant
-
How I use "AI" to entertain my cat
Next, I needed to wire this up to my home speakers and play a sound familiar to Max. In the before times of not watching live animals outside, Max liked it when I'd play some bird videos on YouTube for him and they would all start with the same "chirp" sound. He knew this sound meant bird watching time. So I downloaded the video, extracted the audio, then split the chirp out into a custom 4 second .mp3 and stored it on my local Home Assistant instance which was already integrated with my Google Nest speakers. Luckily, Home Assistant's API is pretty friendly, but the docs definitely suck. Once I added the .mp3 file onto my Raspberry Pi where Home Assistant is hosted, I was able to trigger the sound to play on my speakers with this simple request to its REST API:
-
Mazda files false DMCA takedown notice to intimidate open source programmer
https://github.com/github/dmca/blob/master/2023/10/2023-10-10-mazda.md
https://www.thedrive.com/news/mazda-slaps-developer-with-cease-and-desist-for-diy-smart-home-integration
https://web.archive.org/web/20231014070536/https://old.reddit.com/r/homeassistant/comments/1771ywu/removal_of_mazda_connected_services_integration/
https://community.home-assistant.io/t/mazda-connected-service/354221
https://community.home-assistant.io/t/removal-of-mazda-connected-services-integration/625885/36
https://www.home-assistant.io/
https://youtu.be/l2qKEkG29gI
https://youtu.be/NfiIXooD77s
https://youtu.be/PrtbYu1OYhY
https://youtu.be/nigJMu0lUbM
https://youtu.be/qLlxOD5IHYc
-
DMCA takedown for pymazda and node-mymazda
Relevant discussion in Home Assistant's PR removing the integration as well: https://github.com/home-assistant/core/pull/101849
-
Philips Hue will soon force users to create an account
Home Assistant https://www.home-assistant.io/
It's a quite powerful tool to integrate a variety of different smart home devices into one location and share them between ecosystems.
I have a wifi thermostat that requires a dedicated app and does not allow for Apple Home integration. With Home Assistant I installed an integration for that thermostat, then shared it with the Apple Home bridge (also an integration) and quickly was able to allow my iphone/automations etc, to modify the thermostat. And that's only scratching the surface and something that took a few minutes.
What are some alternatives?
Node RED - Low-code programming for event-driven applications
Domoticz - Open source Home Automation System
SymPy - A computer algebra system written in pure Python
homebridge - HomeKit support for the impatient.
CasaOS - CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
FHEM - Branch 'master' is an unofficial read-only-mirror of https://svn.fhem.de/fhem/trunk which is updated once a day. (branch sf_old a mirror of the old repo: svn://svn.code.sf.net/p/fhem/code/trunk)
statsmodels - Statsmodels: statistical modeling and econometrics in Python
Mycodo - An environmental monitoring and regulation system
openHAB - Add-ons for openHAB 1.x
CompreFace - Leading free and open-source face recognition system
Jeedom core - Software for home automation
Huginn - Create agents that monitor and act on your behalf. Your agents are standing by!