r/stackoverflow • u/alienth • Sep 04 '15
r/stackoverflow • u/[deleted] • 6d ago
Question [Chrome SQLite] How to interpret identical-microsecond CLIENT_REDIRECT -> SERVER_REDIRECT chain on form submit?
Hi everyone, I am analyzing a Chrome History SQLite database (visits and urls tables) to understand how Chromium logs redirect chains triggered when submitting a web form on a Java/Spring (*.do) web portal. Here are the exact sequential records from the visits table (timestamps in KST): * Visit 12583 (from_visit: 12579) - visit_time: 13432054254705581 (23:10:54) - path: /application/form.do - transition: 805306375 (0x30000007 = FORM_SUBMIT + CHAIN_START + CHAIN_END) - duration: 2,323s (38m 43s) * Visit 12604 (from_visit: 12583) - visit_time: 13432056578526893 (23:49:38) - path: /auth/logout.do - transition: 268435456 (0x10000000 = LINK + CLIENT_REDIRECT) - duration: 0s * Visit 12605 (from_visit: 12604) - visit_time: 13432056578526893 (23:49:38 — exact same microsecond timestamp) - path: /portal/main.do - transition: -1610612736 (0xA0000000 = LINK + SERVER_REDIRECT + CHAIN_END) Technical Questions: 1. Does the from_visit chain (12583 -> 12604 -> 12605) sharing the identical microsecond timestamp (13432056578526893) prove that logout.do (CLIENT_REDIRECT) and main.do (SERVER_REDIRECT + CHAIN_END) were executed programmatically as a single continuous redirect chain directly from the form page (12583), without manual user clicks? 2. On a Java/Spring backend using SSO, why would a form submission trigger a CLIENT_REDIRECT to logout.do followed immediately by a SERVER_REDIRECT to main.do at the exact same microsecond, while the submitted data still persists to the backend DB? Could this be an AJAX POST completing right as a session-timeout redirect fires, or a server-side filter intercepting the request? Thank you in advance for any technical insight!
r/stackoverflow • u/Suspicious_Orchid770 • Oct 19 '26
Question The end of Stack Overflow as you know it
Stack Overflow responds to AI disruption.
r/stackoverflow • u/OfficialLeadDev • Jul 21 '26
AI Stack Overflow’s 2025 Developer Survey found that 84% of developers now use or plan to use AI tools, up from 76% the year before. However, only 52% say those tools have actually made them more productive, and trust in AI-generated output has fallen even as adoption climbed.
r/stackoverflow • u/LopsidedAd4492 • Jul 13 '26
Question Curious
reddit.comHi guys, in what situations do you still find yourselves going to Stack Overflow these days?
r/stackoverflow • u/CodeGodAIRS • Jun 08 '26
Question [Need help] How to publish identical commits to a different repository?
reddit.comr/stackoverflow • u/SeaAd2781 • May 07 '26
Javascript JS Sandbox v1.0.0 — free open source desktop JavaScript scratchpad for Linux/Windows/Mac
Hey everyone — built a lightweight desktop JavaScript sandbox and wanted to share it free with the community.
Features:
- Syntax highlighted editor (One Dark theme)
- Full console output — log, warn, error, info all captured
- Objects and arrays pretty-printed
- Multiple tabs
- Resizable split pane
- No license key, no account, completely free
Linux users: unzip and run ./install.sh — handles everything automatically.
GitHub: https://github.com/carolinacodeworksdev/js-sandbox
Released free by Carolina Codeworks. Hope it helps someone!
r/stackoverflow • u/sandeep_bhuvan • Apr 28 '26
Cloud 401 while accessing IAP-Enabled Cloud Run service through Cloud Scheduled Jobs
Assume I have a cloud run service with IAP enabled on the cloud run service directly (Not through load balancer). How do I allow a cloud scheduler job to access an endpoint on this cliud run service. The provided method is to set the oidc service account email and audience. the servic account email should have iap web app user role, and the audience should be the iap audience.
THIS DOESNT WORK. PLEASE HELP
the IAP level authentication fails for the job
r/stackoverflow • u/Competitive_Log1960 • Apr 22 '26
Question How to fix " indent all code by 4 spaces using the code toolbar" when asking question in stackoverflow?
When I try to ask a question on stackoverflow inserting the code shown above, I get the error message: "Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut." I already tried to prepend and append "<pre><code> and </code></pre> respectively" but this didn't work. How can I fix it?
r/stackoverflow • u/davidalayachew • Apr 16 '26
Stack Overflow StackOverflow Programming Challenge #18: Hidden in Plain Sight
stackoverflow.comHello r/StackOverflow!
StackOverflow Challenge #18 has released, and is open to receive answers! Submit your solution on StackOverflow and/or here. Bonus points if you give a short explanation about your solution, how it works, how you came up with it, etc.
Please note the following rules:
All solutions posted here must be a top-level comment.
All solutions posted here must be hosted in 3rd party sites and attached as links, to keep the comment section clean. Popular hosting services include: Codepen, Pastebin, Github, Gitlab, or even your StackOverflow submission.
We look forward to seeing your responses!
r/stackoverflow • u/Worth-Quiet1516 • Apr 16 '26
Hardware STM32-to-SDR wired test bench.
I'm building a hardware-in-the-loop (HITL) test bench for UAV avionics and could use an expert sanity check on my RF and SDR pipeline. I am generating a baseband Manchester-encoded ADS-B message on an STM32, which I need to physically modulate with a 1090 MHz carrier using a custom circuit (LTspice schematic and C++ code attached). From the modulator, I want to wire the signal directly into an SDR and decode it using MATLAB's ADS-B toolbox to verify compliance. I'm looking for advice on the best physical OOK modulation approach for 3.3V digital pulses, exactly how much attenuation I need to avoid frying my SDR's front end, LTspice transient analysis tips for nanosecond pulse verification, and any GitHub repos or existing roadmaps from anyone who has built a similar STM32-to-SDR wired test bench.
r/stackoverflow • u/Neat-Entertainer-752 • Apr 15 '26
Question The Holy Grail of Proxies: True Zero-Downtime Restarts & TCP Connection Migration
Hello everyone,
I am researching a way to achieve true zero-downtime restarts for a Minecraft proxy network (using Velocity/BungeeCord) that supports legacy 1.8.8 clients.
My Goal:
I want to transparently migrate active, connected players from Proxy-A to Proxy-B (which are identical in configuration) without triggering a "Connection Lost" screen, kicking them, or requiring them to manually reconnect.
Current Architecture Idea:
An edge Load Balancer (like HAProxy) at :25565 routing traffic to internal proxies (Proxy-A or Proxy-B), which then connect to the identical Backend servers.
The Technical Roadblock:
I am aware that HAProxy easily handles failover for new connections. However, for active connections, Minecraft uses stateful TCP sockets. If Proxy-A is restarted:
The OS destroys the TCP socket, breaking the connection.
Even if traffic is instantly rerouted to Proxy-B, the new proxy lacks the encryption keys, compression state, and correct TCP sequence numbers, causing the 1.8.8 client to drop the bad packets immediately.
My Question:
Has anyone successfully implemented TCP Handoff, Transparent Socket Migration (perhaps at the Linux kernel level using eBPF or CRIU), or a custom proxy plugin that synchronizes session states across instances in real-time to prevent the client from dropping?
I know QUIC solves this, but legacy Minecraft is strictly TCP. Any insights, experimental GitHub repos, or theoretical approaches to solve the transport layer issue would be highly appreciated!
THE TEXT IS FROM AI
r/stackoverflow • u/error__4_0_4 • Mar 12 '26
Question To understand operating system | computer network -resources
Hi everyone,
I want to learn Operating Systems and Computer Networks from a practical / industry perspective — like how they are actually used while building real software stacks.
I’m mainly looking for concise, practical resources (YouTube / books / courses / blogs) covering topics such as:
Operating Systems
- Process vs Thread
- Thread pools / Worker threads
- Mutex, Semaphore, Synchronization
- Scheduling, Blocking
- Deadlocks
Computer Networks
- Socket lifecycle
- TCP fundamentals
- TLS basics
- Throughput / performance concepts
If you know hands-on or project-based resources that helped you understand these deeply, please share 🙏
Thanks!
r/stackoverflow • u/Old_Mathematician107 • Mar 03 '26
Other code stackoverflow AI focused redesign
r/stackoverflow • u/programAngel • Jan 14 '26
Question can codidact replace stackoverflow
I have found out about this website in a comment in an article about the decline of stackoverflow.
My understanding is that it should like stackoverflow but without the toxicities.
what do you think?
can it success?
r/stackoverflow • u/HistoricalPhoto4486 • Dec 18 '25
Question Can not create an account; "There was an issue with your IP address; Account creation is disabled"
I have never used this place, I wanted to make an account because I saw a very dangerous product being used and wanted to warn them that it is very easy to get electrocuted by it.
r/stackoverflow • u/Strict_Lime4852 • Dec 01 '25
Question Magic wand
If you had a magic wand and could fix or change anything about SO, what would it be?
r/stackoverflow • u/GlebarioS • Nov 28 '25
Question How do you automate work with translation keys in your projects?
How do you configure and automate the work with translation keys in the code of your projects? I mean how do you generate the keys? How do you change or update them in the code? How do you store them? What is your workflow with them because I am already tired of them. It is a very monotonous and stupid job for me.
r/stackoverflow • u/WeekOk8696 • Nov 23 '25
C++ Looking for a project based tutorial
reddit.comr/stackoverflow • u/Aksh247 • Nov 22 '25
Question [HELP NEEDED] Unable to signup!!!
Can someone please help me. Tried with 2 different wifi connections still no luck. Unable to create a new account. This showsup after Google OAuth redirect
r/stackoverflow • u/R4ndomUs3r43 • Nov 14 '25
Question Website logos not showing up in search results, Android 5. How to fix?
Whether I use google search itself or I use chrome 95.0.4638.74 (which is the latest chrome version supporting my mobile galaxy J5), whatever I search, in search results, website logos don't show up. I haven't had this problem till this month. Haven't changed any specific settings in chrome or google recently, and I almost hadn't been using that mobile for nearly 2 months. (Else than wake up alerts.)
The problem probably isn't from chrome (or is?) since even google search itself doesn't show website logos aswell.
Please help me fix this problem. Thanks
Please don't say advices like use another device. I'm looking for a solution to fix this problem on that phone, not to remove the question.
r/stackoverflow • u/This_Revolution1435 • Nov 09 '25
Question How do you download videos from websites (teachcode.in) that doesnt allow downloading, not even through the developer tools (inspect element)?
So i have purchased this one course around 5 days ago, and i get access to the course content for only 1 week, now i want to download the videos so i can access it later. The website (teachcode.in) does not allow to download the videos directly (obviously), generally in this type of situation i download videos through Inspect element (Developer tools) by going to Network --> Media to find the .mp4 file and downloading it, but in this case, when i open the developer tools, the video shows that "Paused in debugger". Are there any ways to download it even through any type of third party extensions or any other possible ways (preferably free)?
Help will be really appreciated.
r/stackoverflow • u/Raam321 • Nov 05 '25
Java ClassCastException when using Comparator in ArrayOrderedList extending ArrayList
I am trying to implement an ordered list that inserts elements in the correct position using a Comparator<T>.
I have the following class:
public class ArrayOrderedList<T> extends ArrayList<T> implements OrderedListADT<T> {
private Comparator<T> comparator;
public ArrayOrderedList(Comparator<T> comp) {
this.comparator = comp;
}
u/Override
public void add(T element) {
if (count == array.length)
expandCapacity();
int i = 0;
while (i < count && comparator.compare(element, array[i]) > 0) {
i++;
}
for (int j = count; j > i; j--) {
array[j] = array[j - 1];
}
array[i] = element;
count++;
}
}This class extends a custom ArrayList that stores elements in an internal array:
public class ArrayList<T> implements ListADT<T> {
protected T[] array;
protected int count;
private static final int DEFAULT_CAPACITY = 10;
@SuppressWarnings("unchecked")
public ArrayList() {
array = (T[]) (new Object[DEFAULT_CAPACITY]);
count = 0;
}
}The problem is that when I run the code, I get a ClassCastException related to the internal array (Object[]) when comparing elements using the Comparator.
I have already tried adding Comparable<T> to the class declaration, but it did not solve the problem. I also do not want to use approaches involving Class<T> clazz, Array.newInstance, or reflection to create the generic array.
My question:
How can I keep the internal array generic (T[]) without causing a ClassCastException when using Comparator<T> to maintain the list ordered upon insertion?
r/stackoverflow • u/WBTek • Oct 31 '25
Question Can't make acct on Stack Overflow or friends
Reddit took this down, said not why. Ext ref in err msg? Dunno. Modified post follows:
---
A common issue, but i see no solutions offered. Please excuse the redundancy.
When I enter a valid email address and password, SO site says, "Something went wrong. Please contact us at (SO support email addr) for assistance."
I contacted support, but nobody got back to me. It's been about a week.
I tried the usual: diff browsers, clear cache and cookies, diff passwd chars, etc.
On the off chance it worked w/o saying so, I tried logging in with that address. Nope.
Our security policy doesn't allow logging into 3rd party sites using googl, fb, gh, etc.
My email addr has a subdomain, but even picky sites accept it. Is that ok on SO?
Many on SO use Linux, so hopefully I'm ok there.
Any clues? Thx in advance! :)