I was wondering if someone could tell me why I can't directly change the values of my array idata instead I have to expand Raw View as can be seen in the picture.
This does not make sense and is annoying since it took me a few minutes and some time on google to find out that strange behavior ..
Is there a way to change that such that I am able to change the values more intuitively?
Related
JS has this great feature called console.table. It allows a list of objects to be displayed as a table.
Now I could like to create a simple little program that continously displays the same table just with updated values (individual values change very fast, so a re render only on change isn't an option)
So far I got the best results simply rendering one table after the other, which leaves the most recent table always at the bottom. The problem with this is that it fills the entire terminal extremely fast and as such makes scrolling back up difficult.
Another option would be to clear the terminal and the print the table again. But this leads to excessive "blinking" which makes the table unreadable.
So basically I would need a way to print the console.table, somehow get the terminal cursor back to the start of a table and the overwrite it, similar to how it works in a lot of terminal programms like htop. Is there a way to do this in node js?
It seems like it's simply more straightforward to hard-code the text values. In an event that these values should be changed it seems like it would be more logical to search for the relevant UI element in each activity's xml layout file rather than look through the entire strings.xml. Of course if you have certain UI elements across multiple activities that all share the same text then this might be an exception (like a back button for instance), but generally there doesn't seem to be much advantage to storing these in the strings.xml. Am I missing something?
I will give you two reasons;
1 - Avoid duplication: all of your strings in one place. also, you can use string value many times. when you want to change it, there is one place to do the change. that makes it easier to maintain.
2 - Multi-language support: if you want to translate your strings to another language you must have all the strings in Strings.xml
let me know if you need more clarifications.
Having some trouble getting text to disappear when I exit the trigger box from reading the note. I can easily display the text I want but I am unsure how I can make it disappear when I leave the triggerbox. Blueprint included, any help is appreciated.
Connect GetPlayerController to Create Widget?
Also store the created widget as a variable. It's likely that the widget reference is being lost once the E input event is finished, so the RemoveFromParent node doesn't know what to remove.
For widgets that you're going to use all the time, pre-create them and store them as variables. Much easier to maintain in the long run.
so i got an issue with text formatting and i have no idea how this problem is called or what i should search after, so i thought i try to explain it here.
It's literally nothing dramatic or should take long, i simply want to write stuff like
''italic'' or '''bold'''
without that it actually gets italic or bold... i literally want
''italic''
to be displayed. I've also tried to use code blocks but even within the blocks it writes italic then.. i'm sure there is a <..> command but i simply can not find it
Does anyone know?
try this:
<nowiki>''italic''</nowiki>
I am trying to debug a large system and the watch lists I add make no sense (to me). I can't find anywhere where the values are displayed. For example, I have an 2D array with a list of doubles, and when tracing through the 2D array, the values are shown through each loop, 1,2,3,4,5,etc... However, one I get to say 9, instead of going to 10, I get 0x00000a and have no idea what this value is unless I count in my head or with the loop. So short of counting 6000 loop iterations, what number is represented as: 0x00000695 or how can I just get the debugger to show the actual number and not some reference of it? 0x0000014 seems to be 20, and I don't know how I would effectively debug using this watch. Does anyone know how to stop this weird numeric representation? I just want to see the values of the 2D array as I go through the break points.
In watch window, right-click + toggle "display values as hexadecimal" to OFF. (sry, can't remember the exact setting name, but its there). – WhozCraig