I want to calculate a solution involving the Mittag-Leffler function in MATLAB or Mathematica. $f(p) = \sum\limits_{k=0}^{\infty} (v/D)^k L^{(\alpha-1)k+\alpha-3} E^{k+1}{\alpha,(\alpha-1)k+\alpha-2}(-p/D L^\alpha)|{L=1} = 0$, $v=0.8\ cm/min, D=0.01\ cm^\alpha/min, \alpha =1.97, K=0.6\ 1/min$. There are only 15 lines of code, but it takes about 10 hours to run. clc clear all tic alpha = 1.97; v = 0.8; D1 = 0.01; L = 1.0; kmax = 10; term3 = 0; p = 10^(-3):10^(-3):5; syms z; for k=0:kmax term1 = subs(mittag_leffler([alpha,(alpha-1)*k+alpha-2,k+1],z),z,-p/D1.*L^alpha); term2 = 1/factorial(k) * (v
I'm working on a React + TypeScript project using Vite. When I run npm run dev, I get an import resolution error: Error: Failed to resolve import "@/components/layout/AppLayout" Project details: Framework: React + TypeScript Build tool: Vite OS: Windows Node version: 18+ I tried: Checked that the file exists Restarted dev server Verified folder structure Folder structure Folder layout: src/ components/ layout/ AppLayout.tsx pages/ CheckoutPage.tsx
Following this (https://github.com/spring-cloud/spring-cloud-openfeign/issues/1306) we have an Issue on our side. Before we updated to SpringBoot 4.0.2 and OpenFeign 5.0.0 we had the following config in out application.yml (which should now work again, thanks to mentioned changes): # Spring boot settings spring: jackson: property-naming-strategy: SNAKE_CASE deserialization: fail-on-unknown-properties: true This was to ensure, that incoming REST Requests to our RestControllers fail, if someone used our API "wrong" (-> sending unknown JSON properties). And we had a Decoder-Bean defined that woul
Tengo una aplicación heredada, para "sellar" facturas de clientes (crear el XML) para luego mandarlas timbrar ante el SAT (México). Desde el jueves pasado (5 feb 2026) por la tarde, comenzó a fallar en unas máquinas en las que siempre ha funcionado bien, y en otra sigue funcionando correctamente. A ninguna de ellas se le ha movido nada... El error que marca es: System.Net.WebException: Error en el servidor remoto: (400) Solicitud incorrecta. en System.Net.HttpWebRequest.GetResponse() en System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCa
I recently started developing with Odoo Community (I came from Odoo enterprise/Odoo Studio) and I want to know what is the right way of coding OnSave, OnChange, and OnDelete of Server Automation. Thank you
I have three time series of data for different variables, Var1, Var2, and Var3. Although the lengths of these data sets are different, their start and end times are the same. Consequently, one can plot one over the other (one may check this with the help of the hold on command). Now I use the command plot(Time4Var1,Var1) to plot the variable Var1. clc; clear; close all; Time4Var1=(datetime(2021,11,24,1,4,0:60000))'; xx=(linspace(2,65,length(Time4Var1)))'; Var1=sin(xx).*log(xx).*tand(xx); Time4Var2=datetime(2021,11,24,1, (4:25:1010)', 00); Var2=bessely(1,linspace(2,23,length(Time4Var2)))'; Time
I am developing a library that requires 'zero-touch' installation to inject a .pth file directly into the environment's site-packages directory (lib/python3.x/site-packages). While I am using Poetry for packaging, I’ve hit a roadblock: pyproject.toml is static, but the target path needs to be dynamic to account for varying Python versions (e.g., python3.9 vs. python3.11). How can I ensure that a simple pip install handles this injection automatically without requiring the developer to run additional CLI commands? Current pyproject.toml sections: [tool.setuptools.data-files] "lib/python3.x/site
I will use Euler diagrams (from the eulerr package) to visualize A, B, and the intersections of A and B. My data points are A: 21%, B: 24%, and “A&B”: 14%, and my goal is to visualize all three values as percentages. So far, everything is working well, but I have a problem visualizing the percent sign. I have tried three different options: Option 1: Visualizing the percentage values using labels. The problem with this is that visualizing the intersection value (14%) does not work. Option 2: Visualizing the percentage values using quantities and type = “Percentage.” Here I have percentage value
I’m planning to build an open-source Odoo module that allows Power BI to consume Odoo data directly via a secure web endpoint, and I’m looking for design feedback and potential pitfalls before implementing it. Proposed Workflow Odoo Side: User configures a Dataset record: Selects an Odoo model (e.g. sale.order, res.partner) Selects specific fields to expose Module generates a unique, secret access token A REST-style endpoint returns JSON data for that dataset Security Each dataset has its own token Token is required in the request URL or headers Power BI Side Use Get Data → Web Paste the gener
I have a problem I have this link pdf_data and I want to download therein the pdf entitled "New index of apartment prices by age". I downloaded this pdf in my working directory and saved it with the name "name" and then I run library(RCurl) library(tabulapdf) library(pdftools) txt <- pdf_text("name.pdf" ) lines <- lapply(txt, function(t) readLines( textConnection(t)) ) It seems to be working. Yet, I was wondering if it is possible to extract the table from that pdf using the online pdf directly, that is, just the link, without having to download the pdf. Any code provided is greatly appreciate
Recently I've updated my PyCharm IDE to the newest version and, together with the annoying AI suggestions, I see that there is a permanent "Start Free Trial" button that apear non-removable. I searched for older versions of PyCharm but it apears that on their site they allow to download only Pro versions - no community versions are available for download. Is there any place where I can find the old community version without the new features and the built-in ads?
I am trying to migrate between DB instances using the pg_dump util, but running into some odd behavior where it tries to create the types and operators belonging to pgvector (and the extension itself if I have not already created it!) under a schema named after the old db: % pg_dump -h localhost -U postgres -p 5432 -t my_resnet_embeddings old_db | psql -h foo.bar.com -U postgres -p 5432 new_db SET SET SET SET SET set_config ------------ (1 row) SET SET SET SET SET SET ERROR: type "old_db.vector" does not exist LINE 3: embedding old_db.vector(2048) My next move is creating the table at the dest
I have plotted a trajectory curve in a MATLAB figure. I need to add arrowheads along the curve that show the direction of the UAV trajectory, exactly like in the picture below. How can I do this? This is what I want to achieve: Picture of the desired result
I am trying to recreate this chart in TMS FNC Charts: This is what I have so far: procedure TfrmGraphTemperature.InitializeChart; begin Chart.BeginUpdate; try Chart.Series.Clear; var sMin := Chart.Series.Add; sMin.LegendText := 'Min (°C)'; sMin.Markers.Visible := True; var sMax := Chart.Series.Add; sMax.LegendText := 'Max (°C)'; sMax.Markers.Visible := True; // Axes setup per-series: integer days on X, °C formatting on Y sMin.XValues.MajorUnit := 1; sMin.XValues.MajorUnitFormat := '%.0f'; sMin.YValues.MajorUnitFormat := '%.0f'; sMin.AutoYRange := arCommonZeroBased; sMin.AutoXRange := arCommon;
I’m facing serious installation time, build-time, disk-usage, and runtime performance issues when using @/shopify/react-native-skia with the React Native New Architecture enabled on RN 0.81+. Current Behavior First Android build after installing Skia takes 10–15 minutes Project directory size increases from ~1–2 GB to ~7–8 GB (with a few basic Libs) Development runtime performance feels noticeably slow Hot reload / rebuild cycles become very slow If newArchEnabled=false, the Skia Canvas does not render (blank screen or runtime error) Environment: React Native: 0.81.2 Skia: 2.4.14 Hermes enable
Body I am training a PPO agent on flappy_bird_gymnasium. Setup Algorithm: PPO (stable-baselines3) Environment: FlappyBird-v0 Two observation designs: Case A: High-dimensional lidar 180 ~ 2000 ray lidar-style observation Derived from either gym lidar or CV-based ray casting Result: agent can reach very high scores (hundreds to thousands) Case B: Low-dimensio 12-dimensional vector: bird y position bird vertical velocity pipe x positions gap centers gap sizes relative offsets (bird y − gap y) All values normalized and consistent between tr Issue With the 12D observation: PPO consistently plateaus
I have a Recharts BarChart with a custom tooltip whose position is manually controlled. When the user hovers over the tooltip, I freeze its position so it doesn’t move. However, when the tooltip is tall enough to overlap multiple bars, moving the mouse inside the tooltip causes the tooltip content to change, because Recharts detects hover on another bar underneath. Expected behavior: While hovering over the tooltip, both position and content should remain locked. Actual behavior: Position stays fixed, but tooltip content updates as the mouse moves vertically inside the tooltip. "use client"; i
I would like to compress multiple ndjson files into ZSTD file using the Python binding python-zstandard. For random seeking later on, I would like that each file is compressed independently as a frame. For this purpose, I use import zstandard as zstd from pathlib import Path file_to_compress = [r"E:\Personal Projects\tmp\chunk_0.ndjson", r"E:\Personal Projects\tmp\chunk_0.ndjson"] file_to_compress = [Path(p) for p in file_to_compress] output_file = r"E:\Personal Projects\tmp\dataset.zst" output_file = Path(output_file) cctx = zstd.ZstdCompressor(write_content_size=True, threads=5) with open(ou
Persons entering Ecuador from Peru (and Colombia) over land must show a criminal record from their home country. Here the link from Ecuadorian government tourism https://www.turismo.gob.ec/https-www-turismo-gob-ec-wp-content-uploads-2024-04-bp-sn-requisitos-de-ingreso-al-ecuador-por-fronteras-terrestres-02-04-2024-pdf/ Various governments confirm this Germany USA Canada UK Other than the German link, all links say that if one does not have a criminal-record document, the Ecuador border authorities will do a check. As a tourist, can somebody with first hand experience confirm that this is so (i
I’m using Next.js 16 (App Router) with Supabase SSR auth, and I’m stuck on a mismatch between server-side and client-side auth state. The server clearly knows the user is authenticated, but the browser client does not. Environment Next.js: 16.1.1 (App Router) React: 19.2.3 Supabase: @supabase/ssr ^0.8.0 @supabase/supabase-js ^2.89.0 Auth strategy: Supabase SSR (cookie-based) Client auth: createBrowserClient Cookies: httpOnly Same domain deployment What works correctly Middleware (server-side) Middleware detects the authenticated user and admin role correctly: { hasUser: true, userId: "0fb294d7
In an experimental setup, I would like to control a valve manifold with my PC via Modbus TCP. Environment libmodbus Visual Studio Direct connection between PC and valve terminal (no switch in between) What works Establishing the connection and simply controlling the coils works perfectly. What the problem is However, if the network is interrupted during an established connection (e.g. by pulling the communication cable), the following phenomenon occurs in about 20% of cases after the connection is re-established: The coil can no longer be switched on permanently. You can hear it switching on a
The problem statement is: Create a program to print your name on the screen. You may add some info. like Course etc.: Name: Juan Dela Cruz Course: BSIT My code: #include <stdio.h> int main(){ printf("Name: scythress"); printf("Course: BSIT"); return 0; } Is there any other approach to solve this problem (I guess this is not a problem) but a unique way of coding this like ascii numbers?
this is my first posting questions here in stackoverflow Machine Problem 1: Create a program to print your name on the screen. You may add some info. like Course etc.: Name: Juan Dela Cruz Course: BSIT My code: #include <stdio.h> int main(){ printf("Name: scythress"); printf("Course: BSIT"); return 0; } Is there any other approach to solve this problem (I guess this is not a problem) but a unique way of coding this like ascii numbers?
I'm trying to get an ESP32-S3 TinyUSB device to show up as an XInput compatible device on Windows. There appears to be three ways to do this: XUSB, XInputHID & GIP, with a recommendation to use XInputHID, which also seems the easiest. The XInputHID Documentation.docx gives a listing of HID descriptors to use, but those by themselves will not cause Windows to load xinputhid.sys. The document also mentioned a compatibility ID “HID_DEVICE_SYSTEM_GAME” that should be given through a Microsoft OS Descriptor, but I cannot seem to get that to work. Firstly, I cannot find any reference, other than a v
Estoy haciendo una integracion con el api de mercado libre la finalidad de el proyecto es escuchar las notificaciones enviadas por mercado libre al webhook de mi proyecto y hacer un request para conseguir informacion de nuevas ventas y los estados del envio, aqui hay un estado muy importante que debo registrar (cuando la etiqueta de envio esta lista para imprimir) ya que esto es un trigger que dispara una automatizacion donde aplica filtros al pedido, etc. el problema es en el api de mercado libre que constantemente me marca rate limit excedido pero con una cantidad muy muy baja de request en
I planned to write a custom eslint rule for eslint 9, focusing on performance optimizations and suggestions. The custom I've already built: no-sequential-await Can anyone suggest me some legit ideas, I'm looking for idea that is not a predefined rule in eslint.
Snowflake supports higher order functions like FILTER or TRANSFORM. A lambda expression that defines the filter condition on each array element. The lambda expression must have only one argument specified in the following syntax: <arg> [ <datatype> ] -> <expr> This type of functions may be also known as array_filter/list_filter, array_map, array_transform, apply, etc. Example: SELECT FILTER([10,20,30,40], x -> x > 20); -- [30, 40] My scenario requires to operate on element's index of the array, like choosing every second element. Pseudocode below: SELECT FILTER([10,20,30,40], (x, i) -> i % 2 =
Why is it that when I run Angular Vitest tests in the terminal is works fine: But running the same tests in the Test Explorer fails: I tried adding import { BrowserTestingModule, platformBrowserTesting } from "@angular/platform-browser/testing"; TestBed.initTestEnvironment(BrowserTestingModule, platformBrowserTesting()); But that just makes them both fail. There is also no @angular/platform-browser-dynamic in the project anymore as I'm using Angular 21