4,664 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
2
replies
47
views
How booking system works here?
Assume that there are two seats available on the train simultaneously Users 1 and User 2 begin booking two seats on the app at the same time, and filling out the details. Then both user reflected on ...
0
votes
0
answers
51
views
WebView not allowed in privileged process — any safe alternative for system/priv apps?
I’m developing a system privileged app (installed under /system/priv-app) and I need to display a webpage inside the app UI.
However, when I try to use a WebView, the app crashes with:
java.lang....
Best practices
0
votes
1
replies
69
views
What is the best implementation for probably a simple idea I have?
Here's what I want to do: I want to store files onto my office's computer.
I lack experience in terms of completed solutions. I’ve only built a prototype once via ChatGPT, and I want to ask if this is ...
-1
votes
1
answer
151
views
System call transition to system call table
When a system call is invoked by a user program, a software interrupt (trap) is raised, control first passes to the fixed location of the interrupt vector (IR) which contains the ISR associated with ...
1
vote
0
answers
113
views
Segfault while appending args to DBus Message
I am trying to learn dbus programming from BLE linux guide. Because most of the example code in guide is written in python, I am trying to mimick same examples in c and libdbus. This is my small ...
1
vote
1
answer
255
views
How terminate program leaving a message on the screen
Is there any possibility to show a "system message" that remain visible even if the program is terminate ?
Example:
Before exit the program send a message (i.e. "The usb drive was not ...
1
vote
1
answer
181
views
FitzHugh–Nagumo model output not resembling what is shown on Wikipedia
First off, I just want to mention that I am a biology researcher not trained in differential equations or dynamical systems. I am doing this as an exercise to get a bit of intuitive understanding of ...
0
votes
1
answer
65
views
How to safely replace /lib/x86_64-linux-gnu/ld-X.Y.so?
I'm rebuilding my distro's official eglibc package with an additional tweak that should only affect its ld.so (installed as /lib/x86_64-linux-gnu/ld-X.Y.so) as far as I can tell.
I know I can invoke ...
4
votes
2
answers
119
views
Why do I get inconsistent signals for orphaned process group?
I'm working through example in Advanced Programming in the UNIX Environment:
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <signal.h&...
0
votes
2
answers
87
views
Which design pattern can use for search overloading function? [closed]
In a interview, someone asked me this situation. How can you improve this.
search with many filter condition design pattern
Eg: let say search a gym by it distance, by its pincode, by its name, by its ...
0
votes
0
answers
58
views
Issue in Razor page application
I created a Razor page application. when Idid that, I try to run the code. but it gives me een error:
System.TypeLoadException: 'Could not load type 'Microsoft.AspNetCore.Identity.UI.Services....
0
votes
1
answer
124
views
Change line separator by programming
In Java, we use a BuffedWriter and the newline() method. Previously, you could change the character of the new line by changing the system property "Line.separator". Unfortunately, the ...
0
votes
1
answer
81
views
Access system object via a view whose owner is granted with grant option
I have created the following view in my database, my schema
CREATE VIEW [OMEGACA].[V_SYS_MANAGE_ACC]
AS
SELECT
name, object_id, parent_class, parent_class_desc, parent_id,
...
0
votes
1
answer
44
views
Mac computers: how to get the OS serial number?
I read some docs but I have no Mac boxes to test.
From the docs I build this command
ioreg -c IOPlatformExpertDevice -n IOPlatformUUID
Questions:
Is the above command correct?
I am not sure: should ...
0
votes
1
answer
124
views
Pass parameters to exe-file (compiled from Simulink)
I have a simple Simulink model that passes a constant variable to the workspace.
I've converted the Simulink model to an exe-file using Simulink Coder (with grt.tlc as the target system file). ...