Questions tagged [programming]

Questions about tools for programming (compilers, IDE, etc.) For questions that involve programming, ask on Stack Overflow.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
494 views

Is there a Linux for an MSM7227 tablet with USB keyboard and touchscreen stylus drivers?

I have a ZTE V9C 7" tablet with 800MHz MSM7227 processor, Snapdragon family (ARM architecture?), Android 2.3, and I want to have a (very lightweight) Linux running on it (I know Android uses a Linux ...
2
votes
1answer
46 views

How to extract function comment using sed?

I want to implement a simple utility that would take a C source file and a name of a function, struct, enum or whatever and output the comment directly above the element if present. Ie. /* This is ...
2
votes
0answers
53 views

What is the background of the program segmentation?

Each program is separated into several segments like: code segment data segment stack segment heap segment But who was responsible for that progression? The compiler and linker has to support that ...
2
votes
1answer
936 views

VT100 terminal emulation to use with a Java-based 8-bit computer emulator

I'm successfully using GNU Screen as serial terminal to "talk" to my Altair 8800 clone (http://altairclone.com/) using serial line. The command I use is: screen -istrip /dev/ttyUSB0 Screen does the ...
2
votes
1answer
256 views

How to have Kate spell check ignore run together words?

I use Kate editor for scientific programming (Fortran, Python, matlab) and would like to leave spell check on, but have it automatically ignore words that have been run together to create a variable ...
1
vote
0answers
54 views

Fakeroot on macOS tries to delete system directories

I’m having a problem with fakeroot on macOS. I created a pacman fork. When I’d like to delete a package, pacman tries to delete /usr/ instead of a subdirectory. On Linux, it is working fine, though. ...
1
vote
0answers
362 views

how to get dark theme or look for netbeans?

Not quite sure how to get dark themes for Netbeans: would like something similar to this look: just without the "side" window.
1
vote
0answers
641 views

High iowait while the throughput and IOPS are low

I'm new to programming & Linux. After I finished my programs(do some IO), I found iowait is very high(~65%) while the throughput(~5M/s read + ~5M/s write) and IOPS(50~100 QPS) are low. iostat -...
1
vote
1answer
56 views

Server response login error!

This is the script i build for i in `cat cain.txt` do uuid=$(curl -X POST -H "ACCEPT-LANGUAGE:en" -H "Content-Type:application/json" -H "Accept: application/json" -d '{"username":"TheUserName"}...
1
vote
1answer
74 views

vim: Match WORD in current block with balanced brackets

When matching in vim there are words, WORDs and blocks among other things. Now for editing code, blocks are useful, words are somewhat useful, but WORDs are mostly useless, because they often include ...
1
vote
0answers
166 views

Passing a parameter to a dstat plugin

I wrote a simple plugin (dstat_externalBackup.py) for dstat to monitor the filesystem free space and placed it in /usr/share/dstat and it works as intended. € dstat --externalBackup 3600 extern free ...
0
votes
1answer
26 views

Bash Script Time each function and Time total Script Execution Duration

I've written a bash script and would like to implement a timer that will also get the total time of the scripts execution duration and also the time that each loop iteration takes. For example, in the ...
0
votes
0answers
13 views

Wine has no internet connection or my app does not run

So i made a small 500 line app. When i run my.computer.network.ping ("www.google.com") or https google .com it prints the no internet connection warning that i have set up when this command fails. ...
0
votes
0answers
15 views

Kernel driver serving multiple virtual file readers

There is a kernel driver that collects data from some external hardware and passes all data to a virtual file if a reader reads this file. Data blocks are appended to a list with the assumption the ...
0
votes
0answers
99 views

How to install HTML5/JavaScript to Netbeans?

I installed the NetBeans Connector plugin to Chromium on my MacBook. That worked perfectly. I could create new projects in HTML5/Javascript. I tried to do the same on my Linux Mint 18.3 computer. But ...
0
votes
1answer
49 views

Move files shell program

Hello i have got problem, on shell program(.sh), with this code I should copy the file JPG from the directory sorgente to destinazione but the code does not work, can you help me!! #!/bin/bash ...
0
votes
1answer
511 views

How to use programs with MPI?

Is it possible to use programs with MPI for example blender? Is it a mpi program by only adding the source file "mpi.h" or is there any way to simply convert an existing program for the use with mpi? ...