4,412 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
0
answers
97
views
Git merge conflict on identical lines (invisible differences) [closed]
I am encountering a frustrating issue where Git flags merge conflicts on lines that appear to be 100% identical.
Even with my editor's "Show Whitespace" setting turned on, the lines look ...
3
votes
1
answer
228
views
Encounter a problem that print wide_character in C
Here is my code:
#include "snake.h"
void SetPos(short x, short y)
{
//获得标准输出设备的句柄
HANDLE houtput = NULL;
houtput = GetStdHandle(STD_OUTPUT_HANDLE);
//定位光标的位置
COORD pos =...
1
vote
1
answer
96
views
TextField leaves white space above keyboard
I’m building a chat screen in Flutter, and I want my TextField (message input) to stay just above the keyboard when it opens.
The problem: there is always a white space between the keyboard and my ...
2
votes
1
answer
173
views
How to reclaim horizontal space made available by removing labels and ticks?
I have a row of subplots which start with a histogram and the rest are some qqplots:
I removed the y axis and ticks labels using
for ax in axqq[1:]:
ax.set_ylabel(None)
ax....
1
vote
2
answers
73
views
TRIM in SELECT statement that works in Stand Alone Query Fails in Stored Procedure (MySQL)
New to stored procedure development. I'm developing a stored procedure where I create and populate a table with the results of a query, where I get an identifier number (DCNumber), FirstName, LastName,...
-2
votes
1
answer
171
views
Git diff command that shows differences in words as a whole and in any single character that isn't alphanumeric
I am using git to help me manage a text, and I need git to show me changes in each word as a whole, and in the punctuation and in the spacing as well.
Let's say I have a sentence I hold the big target,...
-1
votes
0
answers
46
views
Why does \t produce different numbers of spaces in Python output? [duplicate]
In this code I use \t as tab but in one of them the out put has 8 spaces and in one of them the out put has 7 spaces instead tab(\t) how python calculate this how should we know how many spaces we ...
2
votes
1
answer
160
views
How to retain empty spaces in a proc print to excel? (SAS)
I have a stats table I want to export to Excel. Let's say I formatted some of it using the code below.
data transposed_results;
set transposed_results;
Variable = ' ' || put(Variable, 32.); /* Adds ...
0
votes
0
answers
37
views
Eclipse Java formatter - do not change comment indentation
I am trying to stop Eclipse changing the indentation of comments when using the formatter.
e.g.
public class Test
{
public static void main(String[] args)
{
// comment 1
if (...
0
votes
1
answer
550
views
docker: invalid env file contains white spaces
I am trying to train a classifier model. I am following instructions which outline to use the format bellow. whenever I go to then train my model, docker returns this error. I am unsure what I need to ...
3
votes
4
answers
190
views
Change pointer adress inside function in C
I'm trying to make a program that deletes extra white spaces from a string. It should keep one space but delete any extra.
I wrote this code, which works up until the point I have to change the passed ...
1
vote
1
answer
167
views
non-removable extra whitespace formatting after a colon, which creates an error in VSCode [closed]
I have this problem - I cannot use Tailwind in my project or optional chaining operator (?.) because VSCode adds an extra whitespace after a colon or after a dot. In case of taiwind, it adds a ...
3
votes
2
answers
134
views
Are locale specific white-spaces skipped with `strtod()` compliant?
Is my C library compliant?
In testing strtod(), my code reported an interesting inconsistency:
strtod("240円" "123", ...) --> 0.0.
In locales that identified character 160 '240円'...
2
votes
1
answer
139
views
white-space: nowrap resizes parent but does not respect scrollbar
I have a sidebar with some text that must not wrap. If the text is too big for the container, I want the container (i.e. the sidebar) to expand. Here is an MVP of the problem:
<html>
<body>...
0
votes
2
answers
66
views
Run Formatter (Black in Vscode) Path with whitespace
I have my files in a folder with a whitespace. /Volumes/USB SSD/....
If I run VScode Formatter (Black, autoflake) I get this Error:
Failed to run autoflake. Error: Stderr: /bin/sh: /Volumes/USB: No ...