on-internet

How to deal with the Mittag-Leffler function in MATLAB or Mathematica?

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

Join the discussion →

Vite + React + TypeScript failing to resolve @/components import path

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

Join the discussion →

Spring Cloud Open Feign: Custom Jackson Object Mapper via Decoder

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

Join the discussion →

System.Net.WebException: Error en el servidor remoto: (400) Solicitud incorrecta System.Xml.Xsl.Xslt.XsltLoader.LoadDocument()

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

Join the discussion →

Odoo community Server Automation [Odoo 19]

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

Join the discussion →

Multiple x-axes one above the other in MATLAB

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

Join the discussion →

Injecting .pth file for auto instrumentation

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

Join the discussion →

Visualizing percentages values in Euler diagrams in R

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

Join the discussion →

Design feedback for an open-source Odoo → Power BI connector using secure JSON endpoints

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

Join the discussion →

How to obtain a table from an online pdf in R

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

Join the discussion →

How to remove the "Start Free Trial" button in the new versions of the PyCharm 2025.3?

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?

Join the discussion →

How do I dump a vector table to a destination database with pgdump and psql?

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

Join the discussion →

How to add arrowheads to a line in a MATLAB figure

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

Join the discussion →

How can I have text next to my axis left and bottom in TMS FNC Charts within FMX?

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;

Join the discussion →

React Native Skia on RN 0.81+ with New Architecture causes massive build time, huge build size, and poor performance

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

Join the discussion →

PPO performance drops drastically when reducing observation from 180-dim lidar to 12-dim handcrafted state (Flappy Bird)

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

Join the discussion →

ソフトスキルガイドライン

本ガイドラインは、アーキテクトがプロジェクトを成功に導き、提供価値を最大化するために不可欠なソフトスキルを体系化し定義する。 位置づけ・免責事項は Introduction を参照。 ソフトスキルとは ​本ガイドラインにおいて「ソフトスキル」とは、アーキテクトが技術的な専門性(ハードスキル)を組織やビジネスの文脈...

Join the discussion →

How to control the content rendering within the tool-tip?

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

Join the discussion →

Multiframe ZSTD file: why is content_size not matched?

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

Join the discussion →

Looking for first hand experience crossing Ecuador over land from Peru without a criminal-record document

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

Join the discussion →

Why can’t my client-side Supabase auth read the session after middleware sets cookies in Next.js 16?

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

Join the discussion →

Modbus TCP (libmodbus) error after reconnection due to network failure

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

Join the discussion →

Different ways of printing my name on the screen [closed]

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?

Join the discussion →

My first programming exercises in College

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?

Join the discussion →

How can I get a USB HID device to enumerate as a xinputhid.sys compatible device?

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

Join the discussion →

como evitar error de rate limit con el api de mercadolibre?

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

Join the discussion →

Custom eslint rule ideas

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.

Join the discussion →

Array FILTER/TRANSFORM lambda using index

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 =

Join the discussion →

Angular Vitest not working in Test Explorer - Need to call TestBed.initTestEnvironment() first

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

Join the discussion →
Older stories