on-internet

a website for visualizing electromagnetism

submitted by RotemT to science 80 points | 4 comments cross-posted from: lemmus.org/post/26646894 a website to help students visualize the electromagnetic field I’ve been building this simulator as a side project aimed to help students understand and visualize electromagnetic phenomena such as radiation, near field effects, polarization, wave interference and diffraction. You can: place multiple, diffrent radiation sources and set their parameters (geometery, amplitude, phase and more) place perefect wire conductors, PEC plane and poke slots in the plane to create diffraction patterns observe

Join the discussion →

Pivot Filter - Excel VBA, PivotItems not returning anything

I have a pivot table with a date field as a filter. I want to filter the date for a specific range specified by the user. I found this code: VBA Pivot Filter - Date Range and I am trying to recreate the method, but I'm not getting results. My pivot is based on a merge query that I loaded into the data model, and then I created the pivot from the data model. In the code below, .ClearAllFilters works, but PivotItems.Count returns 0, and I get an error when trying to return PivotItems(1). The error is: Unable to get the Item property of the PivotItems class. If I view locals and try to click on t

Join the discussion →

FOSDEM 2027 : les appels à conférences sont ouverts et les archives numériques ont leur devroom !

Ça n'a pas dû échapper à une bonne partie des Linuxfrisés, le FOSDEM 2027 se tiendra samedi 30 et dimanche 31 janvier 2027, sur le campus de l'Université libre de Bruxelles (ULB). L'appel à conférences du programme principal est ouvert jusqu'au 16 novembre, et les 77 devrooms sélectionnées il y a quelques jours ont déjà commencé à leur tour à recruter des intervenants. Parmi ces dernières, et en tant qu'ambassadeur du projet Software Heritage, j'aimerai mettre en valeur la devroom Archives, Libraries, and Digital Memory qui propose notamment de discuter des infrastructures nécessaires à la pré

Join the discussion →

JPA save inside rabbitmq listener

I am trying to save an entity consumed inside a queue using rabbit mq. I have encountered some problems. First of all : The consumed event will give me an entity which already has an id. My user entity has an automatic generation ID annotation on UUID id attribute. How should I approach this? For example I know I could implement Persistable interface, but won't this have compatibility issues with the already implemented methods which depend on that automatic id generation? Second: How do you check correctly if the toPersist entity was actually saved in db ? I used a try catch but I found out I

Join the discussion →

How to restrict Django REST Framework API endpoints based on user roles?

How can I implement centralized role-based access control for multiple Django REST Framework API endpoints without adding permission checks individually to every API view? @extend_schema(tags=[schema.LOCATION]) class LocationViewSet(mixins.ListModelMixin, mixins.CreateModelMixin, mixins.RetrieveModelMixin, mixins.UpdateModelMixin, mixins.DestroyModelMixin, UtilGenericViewSet): ''' LocationList pagination, search, filter, order ''' model = Location queryset = Location.objects.all() filterset_class = LocationListFilter permission_classes = (IsAdminPermission,)

Join the discussion →

pygame OOP display

I'm using OOP to code my pygame visual novel project for school, but i've run into a problem where my code is working but it's not doing what i want it to do, which is to display a background illustration. right now the display surface is just a black screen but its supposed to display a file called loveiscruel_illust//backgrounds//titlescreen.jpeg. When trying to solve this by myself, i changed some things based on solutions to similar issues that i found, but it wasn't enough to make it work properly, and i'm just stuck. Is there any way i can correct this?. code for class: class illust: def

Join the discussion →

Transfer time for terminal change at San Francisco (SFO)

I’m considering booking this itinerary from Seattle to Munich: SEA → SFO: 15:30–17:43, United Airlines (UA 2478) Connection at SFO: 2 hours 22 minutes SFO → MUC: 20:05–16:10 (+1 day), Lufthansa (LH 459) The itinerary specifically mentions a terminal change at SFO. I’d really appreciate some advice from people familiar with SFO. How does the terminal change actually work in this case? Do I need to leave the secure/airport area, go outside, and take a bus or AirTrain to another terminal, or can I simply transfer inside the airport by walking between the terminals without having to exit and go th

Join the discussion →

startTransition behaves differently if useTransition is used

I am working through some React internals and here in "Suspense with Transitions" states when Suspense would show fallback and when it would not. I could read this: When a render suspends, React asks one question: "Would showing the fallback HIDE content the user can already see?" Then it applies the rule: Yes, it would hide existing content, and this update is a transition (or a retry of one) → React does not commit the fallback. It keeps the current screen fully alive and lets the new render finish in the background. The user sees the old UI until the new UI is completely ready. No existing

Join the discussion →

ADRをregoでlintする

AIが書くADRのフォーマットをどう揃えるか 自分のリポジトリでは、設計の決定を ADR(Architecture Decision Records)として docs/adr/ に残している。最近は、その ADR の多くを Claude Code に書いてもらっている。決定を相談して、「これを ADR にしておいて」と頼むと書いてくれる。 ただ、AI に書かせた ADR は、少しずつ自由になっていく。テンプレートを置いて書き方を指示していても、ずれるときはずれる。たとえば、 Decision に、画面のメニュー項目の一覧や定数、構造体の定義まで書いてある。仕様書に近づいて、コードを...

Join the discussion →

Title Flutter TextField text not appearing / typing lag when using TextEditingController with custom decoration and state management

Body Environment: Flutter Version: [e.g., Flutter 3.19.0 / 3.47.9] Dart Version: [e.g., Dart 3.3.0] Target Platforms: [e.g., Web, Windows Desktop, Android] (Multi-platform / responsive layout) Description I am encountering an issue where typing into my search bar TextField either lags heavily or the typed characters do not appear at all. In my code, I have a responsive search bar that handles filter dropdown states (_isFilterDropdownOpen), custom border radii that change dynamically, and a search controller binding. When typing rapidly or interacting with the search field, the characters fail

Join the discussion →

Large Hadron Collider reveals evidence of Big Bang matter in surprisingly small collisions

submitted by gedaliyah to science 177 points | 11 comments https://www.sciencedaily.com/releases/2026/10/261031221211.htm Quark–gluon plasma (QGP) is an unusual state of matter that appears under tremendous pressure and heat. At temperatures exceeding 100,000 times those at the Sun’s center, particles such as protons and neutrons can no longer maintain their normal structure. Instead, they break apart into quarks and the gluons that ordinarily bind them together. Physicists believe that this was the state of matter throughout the universe during the first millionths of a second after the Big B

Join the discussion →

バイブコーディングで機能を継ぎ足していて見えてきたClaudeCodeの実装のクセ

「業務フローがよくわからないんだよね」という状態でも、チャラくバイブコーディングで自力でシステムが作れる時代が来ました。特にエンジニアは、アイディアをすぐに形にできます。普段からClaude CodeなどのAIエージェントに慣れ親しんでいれば、バイブコーディングのハードルは数ミリ程度まで下がっています。その結果、要件定義できるほどの解像度はない、できてからいろいろ意見はしたい、でも人の介在は最小限にしたい、という ガチのシステム屋さんに言ったら殴られそうな 要望を持つことも多いでしょう。 TL;DR 要件が固まらないままClaude Codeでバイブコーディングしたら、テストは通る...

Join the discussion →

ウサギとカメのゆる山歩 - 一日一種 / 第14話 ゴール? | コミックDAYS

ウサギとカメのゆる山歩 一日一種 何をするにもせっかちなサラリーマン・宇佐美君。アラサーに差し掛かった焦りから婚活の一環として始めたマッチングアプリで知り合ったのは、自分とは正反対ののんびりとした性格の女性・石亀さんだった。石亀さんの趣味の山歩きに付き合ううちに、宇佐美君は彼女と自然から、大切なこ...

Join the discussion →

AIの時代だからこそ、強い型付けのIaCツールをつくっている

AIがあれば型は要らない、と主張する人や、IaCは要らない、と主張する人がいる。多数派ではないと思うけど。自分はむしろ、強い型付けをコンセプトにしたIaCツール、Carinaをつくっている。 AIがあればIaCは要らない、という話を最初に見たときは、正直こう思っただけだった。 その後、ymotongpooさんが、IaCがなくなら...

Join the discussion →

Can you hide a dwarf planet/planet in the Solar System?

Scenario: At long last in the near future astronomers using the Vera Rubin Observatory have finally detected the elusive Planet Nine/Ten/[insert number]*. However, for the purposes of the story, either its existence or nature needs to be kept secret by the discovery team. After reading this question, I like the idea of somehow disguising the identity of a planet or dwarf planet. My question is: is it possible to cover up the existence of such a planet from the public for a target located within the Solar System, and if so, for how long and how would it be accomplished logistically? *This story

Join the discussion →

Google OAuth token exchange gives 401 invalid_client after successful consent

I'm attempting to connect a local Python application to a Google Workspace mailbox using an internal Web application OAuth client, authorization-code flow with PKCE, and a loopback callback. Consent succeeds and the callback receives a code, but POST https://oauth2.googleapis.com/token returns HTTP 401 with invalid_client. This occurs before ID-token verification or refresh-token storage. Below is a reduced version of the token request from my application. The command-line prompts replace the application's runtime values and Keychain lookup. To use it, the code and PKCE verifier must come from

Join the discussion →

How could a poison cause patches of black hair on someone's scalp?

A character I'm writing was once poisoned and, as a result, a chunk of their hair changed colour. Specifically, after unknowingly ingesting a poisoned drink, they were left in shock, probably feverish and shaking. They did not die, since they realised their drink had been poisoned midway through drinking it, thus they didn't ingest a lethal amount of poison. However, I would like to know in what ways such an event could affect their hair colour in this way. Since the character belongs to a race of mostly white-haired individuals, I immediately thought that inverting the phenomenon of sudden ha

Join the discussion →

How to enable IDE/editor code-completion for projects/free-files based on C++20 modules?

I'm getting started working with "modules (since C++20)" and before to start with a whole new project based on modules, I've been making some testing with free C++ files (.cpp and .cppm, but also with .ixx, cxx), compiling with a terminal command (without CMake). So, in any folder with multiple C++ files, specifying the corresponding files, for example: g++ -std=c++23 -fmodules main.cpp module_1.cppm -o main && ./main g++ -std=c++26 -fmodules main.cpp module_1.cppm -o main && ./main For now, the compilation seems to be working as should, from the main(), calling a function in a module file "mo

Join the discussion →

Revue de presse de l’April pour la semaine 44 de l’année 2026

Cette revue de presse sur Internet fait partie du travail de veille mené par l’April dans le cadre de son action de défense et de promotion du logiciel libre. Les positions exposées dans les articles sont celles de leurs auteurs et ne rejoignent pas forcément celles de l’April. [ZDNET] Libre et open source express: apocalypse de vulnérabilité, entreprises européennes, sortir des Gafam, boycott d’Omarchy [Libération] Message anonyme, couacs en série, secret… Dans les coulisses de la crise «PHP», cette journée où le web a tremblé (€) [Le Monde Informatique] Anthropic révèle que Mythos 5 a tenté

Join the discussion →
Older stories